Skip to content

Commit e290c4f

Browse files
committed
added input yaml to test section
1 parent 4f1e7ef commit e290c4f

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

integration-tests/README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Wercker runs only Quick test use cases, Jenkins runs both Quick and Full test us
1414

1515
# Use Cases
1616

17-
Use Cases covered in integration tests for the operator is available [here](https://oracle.github.io/weblogic-kubernetes-operator)
17+
Use Cases covered in integration tests for the operator is available [here](USECASES.MD)
1818

1919
# Directory Configuration and Structure
2020

@@ -98,7 +98,7 @@ externalRestEnabled: true
9898
javaLoggingLevel: FINE
9999
```
100100

101-
src/integration-tests/resources/domainonpvwlst.yaml - input/customized properties for PV/Load Balancer/WebLogic Domain. Any property can be provided here from kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/create-domain-inputs.yaml and kubernetes/samples/scripts/create-weblogic-domain-pv-pvc/create-pv-pvc-inputs.yaml. For all the properties that are not defined here, the default values in the sample inputs are used while generating inputs yaml.
101+
src/integration-tests/resources/domainonpvwlst.yaml - See "Input Yaml to the test". For all the properties that are not defined here, the default values in the sample inputs are used while generating inputs yaml.
102102

103103
```
104104
adminServerName: admin-server
@@ -117,7 +117,25 @@ namespace: default
117117

118118
Certain properties like weblogicDomainStoragePath, image, externalOperatorCert are populated at run time.
119119

120+
# Input Yaml to the test
120121

122+
The input yaml file(for example, domainonpvwlst.yaml) to the java test is used to override any or all the attributes in
123+
- samples domain inputs - click [here](https://github.com/oracle/weblogic-kubernetes-operator/blob/develop/kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/create-domain-inputs.yaml) to see samples create-domain-inputs file
124+
- PV/PVC inputs - click [here](https://github.com/oracle/weblogic-kubernetes-operator/blob/develop/kubernetes/samples/scripts/create-weblogic-domain-pv-pvc/create-pv-pvc-inputs.yaml) to see PV/PVC inputs file
125+
- load balancer attributes and
126+
- custom attributes that are used to provide more flexibility for creating the domain.
127+
128+
Below are the load balancer attributes:
129+
- loadBalancer: value can be TRAEFIK or VOYAGER, default is TRAEFIK
130+
- loadBalancerWebPort: web port for the load balancer
131+
- ingressPerDomain: create ingress per domain or one ingress for all domains in multiple domain configuration, default is true.
132+
133+
**Note: System env variables LB_TYPE, INGRESSPERDOMAIN take precedence over the domain input attributes. These variables apply for the entire run, not just one domain.**
134+
135+
Below are the custom attributes:
136+
- createDomainPyScript is used to provide a custom create-domain.py script for domain on pv using WLST or create-wls-domain.py for domain in image
137+
- clusterType is used to create a CONFIGURED or DYNAMIC Cluster. This is supported for domain on pv using WLST or domain in image using WDT configurations. Default is DYNAMIC
138+
121139
# How does it work
122140

123141
When the tests are run with mvn command,

0 commit comments

Comments
 (0)