@@ -935,7 +935,7 @@ public static void createDirUnderDomainPV(String dirPath) throws Exception {
935
935
936
936
/**
937
937
* A utility method to copy Cross Namespaces RBAC yaml template file replacing the DOMAIN_NS,
938
- * OPERATOR_NS and DOMAINUID.
938
+ * OPERATOR_NS
939
939
*
940
940
* @throws IOException when copying files from source location to staging area fails
941
941
*/
@@ -947,11 +947,6 @@ private static void createCrossNSRBACFile(String domainNS, String operatorNS) th
947
947
logger .log (Level .INFO , "Copying {0}" , src .toString ());
948
948
Charset charset = StandardCharsets .UTF_8 ;
949
949
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
- */
955
950
content = content .replaceAll ("weblogic-domain" , domainNS );
956
951
content = content .replaceAll ("weblogic-operator" , operatorNS );
957
952
logger .log (Level .INFO , "to {0}" , dst .toString ());
@@ -963,8 +958,7 @@ private static void createCrossNSRBACFile(String domainNS, String operatorNS) th
963
958
* Remove monitoring exporter directory if exists and clone latest from github for monitoring
964
959
* exporter code
965
960
*
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
968
962
*/
969
963
public static void gitCloneBuildMonitoringExporter () throws Exception {
970
964
monitoringDir = BaseTest .getResultDir () + "/monitoring" ;
@@ -989,7 +983,7 @@ public static void gitCloneBuildMonitoringExporter() throws Exception {
989
983
removeAndClone .append ("rm -rf " ).append (monitoringExporterSrcDir ).append (" && " );
990
984
}
991
985
logger .info (" Cloning and building Weblogic Server Monitoring Exporter application" );
992
- // git clone docker-images project
986
+ // git clone exporter project
993
987
removeAndClone
994
988
.append (" git clone https://github.com/oracle/weblogic-monitoring-exporter.git " )
995
989
.append (monitoringExporterSrcDir );
0 commit comments