8000 Tags · ConnectionMaster/weblogic-kubernetes-operator · GitHub
[go: up one dir, main page]

Skip to content

Tags: ConnectionMaster/weblogic-kubernetes-operator

Tags

v3.1.2

Toggle v3.1.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Operator version 3.1.2 (oracle#2154)

* Prepare for 3.1.1

* OWLS-86552 - Fix for multiple pod restarts during rolling update. ManagedServerUpAfterStep is executed after servers in all clusters started. (oracle#2109)

* Add PR reference

* patch annotation with slashes fix - from PR 2089

* Update versions and release notes

* Missing files

* Restore 3.1.1 chart

* Clarify Docker Hub, Docker Store and remove unnecessary references to Docker

* Build schema

* Fix broken link

* Adjust wording

* Review comments

Co-authored-by: Anil Kedia <37935279+ankedia@users.noreply.github.com>
Co-authored-by: anthony_lai <anthony.lai@oracle.com>

v3.1.1

Toggle v3.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Operator version 3.1.1 (oracle#2108)

* Prepare for 3.1.1

* OWLS-86552 - Fix for multiple pod restarts during rolling update. ManagedServerUpAfterStep is executed after servers in all clusters started. (oracle#2109)

* Add PR reference

Co-authored-by: Anil Kedia <37935279+ankedia@users.noreply.github.com>

v3.0.4

Toggle v3.0.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix to unit test for owls-85429 (oracle#2074)

v3.1.0

Toggle v3.1.0's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Operator version 3.1.0 (oracle#2051)

* Add Javadoc

* Clarify 2.6.0 upgrade instructions (#1818)

* Clarify 2.6.0 upgrade instructions

* Review comments

* Update Javadoc

* Fix broken hugo doc relrefs using a link formatting workaround: .../foo.md#bar --> .../foo/_index.md#bar (#1823)

* update java url in Dockerfile

* Added timeout and debugger to fix hanging issue on kind-new Jenkins jenkins-ignore (#1825)

* Mirror introspector log to a rotating file in 'log home' (if configured) (#1827)

* Mirror introspector log to a rotating file in 'log home' (if configured)

* minor fix

* remove comment

* doc that logHome includes introspector out

* minor doc update

* minor doc update

* OWLS-81928 - JUnit5: Convert ItManagedCoherence (testCreateCoherenceDomainInImageUsingWdt) test  (#1822)

* Converted ItManagedCoherence to use JUnit5 jenkins-ignore

* Converted ItManagedCoherence to use JUnit5 jenkins-ignore

* Removed unnecessary fields in model file jenkins-ignore

* Test support: don't update status on replace if defined as subresource (#1830)

* Test support: don't update status on replace if defined as subresource

* Test support: don't update status on patch if defined as subresource

* remove unused method

* Support configurable model home (#1828)

* initial change

* work in progress

* Change domain schema

* Fix a typo

* Minor fix

* Unit test fix

* Minor doc update

* address a review comment

* More changes

* Minor change

* update hashCode/toString/equals, and address review comments

* Use kubectl exec to fix a test hanging issue (#1834)

* use kubectl exec

* cleanup

* cleanup extra artifacts for prom and grafana (#1835)

* Changes for OWLS-82011 to reflect introspector status in domain status (#1832)

* Changes for OWLS-82011 to reflect introspector status in domain status

* change method name

* Code refactoring

* cleanup debug message

* Remove unused method

* Added check to terminate fiber when intro job fails with BackoffLimitExceeded (which happens when intro job times out due to DeadlineExceeded).

* implement review comment suggestions

* added unit test for introspector pod phase failed

* Added restPort, https tests, extra cleanup for prom and grafana (#1824)

* added testcases for https and restport

* changed norestport file

* fixed dependencies

* fixed style

* switched to master

* disable unittest build

* fixed typo

* fixed typo

* added extra cleaning

* added cleanup

* addressed all review comments

* checkstyle

* switched to master branch

* switched to new monexp release

* added extra clean

* added check if clusterrole or clusterrolebinding exists before delete

* fixed typo

* fixed typos

* change change portnumbers to fix parallel run

* styling

* styling1

* added fix for paralell run

* Update chart build

* Update the Traefik Version to 2.x  (#1814)

* Initial check-in for traefik version update

* Modified the doc and sample artifacts files

* Foramt the document

* More doc changes

* Renamed setup.sh to setupLoadBalancer.sh to be more specific as per suggestion on OWLS-77806

* Addressed doc comments on PR review

* More doc review comments

* Minor hypelink name  change

* More doc changes

* Fixed the broken links

* Updated copyright inforrmation

* Doc review comments

* More doc changes

* Minor typo

* Modified the mii sample wraper scripts

* Update Mii Sample script

* Resync develop branch. Modified more scripts and yaml files for mii-sample

* update MII sample generation/test instructions

* Missing modification

* Modified traefik ingress syntax

* Modifoe md files from docs-source directory

* More doc review comment

* Fixed the indention issue in inline ingress file

* More doc review resolution

* Minor doc update

* Move the istio istallatiion to RESULTS_ROOT directory

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-2.subnet1ad3phx.devweblogicphx.oraclevcn.com>
Co-authored-by: Tom Barnes <tom.barnes@oracle.com>

* Add tests to verify loadbalancing with treafik lb for multiple domains (#1831)

* Adding utilities for creating Traefik load balancer

* Log the assertion errors in IT*.out files

* Create ingress resource for traefik

* Fix the traefik pod name

* do kind repo check

* uninstall traefik

* Add application building

* Deploy application using REST and access it through traefik LB

* create secret for WebLogic domain

* remove the testwebapp

* Print JVMID from clusterview app

* Remove the domain creation in PV

* cleanup code

* cleanup code

* remove the domainUid from url

* verify loadbalancing after creating 2 domains

* cleanup javadocs

* Add verification checks to determine host routing is done correctly

* fix comments

* Add a delay before accessing the app

* Fix the curl command

* iAddressed the review comments

* Fix service name

* fix namespace

* add more wait time

* Adding TLS test

* Fix CN

* Add https usecase

* Encode it as normal String

* Fix file names

* include -k option to ignore host name verification

* Add cert and key as String

* wip

* use same namespace for traefik

* Added more tests

* Fix the ingress rules creation  command

* Fix getNodePort

* Access console in a loop

* Adding voyager tests

* Renamed testclass to be generic for all loadbalancers

* order the tests

* Add break statement once reponse is found

* bind domain names

* Adding Junit5 Operator upgrade tests (#1841)

* adding operator upgrade tests

* adding parameterized test

* fix javadoc

* adding individual tests

* comment out 250 upgrade

* change release name

* adding order for testing

* commenting cleanup to debug

* commenting cleanup to debug

* adding retry for scale

* adding cleanup back

* adding individual tests

* change test names

* check operator image name after upgrade

* use 0 for external rest port

* adding jira in comments

* javadoc changes

* exclude upgrade test in full test run

* address review comments

* Resolution to Jenkin log archive issue (#1845)

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-2.subnet1ad3phx.devweblogicphx.oraclevcn.com>

* Update the external client FAQ to discuss 'unknown host' handling, plus... (#1842)

* Update the external client FAQ to discuss 'unknown host' handling. Update the domain-resource doc to try make it easier to read.

* review and edit

* delete extraneous file

* minor doc tweaks

Co-authored-by: Rosemary Marano <rosemary.marano@oracle.com>

* Parameterize tests with different domain home source types (#1776)

* parameterize domain type initial commit

* cleanup

* create domains in initAll

* parameterize scale domain tests

* cleanup

* remove old ItPodsRestart and ItScaleMiiDomainNginx

* change spec.ImagePullSecrets for domainInPV

* verify pv exists

* mv KIND_REPO check before creating domain-in-pv domain

* debug wldf on jenkins run

* debug wldf on jenkins run 2

* set wldf alarm type to manual

* add more wldf debug info

* try scale with wldf in different test methods

* add more debug info for wldf

* debug wldf issue

* enable mii domain

* add more debug info in scalingAction.sh

* add more wait time for debugging

* add more debug info in scalingAction.sh

* add longer wait time for debug

* add domainNameSpace in clusterrolebinding name

* enable all tests

* debug domaininpv app access in parallel run

* add more debug info for domaininpv parallel run

* enable verbose for curl command

* update JAVA_URL in Dockerfile

* address proxy client hanging issue

* use httpclient to access sample app

* debug domaininpv 404 issue in parallel run

* consolidate test classes

* address review comments

* make admin server routing optional

* address Vanaja's review comments

* clean up

* address Marina's review comments

* Fix build

* Update Apache doc for helm 3.x (#1847)

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-2.subnet1ad3phx.devweblogicphx.oraclevcn.com>

* Revert backofflimit check (#1852)

* revert backoff limit check

* ignore unit test for backoff limit check

* Make sure domainUid is in operator log messages - part 1 (#1844)

* Add domainUID to watcher related log messages

* Minor changes

* Move a common method into KubernetesUtils

* minor javadoc update

* minor change

* revert an unnecessary change

* lookup and save internalOperatorkey, if already exists (#1846)

* Add WDT &  WIT download url options (#1851)

* adding wdt/wit download url options

* run upgrade tests in separate mvn command

* run upgrade tests in separate mvn command

* exclude parameterized domain test from parallel runs and include in sequential run

* use ! to exclude a test

* remove mvn command which runs upgrade test

* Disable ItCoherenceTests jenkins-ignore (#1859)

* changed WDT release URL for latest release (#1843)

* JUnit5 Create Infrastructure for ELK Stack  (#1839)

* JUnit5 Create Infrastructure for ELK stack jenkins-ignore

* JUnit5 Create Infrastructure for ELK stack jenkins-ignore

* Changes based on comments jenkins-ignore

* Minor change in installAndVerifyOperator jenkins-ignore

* Changes based on the comments jenkins-ignore

* Corrected a typo jenkins-ignore

* Load Balance doc update for SSL termination

* Updated the heading font

* Modified the hostname :wq

* Missing quote

* Add domainUID to operator log messages in async call request/response code path (#1856)

* Add domainUID to watcher related log messages

* Minor changes

* Move a common method into KubernetesUtils

* minor javadoc update

* minor change

* revert an unnecessary change

* Add domainUid to call requestParams

* Work in progress

* Work in progress

* Work in progress

* merge

* cleanup

* Handle two exception log messages

* fix operator external REST http port conflicts in integration tests (#1858)

* debug install operator regression

* set externalRestHttpsPort to 0

* re-enable lookup method in operator templates

* fix NullPointerException in isPodReady method (#1862)

* Changes for OWLS-83431 (#1855)

* changes for OWLS-83431

* changes for owls-83431

* Chnages to address PR review comments

* changes to suppresserror from synchronous call

* cleanup changes based on PR comments

* changes to fix javadoc and variable name

* changes for latest review comments

* Namespace management enhancements (#1860)

* Work in progress

* Work in progess

* Work in progress

* List, Dedicated working

* Update chart build

* Use enableClusterRoleBinding

* Use lookup

* Preserve debugging

* Complete label selector

* Correct typos

* Debugging

* More working

* Debugging more complicated label selectors

* Update chart build

* Update chart build

* Begin updating samples

* Documentation work

* Update charts

* Complete doc. updates

* Additional unit tests

* Add additional mementos

* Test code to diagnose build failure on Jenkins

* More debug code

* More debug code

* Hopefully fixed unit tests

* Review comment

* Review comments

* Review comments

* ItPodTemplates test conversion to Junit5 (#1850)

* added tests for pod templates

* fixed typo

* fixed styling

* fixed styling1

* removed junit4 test

* removed t3port

* fixed domainhome dir

* fixed domainhome dir1

* revert to 5ca7d8a704fdfc0b5395b80e327a520b97b33a6e

* addressed the review comments

* put back Lenny's commit

* added more comments

* addressed comments, move to use default wdt image

* removed mii test

* Junit5: Convert two ELK Stack test cases  ( testLogLevelSearch and testOperatorLogSearch ) (#1848)

* JUnit5 Create Infrastructure for ELK stack jenkins-ignore

* JUnit5 Create Infrastructure for ELK stack jenkins-ignore

* Changes based on comments jenkins-ignore

* Minor change in installAndVerifyOperator jenkins-ignore

* Converted two ELK Stack test cases to use JUnit5 jenkins-ignore

* Converted two ELK Stack test cases to use JUnit5 jenkins-ignore

* Changes based on the comments jenkins-ignore

* Added detaied test steps jenkins-ignore

* Upgraded ELK Stack to version 7.8.1 and delete old test suites jenkins-ignore

* Verify fields that cause servers to be restarted (#1866)

* First cut for pod restart

* keep the change in ItDomainInImageWdt

* move the test to ItPodsRestart

* revert some ealier change

* Move the field change verification right after patch domain

* remove the order

* minor change

* address the review comments

* minor change

* Debugcdttest (#1863)

* debug cdt test

* printing exec stdout and stderr before assertion

Co-authored-by: BHAVANI.RAVICHANDRAN@ORACLE.COM <bravicha@bravicha-1.subnet1ad1phx.devweblogicphx.oraclevcn.com>

* addressed review comments

* remove duplicate parameter srcstorepass in keytool command (#1867)

Co-authored-by: Johnny Shum <cbdream99@gmail.com>

* Kubernetes Exec API intermittently hangs when executing curl command for ItMiiDomain test (#1871)

* change to reproduce hang

* additional debug to Kubernetes.exec

* enable verbose of curl command

* read stderr

* log exec result

* add max-time to curl command

* fix curl command option

* enable detailed trace

* Add --max-time flag

* Check exit code 7 and sleep 10 seconds

* More debug info when calling checkAppIsRunning

* Add thread info to log messages

* checkstyle fixes to debug info

* Add debug for retry

* Update thread info for log messages

* addition debug statements along exec call path

* Fix NPE

* Try programmatic thread dump to debug exec

* Debug AppIsRunning awaitility

* Read error stream in separate thread

* Remove some debug and join without timeout

* revert ItMiiDomain.java

* Revert TestActions.java

* Remove debug info

* modify test to use appAccessibleInPod method

* refactor stream readers

* Addreseed new doc review comments

* Owls 83534 - Changes to allow setting nodeAffinity and nodeSelector values in operator Helm chart (#1869)

* changes to allow setting nodeAffinity and nodeSelector values in operator Helm chart and related doc change

* minor doc change

* changes based on review comments

* Make tests fail fast when initialization fails (#1874)

* check initialization success

* modified log message

* modified log message

* log rotation enhancements and doc (#1872)

* Add log rotation for NM .out/.log, enhance log rotation for introspector .out, and document log rotation for WLS .out and .log.

* minor doc edits

* Update charts

* Owls 83538 (#1876)

* Eliminate http call from Watcher tests

* cleanup, remove unit test thread dependencies

* Backout change to chart

* minor cleanup

Co-authored-by: Ryan Eberhard <ryan.eberhard@oracle.com>

* Adding assertions in upgrade test (#1880)

* adding missing assert

* adding assert for uninstall operator

* Add a test to change WebLogic credentials (#1853)

* Adding test to change the admin credentials for domain running in PV

* Fx the test name

* fix secret name

* add restartVersion instead of replace

* fix json

* change the method order

* fix managed server names

* Fix assertionerror class for invalid login

* Fix comments

* Address review comments

* use default channel port for accessing application

* Lookup domain runtime only if it is admin server

* change max-message-size to a large value
change the t3channel port to some arbitrary number

* fix the max-message-size

* log response from managed servers

* increasing the max iterations

* Fix the JAVA_OPTIONS

* Fix the java options

* Add debug flags to servers

* remove the system property maxmessagesize

* Change the implmentation of cluster communication check

* fix iterations

* fix replicaCount

* Adding more debug messages

* Fix server names

* Refactor the server health checks

* fix comment

* Fix the server count

* Enable cmo.setResolveDNSName(true) for custom nap

* log dns resolv.conf file as well

* Add more debug flags

* Add a random objects to JNDI tree

* Fix dns logging

* Use MBean server connection instead of heartbeats to detect server health

* Fix the curl request url

* Refactored the server communication verification by MBeanServerConnection
to the individual servers instead of relying on cluster heartbeats

* Fix the URL

* Remove DNS entries logging

* Undoing the changes for ItLoadbalancer.java

* Checking if the server is running

* Deleted ItLoadbalancer.java

* Deploy application before accessing it

* PR to add sample running Oracle WLS Kubernetes Operator on Azure Kubernetes Service.  Thanks to Johnny Shum, Ryan Eberhart and Monica Ricelli.

Merge from branch created for https://github.com/oracle/weblogic-kubernetes-operator/pull/1804

Update _index.md

On branch edburns-msft-180-01-wls-aks
modified:   docs-source/content/samples/simple/azure-kubernetes-service/_index.md

- Version numbers in prerequisites.

- Additional "Successful output looks like" blocks.

- When a code block defines an env var, export it.

- Before running the script to create the yaml, rm -rf ~/azure.

modified:   kubernetes/samples/scripts/create-kuberetes-secrets/create-azure-storage-credentials-secret.sh
modified:   kubernetes/samples/scripts/create-kuberetes-secrets/create-docker-credentials-secret.sh

- chmod ugo+x

modified:   kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/create-domain-on-aks-inputs.yaml

- Readability.

- Move the "prefix" stuff to the "must change" section.

On branch edburns-msft-180-01-wls-aks
modified:   docs-source/content/samples/simple/azure-kubernetes-service/_index.md

- Working toward 1163875 Apply disambiguation prefix on additional items.

modified:   kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/create-domain-on-aks.sh

- Correct spelling error in comment.

Task 1163875: Apply disambiguation prefix on additional items

Changes after reviewing commit 705ab338ab4647c2af963ed58b74872d4fb1de6b with Ed.

Fix check points and check length of namePrefix.

Create validate.sh to validate resources before creating domain manually.

Typos

On branch edburns-msft-180-01-wls-aks typos
modified:   docs-source/content/samples/simple/azure-kubernetes-service/_index.md

On branch edburns-msft-180-01-wls-aks
modified:   docs-source/content/samples/simple/azure-kubernetes-service/_index.md

- Spelling.

- Additional validation: kubectl logs -f.

- Mention health checks.

modified:   kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/create-domain-on-aks.sh

- Make it so the script can be run from an absolute path.

modified:   kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/validate.sh

- chmod ugo+x

Modified in kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/create-domain-on-aks-inputs.yaml
Update _index.md and all related samples script and yaml files to remove all mention of Docker Hub

Modified in kubernetes/samples/scripts/create-kuberetes-secrets/create-docker-credentials-secret.sh
Update dockerServer=container-registry.oracle.com

On branch edburns-msft-180-01-wls-aks
modified:   docs-source/content/samples/simple/azure-kubernetes-service/_index.md

- Fix link to GET IMAGES.

- Fix lower case l.

- Update heading.

- Correct wording.

- Give hint about ImagePullBackoff.

modified:   kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/create-domain-on-aks-inputs.yaml

- Adjust comments to make it clear that it's Oracle SSO credentials.

modified:   kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/create-domain.sh

- Increased retries to 30.

On branch edburns-msft-180-01-wls-aks
modified:   kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/azure-file-pv-template.yaml
modified:   kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/azure-file-pvc-template.yaml

- Changes suggested by Johnny Shum to get past the cluster distribution problem.

Revert "On branch edburns-msft-180-01-wls-aks"

This reverts commit b52b466ab5b8eb2a7493e829e125be876dc516a1.

Name vp/pvc, file share with unique name.

Add testwebapp.war for testing.

Modified in kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/create-domain-on-aks.sh
Change file share name with "prefix-weblogic-time"
Change pv, pvc name with "prefix-azurefile-time"
Output status during waiting for job completed.

Modified in docs-source/content/samples/simple/azure-kubernetes-service/_index.md
Update text with pv/pvc, file share unique name.

Modified in kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/create-domain-on-aks-inputs.yaml
Change name structure of pvc and file share.

Modified in kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/validate.sh
Fix validate.sh with pv/pvc, file share unique name.

On branch edburns-msft-180-02-wls-aks forward slashes only.
modified:   docs-source/content/samples/simple/azure-kubernetes-service/_index.md

On branch edburns-msft-180-02-wls-aks Verified manual execution of steps works on Oracle Enterprise Java subscription.
modified:   kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/azure-file-pv-template.yaml
modified:   kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/azure-file-pvc-template.yaml

- increase capacity to 10Gi.

- Set on pv:

   ```
   persistentVolumeReclaimPolicy: Retain
   ```

- Remove nobrl.

- Set on pvc:

+  selector:
+    matchLabels:
+      usage: %PERSISTENT_VOLUME_CLAIM_NAME%

On branch edburns-msft-180-02-wls-aks In table for automation, update description for docker related parameters.
modified:   docs-source/content/samples/simple/azure-kubernetes-service/_index.md

* Update _index.md

Address comments from @rosemarymarano.

* Update README.md

Address @rosemarymarano comment.

* Update _index.md

* On branch edburns-msft-180-02-wls-aks
modified:   docs-source/content/samples/simple/azure-kubernetes-service/_index.md

- Copyedits.

- Remove ClusterRoleBinding

modified:   kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/create-domain-on-aks.sh

- Remove ClusterRoleBinding

* On branch edburns-msft-180-02-wls-aks
deleted:    kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/testwebapp.war

- "security policy doesn't let us merge changes with non-image binary files."

- This deleted file has the same checksum as `kubernetes/samples/charts/application/testwebapp.war` so let's just use that.

modified:   docs-source/content/samples/simple/azure-kubernetes-service/_index.md

- Use `kubernetes/samples/charts/application/testwebapp.war`

* Change default VMSize and node number, as Standard_D4s_v3 and 3 node exceed quota on free azure account.

Modified on docs-source/content/samples/simple/azure-kubernetes-service/_index.md
Change VM size to Standard_D4s_v3 and node number to 2 in document.

Modified in kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/create-domain-on-aks-inputs.yaml
Change default value of VM size to Standard_D4s_v3 and node number to 2.

Tested in Oracle Enterprise Java and a free azure account.

* On branch edburns-msft-180-02-wls-aks Add Clean Up section.
modified:   docs-source/content/samples/simple/azure-kubernetes-service/_index.md
modified:   kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/create-domain-on-aks.sh

* On branch edburns-msft-180-02-wls-aks Apply changes suggested by @mriccell.
modified:   docs-source/content/samples/simple/azure-kubernetes-service/_index.md
modified:   kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/create-domain-on-aks.sh

* Consolidate multiple Mii test classes to a single ItClass  (#1875)

* Consolidate Mii Domains and remove junit4 tests

* removed more Junit4 Mii tests

* Modify the logic to check SystemResources

* Updated the initAll() with  installAndVerifyOperator replacing the old code

* Modify the assertion for delete resources

* Adding upgrade test for 3.0.1 to latest(develop) (#1882)

* adding missing assert

* adding assert for uninstall operator

* adding upgrade test from 3.0.1

* convert testTwoDomainsManagedByOneOperatorSharingPV in ItOperatorTwoDomains.java to Junit5 (#1849)

* convert test from junit4 to junit5

* change deleteJob to use GenericKubernetes API

* remove ItDomainInPV

* remove junit4 test ItOperatorTwoDomains.java

* add loadbalancer tests

* revert lookup in _operator-secret.tpl

* remove ItLoadBalancer.java ItVouagerSample.java

* re-enable lookup method in operator templates

* add more debug info

* get the clusterview from credential-change-pv-domain branch

* collect logs for default namespace

* fix intermittent issue in ClusterView App

* add retry in admin console login

* use unique domainuid

* get new clusterview app

* use non-default namespace

* fix ItSimpleValidation PV hostPath

* remove ItSimpleValidation

* get the latest clusterview app

* Retry docker login, image push/pull from/to repos (#1885)

* Using standard retry logic to retry the build

* Use retry for docker login and image pull and push

* increase timeout to 30 minutes

* Retry the push

* wip

* use iterator to push

* check SKIP_BASIC_IMAGE_BUILD is set before pushing it to repo

* Bring back the test jenkins-ignore (#1883)

* add NGINX for production ICs (#1878)

* Verify shutdown rules when shutdown options are defined at different domain levels (#1870)

* test for ItPodsShutdown

* remote JUnit4 ItPodsShutdown

* address the review comment

* refactor the code

* add javadoc

* rename the test class name as ItPodsShutdownOption

* Modified py scripts

* correct the errors (#1887)

* Adding operator restart use cases from Junit4 tests (#1884)

* adding operator pod restart tests from Junit4

* renaming file

* code refactor

* code refactor

* log exception

* code refactor

* delete Junit4 test class

* fix refactored method

* deleting Junit4 test classes which are converted

* addressing review comments

* fix logic to wait for rolling restart to start in existing test

* address review comments

* fix log message

* Created infra for WLS Logging Exporter and converted related tests to use JUnit5 (#1877)

* Created infra for WLS Logging Exporter and converted related tests to use JUnit5 jenkins-ignore

* upgraded ELK Stack back to v7 and fixed a filter issue in RESTful API to query Elasticsearch repos jenkins-ignore

* Changes based on comments jenkins-ignore

* More doc review change

* Converted Usability Tests to Junit5 (#1888)

* added usability tests

* fixed some typos

* added cleanup

* fixed update

* fixed upgrade test

* cherrypick fix from Maggie

* removed old class

* merge from develop

* merge

* addressed review comments

* addressed more comments

* addressed comments from Pani

* addressed comments from Pani1

* styling

* corrected java doc

* corrected java doc with typo

* create test infrastructure for Apache load balancer (#1891)

* initial commit

* apache lb

* add apache tests to ItTwoDomainsLoadBalancers

* fix apache-webtier chart imagePullSecret

* get the ItPodsShutdownOption from shutdown3 branch

* change imagePullPolicy to Always

* push the apache image to Kind repo

* add debug info for REPO_REGISTRY etc in Kind new

* remoe pull image from ocir and push to kind repo

* enable pull apache image from ocir and push to kind new

* cleanup

* move OCR login to test

* address Vanaja's comments

* address Pani
8000
's comments

* address Vanaja's comments

Co-authored-by: vanajamukkara <vanajakshi.mukkara@oracle.com>

* add debug info in scaling cluster with WLDF methods (#1893)

* add debug infor in scaling cluster with WLDF methods

* address Vanaja's comments

* owls-83918 an idle domain's resource version should stay unchanged (#1879)

* In recheck code path only continue if spec changes

* Minor change

* only add progressing condition when something is really happening to the domain

* cleanup

* populate state and healht when needed

* Work in progress

* debug

* debug

* more debugging

* remove debugging

* remove debugging

* cleanup

* Fix patchPod handling and change HashMap to ConcurrentHashMap

* Add ProgressingStep on scaling down

* Address review comments

* Review comment

* sample changes needed to work in openshift with default scc

* Adding WLDF and JMS system override tests (#1896)

* Adding situational config overrides tests for JMS and WLDF resources

* Remove clusterview app and DB

* Fix file name

* Add sitconfig application

* fix url

* wip

* Wait until response code is 200

* fix response string

* change wait time to 5 min

* Improve comments and javadoc

* Removing old tests

* Use Kubernetes Java client 9.0.2 (#1898)

* Uptake k8s Java client 9.0.1

* Review corrections

* Use new version of GenericKubernetesApi

* Changes for OWLS-83136 - Limit concurrent pod shutdowns during a cluster shrink (#1892)

* changes for OWLS-83136 - Limit concurrent pod shutdowns during a cluster shrink

* Minor code cleanup for OWLS-83136

* minor change to avoid duplicate step

* fixed javadoc for deletePodAsyncWithRetryStrategy method

* fix for integration test and added maxConcurrentShutdown in index.html

* fix unit test failure and shutdown servers concurrently when domain serverStartPolicy is NEVER

* Address PR review comments.

* Changes to address PR review comments.

* Changes to address PR review comments.

* Changes to address PR review comments

* Resolve merge conflict

* Enable unit tests

* Use Dongbo's change in unit test

Co-authored-by: Ryan Eberhard <ryan.eberhard@oracle.com>

* Added sample support for Ngnix Load Balancer (#1886)

* Initial check-in

* Updated doc with SSL termination

* Review comments on nginx/README.md

* Review comments

* More review comments

* Removed the Path Routing Section

* More doc review change

* Minor doc modification

* More review comments

* Remove path routing yaml file

* Update README.md

* Update README.md

* Update setupLoadBalancer.sh

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>
Co-authored-by: Ryan Eberhard <ryan.eberhard@oracle.com>

* New Tests for ServerStartPolicy (#1895)

* Added new tests for ServerStartPolicy

* Minor typo modification

* Adddressed review comments

* Added logic to check the managed server timestamp

* Resolved few typos

* Resolved more review comments, removed duplicate codes, used common utility methods

* More review comments

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-2.subnet1ad3phx.devweblogicphx.oraclevcn.com>

* fix build application not to assert exec false exit value (#1904)

* fix build application not to assert exec false exit valuae

* Asserting that file is available  after build

Co-authored-by: BHAVANI.RAVICHANDRAN@ORACLE.COM <bravicha@bravicha-1.subnet1ad1phx.devweblogicphx.oraclevcn.com>
Co-authored-by: sankar <sankarpn@gmail.com>

* temporarily adding chown option to imagetool command (#1905)

* Adding test to use PV for logHome in MII domain (#1903)

* logs on PV

* use PV for logs

* Revert to develop branch code

* fix pv path

* code refactor

* fixing path

* fix comments

* look for string RUNNING in server log

* modify success/failure criteria

* fix indentation

* adding pipefail

* ItInitContainers conversion to Junit5  (#1907)

* added testcase for initcontainers

* added testcase for initcontainers1

* fixed init check

* addressed review comments

* addressed the comments

* sync to develop branch

* Added annotation to remove client header on Traefik Ingress

* add NGINX path routing doc

* List continuation and watch bookmark support (#1881)

* Allow watch bookmarks

* Work in progress

* Work in progress

* Work in progress

* Work in progress

* AsyncRequestStep tests

* Fix tests

* Bookmark tests

* Clarify names

* Work in progress

* Better support for namespace lists spanning REST calls

* Revert changes to charts

* Bug fixes

* Disassociate CRD creation from namespace startup

* Make unit-test more generic

* Clarify continue pattern

* Save continue for reinvoke of async request

* Correct method name

* Add security disclaimer statements

* fixing the mii domain and sample test after images have been updated (#1906)

* fixing the mii domain and sample test after images have been updated

* Modified group name used to copy file to server pod jenkins-ignore

* fix jrf test in mii samples not to change gid to root

* adding the fix I had removed by mistake

* update after Tom's review comments

Co-authored-by: BHAVANI.RAVICHANDRAN@ORACLE.COM <bravicha@bravicha-1.subnet1ad1phx.devweblogicphx.oraclevcn.com>
Co-authored-by: huiling_zhao <huiling.zhao@oracle.com>

* Added doc to eliminate client proxy header

* Added nginx link

* added ngnix ref

* update doc with review comments

* Change REST API query to handle hyphen, WebLogic Logging Exporter (#1897)

* Change REST API query to handle hyphen, WebLogic Logging Exporter jenkins-ignore

* Removed some comments jenkins-ignore

* Syncup with latest develop branch jenkins-ignore

* Merge with develop

Co-authored-by: Ryan Eberhard <ryan.eberhard@oracle.com>

* OWLS-84517: Scaling failed when setting Dedicated to true (#1921)

* Rest authentication of requests should use namespace scope for Dedicated selection strategy

* remove System.out.println from unit test

* Retry failure fix (#1854)

* update from develop

* update from develop

* change log message

* Initial check in for JRF Fatal error fix

* remove test for now

* Fix logic

* add info for create jrf domain and remove obsolete constants

* add comment

* relax retry and update comments

* change comments

* change info text

* minor text change

* Add retry count to domain status and support retryCountMax

* increment retry count only if there is an error message

* doc update

* use existing error for increment

* Log message change

* rename retryCount to introspectJobFailureRetryCount

* Add logging for retry counter

* Fix NPE in unit test

* Minor refactoring

* refactor code

* update description of field

* changing description texts

* missed files

* change "MII Fatal Error" to "FatalIntrospectorError"

* default failure retry count should be 0

* change comparing failure retry count gte

* rename introspectJobFailureRetryCount field, reset counter if succcessful, and log before retry.

* Internationalize message and move logging to start of retry

* update message

* update message text

Co-authored-by: Johnny Shum <cbdream99@gmail.com>
Co-authored-by: Ryan Eberhard <ryan.eberhard@oracle.com>

* Configure JMS Server logs on PV and verify (#1924)

* configure jms server logs on PV and verify

* undo jms logs on pv

* fixing rolling restart assertions

* OWLS-80038 and OWLS-80090: fix mountPath validation and token substitution (#1911)

* Skip volume mount path validation if it contains valid tokens

* Check admin serverPod's additional volume mount paths too in domain validation

* Check cluster serverPod's additional mount paths too in domain validation

* check mountpath validation after token substitution is performed

* cleanup

* fine tuning

* minor cleanup

* In progress

* WIP

* minor change

* Modify a test name

* Pod shutdown tests porting (#1914)

* Fix the shutdown options

* Adding shutdown option tests

* Fix log location

* fix shutdown object assignment

* Add ind ms

* fix start policy

* wip

* wip

* wip

* wip

* wip

* Add tests without env override

* add debug messages

* refactor code

* check for in ms 2

* Fix pod name

* fix pod name

* Cleaned up comments and updated javadocs

* Removed JUnit4 test class

* Restore updatedomainconfig it class

* fix the yaml formatting

* Remove left over files

* update comments

* fix array size

* address review comments from Vanaja

* remove throws clause

* fix javadoc

* replace StepTest with FiberTest, remove unused Fiber code (#1926)

* Correct Ingress documentation (#1923)

* remove outdated sample doc references to weblogicImagePullSecretName (use imagePullSecretName) (#1920)

* Correct enableClusterRoleBinding

* Removal of Junit4 Integration tests (#1934)

* Removal of old Junit4 test

* Remove reference to junit4 integration test from pom.xml

* Remove ref to junit4 test from buildtime-reports

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>
Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-2.subnet1ad3phx.devweblogicphx.oraclevcn.com>

* OWLS-84141 fix operator upgrade issues related to domainNamespaceSelectionStrategy (#1930)

* Fix operator helm upgrade issues related to domainnamespaceSelectionStrategy

* minor fixes

* minor change

* make helm chart behavior matches what the operator runtime has

* Owls83813 fix a scaling issue when upgrade from 2.5.0 (#1933)

* comment out workaround for upgrade from 2.5.0

* Fix NPE and remove workaround in test

* cleanup

* minor modification

* MII jrf - improve wallet password handling (#1919)

* Improve opss wallet password handling.

* miijrf-remove-pwd-echo: add comments, tracing, doc fixes, and two fixes.

* fix comment

Co-authored-by: Ryan Eberhard <ryan.eberhard@oracle.com>

* Mob refactoring (#1929)

* Expand unit test coverage

* startPodWatcher

* more watcher methods

* ConfigMapAfter refactor

* WIP

* finish start watcher methods

* resolve merge conflicts

* DomainPresenceInfos and DefaultResponseStep changes

* isolated domain presence info map

* refactoring changes

* PodListStep refactor

* generify

* refactoring

* move common methods up

* refactoring and bug fix

* Add namespace to DomainPresenceInfos

* refactoring WIP

* fix checkstyle errors

* refactoring changes

* start refactor to biconsumer

* continue processList refactor

* continue refactoring

* refactor PodListStep

* implementing NamespaceProcessor

* refactor readExistingResources to eliminate duplication

* Add refactorings from previous chunked list attempt

* add files not previously added

Co-authored-by: Lenny Phan <lenny.phan@oracle.com>
Co-authored-by: Dongbo Xiao <dongbo.xiao@oracle.com>
Co-authored-by: ANIL.KEDIA@ORACLE.COM <anil.kedia@oracle.com>

* Rename new-integration-test directory (#1935)

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-2.subnet1ad3phx.devweblogicphx.oraclevcn.com>

* wait till admin pod has restarted instead of pod deleted (#1938)

* check existence of sa in helm templates (#1939)

* Kubernetes Java Client 10.0.0 (#1937)

* Kubernetes Java Client 10.0.0

* Rebuild charts

* Update charts

* Revert "check existence of sa in helm templates (#1939)"

This reverts commit fcfd8855fc50759d3cc780c51757df424b27c235.

* Revert "Kubernetes Java Client 10.0.0 (#1937)"

This reverts commit 8c9d57208938e055fa6eb79156fb6f590292fa6f.

* Supercedes #1900 (#1940)

* Fix text parsing issue

modified:   utility.sh
Fix text parsing error on Ubuntu 18.04.5 LTS

modified:   validate.sh
Fix yaml parsing error on MacOS.

Wait for resource ready on MacOS and remove code for helm less than 3.0

Add text for domain status troubleshooting

Use tag that includes AKS docs.

Per Reza, inline OCR authentication

Update _index.md

Update create-domain-on-aks-inputs.yaml

Update _index.md

Update _index.md

Update _index.md

Update _index.md

Update _index.md

Update _index.md

Remove UNIX

Update _index.md

Use AKS addon name
Use alias  as Rosemary suggested in our last PR.

* Update _index.md

* Update _index.md

Co-authored-by: Galia <haixia.cheng@mircosoft.com>
Co-authored-by: Ryan Eberhard <ryan.eberhard@oracle.com>

* Model and application archives In persistent persistent volume (#1936)

* Adding tests for model in pv for MII domain

* add docker login

* use oracle image instead of wls image

* wip

* fix wdt model file location

* fix the model home to point to a directory rather than a file

* add a application archive

* fix model file name

* wip

* create different directories for application and model file

* wip

* verify servers health

* fix checkstyle violations

* add admin-server in app target

* fix user names

* moved the tests to integration-tests directory

* address Pani's comments

* use CommonMiiTestUtils.createDomainResource

* add pv to server pod

* fix javadoc

* add public doc in test method javadoc

* Mii doc: update runtime update doc (#1942)

* Improve opss wallet password handling.

* miijrf-remove-pwd-echo: add comments, tracing, doc fixes, and two fixes.

* fix comment

* Update MII runtime update doc, including documenting embedded LDAP and credential mapping runtime updates as unsupported.

* review and edit

Co-authored-by: Rosemary Marano <rosemary.marano@oracle.com>

* Owls 84594 (#1941)

* Test for reproducing bug owls-84594

* clean up cluster comparison

* Fix checkstyle issues

* Verify logs from ms1

* fix the expected ignore sessions attribute for ms1

* Simplify unit tests

Co-authored-by: sankar <sankarpn@gmail.com>

* Integration test for secure nodeport service (#1931)

* Initial check-in

* Review comments

* Sync up develop branch

* Review comments resolution

* Add check the availability of exteranal service

* Resolve more review comments

* Consolidate the test doamin and rename the class

* Fixed few typos

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-2.subnet1ad3phx.devweblogicphx.oraclevcn.com>
Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>

* document altering WebLogic Server CLASSPATH and PRE_CLASSPATH (#1948)

* document altering WebLogic Server CLASSPATH and PRE_CLASSPATH

* minor doc edit

* Modified doc to remove client headers

* Updated doc/utility to download custom version of Load Balancer release

* fix broken link (#1952)

* added synchronized to execCommand to fix intermitten failures (#1947)

* change domain name to be different than the one used in other IT tests (#1943)

* fixed cleanup order to uninstall operator before cleaning sa to fix intermittent failures (#1946)

* fixed cleanup order to uninstall operator before cleaning sa

* replaced hardcoded secret name with var

* corrected secret name

* style

* Add TLS and Path Routing Tests for Nginx, Voyager and Traefik (#1910)

* add NGINX tls and two domains tests

* add tls ingress for Voyager

* add path routing for three lbs

* fix nginx service name in other tests

* cleanup

* use NGINX chart version 2.16.0

* uninstall nginx first in AfterAll

* add stable repo for Prometheus

* address Pani's comments

* Added Upgrade Test from Release 3.0.2 (#1956)

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-2.subnet1ad3phx.devweblogicphx.oraclevcn.com>

* Support for persistentVolumeClaimName, support for both non privilege… (#1916)

* Support for persistentVolumeClaimName, support for both non privileged port 8080 to listen and default priviledged port, imagePullSecrets and readme updates

* Incorporated doc review comments

* Owls-84294 handle missing sa in operator install/upgrade (#1957)

* check existence of sa in helm templates

* minor product change plus test changes

* minor changes

* more changes

* more doc change

* minor doc change

* fine tune doc text

* add error messagewq

* minor doc edit

* enable disabled test cases (#1949)

* Fix missing ODL configuration that may presents in the model (#1950)

* Fix missing ODL configuration that may presents in the model

* refine archive for fmw logging.xml

Co-authored-by: Johnny Shum <cbdream99@gmail.com>

* Unit test and fix detection of stranded namespaces (#1953)

* Unit test and fix detection of stranded namespaces

* Some code simplification

* put some code back where it started from

* Correct method name

* Cache compiled pattern, use explicit constant for call limit.

* Fix retry regression (#1954)

* Fix retry regression

* simplify reset failurecount in podstepcontext

Co-authored-by: Johnny Shum <cbdream99@gmail.com>

* Develop owls 84334 (#1902)

* support domain's secure mode

* Use the domain's administration port if the server's admin port is 0

* - Fix the NPE when the WLS pod's listen port passed to Prometheus annotations is null
- Derive the defaults for a few other MBean attributes that depend on the domain secure mode

* Fix error in getNAPProtocol for ServerTemplate

* Adding test to verify image update for WLS domain  (#1959)

* first cut for image update

* minor change

* refactor the code after syncing to the latest develop branch

* edit the log message

* address the review comments

* remove the extra line

* disable ItTwoDomainsLoadBalancers.testApacheLoadBalancingCustomSample (#1962)

* Adding flexibility to integration tests to pull the base images from OCIR or OCR and more (#1951)

* use secret based on base images repo

* fix secrets

* fix secrets

* fix more secrets

* more secret fixes

* fixing image name

* fix compilation errors

* fix condition for exec

* fix merge conflict

* fix log messages in ItServerStartPolicy

* some more refactoring

* refactoring -move useSecret and deriving base image name logic to TestConstants

* fix checkstyle

* fix domain images repo for multi node cluster

* set image pull secret always

* fix domain images repo

* fix indentation

* change REPO env var to OCIR

* fixed grafana install (#1965)

* Add a testcase for -wdtModelHome option to the imagetool (#1961)

* add wdtModelHome parameter

* Adding testcase for custom wdt model home

* fix model home

* fix wdtmodelhome location

* remove @Test annotation

* log domain uid and image

* fix image name

* use wls pod for pv manipulation

* change pv name

* wip

* change pv permission to oracle:root

* use variable to store location model home

* wip

* add modelfile to the image

* supply modelfile in the image building process

* fix image push

* fix comments and javadocs

* fix log message

* fix image check

* list images

* fix image name

* address review comments

* add the pod exec and copy commands to common util file

* use file util from FileUtils

* fix default OCR image names (#1968)

* Add Tests for DataHome Override in Domain Custom Resource (#1964)

* add tests for dataHome override

* address Pani's comments

* re-enable ItTwoDomainsLoadBalancers.testApacheLoadBalancingCustomSample (#1969)

* initial commit for apache custom sample update

* re-enable ItTwoDomainsLoadBalancers.testApacheLoadBalancingCustomSample

* address Vanaja's comments

* Add ClientFactoryStub memento to watcher tests (#1967)

* OWLS-84786 - Use Kubernetes Java Client 10.0.0 (#1972)

* Second attempt at using the Kubernetes Java Client 10.0.0

This reverts commit 9a33d3bf4f69f48470205a980322eedf867105fe.

* Diagnostics

* Remove duplicated dependencies

* More diagnostics

* Update charts

* changes for OWLS-84786

* removed diagnostics messages and code cleanup for OWLS-84786

* minor cleanup

* Back out changes to docs/charts dir.

Co-authored-by: Ryan Eberhard <ryan.eberhard@oracle.com>

* Added integration test cases for Dedicated namespace scenarios (#1913)

* Added integration test cases for Dedicated namespace scenarios jenkins-ignore

* Syncup with JIRA OWLS-84517 and changes based on comments jenkins-ignore

* Delete index.yaml

* Remove binary files that are wrongly checked in jenkins-ignore

* Changes based on the comments jenkins-ignore

* Syncup with develop branch jenkins-ignore

* Changed javadoc jenkins-ignore

* Syncup w develop and changes based on the comments jenkins-ignore

* Added creating CRD jenkins-ignore

* Syncup with develop branch jenkins-ignore

* Syncup with develop branch jenkins-ignore

* Added this test suite to sequential run only jenkins-ignore

* Fixed an error in kindtest.sh jenkins-ignore

* OWLS-84562 - added tests for Namespace management enhancements (#1955)

* added tests

* updated test loc

* more tests

* fixed default secrests management

* fixed test logic

* corrected java docs

* fixed domainns

* fixed secret creation

* fixed secret dependencies

* fixed default domain crd dependencies

* fixed check pod creation

* style

* added rbac test

* added rbac test, corrected ns label

* addressed comments from review

* addressed comments from review1

* addressed comments from review2

* addressed comments from review3

* addressed more comments

* style

* removed commented out methods

* addressed review comments5

* correct image name construction of DB and FMW (#1974)

* Moving SOA deployment samples to a different repo (#1973)

* removed -t flag for create and drop scripts

* Deleted SOA deployment samples and updated README pointing to SOA external repo

* rephrased soa doc reference

* Reduce job delete timeout value. (#1978)

* add retry when scaling cluster with WLDF (#1986)

* add retry when scale cluster with WLDF

* cleanup

* Added automation to test StickySession using latest Traefik Version (#1976)

* Added automation for StickySession using latest Traefik Version jenkins-ignore

* Corrected a typo jenkins-ignore

* Improve nightly stability for ItIntrospectVersion.testUpdateImageName (#1988)

* improve nightly stability

* address review comment

* copy out scalingAction.log from admin pod when scaling cluster with WLDF (#1989)

* copy scalingAction.sh from admin server pod

* add retry when copyfile from pod

* cleanup

* cleanup

* update javadoc

* add copyFileFromPod to FileUtils

* address Lenny's comments

* OWLS-84881 better handle long domainUID (#1979)

* add limits to generated resource names

* work in progress

* get server and cluster info from introspector's results

* new configuration, validation, and unit tests

* minor change

* fix operator chart validation

* fix chart validation

* fix hard-coded external service name suffix in integration tests

* fix more integration test failures

* clean up

* minor doc fixwq

* Revert "minor doc fixwq"

This reverts commit 56b5656e82acd01c5602fc0293312b749258a7c4.

* minor doc fix

* minor fix to test

* clean up test constants

* minor doc edits based on review comments

* improve error msg and remove hard-coded suffixes from doc and samples

* cleanup

* change the legal checks based on Ryan's suggestion

* add cluster size padding validation

* minor changes to helm validation

* only reserve spaces for cluster size wqsmaller than 100

* one more unit test case

* minor changes

* minor doc change

* change a method name

* Minor doc update on upgrading operator using helm upgrade (#1994)

* helm upgrade to new operator image should be issue from same github repository branch

* minor edits

* Reduce jrfmii map size (#1980)

* remove em.ear and sysman/log/EmSetup*.log backup_config to reduce configmap size

* compress merged model before encryption to reduce size

* update show modelscript

* minor changes

Co-authored-by: Johnny Shum <cbdream99@gmail.com>

* use old default suffix when running older release (#1995)

* cross domain transaction recovery (#1993)

* test for crossdomaintransaction with TMAfterTLogBeforeCommitExit

* update image name

* update after Alex's review comment and develop

* update after review comments

* fix checkstyle violation

Co-authored-by: BHAVANI.RAVICHANDRAN@ORACLE.COM <bravicha@bravicha-1.subnet1ad1phx.devweblogicphx.oraclevcn.com>

* External JMS client with LoadBalancer Tunneling  (#1975)

* Added test for external JMS client

* separate methods for http and https tunneling

* Modified the test method name

* Added ssl debug

* Modify keytool command line args

* Added SAN extension to the ssl cert

* Resolved typo in openssl command

* Modified K8S_NODEPORT_HOST to return IP Address

* Review comments (a) modified method scope to private (b) usage of utility method to copy files from Pod

* Addressed more review comments

* Added more description and modified the assettion to check command line execution

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-2.subnet1ad3phx.devweblogicphx.oraclevcn.com>

* OWLS-84660 document the new resource name Helm configurations and resource name limits (#1997)

* add doc for length limits to resource names

* more doc changes

* more changes to the doc

* fix reference links

* changing some of the wording

* minor fixes

* move the main new section from domain-resource.md to its parent _index.md

* minor changes

* more edits

* more doc edits

* more edits

* address review comments

* minor change

* address more review comments

* minor edit

* Refactoring: extract domain namespaces code from main (#1999)

* Extract common domain namespace processing

* Ensure script config map exists when namespace started

* Address race condition in tuning parameters instantiation

* Use function to get current namespace list

* Remove obsolete code

* Automate domain in pv samples (#1996)

* Adding samples

* wip

* fix file paths

* correct pv pvc name

* wip

* fix managed server namebase

* delete pvc

* change the pv reclaim policy to recycle

* fix ms base name

* fix domain namespace in service check

* parameterize test to use wlst and wdt

* fix test type

* add javadoc

* wip

* delete domain and verify it is removed

* change domain name

* create credentials secret for each domain

* add t3publicaddress in input file

* wip

* Fix javadocs and comments

* delete pv and pvc and wait for it to terminate

* wip

* wip

* address review comments

* Add image secrets

* Change the domain name to be unique (#2005)

* Fix ENV variable setting in JRF domain in PV test class (#1998)

* debug JAVA_HOME issue for fmw image

* fix hard coded env var

* debugging

* debugging

* refactor the code

* delete the extra space line

* address the review comment

* address the review comment

* address the review comment

* synchronize startOracleDB method (#2006)

* add tests for terminating SSL at LB to access console and servers (#1977)

* add tests for terminating ssl at LB to access console and servers

* address Pani's comments

* fix traefik annotation

* add header in traefik ingress rules

* cleanup

* remove if __name__=main clause in python script (#2004)

* Add instructions for creating a custom Security Context Constraint (#2003)

* update openshift security docs to include custom scc instructions

Signed-off-by: Mark Nelson <mark.x.nelson@oracle.com>

* update based on review comments

Signed-off-by: Mark Nelson <mark.x.nelson@oracle.com>

* updates after review with ryan

Signed-off-by: Mark Nelson <mark.x.nelson@oracle.com>

* updates after review with ryan

Signed-off-by: Mark Nelson <mark.x.nelson@oracle.com>

* OWLS 84741: Scaling failed on Jenkins when setting Dedicated to true & io.kubernetes.client.openapi.ApiException: Not Found (#1990)

* Use REST client's access token for authentication and authorization

* Enable testDedicatedModeSameNamespaceScale

* Add patch permissions to rolebinding

* Code cleanup

* Changes from initial code review

* Use TuningParameters to acccess property to control Operator's REST API authentiction and authorization implementation

* Code review changes

* documentation updates

* document patch verb

* documentation changes based on review

* use code font for appropriate parameters

* Owls 84815 (#2009)

* Remove dependency of job processing on DomainNamespaces class

* Add unit tests for Namespace watcher

* work in progress

* start converting main to use instance methods

* Extract operator startup into instance method

* Define K8s version in main delegate

* refactoring: move fullRecheckFlag out of Namespaces

* Refactoring: extract Namespaces class

* test for ability to list domains when dedicated namespace strategy

* Handle null value for watch tuning in unit tests

* Correct chart

* Update test dependencies and POM and change Dockerfile to use JDK 15 (#2008)

* OWLS85461 add introspect version to server pod label (#2012)

* initial changes to add introspect version to pod labels

* work in progress

* work in progress

* cleanup

* fix unit test failure in PodWatcherTest not related to this PR

* minor changes

* doc changes

* add an example in the doc

* doc edits to address review comments

* address review comments

* cleanup

* add domainRestartVersion to the example

* move the patch part into the existing patch step and remove log messages

* minor doc edit

* refactored a little

* Correct overrideDistributionStrategy other places

* Add correct the other misspelled field name

Co-authored-by: Ryan Eberhard <ryan.eberhard@oracle.com>

* OWLS 85530: OPERATOR INTROSPECTOR THROWS VALIDATION ERRORS FOR STATIC CLUSTER (#2014)

* getDynamicServersOrNone doesn't throw exception with 14.1.1.0

* check for ServerTemplate for Dynamic Servers

* Check if DynamicServers mbean exist

* Add test to introspect configured cluster created by online WLST

* Document configured cluster introspection test

* documentation updates to README and referencing JIRA OWLS-85530

* modify istio installation script (#2015)

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-2.subnet1ad3phx.devweblogicphx.oraclevcn.com>

* Added automations to verify domain in image samples using wlst and wdt (#2016)

* Added DII sample tests jenkins-ignore

* Changes based on the comments

* Use spec.containers[].image instead of status.containerStatuses[].image (#2018)

* Fix dedicated mode test (#2019)

* Detect missing CRD during domain checks

* refactoring: convert DomainNamespaces to use instance variables rather than statics

* Avoid creating namespace watchers when using dedicate mode

* remove obsolete fields and methods

* Xc owls85579 (#2024)

* fix intermittent error in Jenkins

* assert not null for admin pod log

* add retry to get admin server pod log

* cleanup

* set sinceSeconds when get admin server pod log

* print out pod log

* increase sinceSeconds when getting pod log

* return previous terminated pod log

* fix error

* remove some debug flag

* remove commented out lines

* Owls85582 take all ALWAYS servers before considering rest of the servers when meet cluster replicas requirement (#2020)

* add all Always servers before consider IfNeeded servers

* add unit test cases for NEVER policy

* clean up unit tests

* minor changes to the unit tests

* resort the final server startup list

* Release note updates (#2026)

* Release note updates

* Review comments

* Review comments

* Detect and shut down stuck server pods (#2027)

* Detect and shut down stuck server pods

* Send 0 grace period seconds to force delete

* Log message after deleting stuck pod

* Ignore testUpdateImageName if the image tag is 14.1.1.0-11 (#2017)

* abort the test if the image tag is 14.1.1.0-11

* minor change

* implement the custom annotation @AssumeWebLogicImage

* checkstyple

* adding the review comments

* Owls83995 - Sample scripts to shutdown and start a specific managed server/cluster/domain (#2002)

* owls-83995 - Scripts to start/stop a managed server/cluster/domain

* fix method comments

* Minor changes

* Address review comments and fix script comments/usages.

* Added integration tests, made few doc changes based on review comments and minor fix.

* Clarify script usage, updated README file and minor changes.

* Changes to add script usage details

* Address PR review comments

* Review comment and cleanup.

* Documentation changes based on PR review comments.

* Fully qualified replica value as per review comments

* edit docs

* edit README

* Address PR review comments

* Changes to address PR review comments and removed ItLifecycleSampleScripts class by adding methods in ItSamples

* fix indentation

* fix comment and typo

* Added validation as per review comment.

* changes to address review comment and minor cleanup

* PR review comment - changes to assume default policy is IF_NEEDED if policy is not set at domain level.

* changes for new algorithm as documented on http://aseng-wiki.us.oracle.co
8000
m/asengwiki/pages/viewpage.action?pageId=5280694898

* More changes for new algorithm.

* code refactoring and minor doc update.

* Minor change for dynamic server name validation

* Changes to address review comments.

* More review comment changes and cleanup.

* Unset policy to start independent (stadalone) maanged server instead of ALWAYS.

* Latest review comment changes.

* More changes based on review comments.

* Chnages for latest review comments.

* Remove unused action variable and assignments.

* Fix the logic to display error when config map not found and return policy without quotes.

* Changes for latest review comments.

* Changes for latest round of review comments.

* use printError instead of echo

* Changes to remove integration tests and doc review comments.

Co-authored-by: Rosemary Marano <rosemary.marano@oracle.com>

* Use oracle:root to support running in the OpenShift restrictive SCC (#2007)

* Use oracle:root to support running in the OpenShift restrictive SCC

* Fix issues found in test

* Clean-up

* Add SECURITY.md

* JRF mii Domain test class/infra for the mii RCU functionality testing (#2011)

* first cut for ItJrfMiiDomain

* minor change

* addressing the review comments, adding em console verification

* use default -ext as service suffix

* minor change

* minor change

* OWLS85912 - Integration tests for domain lifecycle scripts added as part of OWLS-83995. (#2032)

* Added integration tests for domain lifecycle scripts.

* minor changes.

* fix K8s setup doc (#2028)

* owls-85910 - display correct minimumReplicas status for dynamic clusters (#2035)

* Additional release note updates (#2034)

* Response from pod delete REST call can be Pod or Status (#2038)

* Ignore response value from delete operations

* Correct api group

* Switch from custom objects

* Remove unnecessary whitespace changes

* Owls85476 attempt to fix intermittent integration test issues in nightlies (#2037)

* switch to kubectl and improve the test code

* change testAddSecondApp to use kubectl as well

* more changes

* check main thread done as well

* minor update

* minor change

* Added anti affinity to the wls pods (#2033)

* added nfs

* added antiaffity

* added syncronized

* fixed typo

* fixed typo1

* fixed domain crd for itpodtemplate

* style

* added storageclass to pv

* added storageclass to pvc

* added storageclass to pvc1

* style

* fixed hostpath

* removed fss related code

* style

* removed unneeded file

* Add comment to liveness probe (#2041)

* Add com…

v3.0.3

Toggle v3.0.3's commit message
Correct release date

v3.0.2

Toggle v3.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Operator version 3.0.2 (oracle#1912)

* Move to version 3.0.2

* remove duplicate parameter srcstorepass in keytool command

* changes to allow setting nodeAffinity and nodeSelector values in operator Helm chart and related doc change

* minor doc change

* changes based on review comments

* Mirror introspector log to a rotating file in 'log home' (if configured)

* minor fix

* remove comment

* Add log rotation for NM .out/.log, enhance log rotation for introspector .out, and document log rotation for WLS .out and .log.

* minor doc edits

* add NGINX for production ICs

* In recheck code path only continue if spec changes

* Minor change

* only add progressing condition when something is really happening to the domain

* cleanup

* populate state and healht when needed

* Changes for OWLS-82011 to reflect introspector status in domain status

* change method name

* Code refactoring

* cleanup debug message

* Remove unused method

* Added check to terminate fiber when intro job fails with BackoffLimitExceeded (which happens when intro job times out due to DeadlineExceeded).

* implement review comment suggestions

* added unit test for introspector pod phase failed

* Adjust access

* Work in progress

* debug

* debug

* more debugging

* remove debugging

* remove debugging

* cleanup

* Fix patchPod handling and change HashMap to ConcurrentHashMap

* Add ProgressingStep on scaling down

* Address review comments

* Review comment

* Corrections

* Update the external client FAQ to discuss 'unknown host' handling. Update the domain-resource doc to try make it easier to read.

* review and edit

* delete extraneous file

* minor doc tweaks

* Backport improvements to ImageBuilders

* temporarily adding chown option to imagetool command

* Update doc. contents

* update tests after image and WIT updates

* fixing the mii domain and sample test after images have been updated

* Modified group name used to copy file to server pod jenkins-ignore

* Chagnes from PR 1906

* Changes to prevent handing during tests

* changes for OWLS-83431

* changes for owls-83431

* Chnages to address PR review comments

* changes to suppresserror from synchronous call

* cleanup changes based on PR comments

* changes to fix javadoc and variable name

* Last changes for single server schedule support

* Change log

Co-authored-by: Johnny Shum <cbdream99@gmail.com>
Co-authored-by: ANIL.KEDIA@ORACLE.COM <anil.kedia@oracle.com>
Co-authored-by: Tom Barnes <tom.barnes@oracle.com>
Co-authored-by: Rosemary Marano <rosemary.marano@oracle.com>
Co-authored-by: doxiao <dongbo.xiao@oracle.com>
Co-authored-by: BHAVANI.RAVICHANDRAN@ORACLE.COM <bravicha@bravicha-1.subnet1ad1phx.devweblogicphx.oraclevcn.com>
Co-authored-by: huiling_zhao <huiling.zhao@oracle.com>

v3.0.1

Toggle v3.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Operator version 3.0.1 (oracle#1864)

* Prepare for 3.0.1 release

* Ignore i and k

* Reading comprehension

* Correct JDK URL

* lookup and save internalOperatorkey, if already exists

* Update kindtest.sh

* Review comment

Co-authored-by: Lenny Phan <lenny.phan@oracle.com>

v3.0.0

Toggle v3.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Operator version 3.0.0 (oracle#1819)

* OWLS-80451 - Enhance logHome to override HTTP access log location (#1532)

* introduce httpAccessLogInLogHome to DomainSpec

* comment fix

* httpAccessLogInLogHome comment fix

* junit tests for httpAccessLogInLogHome

* fix minor indentation bug in web-server sit config

* fix httpAccessLogInLogHome description

* fix httpAccessLogInLogHome description

* add httpAccessLogInLogHome to various create domain samples

* update with built index.html

* add httpAccessLogInLogHome to documentation for create domain samples

* update comments for logHome and httpAccessLogInLogHome

* remove extra lines added by IDE

* OWLS-80826, OWLS-80942 (#1538)

* added support for helm 3.0

* added check for repo

* moved from monitoring ns

* added the test

* fixed style

* added missed file

* added condition for ver

* rework to avoid interm failures

* fixed docs

* updated version of MonExp

* added some timing

* style

* redesigned shutdowntest, fix some issues in MonEx

* fixed java docs

* Resolve docs and testing review comments from PRs 1531, 1532, and 1536 (#1545)

* add assert messages

* clarify javadoc

* DomainSpec docs fixes

* getServers() and getClusters() javadoc fix

* more DomainStatus unit tests

* Model in image support (#1478)

* minor README update

* hugo FAQ link fix

* refactor save wallet script 1.

* Model in image scripts fixes to work on MacOS (#1465)

* Make scripts run on MacOS

* Remove unnintentional adds

* rename key for secrets

* MII Sample: remove vestigal nginx

* Fix template and script error

* Edit due to key changes

* placeholders for MII

* sample fodder for rosemary

* Add for debugging merged model

* first pass on MII sample content

* name reconciliation

* update from model-in-image

* revert accidental changes

* mii sample doc edits

* second round edits

* Update script

* Add validation, volume and volume mount for runtime encryption secret

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix an issue after merge with model-in-image-security

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Add part of the changes for runtime secret validation and mount

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Second part of the change

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Change the sample

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Modify the sample to use the right secret

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix a typo

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Minor fix

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix generated files

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* pickup changes from model-in-image-security

* Fixing error message

* Fix TBD

* remove comments

* mark README.md as outdated (will remove later)

* final round edits on sample doc

* Add validation checks for OPSS secret

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Minor javadoc fix

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* refacto startServer.sh

* update script and doc

* More javadoc changes

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* MII sample doc update

* Fix a merge issue that caused duplicate configuration

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* MII sample script update

* MII sample script update

* update doc for saving wallet and remote docker registry instructions

* update doc for script name changes

* Add unit test cases

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Shorten suffix names

* Fix merge issues

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix duplicate lines

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix generated files

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* refactor and remove prepending the domain name to configmap/secrets volumes

* add back the mounting for existing introspect configmap source for life-cycle update

* minor edit

* additional edits

* add traefix instructions for console

* Update doc for introspectorJobActiveDeadlineSeconds

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* update doc

* QA infra change to support new secret (#1474)

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>

* update doc

* Fix a typo

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Use 12.2.1.4 everywhere possible (#1475)

* Use 12.2.1.4 everywhere possible

* Back to soasuite:12.2.1.3

* Correct some 12.2.1.3 vs. 12.2.1.4 confusion

* Correct word choice

* fix to use different separator, '.' is a valid key name

* Refactor getModelInImageSpecHash and fix logic; correct minor script error in encryption_util

* check in for now waiting for WDT

* Make the runtime encryption secret volume source "optional"

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Minor doc changes for introspectorJobActiveDeadlineSeconds

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Add extra line between merging properties file

* add real blank lines between appending variable files

* change wdt secret key to password

* Model in image main hugo doc - first check-in.

* Remove rcu_admin_password - not required at this point

* MII sample updates

* MII sample updates

* Update copyright

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Add introspectorJobActiveDeadlineSeconds in toString(), hashCode() and equals() calculation

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* MII Sample README update.

* MII Sample - remove mention of rcu admin password in sample doc.

* first pass edits

* Remove wdtEncryptionSecret from the schema and code

* fix two broken links

* Clean up after WDT encryption secret related code is removed

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix doc

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix doc links

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* remove wdt encryption passphrase logic from introspector job scripts since it no longer supported in the schema

* update MII doc to mention wdt encryption isn't supported

* update error message in modelInImage.sh

* Enable updateRCUSchemaPassword and add special env variables for macro expansion in modelInImage.sh script

* Add @@SECRET and @@ENV support to MII sample/doc.

* Add utility methods for model in image tests (#1481)

* adding mii utility methods

* adding mii utility methods

* adding wdtDomainType and use of properties for weblogic base image

* minor doc update

* doc update

* doc update

* doc update

* doc update

* doc update

* add script comment

* Add introspectorJobActiveDeadlinSeconds to the samples

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* first draft update of 'choosing a model' doc

* first draft update of 'choosing a model' doc

* Remove updateDomainResult - dynamic update code

* doc updated

* Doc update.

* doc edits from Ryan

* clean up sample descriptor

* Remove mii section from samples domain-template.yaml (#1491)

* undo changes in domain-template.yaml

* adding mii config file

* resolve comment merge

* Move introspectVersion to spec level only

* Update _index.md

* Fix inadvertent change

* Update sample doc for introspectorJobActiveDeadlineSeconds and runtimeEncryptionSecret

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* More sample doc update

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* doc update

* clean up sample descriptor

* Update Operator.properties

* doc update

* Removed unused field

* edit new choose a model doc

* Minor doc fix - address review comment

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix copyrights

* Add support for defaulting the MII sample's WORKDIR. Default is '/tmp/tbarnes/model-in-image-sample-work-dir'.

* doc update

* sample update

* doc update

* doc update

* fix for MII sample script opss_wallet_util.sh

* remove mention of helm 2.x syntax from MII sample

* doc update

* doc update

* doc update

* doc update

* doc update

* doc update

* Update the wallet in the primordial domain if the rcu schema password changed

* doc update

* doc update

* add error checking

* doc update

* doc update

* doc update

* Checkstyle

* Update restarting.md

* Update usage.md

* Code review

* remove unnecessary comment

* minor edit

* minor edit

* Minor doc changes

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Revert one doc change

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Javadoc

* Adding weblogic credentials change test (#1493)

* Adding testCredentialsChange

* fix import

* Add utility method to replace runtimeEncryptionSecret

* modify the secret

* fix formatting

* fix formatting

* remove unwanted code

* cleanup

* cleanup

* cleanup

* fix indendation

* doc updates

* doc update

* doc update

* Minor doc fix

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* doc update

* doc update

* add usage and friendlier syntax error reporting to MII sample create_secret.sh + create_configmap.sh, correct the usage text in opss_wallet_util.sh

* doc update

* doc update

* fix to handle image names with '/' in them in create_domain.sh sample script

* remove mention of unused var from build_image_model.sh sample script

* Fix help text in create_configmap.sh helper script.

* Put the domain name back if present

* remove printing the model

* Correct configmap data is not inserted into the flow after it's read.

* Minor change to Operator.properties

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* remove debug code

* minor help text correction for create_configmap.sh sample script

* doc update (#1509)

* doc update

* doc update

* doc update

* MII: avoid deploying/referencing JRF secrets for non-JRF domain types, it's too confusing (#1507)

* doc update (#1510)

* doc update

* doc update

* doc update

* update ci/cd doc for mii (#1502)

* update ci/cd doc for mii

* first pass edits

* doc update

* doc update

Co-authored-by: Rosemary Marano <rosemary.marano@oracle.com>

* cherry pick 1517 from develop

* two automated test case for Wdt Config Update w single Model File jenkins-ignore (#1495)

* The first test case for OWLS-80444 Automate Wdt Config Override with single Model File jenkins-ignore

* Modified TestUtils.java jenkins-ignore

* Added python file to verify JDBC DS prop in server pod jenkins-ignore

* Changes b ased on the comments jenkins-ignore

* Added the 2nd test case jenkins-ignore

* Used patch domain to restart domain jenkins-ignore

* Changed test case names jenkins-ignore

* adding config delete and app delete tests using mode file (#1521)

* adding config update tests

* add config and app delete tests

* Model in image namefixes (#1515)

* Fix for PR1478

* add more traces and minor update

Co-authored-by: Johnny Shum <cbdream99@gmail.com>

* Missing secret dir fix (#1525)

* Add temporary work around for WDT return non-zero rc if secret directory doesn't exist.

* Change per WDT fix for no more default for custom secrets mount

Co-authored-by: Johnny Shum <cbdream99@gmail.com>

* Update rest_domainqualtrue.yml

* Update OperatorUtils.java

* Update OperatorUtils.java

* removing commented/incomplete test code (#1533)

* Merge from develop to model-in-image with conflict resolution (#1531)

* OWLS-80522 Domain status ordering, OWLS-80144 Ordered rolling upgrade (#1503)

* Domain.getServers() should return servers in order

* ordered rolling upgrade

* minor test fix

* new RollingHelperTest

* update getSortingString to handle up to 20 digits

* rolling upgrade clusters sorted by cluster names

* add isAdminServer to ServerStatus

* ServerStatus isAdminServer excluded from json schema

* ClusterStatus sorted by sorting name

* getClusters returning sorted clusters

* add unit tests

* handle null map

* Enhance Helm chart deletion Logic in cleanup.sh Script   (#1517)

* Enhance the clean up Script to support Helm 2/3

* Addressed the review comment

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>

* Added test for domainQualifier=true, added cleanup for intermittent failures (#1513)

* added support for helm 3.0

* added check for repo

* moved from monitoring ns

* added the test

* fixed style

* added missed file

* added condition for ver

* rework to avoid interm failures

* fixed docs

* updated version of MonExp

* Stub the ApiClient in tests that get connections but where this was not already done. (#1519)

* Enhance the cleanup script to include deletion of few namesapce(s) created by Integration Tests (#1523)

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>

* overall doc edits (#1518)

* overall doc edits

* fix a mistake I created

* update Kubernetes prereqs

* incorporate edits from Ryan and Mark

* fix typo

* fix my mistake

* minor fixes

* Disable preserveUnknownFields

* Update rest_domainqualtrue.yml

* Update OperatorUtils.java

* Update OperatorUtils.java

Co-authored-by: Anthony Lai <anthony.lai@oracle.com>
Co-authored-by: Antaryami Panigrahi <31135902+anpanigr@users.noreply.github.com>
Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>
Co-authored-by: Marina Kogan <marina.kogan@oracle.com>
Co-authored-by: Rosemary Marano <rosemary.marano@oracle.com>

* Fix javadoc

* fix broken anchor links (#1540)

* Updated model files to user @@SECRET macro; added sparce jms/wldf mod… (#1529)

* Updated model files to user @@SECRET macro; added sparce jms/wldf model files

* Added Copyright Statements

* Missing CopyRight

* Resync the branch and removed work-around

* Addressed review comment

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>

* Correct merge of cleanup.sh

* entire site doc edits (#1551)

* entire site doc edits

* sentence perfection

* Added two more tests to cover config update by creating an image w a new tag  (#1528)

* Added two more tests to cover config update by creating an image with a new tag jenkins-ignore

* Changes for the comments jenkins-ignore

* Changed logs jenkins-ignore

* Mii introspect test (#1530)

* for mii

* MII updates

* add wdt configmap mount

* remove image and wdt configmap first

* correct script error

* update model values

* update properties value

* template the mii mount and make it optional

* Making override cm optional

* revert

* update the models

* remove introspectMIITest.sh

* update secret key

* clean up

* clean up workdir

* Fix missing secret and cleanup

* Incorporate Tom's changes

* refresh from model-in-image

* various changes for the PR

* fix zip output

* fix script error

* correct archive location

* push no-effect change

* move WDT_DOMAIN_TYPE to yamlt

* update for PR

* fix test for MII

* Remove custom overrides and adjust overrides test.

* Update script and readme

* minor fixes

* hide k8s output

* Fix copyright

* Fix copyright

* Fix copyright

* Fix copyright

* updated copyrights

* Add copyrights

* update from model-in-image

Co-authored-by: Johnny Shum <cbdream99@gmail.com>
Co-authored-by: Ryan Eberhard <ryan.eberhard@oracle.com>

* fix log format (#1553)

Co-authored-by: doxiao <dongbo.xiao@oracle.com>
Co-authored-by: Tom Barnes <tom.barnes@oracle.com>
Co-authored-by: Johnny Shum <cbdream99@gmail.com>
Co-authored-by: Rosemary Marano <rosemary.marano@oracle.com>
Co-authored-by: Antaryami Panigrahi <31135902+anpanigr@users.noreply.github.com>
Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>
Co-authored-by: Vanajakshi Mukkara <35709372+vanajamukkara@users.noreply.github.com>
Co-authored-by: Sankar Periyathambi Neelakandan <45743425+sankarpn@users.noreply.github.com>
Co-authored-by: Mark Nelson <mark.x.nelson@oracle.com>
Co-authored-by: Huiling Zhao <41090416+hzhao-github@users.noreply.github.com>
Co-authored-by: Johnny Shum <johnny.shum@oracle.com>
Co-authored-by: Anthony Lai <anthony.lai@oracle.com>
Co-authored-by: Marina Kogan <marina.kogan@oracle.com>

* delete image only for domain in image tests (#1552)

* delete image only for domain in image tests

* moving the code to actual test class for delete domain

* adding check not to delete container-registry images

* Fix checkstyle in recent change (#1554)

* delete image only for domain in image tests

* moving the code to actual test class for delete domain

* adding check not to delete container-registry images

* fix checkstyle

* New integration tests (#1560)

* Fix TBD

* remove comments

* mark README.md as outdated (will remove later)

* final round edits on sample doc

* Add validation checks for OPSS secret

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* starting to experiment

* some more experimenting and thinking

* some more experimenting and thinking

* some more experimenting and thinking

* some more experimenting and thinking

* some more experimenting and thinking

* some more experimenting and thinking

* some more experimenting and thinking

* more thinking and experimenting

* tidy up a bit

* Minor javadoc fix

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* refacto startServer.sh

* update script and doc

* More javadoc changes

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* MII sample doc update

* Fix a merge issue that caused duplicate configuration

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* MII sample script update

* small updates

* MII sample script update

* update doc for saving wallet and remote docker registry instructions

* update doc for script name changes

* Add unit test cases

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Shorten suffix names

* Fix merge issues

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix duplicate lines

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix generated files

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* refactor and remove prepending the domain name to configmap/secrets volumes

* add back the mounting for existing introspect configmap source for life-cycle update

* minor edit

* additional edits

* add traefix instructions for console

* Update doc for introspectorJobActiveDeadlineSeconds

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* update doc

* QA infra change to support new secret (#1474)

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>

* update doc

* Fix a typo

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Use 12.2.1.4 everywhere possible (#1475)

* Use 12.2.1.4 everywhere possible

* Back to soasuite:12.2.1.3

* Correct some 12.2.1.3 vs. 12.2.1.4 confusion

* Correct word choice

* fix to use different separator, '.' is a valid key name

* Refactor getModelInImageSpecHash and fix logic; correct minor script error in encryption_util

* check in for now waiting for WDT

* Make the runtime encryption secret volume source "optional"

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Minor doc changes for introspectorJobActiveDeadlineSeconds

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Add extra line between merging properties file

* add real blank lines between appending variable files

* change wdt secret key to password

* Model in image main hugo doc - first check-in.

* Remove rcu_admin_password - not required at this point

* MII sample updates

* MII sample updates

* Update copyright

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Add introspectorJobActiveDeadlineSeconds in toString(), hashCode() and equals() calculation

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* MII Sample README update.

* MII Sample - remove mention of rcu admin password in sample doc.

* first pass edits

* Remove wdtEncryptionSecret from the schema and code

* fix two broken links

* Clean up after WDT encryption secret related code is removed

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix doc

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix doc links

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* remove wdt encryption passphrase logic from introspector job scripts since it no longer supported in the schema

* update MII doc to mention wdt encryption isn't supported

* update error message in modelInImage.sh

* Enable updateRCUSchemaPassword and add special env variables for macro expansion in modelInImage.sh script

* Add @@SECRET and @@ENV support to MII sample/doc.

* Add utility methods for model in image tests (#1481)

* adding mii utility methods

* adding mii utility methods

* adding wdtDomainType and use of properties for weblogic base image

* minor doc update

* doc update

* doc update

* doc update

* doc update

* doc update

* add script comment

* Add introspectorJobActiveDeadlinSeconds to the samples

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* first draft update of 'choosing a model' doc

* first draft update of 'choosing a model' doc

* Remove updateDomainResult - dynamic update code

* doc updated

* Doc update.

* doc edits from Ryan

* clean up sample descriptor

* Remove mii section from samples domain-template.yaml (#1491)

* undo changes in domain-template.yaml

* adding mii config file

* resolve comment merge

* Move introspectVersion to spec level only

* Update _index.md

* Fix inadvertent change

* Update sample doc for introspectorJobActiveDeadlineSeconds and runtimeEncryptionSecret

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* More sample doc update

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* doc update

* clean up sample descriptor

* Update Operator.properties

* doc update

* Removed unused field

* edit new choose a model doc

* Minor doc fix - address review comment

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix copyrights

* Add support for defaulting the MII sample's WORKDIR. Default is '/tmp/tbarnes/model-in-image-sample-work-dir'.

* doc update

* sample update

* doc update

* doc update

* fix for MII sample script opss_wallet_util.sh

* remove mention of helm 2.x syntax from MII sample

* doc update

* doc update

* doc update

* doc update

* doc update

* doc update

* Update the wallet in the primordial domain if the rcu schema password changed

* doc update

* doc update

* add error checking

* doc update

* doc u
8000
pdate

* doc update

* Checkstyle

* Update restarting.md

* Update usage.md

* Code review

* remove unnecessary comment

* minor edit

* minor edit

* Minor doc changes

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Revert one doc change

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Javadoc

* Adding weblogic credentials change test (#1493)

* Adding testCredentialsChange

* fix import

* Add utility method to replace runtimeEncryptionSecret

* modify the secret

* fix formatting

* fix formatting

* remove unwanted code

* cleanup

* cleanup

* cleanup

* fix indendation

* doc updates

* doc update

* doc update

* Minor doc fix

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* doc update

* doc update

* add usage and friendlier syntax error reporting to MII sample create_secret.sh + create_configmap.sh, correct the usage text in opss_wallet_util.sh

* doc update

* doc update

* fix to handle image names with '/' in them in create_domain.sh sample script

* remove mention of unused var from build_image_model.sh sample script

* Fix help text in create_configmap.sh helper script.

* Put the domain name back if present

* remove printing the model

* Correct configmap data is not inserted into the flow after it's read.

* Minor change to Operator.properties

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* remove debug code

* minor help text correction for create_configmap.sh sample script

* doc update (#1509)

* doc update

* doc update

* doc update

* MII: avoid deploying/referencing JRF secrets for non-JRF domain types, it's too confusing (#1507)

* doc update (#1510)

* doc update

* doc update

* doc update

* update ci/cd doc for mii (#1502)

* update ci/cd doc for mii

* first pass edits

* doc update

* doc update

Co-authored-by: Rosemary Marano <rosemary.marano@oracle.com>

* added IntegrationTest annotation

* corrected copyright statements

* cleanup warnings in LoggedTest

* Adding more actions (#1511)

* adding new actions

* adding more actions

* typo

* using fluent api for Helm

* using fluent api for operatorparams instead of hashmap

* fixing javadoc

* Install wit actions interface (#1512)

* Add actions for download and WIT

* Minor fix of the formating

* Address review comment

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* added checkstyle checks from master, and reformatted code to match

* cherry pick 1517 from develop

* K8s client api initial impl for feedback on usage (#1514)

* K8s client api initial impl for feedback on usage

* Changes based on initial feedback

* implement delete PV/PVC, secrets, and config maps

* create/delete domain custom resource

* Updated javadoc

* Use Assertions.assertDoesNotThrow() instead of try-catch

* Use Assertions.assertDoesNotThrow()

* Adding test assertions to new integration tests (#1516)

* Adding test assertions to new integration tests

* two automated test case for Wdt Config Update w single Model File jenkins-ignore (#1495)

* The first test case for OWLS-80444 Automate Wdt Config Override with single Model File jenkins-ignore

* Modified TestUtils.java jenkins-ignore

* Added python file to verify JDBC DS prop in server pod jenkins-ignore

* Changes b ased on the comments jenkins-ignore

* Added the 2nd test case jenkins-ignore

* Used patch domain to restart domain jenkins-ignore

* Changed test case names jenkins-ignore

* adding config delete and app delete tests using mode file (#1521)

* adding config update tests

* add config and app delete tests

* Additional mii integration test support for K8s resources (#1524)

* create/delete service accounts and update deleteNamespace() to use GenericKubernetesApi

* Added javadoc and comments

* Adding impl in Operator (#1522)

* adding traefik params

* adding more implementation for operator

* addressing review comments, using assertj

* adding helm commands

* Wit action impl (#1520)

* Add actions for download and WIT

* Minor fix of the formating

* Address review comment

* WIT impl

* Add execcommand

* Use tmpDir as the root of the work dir

* Support unzip WIT

* Rename a class

* Add ProcessBuilder code commented out

* Setup WIT list parameters

* Address review comments

* More review comments

* Minor style fix

* Move download WIT/WDT code into the impl

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix an issue

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Model in image namefixes (#1515)

* Fix for PR1478

* add more traces and minor update

Co-authored-by: Johnny Shum <cbdream99@gmail.com>

* Missing secret dir fix (#1525)

* Add temporary work around for WDT return non-zero rc if secret directory doesn't exist.

* Change per WDT fix for no more default for custom secrets mount

Co-authored-by: Johnny Shum <cbdream99@gmail.com>

* Update rest_domainqualtrue.yml

* Update OperatorUtils.java

* Update OperatorUtils.java

* Implemented the pod and service check assertions (#1527)

* working on the pod status

* implement

* add serviceCreated

* implemented service level assertions

* adding domain related assertions

* add domain related assertions

* reverting

* Added javadoc

* addressed the PR comments

* fixed more javadoc comments

* Create Domain types for use by tests (#1526)

* Work in progress

* Typo

* Work in progress

* Work in progress

* Work in progress

* Remove set methods and correct some typos

* Correct pom

* More fluent

* removing commented/incomplete test code (#1533)

* Merge from develop to model-in-image with conflict resolution (#1531)

* OWLS-80522 Domain status ordering, OWLS-80144 Ordered rolling upgrade (#1503)

* Domain.getServers() should return servers in order

* ordered rolling upgrade

* minor test fix

* new RollingHelperTest

* update getSortingString to handle up to 20 digits

* rolling upgrade clusters sorted by cluster names

* add isAdminServer to ServerStatus

* ServerStatus isAdminServer excluded from json schema

* ClusterStatus sorted by sorting name

* getClusters returning sorted clusters

* add unit tests

* handle null map

* Enhance Helm chart deletion Logic in cleanup.sh Script   (#1517)

* Enhance the clean up Script to support Helm 2/3

* Addressed the review comment

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>

* Added test for domainQualifier=true, added cleanup for intermittent failures (#1513)

* added support for helm 3.0

* added check for repo

* moved from monitoring ns

* added the test

* fixed style

* added missed file

* added condition for ver

* rework to avoid interm failures

* fixed docs

* updated version of MonExp

* Stub the ApiClient in tests that get connections but where this was not already done. (#1519)

* Enhance the cleanup script to include deletion of few namesapce(s) created by Integration Tests (#1523)

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>

* overall doc edits (#1518)

* overall doc edits

* fix a mistake I created

* update Kubernetes prereqs

* incorporate edits from Ryan and Mark

* fix typo

* fix my mistake

* minor fixes

* Disable preserveUnknownFields

* Update rest_domainqualtrue.yml

* Update OperatorUtils.java

* Update OperatorUtils.java

Co-authored-by: Anthony Lai <anthony.lai@oracle.com>
Co-authored-by: Antaryami Panigrahi <31135902+anpanigr@users.noreply.github.com>
Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>
Co-authored-by: Marina Kogan <marina.kogan@oracle.com>
Co-authored-by: Rosemary Marano <rosemary.marano@oracle.com>

* Fix javadoc

* fix broken anchor links (#1540)

* Assert improvements (#1541)

* check for NPEs

* fix Domaina assertions

* Added assert message

* Updated model files to user @@SECRET macro; added sparce jms/wldf mod… (#1529)

* Updated model files to user @@SECRET macro; added sparce jms/wldf model files

* Added Copyright Statements

* Missing CopyRight

* Resync the branch and removed work-around

* Addressed review comment

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>

* adding helm implementation (#1535)

* moving common props to helmprops and common methods to helm class

* adding helm install, upgrade, delete implementation

* fix namespace and helm delete command

* change delete to uninstall

* addressing review comments

* addressing review comments

* change method name

* fix exception class

* Add more contents into MII image plus cleanup (#1534)

* Add model to wit test

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* More impl

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Restruct the code and move constants into ActionConstants

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Revert an unintended change

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Minor cleanup

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Address review comments

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Get rid of inheritance - move command methods to Command action/params and FileUtils

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Minor java doc change

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Remove unused code

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Minor style changes

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Remove imports and code that have been commented out

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Rename assertion method name and fix javadoc

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Address review comment

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Change with() to params()

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Add assertions

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Avoid type checks

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* move WIT/WDT versions to pom.xml

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Remove a class that is no longer needed

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Minor cleanup

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Additional support for K8s resources for actions in test mii framework (#1543)

* Refactoring, services, pods

* Some refactoring and added additional Kubernetes primitives

* Use oracle.weblogic.domain.Domain class for getDomainCustomResource() method

* Address PR feedback

* Correct merge of cleanup.sh

* Add additional env to WIT execution (#1548)

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Propogate env to other image tool commands

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Replace java.util.Logger with logging facade (#1555)

* brought LoggingFacade over from main code to replace java.util.Logger

* fixed a couple typos

* Javadoc cleanup per review comments

Co-authored-by: Johnny Shum <cbdream99@gmail.com>
Co-authored-by: Tom Barnes <tom.barnes@oracle.com>
Co-authored-by: Rosemary Marano <rosemary.marano@oracle.com>
Co-authored-by: doxiao <dongbo.xiao@oracle.com>
Co-authored-by: Mark Nelson <mark.x.nelson@oracle.com>
Co-authored-by: Antaryami Panigrahi <31135902+anpanigr@users.noreply.github.com>
Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>
Co-authored-by: Vanajakshi Mukkara <35709372+vanajamukkara@users.noreply.github.com>
Co-authored-by: Sankar Periyathambi Neelakandan <45743425+sankarpn@users.noreply.github.com>
Co-authored-by: Derek Sharpe <derek.sharpe@oracle.com>
Co-authored-by: Lenny Phan <33355669+lennyphan@users.noreply.github.com>
Co-authored-by: Huiling Zhao <41090416+hzhao-github@users.noreply.github.com>
Co-authored-by: Johnny Shum <johnny.shum@oracle.com>
Co-authored-by: Anthony Lai <anthony.lai@oracle.com>
Co-authored-by: Marina Kogan <marina.kogan@oracle.com>
Co-authored-by: Derek Sharpe <36005286+ddsharpe@users.noreply.github.com>

* Remove check for base image (#1559)

* delete image only for domain in image tests

* moving the code to actual test class for delete domain

* adding check not to delete container-registry images

* fix checkstyle

* base image is not required as image tool pulls the image

* remove check for base image

* Add app archive to MII image  (#1550)

* More javadoc changes

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* MII sample doc update

* Fix a merge issue that caused duplicate configuration

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* MII sample script update

* small updates

* MII sample script update

* update doc for saving wallet and remote docker registry instructions

* update doc for script name changes

* Add unit test cases

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Shorten suffix names

* Fix merge issues

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix duplicate lines

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix generated files

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* refactor and remove prepending the domain name to configmap/secrets volumes

* add back the mounting for existing introspect configmap source for life-cycle update

* minor edit

* additional edits

* add traefix instructions for console

* Update doc for introspectorJobActiveDeadlineSeconds

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* update doc

* QA infra change to support new secret (#1474)

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>

* update doc

* Fix a typo

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Use 12.2.1.4 everywhere possible (#1475)

* Use 12.2.1.4 everywhere possible

* Back to soasuite:12.2.1.3

* Correct some 12.2.1.3 vs. 12.2.1.4 confusion

* Correct word choice

* fix to use different separator, '.' is a valid key name

* Refactor getModelInImageSpecHash and fix logic; correct minor script error in encryption_util

* check in for now waiting for WDT

* Make the runtime encryption secret volume source "optional"

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Minor doc changes for introspectorJobActiveDeadlineSeconds

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Add extra line between merging properties file

* add real blank lines between appending variable files

* change wdt secret key to password

* Model in image main hugo doc - first check-in.

* Remove rcu_admin_password - not required at this point

* MII sample updates

* MII sample updates

* Update copyright

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Add introspectorJobActiveDeadlineSeconds in toString(), hashCode() and equals() calculation

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* MII Sample README update.

* MII Sample - remove mention of rcu admin password in sample doc.

* first pass edits

* Remove wdtEncryptionSecret from the schema and code

* fix two broken links

* Clean up after WDT encryption secret related code is removed

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix doc

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix doc links

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* remove wdt encryption passphrase logic from introspector job scripts since it no longer supported in the schema

* update MII doc to mention wdt encryption isn't supported

* update error message in modelInImage.sh

* Enable updateRCUSchemaPassword and add special env variables for macro expansion in modelInImage.sh script

* Add @@SECRET and @@ENV support to MII sample/doc.

* Add utility methods for model in image tests (#1481)

* adding mii utility methods

* adding mii utility methods

* adding wdtDomainType and use of properties for weblogic base image

* minor doc update

* doc update

* doc update

* doc update

* doc update

* doc update

* add script comment

* Add introspectorJobActiveDeadlinSeconds to the samples

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* first draft update of 'choosing a model' doc

* first draft update of 'choosing a model' doc

* Remove updateDomainResult - dynamic update code

* doc updated

* Doc update.

* doc edits from Ryan

* clean up sample descriptor

* Remove mii section from samples domain-template.yaml (#1491)

* undo changes in domain-template.yaml

* adding mii config file

* resolve comment merge

* Move introspectVersion to spec level only

* Update _index.md

* Fix inadvertent change

* Update sample doc for introspectorJobActiveDeadlineSeconds and runtimeEncryptionSecret

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* More sample doc update

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* doc update

* clean up sample descriptor

* Update Operator.properties

* doc update

* Removed unused field

* edit new choose a model doc

* Minor doc fix - address review comment

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix copyrights

* Add support for defaulting the MII sample's WORKDIR. Default is '/tmp/tbarnes/model-in-image-sample-work-dir'.

* doc update

* sample update

* doc update

* doc update

* fix for MII sample script opss_wallet_util.sh

* remove mention of helm 2.x syntax from MII sample

* doc update

* doc update

* doc update

* doc update

* doc update

* doc update

* Update the wallet in the primordial domain if the rcu schema password changed

* doc update

* doc update

* add error checking

* doc update

* doc update

* doc update

* Checkstyle

* Update restarting.md

* Update usage.md

* Code review

* remove unnecessary comment

* minor edit

* minor edit

* Minor doc changes

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Revert one doc change

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Javadoc

* Adding weblogic credentials change test (#1493)

* Adding testCredentialsChange

* fix import

* Add utility method to replace runtimeEncryptionSecret

* modify the secret

* fix formatting

* fix formatting

* remove unwanted code

* cleanup

* cleanup

* cleanup

* fix indendation

* doc updates

* doc update

* doc update

* Minor doc fix

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* doc update

* doc update

* add usage and friendlier syntax error reporting to MII sample create_secret.sh + create_configmap.sh, correct the usage text in opss_wallet_util.sh

* doc update

* doc update

* fix to handle image names with '/' in them in create_domain.sh sample script

* remove mention of unused var from build_image_model.sh sample script

* Fix help text in create_configmap.sh helper script.

* Put the domain name back if present

* remove printing the model

* Correct configmap data is not inserted into the flow after it's read.

* Minor change to Operator.properties

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* remove debug code

* minor help text correction for create_configmap.sh sample script

* doc update (#1509)

* doc update

* doc update

* doc update

* MII: avoid deploying/referencing JRF secrets for non-JRF domain types, it's too confusing (#1507)

* doc update (#1510)

* doc update

* doc update

* doc update

* update ci/cd doc for mii (#1502)

* update ci/cd doc for mii

* first pass edits

* doc update

* doc update

Co-authored-by: Rosemary Marano <rosemary.marano@oracle.com>

* added IntegrationTest annotation

* corrected copyright statements

* cleanup warnings in LoggedTest

* Adding more actions (#1511)

* adding new actions

* adding more actions

* typo

* using fluent api for Helm

* using fluent api for operatorparams instead of hashmap

* fixing javadoc

* Install wit actions interface (#1512)

* Add actions for download and WIT

* Minor fix of the formating

* Address review comment

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* added checkstyle checks from master, and reformatted code to match

* cherry pick 1517 from develop

* K8s client api initial impl for feedback on usage (#1514)

* K8s client api initial impl for feedback on usage

* Changes based on initial feedback

* implement delete PV/PVC, secrets, and config maps

* create/delete domain custom resource

* Updated javadoc

* Use Assertions.assertDoesNotThrow() instead of try-catch

* Use Assertions.assertDoesNotThrow()

* Adding test assertions to new integration tests (#1516)

* Adding test assertions to new integration tests

* two automated test case for Wdt Config Update w single Model File jenkins-ignore (#1495)

* The first test case for OWLS-80444 Automate Wdt Config Override with single Model File jenkins-ignore

* Modified TestUtils.java jenkins-ignore

* Added python file to verify JDBC DS prop in server pod jenkins-ignore

* Changes b ased on the comments jenkins-ignore

* Added the 2nd test case jenkins-ignore

* Used patch domain to restart domain jenkins-ignore

* Changed test case names jenkins-ignore

* adding config delete and app delete tests using mode file (#1521)

* adding config update tests

* add config and app delete tests

* Additional mii integration test support for K8s resources (#1524)

* create/delete service accounts and update deleteNamespace() to use GenericKubernetesApi

* Added javadoc and comments

* Adding impl in Operator (#1522)

* adding traefik params

* adding more implementation for operator

* addressing review comments, using assertj

* adding helm commands

* Wit action impl (#1520)

* Add actions for download and WIT

* Minor fix of the formating

* Address review comment

* WIT impl

* Add execcommand

* Use tmpDir as the root of the work dir

* Support unzip WIT

* Rename a class

* Add ProcessBuilder code commented out

* Setup WIT list parameters

* Address review comments

* More review comments

* Minor style fix

* Move download WIT/WDT code into the impl

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Fix an issue

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Model in image namefixes (#1515)

* Fix for PR1478

* add more traces and minor update

Co-authored-by: Johnny Shum <cbdream99@gmail.com>

* Missing secret dir fix (#1525)

* Add temporary work around for WDT return non-zero rc if secret directory doesn't exist.

* Change per WDT fix for no more default for custom secrets mount

Co-authored-by: Johnny Shum <cbdream99@gmail.com>

* Update rest_domainqualtrue.yml

* Update OperatorUtils.java

* Update OperatorUtils.java

* Implemented the pod and service check assertions (#1527)

* working on the pod status

* implement

* add serviceCreated

* implemented service level assertions

* adding domain related assertions

* add domain related assertions

* reverting

* Added javadoc

* addressed the PR comments

* fixed more javadoc comments

* Create Domain types for use by tests (#1526)

* Work in progress

* Typo

* Work in progress

* Work in progress

* Work in progress

* Remove set methods and correct some typos

* Correct pom

* More fluent

* removing commented/incomplete test code (#1533)

* Merge from develop to model-in-image with conflict resolution (#1531)

* OWLS-80522 Domain status ordering, OWLS-80144 Ordered rolling upgrade (#1503)

* Domain.getServers() should return servers in order

* ordered rolling upgrade

* minor test fix

* new RollingHelperTest

* update getSortingString to handle up to 20 digits

* rolling upgrade clusters sorted by cluster names

* add isAdminServer to ServerStatus

* ServerStatus isAdminServer excluded from json schema

* ClusterStatus sorted by sorting name

* getClusters returning sorted clusters

* add unit tests

* handle null map

* Enhance Helm chart deletion Logic in cleanup.sh Script   (#1517)

* Enhance the clean up Script to support Helm 2/3

* Addressed the review comment

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>

* Added test for domainQualifier=true, added cleanup for intermittent failures (#1513)

* added support for helm 3.0

* added check for repo

* moved from monitoring ns

* added the test

* fixed style

* added missed file

* added condition for ver

* rework to avoid interm failures

* fixed docs

* updated version of MonExp

* Stub the ApiClient in tests that get connections but where this was not already done. (#1519)

* Enhance the cleanup script to include deletion of few namesapce(s) created by Integration Tests (#1523)

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>

* overall doc edits (#1518)

* overall doc edits

* fix a mistake I created

* update Kubernetes prereqs

* incorporate edits from Ryan and Mark

* fix typo

* fix my mistake

* minor fixes

* Disable preserveUnknownFields

* Update rest_domainqualtrue.yml

* Update OperatorUtils.java

* Update OperatorUtils.java

Co-authored-by: Anthony Lai <anthony.lai@oracle.com>
Co-authored-by: Antaryami Panigrahi <31135902+anpanigr@users.noreply.github.com>
Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>
Co-authored-by: Marina Kogan <marina.kogan@oracle.com>
Co-authored-by: Rosemary Marano <rosemary.marano@oracle.com>

* Fix javadoc

* fix broken anchor links (#1540)

* Assert improvements (#1541)

* check for NPEs

* fix Domaina assertions

* Added assert message

* Updated model files to user @@SECRET macro; added sparce jms/wldf mod… (#1529)

* Updated model files to user @@SECRET macro; added sparce jms/wldf model files

* Added Copyright Statements

* Missing CopyRight

* Resync the branch and removed work-around

* Addressed review comment

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>

* adding helm implementation (#1535)

* moving common props to helmprops and common methods to helm class

* adding helm install, upgrade, delete implementation

* fix namespace and helm delete command

* change delete to uninstall

* addressing review comments

* addressing review comments

* change method name

* fix exception class

* Add more contents into MII image plus cleanup (#1534)

* Add model to wit test

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* More impl

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Restruct the code and move constants into ActionConstants

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Revert an unintended change

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Minor cleanup

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Address review comments

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Get rid of inheritance - move command methods to Command action/params and FileUtils

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Minor java doc change

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Remove unused code

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Minor style changes

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Remove imports and code that have been commented out

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Rename assertion method name and fix javadoc

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Address review comment

* Change with() to params()

* Add assertions

* Avoid type checks

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* move WIT/WDT versions to pom.xml

* Remove a class that is no longer needed

* Additional support for K8s resources for actions in test mii framework (#1543)

* Refactoring, services, pods

* Some refactoring and added additional Kubernetes primitives

* Use oracle.weblogic.domain.Domain class for getDomainCustomResource() method

* Address PR feedback

* Correct merge of cleanup.sh

* Add application archive to mii

* Add additional env to WIT execution (#1548)

* Propogate env to other image tool commands

* Change Command.executeAndVerify to Command.execute.

* Remove unintended files

* Javadoc update

* Address review comments

* Download and use apache commons-io to clean up a directory

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Improve error handling in AppBuilder

* Fix an error message

* Replace java.util.Logger with logging facade (#1555)

* brought LoggingFacade over from main code to replace java.util.Logger

* fixed a couple typos

* Javadoc cleanup per review comments

* Remove one unnecessary assertion

* Address review comments

* Remove another section of comments about WDT

* Add copyright to sample_app and rename sample_app to sample-app

Signed-off-by: doxiao <dongbo.xiao@oracle.com>

* Support SSL in the domain-home-in-image sample (#1542)

* update the common utility & domain-home-in-image to support ssl

* update the docs

* add ssl tests for 12213-domain-home-in-image

* Separate the SSL test

* updated param comments

* Update the test's javadoc comments

* Update domain-home-in-image sample's doc

* wording, spelling updates

* added test assertions

Co-authored-by: Ryan Eberhard <ryan.eberhard@oracle.com>

* cleanup.sh:  add fast WL pod exit, --force phase, backgrounding, and --timeout (#1557)

* add --force delete phase to cleanup.sh

* set timeout in cleanup.sh

* fix typo in --timeout parameter for kubectl delete in cleanup.sh

* add 'diefast' support to wl pods and to QA cleanup.sh script

* cleanup.sh: run deletes in background and kill bg jobs if they take more than 15 seconds

* use same image name but different tags for a it class (#1565)

* Log level review and change status from using patch to using endpoint (#1558)

* Review log message levels and include details about request when an async call fails

* Use status endpoint rather than patch

* Record work for other PR's

* Continue adjusting log levels

* Fix exception display and retry on domain status

* Update FailureStatusSourceException.java

* Update OtherUnrecoverableErrorBuilder.java

* Reconcile logger change

* Review comments

* Changes to push new image to Docker repo jenkins-ignore (#1568)

* Use OpenJDK 11.0.7 JRE (#1569)

* Use 11.0.7 JRE

* Adjust whitespace

* Created a new PR for PV and PVC addition because of merge conflict (#1564)

* Created a new PR for PV and PVC addition because of merge conflict

* Changes messages to be little bit more clear

* Adding test for mii end to end use case (#1563)

* adding mii end to end use case

* same image name, different tag

* addressing review comments

* modified exception handling and creating docker registry secret

* Add getters and setters for Domain classes (#1576)

* Add getters and setters for Domain classes

* Missing bean method

* pull in 1575 changes from master

* Cannot add skipWLSModuleScanning here, once the WLSDEPLOY_PROPERTIES is set in the pod, wlst.sh fails to start (#1579)

* Patch Domain Support (#1580)

* Add log for introspector job creation time (#1577)

Co-authored-by: doxiao <dongbo.xiao@oracle.com>

* Errormsg 81217 (#1578)

* OWLS-81217 Enhance error message for decrypting wdt model

* Fix import and correct report bash lineno

* change error handling and wordings

* change wordings

* Remove extra space

Co-authored-by: Johnny Shum <cbdream99@gmail.com>
Co-authored-by: Ryan Eberhard <ryan.eberhard@oracle.com>

* Always use the latest release of WDT and Image Tool (#1574)

* Initial changes for getting the latest version

* Get the version number of the latest release of the tools

* Minor updates

* Minor change in error handling

* Remove additional checks of the stderr on command execution result and add javadoc to the new method

* Change return null to throw runtime exception

* Cleanup

* Modified test infra to run integration test in helm3  (#1572)

* Skipping tiller installation for Helm 3.x

* Added debug flag to setup.sh

* Add provision to describe the lb pod when fails to start

* More dubug on setup.sh

* Added more debug for setup.sh

* Modified the helm3 logic in LoadBalancer.java

* modified ItUsabilityOperatorHelmChart.java

* Modified load balance setup.sh script

* Added debug option to helm upgrade

* Remove support for Helm 2 based on review comments

* remove helm v2 support from setupenv.sh

* sync up develop branch, few changes to ItUsabilityOperatorHelmChart class

* Update product names

* Fix a few more

Co-authored-by: ANTARYAMI.PANIGRAHI@ORACLE.COM <anpanigr@anpanigr-1.subnet1ad2phx.devweblogicphx.oraclevcn.com>
Co-authored-
8540
by: Ryan Eberhard <ryan.eberhard@oracle.com>

* POM updates for new integration tests and other clean-ups. (#1581)

* Connect new integration tests, remove build-tools module, remove unnecessary files

* Add missing property

* Resolve Checkstyle issues

* Create profile for new integration tests

* Remove properties interferring with coverage

* Add javadoc

* Correct Checkstyle

* Find parent pom directory using maven magic (#1585)

* Adding diagnostic log collection feature to integration tests (#1562)

* Adding diagnostic features to integration test

* wip

* wip

* wip

* wip

* initial implementation of diagnostic logging

* wip

* changed the implementation to use LifecycleMethodExecutionExceptionHandler

* Added javadoc

* fix newline

* fixed javadocs in Kubernetes.java

* debuggging

* fix javadocs

* changed the implmentation for namespace collectioin

* added test status overrides

* Fix javadocs

* Fix for the empty namespace list

* remove debug code

* Get domain object lists using CustomObjectsApi

* Catch the exception

* Remove double message logging

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix javadoc

* fixed pvc list

* use RESULT_ROOT in Jenkins or tmp dir for local runs

* fix comment

* changes as per Ryan's comments

* fix pv location

* Changes as per Ryan's comments

* remove getting logs for all domains

* Address Mark comments

* address mark's review comments

* correct the typos

* Fix command stdout (#1587)

* Fix ExecCommand to allow both redirect and saveResults enabled the same time

* minor cleanup

* Remove duplicate failsafe and leftover sample test

* Adding extension class to build and push Operator image and more (#1589)

* script to build and push operator image to ocir for jenkins to work

* Revert "script to build and push operator image to ocir for jenkins to work"

This reverts commit 4cde6596b7a4cd53089f1ede09bcfc30e2a817f5.

* script to build and push operator image to ocir for jenkins to work

* Synchronization for one-time initialization logic

* Add try finally

* moving constants to a interface

* Adding imagebuilder

* adding imagebuilder class

* build and push operator image in extension

* fix command run

* use BRANCH env var for JENKINS

* fix image name for Jenkins

* remove double REPO_NAME

* remove double REPO_NAME

* fix domain image name

* fix domain image name

* fix domain image name

* checking operator helm release status

* workaround for image check

* adding assertions for checking docker image and helm release status

* address review comments

Co-authored-by: Ryan Eberhard <ryan.eberhard@oracle.com>

* Break the code in to BeforeAll, Test and AfterAll blocks (#1590)

* Break the code in to BeforeAll, Test and AfterAll blocks

* remove comments

* add javadoc

* do not fail the whole test if the curl command returns a non-zero status (#1595)

* do not fail the whole test if the curl command returns a non-zero status

we expect if to fail, and want to retry it until it is successful.  it
can fail because the web app has not had time to start up yet.  the
current code throws a runtime exception on a non-zero return code, which
causes this test to fail too fast and incorrectly.

* use vanaja's simpler solution

* Fix exec command (#1593)

* Fix exec command

* Fix an intermittent issue - join the thread earlier

* tests - create domain from existing image and same domainUID in different ns (#1586)

* test to add a second domain using the image as the first one

* refactoring and also adding test for same domainUID in different ns

* refactoring the test

* removing the readSecret calls and refactoring the test

* remove empty lines

* fixing after review comments

* more updates after review comments

Co-authored-by: BHAVANI.RAVICHANDRAN@ORACLE.COM <bravicha@bravicha-1.subnet1ad1phx.devweblogicphx.oraclevcn.com>

* It resilience (#1600)

* do not fail the whole test if the curl command returns a non-zero status

we expect if to fail, and want to retry it until it is successful.  it
can fail because the web app has not had time to start up yet.  the
current code throws a runtime exception on a non-zero return code, which
causes this test to fail too fast and incorrectly.

* use vanaja's simpler solution

* fix code so it retries and does not die on RuntimeException on first
iteration.

Observed a failure in this run:
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-quicktest/1375/testReport/oracle.kubernetes.operator/ItElasticLogging/testWebLogicLogSearch/

testWebLogicLogSearch fails arund line 1114 of the log (out file).
The first fall to execSearchQuery is getting rc=6 from the curl
command and then throws an RE and prematurely aborts the test.

This PR changes it to use ExecCommand.exec() instead of TestUtils.exec()
so that the result is just returned to the called without killing
the test run.

* WIP: Add some debugging for ITElasticLogging test (#1601)

* add some debugging

* fix checkstyle errors

* fix logging test

* Rethrow the exception caught in the BeforeAll, BeforeEach and AfterEach (#1599)

* Rethrow the exception caught in the BeforeAll, BeforeEach and AfterEach
methods

* Get the LOGS_DIR from TestConstants

* Fix the volume Name in PVC

* Attempt to clean up use of bad exec() (#1605)

* add some debugging

* fix checkstyle errors

* fix logging test

* Attempt to clean up use of bad exec()

This commit attempts to resolve a number of test failures that occur due
to the bad use of the TestUtils.exec() method.  This method throws a
RuntimeException if the return code of the executed command is non-zero.
This method is being used in many places (over 40).  Many of those do
not appear to need or want that behavior, and should instead be using
the ExecCommand.exec() method which executes a command and then returns
the result, without throwing an exception if the command fails.

In this commit, I have done a visual inspection of each use of
TestUtils.exec() and changed them to ExecCommand.exec() where it
appeared to make sense.  This includes every case where the call was
using the return value from the method, and those where it appears clear
from the subsequent logic that a failed command was not expected to
terminate the process.

There were some calls that I left because I could not be sure of the
intent, and these will require more study.

In order to make the code clearer, and make people think twice about
using TestUtils.exec(), which has caused so many failures, I renamed
that method to TestUtils.execOrAbortProcess().  Hopefully that will make
it clearer that that method has a dangerous and unexpected side effect.

Co-authored-by: Ryan Eberhard <ryan.eberhard@oracle.com>

* Support for Kubernetes exec command (#1604)

* Add support for Kubernetes exec API

* Update processing input stream and adding ExecResult return type

* clean up reading output thread join

* add test to call exec

* First code review changes

* Remove set/get methods in KubernetesExec

* Cleanup artifacts in Kubernetes cluster (#1603)

* Adding cleanup methods to cleanup all the Kubernetyes artifacts left
behind by the test class.

* Leave the cluster artifacts untouched

* correct the typo

* cleanup javadoc

* add logs for pods

* Addressing review comments

* Refactor the methods

* javadoc fix

* Fix javadoc

* Check fileext wdt (#1592)

* add check for wdt version and file extensions in model directories

* fix script errors

* fix script error

* update error wordings

* fix wordings

* update check extension for wdt configmap

* PR fixes

* add bypass option for wdt version check

* update script for checkDirectoryExtension

* update wordings

* update wordings

* Correct spelling

* add bypsss wdt version check wordings

* Add support in diagnostic logging to archive PV (#1609)

* Added methods to copy persistent volume contents to the client machine
by the use of a temporary pod. Creating a temporary pod to mount to same
volume used by the tests.

Also few more fixes in the logging of files

* Enable the cleanup method

* Add ja…

v2.6.0

Toggle v2.6.0's commit message
Corret chart index

v3.0.0-rc1

Toggle v3.0.0-rc1's commit message
Merge remote-tracking branch 'origin/endless_status_updates' into rel…

…ease/3.0.0-rc1
0