Skip to content

Commit ff28bd5

Browse files
authored
Merge pull request #240 from keithchong/9237-CleanupRefactoring
Remove Environments tab and clean up old code (#9237)
2 parents 4b01943 + b2ef36a commit ff28bd5

91 files changed

Lines changed: 84 additions & 2509 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

console-extensions.json

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,6 @@
55
},
66
"type": "console.flag"
77
},
8-
{
9-
"type": "console.navigation/href",
10-
"properties": {
11-
"id": "gitops-environment",
12-
"perspective": "dev",
13-
"section": "resources",
14-
"insertAfter": "pipelines",
15-
"insertBefore": "helm",
16-
"name": "Environments",
17-
"href": "/envdynamic",
18-
"dataAttributes": {
19-
"data-test-id": "envdynamic-header"
20-
}
21-
},
22-
"flags": {
23-
"required": ["OPENSHIFT"]
24-
}
25-
},
26-
{
27-
"type": "console.page/route",
28-
"properties": {
29-
"component": { "$codeRef": "environments" },
30-
"exact": true,
31-
"path": "/envdynamic"
32-
}
33-
},
34-
{
35-
"type": "console.page/route",
36-
"properties": {
37-
"component": { "$codeRef": "detailsPage" },
38-
"exact": false,
39-
"path": "/envdynamic/:appName"
40-
}
41-
},
428
{
439
"type": "console.flag/hookProvider",
4410
"properties": {

locales/en/plugin__gitops-plugin.json

Lines changed: 8 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,4 @@
11
{
2-
"Environments": "Environments",
3-
"Select an application to view the environment it's deployed in.": "Select an application to view the environment it's deployed in.",
4-
"Error cannot retrieve environments": "Cannot retrieve environments. Ensure the Argo CD applications are available and check the log for the 'cluster' pod created by the GitOps Operator.",
5-
"Compatibility Issue": "Compatibility Issue",
6-
"Compatibility Issue Message": "It is detected that an older version of the GitOps Operator is installed. Please upgrade the GitOps Operator",
7-
"Error Encountered": "Error Encountered",
8-
"Cluster URL not available": "Cluster URL not available",
9-
"{{message}}": "{{message}}",
10-
"Commit message not available": "Commit message not available",
11-
"by {{author}}": "by {{author}}",
12-
"Commit author not available": "Commit author not available",
13-
"Commit details not available": "Commit details not available",
14-
"Last deployed": "Last deployed",
15-
"Last deployed time not available": "Last deployed time not available",
16-
"Deployment history": "Deployment history",
17-
"Application environments": "Application environments",
18-
"Synced": "Synced",
19-
"OutOfSync": "OutOfSync",
20-
"Unknown": "Unknown",
21-
"{{x}} of {{total}} Unhealthy": "{{x}} of {{total}} Unhealthy",
22-
"{{x}} of {{total}} OutOfSync": "{{x}} of {{total}} OutOfSync",
23-
"Deployments": "Deployments",
24-
"Secrets": "Secrets",
25-
"Services": "Services",
26-
"Routes": "Routes",
27-
"Role Bindings": "Role Bindings",
28-
"Cluster Roles": "Cluster Roles",
29-
"Cluster Role Bindings": "Cluster Role Bindings",
30-
"Resources": "Resources",
31-
"Overview": "Overview",
32-
"{{appName}} · Details": "{{appName}} · Details",
33-
"Environment": "Environment",
34-
"The history cannot be obtained due to an HTTP Not Found Error. This could mean that the GitOps Operator needs to be upgraded to the latest version or the GitOps cluster pod is not running.": "The history cannot be obtained due to an HTTP Not Found Error. This could mean that the GitOps Operator needs to be upgraded to the latest version or the GitOps cluster pod is not running.",
35-
"The history cannot be obtained due to an error. Check the GitOps cluster pod log for any errors.": "The history cannot be obtained due to an error. Check the GitOps cluster pod log for any errors.",
36-
"No history": "No history",
37-
"Deployment Time": "Deployment Time",
38-
"Message": "Message",
39-
"Author": "Author",
40-
"Revision": "Revision",
41-
"Dev preview": "Dev preview",
42-
"Tech preview": "Tech preview",
43-
"Edit source code": "Edit source code",
44-
"Application name": "Application name",
45-
"Git repository": "Git repository",
46-
"Environment status": "Environment status",
47-
"Last deployment": "Last deployment",
48-
"by name": "by name",
49-
"ConsoleLink": "ConsoleLink",
50-
"ConsoleLinks": "ConsoleLinks",
51-
"Rollouts in the Topology View is under tech preview": "Rollouts in the Topology View is under tech preview",
52-
"No GitOps manifest URLs found": "No GitOps manifest URLs found",
53-
"Error cannot retrieve applications": "Cannot retrieve applications. Ensure the Argo CD applications are available and check the log for the 'cluster' pod created by the GitOps Operator.",
54-
"No Application groups found": "No Application groups found",
55-
"Environment details were not found. Try reloading the page or contacting an administrator.": "Environment details were not found. Try reloading the page or contacting an administrator.",
562
"Application details": "Application details",
573
"Health Status": "Health Status",
584
"Health status represents the overall health of the application.": "Health status represents the overall health of the application.",
@@ -75,6 +21,7 @@
7521
"Details": "Details",
7622
"YAML": "YAML",
7723
"Sources": "Sources",
24+
"Resources": "Resources",
7825
"Sync Status": "Sync Status",
7926
"History": "History",
8027
"Events": "Events",
@@ -98,6 +45,7 @@
9845
"The operation that was performed.": "The operation that was performed.",
9946
"Phase": "Phase",
10047
"The operation phase.": "The operation phase.",
48+
"Message": "Message",
10149
"The message from the operation.": "The message from the operation.",
10250
"Initiated By": "Initiated By",
10351
"Who initiated the operation.": "Who initiated the operation.",
@@ -125,10 +73,12 @@
12573
"Group resources of the same kind into one node": "Group resources of the same kind into one node",
12674
"Group Nodes": "Group Nodes",
12775
"There is no health status for this resource": "There is no health status for this resource",
76+
"Unknown": "Unknown",
12877
"Sync Unknown": "Sync Unknown",
12978
"One or more resources are in Progressing state": "One or more resources are in Progressing state",
13079
"Step {{x}}": "Step {{x}}",
13180
"Step: unmatched": "Step: unmatched",
81+
"No history": "No history",
13282
"There is no history associated with the application.": "There is no history associated with the application.",
13383
"ID": "ID",
13484
"Deploy Started At": "Deploy Started At",
@@ -321,6 +271,7 @@
321271
"There was an error retrieving applications. Check your connection and reload the page.": "There was an error retrieving applications. Check your connection and reload the page.",
322272
"ApplicationSet Applications": "ApplicationSet Applications",
323273
"The graph and table views show the ApplicationSet's applications. Use the filter below the graph to filter applications based on their health and sync status.": "The graph and table views show the ApplicationSet's applications. Use the filter below the graph to filter applications based on their health and sync status.",
274+
"Revision": "Revision",
324275
"No Argo CD ApplicationSets match the label filter": "No Argo CD ApplicationSets match the label filter",
325276
"Try removing the filter or selecting a different label to see more ApplicationSets.": "Try removing the filter or selecting a different label to see more ApplicationSets.",
326277
"There are no Argo CD ApplicationSets in this project.": "There are no Argo CD ApplicationSets in this project.",
@@ -344,9 +295,11 @@
344295
"Stop": "Stop",
345296
"Refresh": "Refresh",
346297
"Refresh (Hard)": "Refresh (Hard)",
298+
"Rollouts in the Topology View is under tech preview": "Rollouts in the Topology View is under tech preview",
347299
"Actions": "Actions",
348300
"You don't have permission to perform this action": "You don't have permission to perform this action",
349301
"annotations": "annotations",
350302
"annotation": "annotation",
351-
"No owner": "No owner"
303+
"No owner": "No owner",
304+
"Tech preview": "Tech preview"
352305
}

locales/en/public.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
"Deployments": "Deployments",
1818
"ReplicaSet": "ReplicaSet",
1919
"ReplicaSets": "ReplicaSets",
20-
"ClusterVersion": "ClusterVersion",
21-
"ClusterVersions": "ClusterVersions",
2220
"True": "True",
2321
"False": "False",
2422
"Type": "Type",
@@ -28,5 +26,7 @@
2826
"Message": "Message",
2927
"No conditions found": "No conditions found",
3028
"No owner": "No owner",
31-
"View {{kind}}": "View {{kind}}"
29+
"View {{kind}}": "View {{kind}}",
30+
"ClusterVersion": "ClusterVersion",
31+
"ClusterVersions": "ClusterVersions"
3232
}

locales/ja/plugin__gitops-plugin.json

Lines changed: 8 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,4 @@
11
{
2-
"Environments": "環境",
3-
"Select an application to view the environment it's deployed in.": "アプリケーションを選択して、デプロイされている環境を表示します。",
4-
"Error cannot retrieve environments": "エラー、環境を取得できません",
5-
"Compatibility Issue": "互換性の問題",
6-
"Compatibility Issue Message": "互換性の問題に関するメッセージ",
7-
"Error Encountered": "エラーが発生しました",
8-
"Cluster URL not available": "クラスター URL は利用できません",
9-
"{{message}}": "{{message}}",
10-
"Commit message not available": "コミットメッセージ情報はありません",
11-
"by {{author}}": "{{author}} 別",
12-
"Commit author not available": "コミット作成者情報はありません",
13-
"Commit details not available": "コミットの詳細は利用できません",
14-
"Last deployed": "最終デプロイメント",
15-
"Last deployed time not available": "最終デプロイ時刻情報はありません",
16-
"Deployment history": "デプロイメント履歴",
17-
"Application environments": "アプリケーション環境",
18-
"Synced": "同期済み",
19-
"OutOfSync": "同期なし",
20-
"Unknown": "不明",
21-
"{{x}} of {{total}} Unhealthy": "正常でない状態 {{x}} / {{total}}",
22-
"{{x}} of {{total}} OutOfSync": "同期していない状態 {{x}} / {{total}}",
23-
"Deployments": "Deployment",
24-
"Secrets": "Secret",
25-
"Services": "Service",
26-
"Routes": "Route",
27-
"Role Bindings": "ロールバインディング",
28-
"Cluster Roles": "クラスターロール",
29-
"Cluster Role Bindings": "クラスターのロールバインディング",
30-
"Resources": "リソース",
31-
"Overview": "概要",
32-
"{{appName}} · Details": "{{appName}} · 詳細",
33-
"Environment": "環境",
34-
"The history cannot be obtained due to an HTTP Not Found Error. This could mean that the GitOps Operator needs to be upgraded to the latest version or the GitOps cluster pod is not running.": "HTTP Not Found Error が原因で履歴を取得できません。GitOps Operator を最新バージョンにアップグレードする必要があるか、GitOps クラスター Pod が実行されていない可能性があります。",
35-
"The history cannot be obtained due to an error. Check the GitOps cluster pod log for any errors.": "エラーが原因で履歴を取得できません。GitOps クラスター Pod ログでエラーの有無を確認してください。",
36-
"No history": "履歴がありません",
37-
"Deployment Time": "デプロイメント時間",
38-
"Message": "メッセージ",
39-
"Author": "作成者",
40-
"Revision": "リビジョン",
41-
"Dev preview": "開発プレビュー",
42-
"Tech preview": "Tech preview",
43-
"Edit source code": "ソースコードの編集",
44-
"Application name": "アプリケーション名",
45-
"Git repository": "Git リポジトリー",
46-
"Environment status": "環境のステータス",
47-
"Last deployment": "最終デプロイメント",
48-
"by name": "名前別",
49-
"ConsoleLink": "ConsoleLink",
50-
"ConsoleLinks": "ConsoleLinks",
51-
"Rollouts in the Topology View is under tech preview": "Rollouts in the Topology View is under tech preview",
52-
"No GitOps manifest URLs found": "GitOps マニフェスト URL が見つかりません",
53-
"Error cannot retrieve applications": "エラー、アプリケーションを取得できません",
54-
"No Application groups found": "アプリケーショングループが見つかりません",
55-
"Environment details were not found. Try reloading the page or contacting an administrator.": "環境の詳細が見つかりませんでした。ページのリロードを試行するか、管理者にお問い合わせください。",
562
"Application details": "Application details",
573
"Health Status": "Health Status",
584
"Health status represents the overall health of the application.": "Health status represents the overall health of the application.",
@@ -75,6 +21,7 @@
7521
"Details": "Details",
7622
"YAML": "YAML",
7723
"Sources": "Sources",
24+
"Resources": "リソース",
7825
"Sync Status": "Sync Status",
7926
"History": "History",
8027
"Events": "Events",
@@ -98,6 +45,7 @@
9845
"The operation that was performed.": "The operation that was performed.",
9946
"Phase": "Phase",
10047
"The operation phase.": "The operation phase.",
48+
"Message": "メッセージ",
10149
"The message from the operation.": "The message from the operation.",
10250
"Initiated By": "Initiated By",
10351
"Who initiated the operation.": "Who initiated the operation.",
@@ -125,10 +73,12 @@
12573
"Group resources of the same kind into one node": "Group resources of the same kind into one node",
12674
"Group Nodes": "Group Nodes",
12775
"There is no health status for this resource": "There is no health status for this resource",
76+
"Unknown": "不明",
12877
"Sync Unknown": "Sync Unknown",
12978
"One or more resources are in Progressing state": "One or more resources are in Progressing state",
13079
"Step {{x}}": "Step {{x}}",
13180
"Step: unmatched": "Step: unmatched",
81+
"No history": "履歴がありません",
13282
"There is no history associated with the application.": "There is no history associated with the application.",
13383
"ID": "ID",
13484
"Deploy Started At": "Deploy Started At",
@@ -321,6 +271,7 @@
321271
"There was an error retrieving applications. Check your connection and reload the page.": "There was an error retrieving applications. Check your connection and reload the page.",
322272
"ApplicationSet Applications": "ApplicationSet Applications",
323273
"The graph and table views show the ApplicationSet's applications. Use the filter below the graph to filter applications based on their health and sync status.": "The graph and table views show the ApplicationSet's applications. Use the filter below the graph to filter applications based on their health and sync status.",
274+
"Revision": "リビジョン",
324275
"No Argo CD ApplicationSets match the label filter": "No Argo CD ApplicationSets match the label filter",
325276
"Try removing the filter or selecting a different label to see more ApplicationSets.": "Try removing the filter or selecting a different label to see more ApplicationSets.",
326277
"There are no Argo CD ApplicationSets in this project.": "There are no Argo CD ApplicationSets in this project.",
@@ -344,9 +295,11 @@
344295
"Stop": "Stop",
345296
"Refresh": "Refresh",
346297
"Refresh (Hard)": "Refresh (Hard)",
298+
"Rollouts in the Topology View is under tech preview": "Rollouts in the Topology View is under tech preview",
347299
"Actions": "Actions",
348300
"You don't have permission to perform this action": "You don't have permission to perform this action",
349301
"annotations": "annotations",
350302
"annotation": "annotation",
351-
"No owner": "No owner"
303+
"No owner": "No owner",
304+
"Tech preview": "Tech preview"
352305
}

locales/ja/public.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
"Deployments": "Deployments",
1818
"ReplicaSet": "ReplicaSet",
1919
"ReplicaSets": "ReplicaSets",
20-
"ClusterVersion": "ClusterVersion",
21-
"ClusterVersions": "ClusterVersions",
2220
"True": "True",
2321
"False": "False",
2422
"Type": "Type",
@@ -28,5 +26,7 @@
2826
"Message": "Message",
2927
"No conditions found": "No conditions found",
3028
"No owner": "No owner",
31-
"View {{kind}}": "View {{kind}}"
29+
"View {{kind}}": "View {{kind}}",
30+
"ClusterVersion": "ClusterVersion",
31+
"ClusterVersions": "ClusterVersions"
3232
}

0 commit comments

Comments
 (0)