Browse Source

add node-sqlite3

master
zeus 3 years ago
parent
commit
5fb7e22825
  1. 2
      dist/index.html
  2. 2
      dist/js/app.8245c768.js
  3. 1
      dist/js/app.8245c768.js.map
  4. 2
      dist/js/app.aec04ec9.js
  5. 1
      dist/js/app.aec04ec9.js.map
  6. 16
      src/components/mynetwork/availablemicroservices.vue
  7. 77
      src/components/mynetwork/mytable.vue
  8. 42
      src/config/index-editor.js
  9. 85
      src/config/index-web.js

2
dist/index.html

@ -1 +1 @@
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vue App</title><link href="/css/app.25658f84.css" rel="preload" as="style"><link href="/css/chunk-vendors.e469b508.css" rel="preload" as="style"><link href="/js/app.8245c768.js" rel="preload" as="script"><link href="/js/chunk-vendors.d8d18fe6.js" rel="preload" as="script"><link href="/css/chunk-vendors.e469b508.css" rel="stylesheet"><link href="/css/app.25658f84.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.d8d18fe6.js"></script><script src="/js/app.8245c768.js"></script></body></html>
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vue App</title><link href="/css/app.25658f84.css" rel="preload" as="style"><link href="/css/chunk-vendors.e469b508.css" rel="preload" as="style"><link href="/js/app.aec04ec9.js" rel="preload" as="script"><link href="/js/chunk-vendors.d8d18fe6.js" rel="preload" as="script"><link href="/css/chunk-vendors.e469b508.css" rel="stylesheet"><link href="/css/app.25658f84.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.d8d18fe6.js"></script><script src="/js/app.aec04ec9.js"></script></body></html>

2
dist/js/app.8245c768.js

File diff suppressed because one or more lines are too long

1
dist/js/app.8245c768.js.map

File diff suppressed because one or more lines are too long

2
dist/js/app.aec04ec9.js

File diff suppressed because one or more lines are too long

1
dist/js/app.aec04ec9.js.map

File diff suppressed because one or more lines are too long

16
src/components/mynetwork/availablemicroservices.vue

