integration-tests/src/test/java/oracle/kubernetes/operator/ItMonitoringExporter.java
@Test
  @Order(3)
  public void testCheckPromGrafanaLatestVersion() throws Exception {
    Assumptions.assumeTrue(FULLTEST);
    String testMethodName = new Object() {
    }.getClass().getEnclosingMethod().getName();
    logTestBegin(testMethodName);
    executeShelScript(
        resourceExporterDir,
        monitoringExporterScriptDir,
        "redeployPromGrafanaLatestChart.sh",
        monitoringExporterDir + " " + resourceExporterDir + " " + domainNS1
        + " " + domainNS2, "redeployPromGrafanaLatestChart.out");


    HtmlPage page = submitConfigureForm(exporterUrl, "replace", configPath + "/rest_webapp.yml");
    checkPromGrafana(testappPrometheusSearchKey, "httpsessionreptestapp");
    LoggerHelper.getLocal().log(Level.INFO, "SUCCESS - " + testMethodName);
  }
/**
   * Install prometheus and grafana with latest version of chart.
   *
   * @throws Exception if test fails to verify metrics
   */
Install prometheus and grafana with latest version of chart.
@throws Exception if test fails to verify metrics
Install prometheus and grafana with latest version of chart . @throws Exception if test fails to verify metrics
@Test
  @Order(3)
  public void testCheckPromGrafanaLatestVersion() throws Exception {
    Assumptions.assumeTrue(FULLTEST);
    String testMethodName = new Object() {
    }.getClass().getEnclosingMethod().getName();
    logTestBegin(testMethodName);
    executeShelScript(
        resourceExporterDir,
        monitoringExporterScriptDir,
        "redeployPromGrafanaLatestChart.sh",
        monitoringExporterDir + " " + resourceExporterDir + " " + domainNS1
        + " " + domainNS2, "redeployPromGrafanaLatestChart.out");
    HtmlPage page = submitConfigureForm(exporterUrl, "replace", configPath + "/rest_webapp.yml");
    checkPromGrafana(testappPrometheusSearchKey, "httpsessionreptestapp");
    LoggerHelper.getLocal().log(Level.INFO, "SUCCESS - " + testMethodName);
  }
@ Test @ Order ( 3 ) public void testCheckPromGrafanaLatestVersion ( ) throws Exception { Assumptions . assumeTrue ( FULLTEST ) ; String testMethodName = new Object ( ) { } . getClass ( ) . getEnclosingMethod ( ) . getName ( ) ; logTestBegin ( testMethodName ) ; executeShelScript ( resourceExporterDir , monitoringExporterScriptDir , "redeployPromGrafanaLatestChart.sh" , monitoringExporterDir + " " + resourceExporterDir + " " + domainNS1 + " " + domainNS2 , "redeployPromGrafanaLatestChart.out" ) ; HtmlPage page = submitConfigureForm ( exporterUrl , "replace" , configPath + "/rest_webapp.yml" ) ; checkPromGrafana ( testappPrometheusSearchKey , "httpsessionreptestapp" ) ; LoggerHelper . getLocal ( ) . log ( Level . INFO , "SUCCESS - " + testMethodName ) ; }
Install prometheus and grafana with latest version of chart.
Install prometheus and grafana with latest version of chart .