Skip to content

Commit 2680d08

Browse files
Merge pull request #463 from jgbernalp/sync-0.4-with-0.5
NO-JIRA: Sync 0.4 with 0.5
2 parents 350f64f + 8f2bc1a commit 2680d08

36 files changed

+173
-2556
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Feature flags are used by the mcp mode to dictate the specific features which ar
114114
|-------------------|-------------|
115115
| acm-alerting | 4.14+ |
116116
| perses-dashboards | 4.14+ |
117-
| incidents | 4.17+ |
117+
| incidents | 4.19+ |
118118
| dev-config | |
119119

120120
#### ACM

cmd/plugin-backend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var (
1414
portArg = flag.Int("port", 0, "server port to listen on (default: 9443)\nports 9444 and 9445 reserved for other use")
1515
certArg = flag.String("cert", "", "cert file path to enable TLS (disabled by default)")
1616
keyArg = flag.String("key", "", "private key file path to enable TLS (disabled by default)")
17-
featuresArg = flag.String("features", "", "enabled features, comma separated.\noptions: ['acm-alerting', 'incidents', 'dev-config', 'perses-dashboards']")
17+
featuresArg = flag.String("features", "", "enabled features, comma separated.\noptions: ['acm-alerting', 'dev-config', 'perses-dashboards']")
1818
staticPathArg = flag.String("static-path", "", "static files path to serve frontend (default: './web/dist')")
1919
configPathArg = flag.String("config-path", "", "config files path (default: './config')")
2020
pluginConfigArg = flag.String("plugin-config-path", "", "plugin yaml configuration")

config/incidents.patch.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

pkg/server.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ type Feature string
4545

4646
const (
4747
AcmAlerting Feature = "acm-alerting"
48-
Incidents Feature = "incidents"
4948
DevConfig Feature = "dev-config"
5049
PersesDashboards Feature = "perses-dashboards"
5150
)

scripts/build-image.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ if [[ "$OSTYPE" == "darwin"* ]] && [[ "$DOCKER_FILE_NAME" == "Dockerfile.mcp" ]]
2020
make update-plugin-name
2121
export I18N_NAMESPACE='plugin__monitoring-console-plugin'
2222

23+
printf "${YELLOW}Installing Frontend${ENDCOLOR}\n"
24+
make install-frontend
25+
2326
printf "${YELLOW}Building Frontend${ENDCOLOR}\n"
2427
make build-frontend
2528
fi

web/package-lock.json

Lines changed: 91 additions & 76 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
"@patternfly/react-core": "5.4.0",
4747
"@patternfly/react-icons": "^5.4.0",
4848
"@patternfly/react-table": "5.4.13",
49-
"@perses-dev/components": "^0.50.0",
50-
"@perses-dev/dashboards": "^0.50.0",
51-
"@perses-dev/panels-plugin": "^0.50.0",
52-
"@perses-dev/plugin-system": "^0.50.0",
53-
"@perses-dev/prometheus-plugin": "^0.50.0",
49+
"@perses-dev/components": "^0.50.3",
50+
"@perses-dev/dashboards": "^0.50.3",
51+
"@perses-dev/panels-plugin": "^0.50.3",
52+
"@perses-dev/plugin-system": "^0.50.3",
53+
"@perses-dev/prometheus-plugin": "^0.50.3",
5454
"@prometheus-io/codemirror-promql": "^0.37.0",
5555
"@tanstack/react-query": "^4.36.1",
5656
"classnames": "2.x",
@@ -110,7 +110,8 @@
110110
"tough-cookie": "^4.1.3",
111111
"sanitize-html": "^2.12.1",
112112
"path-to-regexp": "^1.9.0",
113-
"cross-spawn": "^7.0.5"
113+
"cross-spawn": "^7.0.5",
114+
"notistack": "^3.0.2"
114115
},
115116
"resolutions": {
116117
"@types/react": "17.0.83"
@@ -122,8 +123,7 @@
122123
"description": "This plugin adds the monitoring UI to the OpenShift web console",
123124
"exposedModules": {
124125
"MonitoringRouter": "./components/router",
125-
"MonitoringReducer": "./reducers/observe",
126-
"IncidentsPage": "./components/Incidents/IncidentsPage"
126+
"MonitoringReducer": "./reducers/observe"
127127
},
128128
"dependencies": {
129129
"@console/pluginAPI": "*"

0 commit comments

Comments
 (0)