+
+
+
+
+
+
+
+
+
+
+
@@ -416,6 +432,7 @@
+
@@ -640,6 +657,7 @@ import ManageBuilders from "./components/mybuild.vue";
import ManageDeploy from "./components/managedeploy.vue";
import ManageLlo from "./components/managello.vue";
import ViewDashboard from "./components/dashboard.vue";
+import ViewDashboardall from "./components/dashboardall.vue";
export default {
name: 'app',
@@ -647,6 +665,7 @@ export default {
card,
NetworkTable,
ViewDashboard,
+ ViewDashboardall,
ServicesTable,
ConnectServer,
ManageServices,
@@ -767,6 +786,8 @@ export default {
this.$root.$emit('hybrid_refresh_dockerservices')
}else if(action == 'dashboard'){
console.log('dashboard '+action)
+ }else if(action == 'dashboardall'){
+ console.log('dashboardall '+action)
}else if(action == 'connect-server'){
this.$root.$emit('hybrid_connect_server')
}else if(action == 'llo'){
diff --git a/src/components/dashboardall.vue b/src/components/dashboardall.vue
new file mode 100644
index 0000000..e73ef98
--- /dev/null
+++ b/src/components/dashboardall.vue
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/manageservices/view-dashboard.vue b/src/components/manageservices/view-dashboard.vue
new file mode 100644
index 0000000..072f24e
--- /dev/null
+++ b/src/components/manageservices/view-dashboard.vue
@@ -0,0 +1,326 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/store/modules/create_pipelineLLO.js b/src/store/modules/create_pipelineLLO.js
index 6ccdb0c..66c5e98 100644
--- a/src/store/modules/create_pipelineLLO.js
+++ b/src/store/modules/create_pipelineLLO.js
@@ -598,6 +598,68 @@ export default {
return R;
}
}
+ },
+ async get_stats_imagescontainers({commit,rootGetters}, value) {
+ //console.log('value '+JSON.stringify(value))
+ try {
+ var token = value.token
+ var params = {
+ action: value,
+ }
+ var options = {
+ params: params,
+ headers: { 'content-type': 'application/x-www-form-urlencoded',Authorization: `Bearer ${token}` },
+ };
+ var sock_server_l = ApiConfig.url_80+'/get_stats_imagescontainers'
+ var p = await axios.get(sock_server_l,options);
+ //var p = await axios.get('https://localhost:3000/getservicesinfo',options);
+ return p
+ //console.log(JSON.stringify(p))
+ //console.log(value.token)
+ //console.log(value.swarmlabname)
+ } catch (e) {
+ if(e.message == "Request failed with status code 401" || /401/i.test(e.message)){
+ //console.log('error '+JSON.stringify(e))
+ window.location.href = 'https://api-login.swarmlab.io:8089';
+ }else{
+ var R = {
+ ERROR_str: e,
+ ERROR: 'yes'
+ }
+ return R;
+ }
+ }
+ },
+ async get_stats_containers({commit,rootGetters}, value) {
+ //console.log('value '+JSON.stringify(value))
+ try {
+ var token = value.token
+ var params = {
+ action: value,
+ }
+ var options = {
+ params: params,
+ headers: { 'content-type': 'application/x-www-form-urlencoded',Authorization: `Bearer ${token}` },
+ };
+ var sock_server_l = ApiConfig.url_80+'/get_stats_containers'
+ var p = await axios.get(sock_server_l,options);
+ //var p = await axios.get('https://localhost:3000/getservicesinfo',options);
+ return p
+ //console.log(JSON.stringify(p))
+ //console.log(value.token)
+ //console.log(value.swarmlabname)
+ } catch (e) {
+ if(e.message == "Request failed with status code 401" || /401/i.test(e.message)){
+ //console.log('error '+JSON.stringify(e))
+ window.location.href = 'https://api-login.swarmlab.io:8089';
+ }else{
+ var R = {
+ ERROR_str: e,
+ ERROR: 'yes'
+ }
+ return R;
+ }
+ }
},
async runeditor({commit,rootGetters}, value) {
//console.log('value '+JSON.stringify(value))