From 01222ef58f7f00d22862836b05f86a71a3a65f28 Mon Sep 17 00:00:00 2001 From: zeus Date: Tue, 18 Jan 2022 04:55:27 +0200 Subject: [PATCH] new MENOU version 1- remove console.log --- .../manageservices/deploy-bootstrap.vue | 2 +- src/components/manageservices/hybridlab.vue | 2 +- src/components/mynetwork/AdhocView.vue | 2 +- .../mynetwork/availablemicroservices.vue | 6 +++--- src/components/mynetwork/builderservices.vue | 2 +- src/components/mynetwork/customservices.vue | 18 +++++++++--------- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/components/manageservices/deploy-bootstrap.vue b/src/components/manageservices/deploy-bootstrap.vue index 30ea507..42ee86b 100644 --- a/src/components/manageservices/deploy-bootstrap.vue +++ b/src/components/manageservices/deploy-bootstrap.vue @@ -543,7 +543,7 @@ export default { deploy:this.deploy }) this.$root.$emit('hybrid_refresh_bootstrap_view') - console.log('ok') + //console.log('ok') var info = '
The deploy process is started
Please wait for it to finish before trying again!

See also in "Manage your deployments" table' this.$swal({ type: 'Info', diff --git a/src/components/manageservices/hybridlab.vue b/src/components/manageservices/hybridlab.vue index c5fd299..8f2cdad 100644 --- a/src/components/manageservices/hybridlab.vue +++ b/src/components/manageservices/hybridlab.vue @@ -136,7 +136,7 @@ export default { var bootstrap = await store.dispatch("pipelineLLO/swarmlabhybridapi",{ lab: this.swarmlabhybridapi }) - console.log(JSON.stringify(bootstrap)) + //console.log(JSON.stringify(bootstrap)) if(bootstrap.data.action == 'ok'){ var info='
OK
' this.$swal({ diff --git a/src/components/mynetwork/AdhocView.vue b/src/components/mynetwork/AdhocView.vue index 5ce4e6c..caec91a 100644 --- a/src/components/mynetwork/AdhocView.vue +++ b/src/components/mynetwork/AdhocView.vue @@ -440,7 +440,7 @@ export default { }) // from microservices not view icon this.$root.$on('hybrid_console_not_view', (v) => { - console.log(v) + //console.log(v) if(v){ this.vieconsoleicon = true }else if (!v){ diff --git a/src/components/mynetwork/availablemicroservices.vue b/src/components/mynetwork/availablemicroservices.vue index 718c5a5..5362ecd 100644 --- a/src/components/mynetwork/availablemicroservices.vue +++ b/src/components/mynetwork/availablemicroservices.vue @@ -412,7 +412,7 @@ export default { dataClass: 'left aligned col-3', width: '68%', callback: function(value) { - console.log('---- '+ value) + //console.log('---- '+ value) if (value) { var tmp = value.split('-') var v = `${tmp[1]} ` @@ -769,8 +769,8 @@ export default { var res = await store.dispatch('pipelineLLO/getswarmlabmicroserviceinfo', value.swarmlabname) var swarmlab1info=res.data.swarmlabinfo value.git = swarmlab1info - console.log('inf git 0 '+ JSON.stringify(value.swarmlabname)) - console.log('inf git 1 '+ JSON.stringify(res)) + //console.log('inf git 0 '+ JSON.stringify(value.swarmlabname)) + //console.log('inf git 1 '+ JSON.stringify(res)) //console.log('inf '+ JSON.stringify(value)) var log = await store.dispatch("pipelineLLO/checkowner",{ token:this.token, diff --git a/src/components/mynetwork/builderservices.vue b/src/components/mynetwork/builderservices.vue index f15c089..db5373c 100644 --- a/src/components/mynetwork/builderservices.vue +++ b/src/components/mynetwork/builderservices.vue @@ -341,7 +341,7 @@ export default { token:this.token, service:data.swarmlabname }) - console.log(log) + //console.log(log) this.swarmlab=data var service = { data: data, diff --git a/src/components/mynetwork/customservices.vue b/src/components/mynetwork/customservices.vue index 07c2a32..c7bc922 100644 --- a/src/components/mynetwork/customservices.vue +++ b/src/components/mynetwork/customservices.vue @@ -549,7 +549,7 @@ export default { //console.log('false') }) this.$root.$on('hybrid_build_micro_service', (service) => { - console.log(service); + //console.log(service); this.setserviceform2null() this.menou = true this.myservicename = {} @@ -601,16 +601,16 @@ export default { this.selected = i } this.customserviceall = service.log.data.data - console.log('customall2 '+ JSON.stringify(this.customservice.myservicename)) - console.log('customall1 '+ JSON.stringify(service.log.data.data[cc])) - console.log('customall '+ JSON.stringify(this.customserviceall)) + //console.log('customall2 '+ JSON.stringify(this.customservice.myservicename)) + //console.log('customall1 '+ JSON.stringify(service.log.data.data[cc])) + //console.log('customall '+ JSON.stringify(this.customserviceall)) } } } this.selected++ var vtmp1 = {"value":this.selected,"text":"Please select an option"} Vue.set(this.options, this.selected, vtmp1) - console.log('options '+ JSON.stringify(this.options)) + //console.log('options '+ JSON.stringify(this.options)) }) @@ -675,7 +675,7 @@ export default { methods: { async onAction(value) { - console.log(value) + //console.log(value) var infotxt = '' var info='
' if(value == "form_myservicename"){ @@ -782,7 +782,7 @@ export default { // this.$root.$emit('hybrid_refresh_bootstrap_view') // this.$root.$emit('hybrid_refresh_bootstrap_view') - console.log(this.customservice); + //console.log(this.customservice); //console.log(log); if(log.data.action == 'ok'){ var info = "Your upload was successful!" @@ -889,14 +889,14 @@ export default { this.form_name2 = '' this.form_port3 = '' this.form_name3 = '' - console.log('refresh') + //console.log('refresh') //console.log(data.myservicename) //console.log(this.form_myservicename) }, setservice() { //console.log(this.selected); var cc = this.selected - console.log('sel '+ JSON.stringify(this.customserviceall[cc])) + //console.log('sel '+ JSON.stringify(this.customserviceall[cc])) this.customservice.myservicename = this.customserviceall[cc].service