@@ -52,7 +52,8 @@ public class SitConfig extends BaseTest {
52
52
* @throws Exception when the initialization, creating directories , copying files and domain
53
53
* creation fails.
54
54
*/
55
- protected static void staticPrepare (String domainScript ) throws Exception {
55
+ protected static void staticPrepare (String domainInputYaml , String domainScript )
56
+ throws Exception {
56
57
// initialize test properties and create the directories
57
58
if (!QUICKTEST ) {
58
59
// initialize test properties and create the directories
@@ -85,7 +86,7 @@ protected static void staticPrepare(String domainScript) throws Exception {
85
86
};
86
87
copySitConfigFiles (files , "test-secrets" );
87
88
// create weblogic domain with configOverrides
88
- domain = createSitConfigDomain (domainScript );
89
+ domain = createSitConfigDomain (domainInputYaml , domainScript );
89
90
Assert .assertNotNull (domain );
90
91
domainYaml =
91
92
BaseTest .getUserProjectsDir ()
@@ -131,9 +132,10 @@ protected static void staticUnPrepare() throws Exception {
131
132
* @return - created domain
132
133
* @throws Exception - if it cannot create the domain
133
134
*/
134
- private static Domain createSitConfigDomain (String domainScript ) throws Exception {
135
+ private static Domain createSitConfigDomain (String domainInputYaml , String domainScript )
136
+ throws Exception {
135
137
// load input yaml to map and add configOverrides
136
- Map <String , Object > domainMap = TestUtils .loadYaml (DOMAININIMAGE_WLST_YAML );
138
+ Map <String , Object > domainMap = TestUtils .loadYaml (domainInputYaml );
137
139
domainMap .put ("configOverrides" , "sitconfigcm" );
138
140
domainMap .put ("configOverridesFile" , configOverrideDir );
139
141
domainMap .put ("domainUID" , DOMAINUID );
0 commit comments