@@ -162,7 +162,8 @@ private static void gitCloneBuildMonitoringExporter() throws Exception {
162162 resourceExporterDir ,
163163 monitoringExporterScriptDir ,
164164 "buildMonitoringExporter.sh" ,
165- monitoringExporterDir + " " + resourceExporterDir + " " + monitoringExporterBranchVer + " " + MONITORING_EXPORTER_VERSION );
165+ monitoringExporterDir + " " + resourceExporterDir + " " + monitoringExporterBranchVer + " "
166+ + MONITORING_EXPORTER_VERSION );
166167 }
167168
168169 /**
@@ -959,7 +960,8 @@ private static void installPrometheusGrafanaWebHookMySQLCoordinatorWLSImage() th
959960 resourceExporterDir ,
960961 monitoringExporterScriptDir ,
961962 "createPromGrafanaMySqlCoordWebhook.sh" ,
962- monitoringExporterDir + " " + resourceExporterDir + " " + PROMETHEUS_CHART_VERSION + " " + GRAFANA_CHART_VERSION );
963+ monitoringExporterDir + " " + resourceExporterDir + " " + PROMETHEUS_CHART_VERSION + " "
964+ + GRAFANA_CHART_VERSION );
963965
964966 String webhookPod = getPodName ("app=webhook" , "webhook" );
965967 TestUtils .checkPodReady (webhookPod , "webhook" );
@@ -1006,9 +1008,9 @@ static void checkPromGrafana() throws Exception {
10061008 + " --data-binary @grafana/dashboard.json" ;
10071009 TestUtils .exec (crdCmd );
10081010 crdCmd = " cd "
1009- + monitoringExporterEndToEndDir
1010- + " && " +
1011- "curl -v -H 'Content-Type: application/json' -X GET http://admin:12345678@$HOSTNAME:31000/api/dashboards/db/weblogic-server-dashboard" ;
1011+ + monitoringExporterEndToEndDir
1012+ + " && "
1013+ + "curl -v -H 'Content-Type: application/json' -X GET http://admin:12345678@$HOSTNAME:31000/api/dashboards/db/weblogic-server-dashboard" ;
10121014 ExecResult result = ExecCommand .exec (crdCmd );
10131015 assertTrue (result .stdout ().contains ("wls_jvm_uptime" ));
10141016 assertTrue (
@@ -1154,7 +1156,7 @@ private static boolean checkMetricsViaPrometheus(String searchKey, String expect
11541156 * @param yamlFile - Name of the yaml file to make changes.
11551157 * @throws IOException exception
11561158 */
1157- private static void addRestOptToYaml (String yamlFile , String prop , int restPort ) throws IOException {
1159+ private static void addRestOptToYaml (String yamlFile , String prop , int restPort ) throws IOException {
11581160 ObjectMapper objectMapper = new ObjectMapper ();
11591161
11601162 ObjectMapper yamlReader = new ObjectMapper (new YAMLFactory ());
0 commit comments