Skip to content

Commit c3c8ccf

Browse files
committed
update README.md to add JRF usecases
1 parent 572f6f2 commit c3c8ccf

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

integration-tests/README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Shared cluster runs only Quick test use cases, Jenkins runs both Quick and Full
1616

1717
Use Cases covered in integration tests for the operator is available [here](USECASES.MD)
1818

19+
JRF Use Cases are covered [here](JRFUSECASES.MD)
20+
1921
# Directory Configuration and Structure
2022

2123
Directory structure of source code:
@@ -282,6 +284,35 @@ Failed run will have the output like
282284
```
283285
JUnit test results can be seen at "integration-tests/target/failsafe-reports/TEST-oracle.kubernetes.operator.ITOperator.xml". This file shows how much time each test case took to run and the failed test results if any.
284286

287+
# How to run JRF domain In Operator related tests
288+
* Setup docker access to FMW Infrastructure 12c Image and Oracle Database 12c Image
289+
290+
Method 1
291+
- Setup a personal account on hub.docker.com
292+
- Then sign in to hub.docker.com and signup for access to Oracle Database 12c Images via https://hub.docker.com/_/oracle-database-enterprise-edition
293+
- Then export the following before running the tests:
294+
```
295+
export DOCKER_USERNAME=<docker_username>
296+
export DOCKER_PASSWORD=<docker_password>
297+
export DOCKER_EMAIL=<docker_email>
298+
```
299+
- Setup an account in phx.ocir.io
300+
- Then sign in to phx.ocir.io to get access to FMW Infrastructure 12c Image: **_phx.ocir.io/weblogick8s/oracle/fmw-infrastructure:12.2.1.3_**
301+
- export the following before running the tests:
302+
```
303+
export REPO_USERNAME=<ocir_username>
304+
export REPO_PASSWORD=<ocir_password>
305+
export REPO_EMAIL=<ocir_email>
306+
```
307+
308+
Method 2
309+
- Make sure the FMW Infrastructure image i.e. **_phx.ocir.io/weblogick8s/oracle/fmw-infrastructure:12.2.1.3_** and the Oracle database image i.e. **_store/oracle/database-enterprise:12.2.0.1_** already exist locally in a docker repository the k8s cluster can access
310+
311+
* Command to run the tests:
312+
```
313+
mvn clean verify -P jrf-integration-tests 2>&1 | tee log.txt
314+
```
315+
285316
# How to run a single test
286317
287318
mvn -Dit.test="ITOperator#testDomainOnPVUsingWLST" -DfailIfNoTests=false integration-test -P java-integration-tests

0 commit comments

Comments
 (0)