-
Notifications
You must be signed in to change notification settings - Fork 216
create wls-srg profile for a minimal wko certification #2767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
anpanigr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change the class name as follows ...
ItParameterizedDomainNoLB.java --> ItParameterizedDomains.java
ItParameterizedDomain.java --> ItParameterizedDomainsWithLoadBalancer.java
integration-tests/src/test/java/oracle/weblogic/kubernetes/ItParameterizedDomainNoLB.java
Outdated
Show resolved
Hide resolved
integration-tests/src/test/java/oracle/weblogic/kubernetes/ItParameterizedDomainNoLB.java
Outdated
Show resolved
Hide resolved
integration-tests/src/test/java/oracle/weblogic/kubernetes/ItParameterizedDomainNoLB.java
Outdated
Show resolved
Hide resolved
|
(a) Can you make the similar change to the file ItParameterizedDomainWithLoadBalancer.java (b) Need to modify the kindtest.sh to exclude ItParameterizedDomain class when no profile is selected see line 314 (c) Re(run) the jenkin job with new profile after the change |
anpanigr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove crio-pipeline profile
anpanigr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
integration-tests/src/test/java/oracle/weblogic/kubernetes/ItParameterizedDomain.java
Show resolved
Hide resolved
|
Sorry for last minute suggestion |
vanajamukkara
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG, suggested some minor changes
| * @param replicaCount - repica count of the clsuter | ||
| * @return oracle.weblogic.domain.Domain object | ||
| */ | ||
| public static Domain createDomainOnPVAndVerify(String domainUid, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public static Domain createDomainOnPVAndVerify(String domainUid, | |
| public static Domain createDomainOnPVAndVerify(String domainUid, |
| public static Domain createDomainOnPVAndVerify(String domainUid, | |
| public static Domain createDomainResourceForDomainOnPV(String domainUid, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
|
|
||
| // Verify the domain custom resource is created. | ||
| // Also verify the admin server pod and managed server pods are up and running. | ||
| createDomainAndVerify(domainUid, domain, domainNamespace, domainUid + "-" + ADMIN_SERVER_NAME_BASE, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this from here and call it from createDomainOnPvUsingWdt instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
| .domainType(WLS_DOMAIN_TYPE)) | ||
| .introspectorJobActiveDeadlineSeconds(300L))); | ||
| setPodAntiAffinity(domain); | ||
| createDomainAndVerify(domain, domainNamespace); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
call createDomainAndVerify(String domainUid, Domain domain,
String domainNamespace, String adminServerPodName,
String managedServerPodNamePrefix, int replicaCount) and remove the code to check pods
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
| * @param replicaCount replica count of the cluster | ||
| * @return oracle.weblogic.domain.Domain object | ||
| */ | ||
| public static Domain createDomainInImageAndVerify(String domainUid, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make similar changes here - change method name to createDomainResourceForDomainInImage and move createDomainAndVerify outside
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
anpanigr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
* create wls-srg profile * add wls-srg profile * create wls-srg profile * cleanup * resolve merge conflicts * fix syntax error * restore jenkinsScript.sh * add more tests to wls-srg * add more tests to wls-srg * add more tests to wls-srg * fix class name * address Pani's comments * update copyright * address Pani's comments * address Pani's comments * address Vanaja's comments * cleanup * address Pani's comments * address Pani's comments * address Vanaja's comments
…in (#2787) * create wls-srg profile for a minimal wko certification (#2767) * create wls-srg profile * add wls-srg profile * create wls-srg profile * cleanup * resolve merge conflicts * fix syntax error * restore jenkinsScript.sh * add more tests to wls-srg * add more tests to wls-srg * add more tests to wls-srg * fix class name * address Pani's comments * update copyright * address Pani's comments * address Pani's comments * address Vanaja's comments * cleanup * address Pani's comments * address Pani's comments * address Vanaja's comments * update kindtest
* create wls-srg profile * add wls-srg profile * create wls-srg profile * cleanup * resolve merge conflicts * fix syntax error * restore jenkinsScript.sh * add more tests to wls-srg * add more tests to wls-srg * add more tests to wls-srg * fix class name * address Pani's comments * update copyright * address Pani's comments * address Pani's comments * address Vanaja's comments * cleanup * address Pani's comments * address Pani's comments * address Vanaja's comments
* create wls-srg profile * add wls-srg profile * create wls-srg profile * cleanup * resolve merge conflicts * fix syntax error * restore jenkinsScript.sh * add more tests to wls-srg * add more tests to wls-srg * add more tests to wls-srg * fix class name * address Pani's comments * update copyright * address Pani's comments * address Pani's comments * address Vanaja's comments * cleanup * address Pani's comments * address Pani's comments * address Vanaja's comments
create wls-srg profile for a minimal wko certification
Jenkins result:
https://build.weblogick8s.org:8443/job/wko-tmp/54/
integration test result:
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/8759/
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/8772/