@ -220,6 +220,7 @@ import VuetablePagination from 'vuetable-2/src/components/VuetablePagination'
import CssConfig from 'vuetable-2/src/components/VuetableCssConfig.js'
import card from '@/components/Card.vue'
import {ApiConfig} from "@/config/index";
import {ApiConfigWEB} from "@/config/index-web";
export default {
components: {
@ -656,14 +657,25 @@ export default {
}else if(grepmicrosoft.test(data.swarmlabname)){
this.viewhybridoptions = true
this.heavy = true
this.heavytext = 'Note that this image are somewhat heavy (~2GB) since they embed some of the kernel debug symbols for Microsoft Windows. It can take some time to build the Instance'
this.heavytext = 'Note that this image is somewhat heavy (~2GB) since they embed some of the kernel debug symbols for Microsoft Windows. It can take some time to build the Instance'
this.hybridoptions.swarmlabname = data.swarmlabname
this.hybridoptions.index = index
}else{
this.viewhybridoptions = true
this.hybridoptions.swarmlabname = data.swarmlabname
this.hybridoptions.index = index
//console.log(this.$refs.pagination)
for(var i = 0; i < ApiConfigWEB.length; i++) {
var obWEB = ApiConfigWEB[i];
if(obWEB.name == this.hybridoptions.swarmlabname){
if(obWEB.hasOwnProperty('large')){
if(obWEB.large != 'no'){
console.log(obWEB.large)
this.heavy = true
this.heavytext = obWEB.large
}
}
}
}
/*
console.log('RUN 1 '+ JSON.stringify(data.swarmlabname))
// run on mytable.vue

77
src/components/mynetwork/mytable.vue

@ -638,13 +638,13 @@ export default {
////console.log(this.$socket.client.connect())
}else if(action == 'basedireditor'){
this.$wait.start('myRunInstanceeditor');
//console.log('volumes-from-------- ' + JSON.stringify(this.hybridshowdata.Names))
var log = await store.dispatch("pipelineLLO/runeditor",{
token:this.token,
instance:this.hybridshowdata.Names
})
//console.log('start editor-------- ' + JSON.stringify(this.hybridshowdata.Names))
//console.log('start token-------- ' + JSON.stringify(log.data.port))
// console.log('start editor-------- ' + JSON.stringify(log))
this.$root.$emit('SERVER_hybrid_table_stop')
@ -947,6 +947,12 @@ if(pocurlcodeserver != 'no'){
var urlgenWEB = this.hybridshowdata.Names.split('_');
var pocurletherpadserver = 'no'
var pocurletherpadserverttyd = 'no'
var pocurletherpadservertapp1 = 'no'
var pocurletherpadservertapp1text = 'no'
var pocurletherpadservertapp2 = 'no'
var pocurletherpadservertapp2text = 'no'
var pocurletherpadservertapp3 = 'no'
var pocurletherpadservertapp3text = 'no'
for(var i = 0; i < ApiConfigWEB.length; i++) {
var obWEB = ApiConfigWEB[i];
if(obWEB.name == urlgenWEB[0]){
@ -976,6 +982,50 @@ if(pocurlcodeserver != 'no'){
pocurletherpadserverttyd = obWEB.ttydurl+'://localhost:'+splitcd1a1bc[0]+'/?token='+this.token
}
}
// ---------------
if(obWEB.hasOwnProperty('app1')){
if(obWEB.app1){
var swarmlabinstance1cda1s1bapp1 = new RegExp(obWEB.port1);
if(swarmlabinstance1cda1s1bapp1.test(splitcda1split[i1])){
//console.log('stringify--------- ' + JSON.stringify(splitcda1split[i1]));
var splitcda1bcapp1 = splitcda1split[i1].split(':')
var splitcd1a1bcapp1 = splitcda1bcapp1[1].split('-')
pocurletherpadservertapp1 = obWEB.url1+'://localhost:'+splitcd1a1bcapp1[0]+'/?token='+this.token
pocurletherpadservertapp1text = obWEB.link1
}
}
}
// ---------------
// ---------------
if(obWEB.hasOwnProperty('app2')){
if(obWEB.app2){
var swarmlabinstance1cda1s1bapp2 = new RegExp(obWEB.port1);
if(swarmlabinstance1cda1s1bapp2.test(splitcda1split[i1])){
//console.log('stringify--------- ' + JSON.stringify(splitcda1split[i1]));
var splitcda1bcapp2 = splitcda1split[i1].split(':')
var splitcd1a1bcapp2 = splitcda1bcapp2[1].split('-')
pocurletherpadservertapp2 = obWEB.url2+'://localhost:'+splitcd1a1bcapp2[0]+'/?token='+this.token
pocurletherpadservertapp2text = obWEB.link2
}
}
}
// ---------------
// ---------------
if(obWEB.hasOwnProperty('app3')){
if(obWEB.app3){
var swarmlabinstance1cda1s1bapp3 = new RegExp(obWEB.port1);
if(swarmlabinstance1cda1s1bapp3.test(splitcda1split[i1])){
//console.log('stringify--------- ' + JSON.stringify(splitcda1split[i1]));
var splitcda1bcapp3 = splitcda1split[i1].split(':')
var splitcd1a1bcapp3 = splitcda1bcapp3[1].split('-')
pocurletherpadservertapp3 = obWEB.url3+'://localhost:'+splitcd1a1bcapp3[0]+'/?token='+this.token
pocurletherpadservertapp3text = obWEB.link3
}
}
}
// ---------------
}
}
@ -996,6 +1046,7 @@ if(pocurlcodeserver != 'no'){
}
*/
if(pocurletherpadserverttyd != 'no'){
info += '<hr>'
info +='<p class="text-info">'
@ -1011,6 +1062,30 @@ if(pocurletherpadserver != 'no'){
info +='</p>'
info += '<hr>'
}
if(pocurletherpadservertapp1 != 'no'){
info += '<hr>'
info +='<p class="text-info">'
info += '<a class="text-info" href="'+pocurletherpadservertapp1+'" target="_blank"> ' + pocurletherpadservertapp1text + '</a>'
info +='</p>'
info += '<hr>'
}
if(pocurletherpadservertapp2 != 'no'){
info += '<hr>'
info +='<p class="text-info">'
info += '<a class="text-info" href="'+pocurletherpadservertapp2+'" target="_blank"> ' + pocurletherpadservertapp2text + '</a>'
info +='</p>'
info += '<hr>'
}
if(pocurletherpadservertapp3 != 'no'){
info += '<hr>'
info +='<p class="text-info">'
info += '<a class="text-info" href="'+pocurletherpadservertapp3+'" target="_blank"> ' + pocurletherpadservertapp3text + '</a>'
info +='</p>'
info += '<hr>'
}
// -----
var pocmypathinfo = ''

42
src/config/index-editor.js

@ -28,5 +28,47 @@ export const ApiConfigEDIT = [
"url": 'http',
"version": 0,
"port": 0
},
{
"name": "microservice-rust",
"automated": true,
"url": 'http',
"version": 0,
"port": 0
},
{
"name": "microservice-julia",
"automated": true,
"url": 'http',
"version": 0,
"port": 0
},
{
"name": "microservice-lua",
"automated": true,
"url": 'http',
"version": 0,
"port": 0
},
{
"name": "microservice-luajit",
"automated": true,
"url": 'http',
"version": 0,
"port": 0
},
{
"name": "microservice-nodesqlite3",
"automated": true,
"url": 'http',
"version": 0,
"port": 0
},
{
"name": "microservice-electron",
"automated": true,
"url": 'http',
"version": 0,
"port": 0
}
];

85
src/config/index-web.js

@ -1,6 +1,28 @@
export const ApiConfigWEB = [
{
"name": "just-test-info-no-service",
"large": 'no or text',
"app": false,
"url": 'http',
"port": "6901/tcp",
"ttyd": false,
"ttydport": "3787/tcp",
"ttydurl": 'http',
"app1": false,
"link1": 'Click here to open rstudio',
"url1": 'http',
"port1": "8787/tcp",
"app2": false,
"link2": 'Click here to open app text',
"url2": 'http',
"port2": "8788/tcp",
"app3": false,
"link3": 'Click here to open app text',
"url3": 'http',
"port3": "8789/tcp"
},
{
"name": "microservice-etherpad",
"app": true,
@ -255,6 +277,7 @@ export const ApiConfigWEB = [
},
{
"name": "microservice-octave",
"large": 'no',
"app": true,
"url": 'http',
"port": "6901/tcp",
@ -264,6 +287,7 @@ export const ApiConfigWEB = [
},
{
"name": "microservice-r",
"large": 'Note that this image is somewhat heavy (~2GB). It can take some time to build the Instance. If you think the proccess is frosen you can reload the page in your Browser',
"app": true,
"url": 'http',
"port": "6901/tcp",
@ -271,7 +295,68 @@ export const ApiConfigWEB = [
"ttydport": "3787/tcp",
"ttydurl": 'http',
"app1": true,
"link1": 'Click here to open rstudio',
"url1": 'http',
"port1": "8787/tcp"
},
{
"name": "microservice-rust",
"large": 'no',
"app": false,
"url": 'http',
"port": "6901/tcp",
"ttyd": true,
"ttydport": "3787/tcp",
"ttydurl": 'http'
},
{
"name": "microservice-julia",
"large": 'no',
"app": false,
"url": 'http',
"port": "6901/tcp",
"ttyd": true,
"ttydport": "3787/tcp",
"ttydurl": 'http'
},
{
"name": "microservice-lua",
"large": 'no',
"app": false,
"url": 'http',
"port": "6901/tcp",
"ttyd": true,
"ttydport": "3787/tcp",
"ttydurl": 'http'
},
{
"name": "microservice-luajit",
"large": 'no',
"app": false,
"url": 'http',
"port": "6901/tcp",
"ttyd": true,
"ttydport": "3787/tcp",
"ttydurl": 'http'
},
{
"name": "microservice-nodesqlite3",
"large": 'no',
"app": false,
"url": 'http',
"port": "6901/tcp",
"ttyd": true,
"ttydport": "3787/tcp",
"ttydurl": 'http'
},
{
"name": "microservice-electron",
"large": 'Note that this image is somewhat heavy (~1.5GB). It can take some time to build the Instance. If you think the proccess is frosen you can reload the page in your Browser',
"app": false,
"url": 'http',
"port": "6901/tcp",
"ttyd": true,
"ttydport": "3787/tcp",
"ttydurl": 'http'
}
];

Loading…
Cancel
Save