Browse Source

add console

master
zeus 3 years ago
parent
commit
ce2d8a0144
  1. 2
      dist/index.html
  2. 2
      dist/js/app.2dde82ba.js
  3. 1
      dist/js/app.2dde82ba.js.map
  4. 2
      dist/js/app.91d71756.js
  5. 1
      dist/js/app.91d71756.js.map
  6. 7
      src/components/mynetwork/availablemicroservices.vue
  7. 8
      src/components/mynetwork/availableservices.vue
  8. 2
      src/components/mynetwork/dockerservices.vue
  9. 2
      src/components/mynetwork/mytable.vue
  10. 7
      src/config/index-editor.js
  11. 45
      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.834ff37e.css" rel="preload" as="style"><link href="/css/chunk-vendors.e469b508.css" rel="preload" as="style"><link href="/js/app.91d71756.js" rel="preload" as="script"><link href="/js/chunk-vendors.dd2c43c6.js" rel="preload" as="script"><link href="/css/chunk-vendors.e469b508.css" rel="stylesheet"><link href="/css/app.834ff37e.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.dd2c43c6.js"></script><script src="/js/app.91d71756.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.834ff37e.css" rel="preload" as="style"><link href="/css/chunk-vendors.e469b508.css" rel="preload" as="style"><link href="/js/app.2dde82ba.js" rel="preload" as="script"><link href="/js/chunk-vendors.dd2c43c6.js" rel="preload" as="script"><link href="/css/chunk-vendors.e469b508.css" rel="stylesheet"><link href="/css/app.834ff37e.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.dd2c43c6.js"></script><script src="/js/app.2dde82ba.js"></script></body></html>

2
dist/js/app.2dde82ba.js

File diff suppressed because one or more lines are too long

1
dist/js/app.2dde82ba.js.map

File diff suppressed because one or more lines are too long

2
dist/js/app.91d71756.js

File diff suppressed because one or more lines are too long

1
dist/js/app.91d71756.js.map

File diff suppressed because one or more lines are too long

7
src/components/mynetwork/availablemicroservices.vue

