File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
integration-tests/src/test/java/oracle/weblogic/kubernetes Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -327,4 +327,5 @@ public interface TestConstants {
327
327
Optional .ofNullable (System .getenv ("HTTPS_PROXY" )).orElse (System .getenv ("https_proxy" ));
328
328
public static final String NO_PROXY =
329
329
Optional .ofNullable (System .getenv ("NO_PROXY" )).orElse (System .getenv ("no_proxy" ));
330
+ public static final String YAML_MAX_FILE_SIZE_PROPERTY = "-Dwdt.config.yaml.max.file.size=25000000" ;
330
331
}
Original file line number Diff line number Diff line change 7
7
8
8
import oracle .weblogic .kubernetes .logging .LoggingFacade ;
9
9
10
+ import static oracle .weblogic .kubernetes .TestConstants .YAML_MAX_FILE_SIZE_PROPERTY ;
10
11
import static oracle .weblogic .kubernetes .actions .ActionConstants .IMAGE_TOOL ;
11
12
import static oracle .weblogic .kubernetes .actions .ActionConstants .WDT_ZIP_PATH ;
12
13
import static oracle .weblogic .kubernetes .actions .impl .primitive .Command .defaultCommandParams ;
@@ -102,6 +103,7 @@ private String buildiWitCommand() {
102
103
+ " --tag " + params .modelImageName () + ":" + params .modelImageTag ()
103
104
+ " --fromImage " + params .baseImageName () + ":" + params .baseImageTag ()
104
105
+ " --wdtDomainType " + params .domainType ()
106
+ + " --wdtJavaOptions " + YAML_MAX_FILE_SIZE_PROPERTY
105
107
+ " --chown oracle:root" ;
106
108
107
109
if (params .wdtModelOnly ()) {
Original file line number Diff line number Diff line change 27
27
import static oracle .weblogic .kubernetes .TestConstants .BASE_IMAGES_REPO_SECRET_NAME ;
28
28
import static oracle .weblogic .kubernetes .TestConstants .DOMAIN_API_VERSION ;
29
29
import static oracle .weblogic .kubernetes .TestConstants .FMWINFRA_IMAGE_TO_USE_IN_SPEC ;
30
+ import static oracle .weblogic .kubernetes .TestConstants .YAML_MAX_FILE_SIZE_PROPERTY ;
30
31
import static oracle .weblogic .kubernetes .actions .TestActions .getServiceNodePort ;
31
32
import static oracle .weblogic .kubernetes .utils .ApplicationUtils .callWebAppAndWaitTillReady ;
32
33
import static oracle .weblogic .kubernetes .utils .CommonTestUtils .checkPodReadyAndServiceExists ;
41
42
* Common utility methods for FMW Domain.
42
43
*/
43
44
public class FmwUtils {
45
+
44
46
/**
45
47
* Construct a domain object with the given parameters that can be used to create a domain resource.
46
48
* @param domainUid unique Uid of the domain
@@ -84,7 +86,10 @@ public static Domain createDomainResource(
84
86
.value ("-Dweblogic.StdoutDebugEnabled=false" ))
85
87
.addEnvItem (new V1EnvVar ()
86
88
.name ("USER_MEM_ARGS" )
87
- .value ("-Djava.security.egd=file:/dev/./urandom " )))
89
+ .value ("-Djava.security.egd=file:/dev/./urandom " ))
90
+ .addEnvItem (new V1EnvVar ()
91
+ .name ("WLSDEPLOY_PROPERTIES" )
92
+ .value (YAML_MAX_FILE_SIZE_PROPERTY )))
88
93
.adminServer (new AdminServer ()
89
94
.serverStartState ("RUNNING" )
90
95
.adminService (new AdminService ()
You can’t perform that action at this time.
0 commit comments