@@ -935,7 +935,7 @@ public static void createDirUnderDomainPV(String dirPath) throws Exception {
935935
936936 /**
937937 * A utility method to copy Cross Namespaces RBAC yaml template file replacing the DOMAIN_NS,
938- * OPERATOR_NS and DOMAINUID.
938+ * OPERATOR_NS
939939 *
940940 * @throws IOException when copying files from source location to staging area fails
941941 */
@@ -947,11 +947,6 @@ private static void createCrossNSRBACFile(String domainNS, String operatorNS) th
947947 logger .log (Level .INFO , "Copying {0}" , src .toString ());
948948 Charset charset = StandardCharsets .UTF_8 ;
949949 String content = new String (Files .readAllBytes (src ), charset );
950- /*
951- content = content.replaceAll("@DOMAIN_NS@", domainNS);
952- content = content.replaceAll("@DOMAIN_UID@", domainUID);
953- content = content.replaceAll("@OPERATOR_NS@", operatorNS);
954- */
955950 content = content .replaceAll ("weblogic-domain" , domainNS );
956951 content = content .replaceAll ("weblogic-operator" , operatorNS );
957952 logger .log (Level .INFO , "to {0}" , dst .toString ());
@@ -963,8 +958,7 @@ private static void createCrossNSRBACFile(String domainNS, String operatorNS) th
963958 * Remove monitoring exporter directory if exists and clone latest from github for monitoring
964959 * exporter code
965960 *
966- * @throws Exception if could not run the command successfully to clone of docker-images sample
967- * from github
961+ * @throws Exception if could not run the command successfully to clone from github
968962 */
969963 public static void gitCloneBuildMonitoringExporter () throws Exception {
970964 monitoringDir = BaseTest .getResultDir () + "/monitoring" ;
@@ -989,7 +983,7 @@ public static void gitCloneBuildMonitoringExporter() throws Exception {
989983 removeAndClone .append ("rm -rf " ).append (monitoringExporterSrcDir ).append (" && " );
990984 }
991985 logger .info (" Cloning and building Weblogic Server Monitoring Exporter application" );
992- // git clone docker-images project
986+ // git clone exporter project
993987 removeAndClone
994988 .append (" git clone https://github.com/oracle/weblogic-monitoring-exporter.git " )
995989 .append (monitoringExporterSrcDir );
0 commit comments