@ -795,9 +795,8 @@ export default {
})
this.$root.$emit('hybrid_install_instance', value)
this.$wait.end('myRunInstancetutor');
//Vue.nextTick( () => this.$refs.vuetable.refresh())
Vue.nextTick( () => this.$refs.vuetable.refresh())
await this.refreshVuetable()
await this.refreshVuetableall()
}else if(action == 'run-item' ){
this.resetcustom()
@ -929,6 +928,7 @@ export default {
// run on mytable.vue
var value = this.hybridoptions.swarmlabname
//await this.$root.$emit('hybrid_stop_instance', value)
this.$wait.start('myRunInstancetutor');
var log = await store.dispatch("pipelineLLO/stopservice",{
token:this.token,
instance:this.hybridoptions.swarmlabname
@ -937,6 +937,7 @@ export default {
//console.log('down service '+ JSON.stringify(this.hybridoptions.index))
//Vue.nextTick( () => this.$refs.vuetable.refresh())
//console.log(log)
this.$wait.end('myRunInstancetutor');
this.refreshVuetable()
}else {
console.log('no')
@ -1066,6 +1067,7 @@ info +=' <b>Click on hyperlink opens Directory in new tab</b></p>'
value.index = this.hybridoptions.index
value.size = this.hybridoptions.size
value.port = this.hybridoptions.port
this.$wait.start('myRunInstancetutor');
var log = await store.dispatch("pipelineLLO/chown",{
token:this.token,
instance:this.hybridoptions.swarmlabname
@ -1079,6 +1081,7 @@ info +=' <b>Click on hyperlink opens Directory in new tab</b></p>'
//Vue.set(this.testactionrowindex, value.index, value.swarmlabname)
//Vue.nextTick( () => this.$refs.vuetable.refresh())
//Vue.nextTick( () => this.$refs.vuetable.refresh())
this.$wait.end('myRunInstancetutor');
await this.refreshVuetable()
//console.log('RUN 1 '+ JSON.stringify(this.hybridoptions))

8
src/components/mynetwork/availableservices.vue

@ -680,7 +680,7 @@ export default {
var value = this.hybridoptions.swarmlabname
this.$root.$emit('hybrid_stop_instance', value)
Vue.delete(this.testactionrowindex, this.hybridoptions.index)
//Vue.nextTick( () => this.$refs.vuetable.refresh())
Vue.nextTick( () => this.$refs.vuetable.refresh())
await this.refreshVuetable()
}else {
console.log('no')
@ -698,14 +698,14 @@ export default {
value.port = this.hybridoptions.port
this.$root.$emit('hybrid_start_instance', value)
Vue.set(this.testactionrowindex, value.swarmlabname, value.index)
//Vue.nextTick( () => this.$refs.vuetable.refresh())
Vue.nextTick( () => this.$refs.vuetable.refresh())
await this.refreshVuetable()
},
refreshVuetable() {
//this.$nextTick(()=>{
this.$nextTick(()=>{
this.vuetablekeya += 1
// })
})
},
playbookinfoShow(value) {
return this.visibility[value]=true

2
src/components/mynetwork/dockerservices.vue

@ -176,7 +176,7 @@ export default {
width: '50%',
callback: function(value) {
console.log(this)
//console.log(this)
const field_microservice = /^microservice-/g;
const field_hybrid = /^hybrid-/g;
const field_storage = /^storage-/g;

2
src/components/mynetwork/mytable.vue

@ -1325,6 +1325,8 @@ if(pocurlcodeserver != 'no'){
var pocurletherpadservertapp3textport5 = 'no'
for(var i = 0; i < ApiConfigWEB.length; i++) {
var obWEB = ApiConfigWEB[i];
//console.log(urlgenWEB[0]);
//console.log(obWEB);
if(obWEB.name == urlgenWEB[0]){
var swarmlabinstance1cda1 = new RegExp("(->)");
if(swarmlabinstance1cda1.test(this.hybridshowdata.Ports)){

7
src/config/index-editor.js

@ -190,6 +190,13 @@ export const ApiConfigEDIT = [
"version": 0,
"port": 0
},
{
"name": "microservice-vue",
"automated": true,
"url": 'http',
"version": 0,
"port": 0
},
{
"name": "microservice-perlfull",
"automated": true,

45
src/config/index-web.js

@ -812,4 +812,49 @@ export const ApiConfigWEB = [
"ttydport": "3787/tcp",
"ttydurl": 'http'
},
{
"name": "microservice-vue",
"large": 'no',
"custom": 'true',
"customostext": 'Base OS: alpine:3.14 ',
"customos": 'apk add --no-cache net-tools ',
"customshtext": 'It is executed after all the normal builds',
"customsh": ' #!/bin/sh',
"app": true,
"url": 'http',
"port": "8080/tcp",
"ttyd": true,
"ttydport": "3787/tcp",
"ttydurl": 'http'
},
{
"name": "hybrid-linux",
"large": 'no',
"custom": 'true',
"customostext": 'Base OS: ubuntu ',
"customos": 'apt-get update && apt-get install -y --no-install-recommends net-tools',
"customshtext": 'It is executed after all the normal builds',
"customsh": ' #!/bin/sh',
"app": false,
"url": 'http',
"port": "8080/tcp",
"ttyd": true,
"ttydport": "3787/tcp",
"ttydurl": 'http'
},
{
"name": "hybrid-mpi",
"large": 'no',
"custom": 'true',
"customostext": 'Base OS: ubuntu ',
"customos": 'apt-get update && apt-get install -y --no-install-recommends net-tools',
"customshtext": 'It is executed after all the normal builds',
"customsh": ' #!/bin/sh',
"app": false,
"url": 'http',
"port": "8080/tcp",
"ttyd": true,
"ttydport": "3787/tcp",
"ttydurl": 'http'
},
];

Loading…
Cancel
Save