integration-tests/src/test/java/oracle/kubernetes/operator/ItMonitoringExporter.java
private static void deployMonitoringExporter(
      String exporterAppPath, Domain domain, Operator operator) throws Exception {

    Map<String, Object> domainMap = domain.getDomainMap();
    // create the app directory in admin pod
    TestUtils.kubectlexec(
        domain.getDomainUid() + ("-") + domainMap.get("adminServerName"),
        "" + domainMap.get("namespace"),
        " -- mkdir -p " + appLocationInPod);
    domain.deployWebAppViaWlst(
        "wls-exporter", exporterAppPath, appLocationInPod, getUsername(), getPassword(), true, 5);
  }
/**
   * Deploy Monitoring Exporter webapp, Prometheus and Grafana.
   *
   * @param exporterAppPath path to exporter webapp
   * @param domain          - domain where monitoring exporter will be deployed
   * @param operator        operator object managing the domain
   * @throws Exception if could not run the command successfully to clone from github
   */
Deploy Monitoring Exporter webapp, Prometheus and Grafana.
@param exporterAppPath path to exporter webapp
@param domain          - domain where monitoring exporter will be deployed
@param operator        operator object managing the domain
@throws Exception if could not run the command successfully to clone from github
Deploy Monitoring Exporter webapp Prometheus and Grafana . @param exporterAppPath path to exporter webapp @param domain - domain where monitoring exporter will be deployed @param operator operator object managing the domain @throws Exception if could not run the command successfully to clone from github
private static void deployMonitoringExporter(
      String exporterAppPath, Domain domain, Operator operator) throws Exception {
    Map<String, Object> domainMap = domain.getDomainMap();
    TestUtils.kubectlexec(
        domain.getDomainUid() + ("-") + domainMap.get("adminServerName"),
        "" + domainMap.get("namespace"),
        " -- mkdir -p " + appLocationInPod);
    domain.deployWebAppViaWlst(
        "wls-exporter", exporterAppPath, appLocationInPod, getUsername(), getPassword(), true, 5);
  }
private static void deployMonitoringExporter ( String exporterAppPath , Domain domain , Operator operator ) throws Exception { Map < String , Object > domainMap = domain . getDomainMap ( ) ; TestUtils . kubectlexec ( domain . getDomainUid ( ) + ( "-" ) + domainMap . get ( "adminServerName" ) , "" + domainMap . get ( "namespace" ) , " -- mkdir -p " + appLocationInPod ) ; domain . deployWebAppViaWlst ( "wls-exporter" , exporterAppPath , appLocationInPod , getUsername ( ) , getPassword ( ) , true , 5 ) ; }
Deploy Monitoring Exporter webapp, Prometheus and Grafana.
Deploy Monitoring Exporter webapp Prometheus and Grafana .
// create the app directory in admin pod