This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-booster-ui.git
The following commit(s) were added to refs/heads/main by this push:
new 253f5c9 Add AWS menu for supporting AWS monitoring (#202)
253f5c9 is described below
commit 253f5c9261957676ad8a927d2613c89deabdad39
Author: pg.yang <[email protected]>
AuthorDate: Tue Dec 6 21:41:15 2022 +0800
Add AWS menu for supporting AWS monitoring (#202)
---
src/locales/lang/en.ts | 2 ++
src/locales/lang/es.ts | 2 ++
src/locales/lang/zh.ts | 2 ++
src/router/data/{index.ts => aws.ts} | 46 ++++++++++++++++++++++--------------
src/router/data/index.ts | 2 ++
5 files changed, 36 insertions(+), 18 deletions(-)
diff --git a/src/locales/lang/en.ts b/src/locales/lang/en.ts
index 0510d81..b4d22f1 100644
--- a/src/locales/lang/en.ts
+++ b/src/locales/lang/en.ts
@@ -375,5 +375,7 @@ const msg = {
language: "Language",
gateway: "Gateway",
virtualMQ: "Virtual MQ",
+ AWSCloud: "AWS Cloud",
+ AWSCloudEKS: "EKS"
};
export default msg;
diff --git a/src/locales/lang/es.ts b/src/locales/lang/es.ts
index d8bc29c..675bd1b 100644
--- a/src/locales/lang/es.ts
+++ b/src/locales/lang/es.ts
@@ -378,5 +378,7 @@ const msg = {
language: "Lenguaje",
gateway: "Puerta",
virtualMQ: "MQ virtual",
+ AWSCloud: "AWS Cloud",
+ AWSCloudEKS: "EKS"
};
export default msg;
diff --git a/src/locales/lang/zh.ts b/src/locales/lang/zh.ts
index 1d1c030..b89451c 100644
--- a/src/locales/lang/zh.ts
+++ b/src/locales/lang/zh.ts
@@ -373,5 +373,7 @@ const msg = {
language: "语言",
gateway: "网关",
virtualMQ: "虚拟消息队列",
+ AWSCloud: "AWS云服务",
+ AWSCloudEKS: "EKS"
};
export default msg;
diff --git a/src/router/data/index.ts b/src/router/data/aws.ts
similarity index 61%
copy from src/router/data/index.ts
copy to src/router/data/aws.ts
index d6965b2..2fb16e8 100644
--- a/src/router/data/index.ts
+++ b/src/router/data/aws.ts
@@ -14,24 +14,34 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-import general from "./general";
-import serviceMesh from "./serviceMesh";
-import database from "./database";
-import infrastructure from "./infrastructure";
-import selfObservability from "./selfObservability";
-import functions from "./functions";
-import browser from "./browser";
-import k8s from "./k8s";
-import gateway from "./gateway";
export default [
- ...general,
- ...serviceMesh,
- ...functions,
- ...k8s,
- ...infrastructure,
- ...browser,
- ...gateway,
- ...database,
- ...selfObservability,
+ {
+ path: "",
+ name: "AWSCloud",
+ meta: {
+ title: "AWSCloud",
+ icon: "aws",
+ hasGroup: true,
+ },
+ redirect: "/aws-eks",
+ children: [
+ {
+ path: "/aws-eks",
+ name: "AWSCloudEKS",
+ meta: {
+ title: "AWSCloudEKS",
+ layer: "AWS_EKS",
+ },
+ },
+ {
+ path: "/aws-eks/tab/:activeTabIndex",
+ name: "EKSActiveTabIndex",
+ meta: {
+ notShow: true,
+ layer: "AWS_EKS",
+ },
+ },
+ ],
+ },
];
diff --git a/src/router/data/index.ts b/src/router/data/index.ts
index d6965b2..f9a4421 100644
--- a/src/router/data/index.ts
+++ b/src/router/data/index.ts
@@ -23,6 +23,7 @@ import functions from "./functions";
import browser from "./browser";
import k8s from "./k8s";
import gateway from "./gateway";
+import aws from "./aws";
export default [
...general,
@@ -30,6 +31,7 @@ export default [
...functions,
...k8s,
...infrastructure,
+ ...aws,
...browser,
...gateway,
...database,