File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
integration-tests/src/test/java/oracle/weblogic/kubernetes Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
- // Copyright (c) 2020, 2022 , Oracle and/or its affiliates.
1
+ // Copyright (c) 2020, 2023 , Oracle and/or its affiliates.
2
2
// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3
3
4
4
package oracle .weblogic .kubernetes ;
@@ -276,7 +276,7 @@ public interface TestConstants {
276
276
277
277
//monitoring constants
278
278
public static final String MONITORING_EXPORTER_WEBAPP_VERSION =
279
- getNonEmptySystemProperty ("wko.it.monitoring.exporter.webapp.version" , "2.1.0 " );
279
+ getNonEmptySystemProperty ("wko.it.monitoring.exporter.webapp.version" , "2.1.1 " );
280
280
public static final String MONITORING_EXPORTER_BRANCH =
281
281
getNonEmptySystemProperty ("wko.it.monitoring.exporter.branch" , "main" );
282
282
public static final String PROMETHEUS_CHART_VERSION =
Original file line number Diff line number Diff line change @@ -126,15 +126,13 @@ public class MonitoringUtils {
126
126
public static void downloadMonitoringExporterApp (String configFile , String applicationDir ) {
127
127
//version of wls-exporter.war published in https://github.com/oracle/weblogic-monitoring-exporter/releases/
128
128
String monitoringExporterRelease = MONITORING_EXPORTER_WEBAPP_VERSION ;
129
- String monitoringExporterWebAppScriptVersion = monitoringExporterRelease .substring (0 ,
130
- monitoringExporterRelease .length () - 2 );
131
129
String curlDownloadCmd = String .format ("cd %s && "
132
- + "curl -O -L -k https://github.com/oracle/weblogic-monitoring-exporter/releases/download/v%s/get %s.sh" ,
130
+ + "curl -O -L -k https://github.com/oracle/weblogic-monitoring-exporter/releases/download/v%s/get_v %s.sh" ,
133
131
applicationDir ,
134
132
monitoringExporterRelease ,
135
- monitoringExporterWebAppScriptVersion );
133
+ monitoringExporterRelease );
136
134
String monitoringExporterBuildFile = String .format (
137
- "%s/get %s.sh" , applicationDir , monitoringExporterWebAppScriptVersion );
135
+ "%s/get_v %s.sh" , applicationDir , monitoringExporterRelease );
138
136
logger .info ("execute command a monitoring exporter curl command {0} " , curlDownloadCmd );
139
137
assertTrue (Command
140
138
.withParams (new CommandParams ()
You can’t perform that action at this time.
0 commit comments