From de29c3c017f4f9b2b7f9570e3148e0f73944655f Mon Sep 17 00:00:00 2001 From: Hoshi <1196756653@qq.com> Date: Tue, 20 Aug 2024 20:11:32 +0800 Subject: [PATCH] Initial commit all --- README.md | 6 ++++ bsm/cmc/app.json | 17 +++++++++++ bsm/cmc/config.js | 3 ++ cmdb/cmc/app.json | 10 +++++++ cmdb/cmc/config.js | 3 ++ cop/cmc/app.json | 14 +++++++++ cop/cmc/config.js | 3 ++ lite/cmc/app.json | 17 +++++++++++ lite/cmc/config.js | 3 ++ lite/csc/app.json | 5 ++++ lite/csc/config.js | 4 +++ main/cmc/app.json | 42 +++++++++++++++++++++++++++ main/cmc/config.js | 3 ++ main/cmc/platform.json | 64 ++++++++++++++++++++++++++++++++++++++++++ main/csc/app.json | 12 ++++++++ main/csc/config.js | 4 +++ 16 files changed, 210 insertions(+) create mode 100644 README.md create mode 100644 bsm/cmc/app.json create mode 100644 bsm/cmc/config.js create mode 100644 cmdb/cmc/app.json create mode 100644 cmdb/cmc/config.js create mode 100644 cop/cmc/app.json create mode 100644 cop/cmc/config.js create mode 100644 lite/cmc/app.json create mode 100644 lite/cmc/config.js create mode 100644 lite/csc/app.json create mode 100644 lite/csc/config.js create mode 100644 main/cmc/app.json create mode 100644 main/cmc/config.js create mode 100644 main/cmc/platform.json create mode 100644 main/csc/app.json create mode 100644 main/csc/config.js diff --git a/README.md b/README.md new file mode 100644 index 0000000..51d6afe --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ + +main:云管标品 +lite:云管轻量版 +cmdb:cmdb +cop:自动化运维 +bsm:cmdb+自动化运维 \ No newline at end of file diff --git a/bsm/cmc/app.json b/bsm/cmc/app.json new file mode 100644 index 0000000..64a289f --- /dev/null +++ b/bsm/cmc/app.json @@ -0,0 +1,17 @@ +{ + "homePath": "/cop-web/dashboard", + "apps": [{ + "name": "sms-web" + }, + { + "name": "cop-web" + }, + { + "name": "ams-web" + }, + { + "name": "bsm-web", + "entry": "CMS_HOST/sub-app/cop-web/" + } + ] +} diff --git a/bsm/cmc/config.js b/bsm/cmc/config.js new file mode 100644 index 0000000..368b23d --- /dev/null +++ b/bsm/cmc/config.js @@ -0,0 +1,3 @@ +window.appConfigs = { + cscPort: 60008 +} diff --git a/cmdb/cmc/app.json b/cmdb/cmc/app.json new file mode 100644 index 0000000..1770711 --- /dev/null +++ b/cmdb/cmc/app.json @@ -0,0 +1,10 @@ +{ + "homePath": "/sms-web/abouts", + "apps": [{ + "name": "sms-web" + }, + { + "name": "ams-web" + } + ] +} \ No newline at end of file diff --git a/cmdb/cmc/config.js b/cmdb/cmc/config.js new file mode 100644 index 0000000..368b23d --- /dev/null +++ b/cmdb/cmc/config.js @@ -0,0 +1,3 @@ +window.appConfigs = { + cscPort: 60008 +} diff --git a/cop/cmc/app.json b/cop/cmc/app.json new file mode 100644 index 0000000..5fe0d5f --- /dev/null +++ b/cop/cmc/app.json @@ -0,0 +1,14 @@ +{ + "homePath": "/cop-web/dashboard", + "apps": [{ + "name": "sms-web" + }, + { + "name": "cop-web" + }, + { + "name": "bsm-web", + "entry": "CMS_HOST/sub-app/cop-web/" + } + ] +} diff --git a/cop/cmc/config.js b/cop/cmc/config.js new file mode 100644 index 0000000..368b23d --- /dev/null +++ b/cop/cmc/config.js @@ -0,0 +1,3 @@ +window.appConfigs = { + cscPort: 60008 +} diff --git a/lite/cmc/app.json b/lite/cmc/app.json new file mode 100644 index 0000000..7376f01 --- /dev/null +++ b/lite/cmc/app.json @@ -0,0 +1,17 @@ +{ + "homePath": "/sms-web/resource_dashboard", + "apps": [{ + "name": "cmp-web", + "hasPlugin": true + }, + { + "name": "cos-web" + }, + { + "name": "cms-web" + }, + { + "name": "sms-web" + } + ] +} \ No newline at end of file diff --git a/lite/cmc/config.js b/lite/cmc/config.js new file mode 100644 index 0000000..368b23d --- /dev/null +++ b/lite/cmc/config.js @@ -0,0 +1,3 @@ +window.appConfigs = { + cscPort: 60008 +} diff --git a/lite/csc/app.json b/lite/csc/app.json new file mode 100644 index 0000000..a4c53c1 --- /dev/null +++ b/lite/csc/app.json @@ -0,0 +1,5 @@ +{ + "apps": [{ + "name": "cms-console" + }] +} \ No newline at end of file diff --git a/lite/csc/config.js b/lite/csc/config.js new file mode 100644 index 0000000..1582062 --- /dev/null +++ b/lite/csc/config.js @@ -0,0 +1,4 @@ +window.appConfigs = { + cscPort: 60008, + enableMonitor: false +} diff --git a/main/cmc/app.json b/main/cmc/app.json new file mode 100644 index 0000000..d5f8118 --- /dev/null +++ b/main/cmc/app.json @@ -0,0 +1,42 @@ +{ + "homePath": "/scr-web/dashboard", + "apps": [{ + "name": "cmp-web", + "hasPlugin": true + }, + { + "name": "cos-web" + }, + { + "name": "cms-web" + }, + { + "name": "sms-web" + }, + { + "name": "cop-web" + }, + { + "name": "ams-web" + }, + { + "name": "itsm-web" + }, + { + "name": "aos-web" + }, + { + "name": "oms-web" + }, + { + "name": "log-web" + }, + { + "name": "scr-web" + }, + { + "name": "ros-plugin", + "activeRule": "/cmp-web/ros-plugin" + } + ] +} diff --git a/main/cmc/config.js b/main/cmc/config.js new file mode 100644 index 0000000..368b23d --- /dev/null +++ b/main/cmc/config.js @@ -0,0 +1,3 @@ +window.appConfigs = { + cscPort: 60008 +} diff --git a/main/cmc/platform.json b/main/cmc/platform.json new file mode 100644 index 0000000..c7be527 --- /dev/null +++ b/main/cmc/platform.json @@ -0,0 +1,64 @@ +[{ + "logo": "winhong", + "title": "云平台", + "counts": [{ + "name": "云平台数量", + "value": 3 + }, + { + "name": "云主机数量", + "value": 10 + }, + { + "name": "云主机CPU总量 (C)", + "value": 1000 + }, + { + "name": "云主机内存总量 (GB)", + "value": 2000 + } + ] + }, + { + "logo": "cmp", + "title": "云管理平台", + "counts": [{ + "name": "集群数量", + "value": 3 + }, + { + "name": "CPU总量", + "value": 10 + }, + { + "name": "内存总量 (GB)", + "value": 1000 + }, + { + "name": "存储总量 (GB)", + "value": 2000 + } + ] + }, + { + "logo": "paas", + "title": "异构容器管理平台", + "counts": [{ + "name": "应用数量", + "value": 3 + }, + { + "name": "服务数量", + "value": 10 + }, + { + "name": "实例数量", + "value": 1000 + }, + { + "name": "节眯数量", + "value": 2000 + } + ] + } +] \ No newline at end of file diff --git a/main/csc/app.json b/main/csc/app.json new file mode 100644 index 0000000..f57876f --- /dev/null +++ b/main/csc/app.json @@ -0,0 +1,12 @@ +{ + "apps": [{ + "name": "ros-console" + }, + { + "name": "cop-console" + }, + { + "name": "cms-console" + } + ] +} diff --git a/main/csc/config.js b/main/csc/config.js new file mode 100644 index 0000000..1582062 --- /dev/null +++ b/main/csc/config.js @@ -0,0 +1,4 @@ +window.appConfigs = { + cscPort: 60008, + enableMonitor: false +}