Skip to content
This repository was archived by the owner on Jun 26, 2024. It is now read-only.

Conversation

@ajm01
Copy link

@ajm01 ajm01 commented Aug 21, 2020

fixes #611

Motivation

Introduce a new sample scenario - java openliberty microservice jpa app using a CrunchyData PostgreSQL Operator managed db and the Service Binding Operator. Also shows the use of odo to create the SBR, the intermediate secret object and how to configure the CruncyData PostgreSQL CR.

Changes

added a readme document describing the process from start to finish.

Testing

n/a at this stage

For further more details refer the CONTRIBUTING.md

@openshift-ci-robot
Copy link
Collaborator

Hi @ajm01. Thanks for your PR.

I'm waiting for a redhat-developer member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@sbose78
Copy link
Member

sbose78 commented Aug 21, 2020

Thank you very much, Andrew, let me do a review :)

Copy link
Member

@sbose78 sbose78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comments :)

@sbose78
Copy link
Member

sbose78 commented Aug 21, 2020

/ok-to-test

@ajm01 ajm01 force-pushed the new-jpa-scenario branch 3 times, most recently from 54dc1d4 to 5badd43 Compare September 3, 2020 22:07
@ajm01
Copy link
Author

ajm01 commented Sep 11, 2020

Hi @sbose78 - i think I have covered all comments, if you want to look this over again. I have the referenced app src code updated to include a CRUD gui and it is merged into our sample repo now.

uid: e3ca87f2-0208-4b00-82bb-db4345f834dd
finalizers:
- finalizer.servicebindingrequest.openshift.io
spec:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were some API changes that got introduced with #608 . for eg, applicationselector to the application, backingServiceSelector to selectors. @ajm01 can you PTAL. :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Avni-Sharma Would that be a validation of master or are the changes available on operatorhub ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Validation of master and beta channel where we have the changes in 0.2.0-387 on operator-hub

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also , all the examples/ in the repo have the new APIs now

@ajm01 ajm01 force-pushed the new-jpa-scenario branch 2 times, most recently from 40dc554 to 63f2383 Compare September 25, 2020 19:39
@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Sep 25, 2020

@ajm01: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e 753084a link /test e2e

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@Avni-Sharma
Copy link
Contributor

/test 4.5-acceptance

```shell
kubectl get secret jpa-pgcluster-my-demo-db
NAME TYPE DATA AGE
jpa-pgcluster-my-demo-db Opaque 5 13m
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you print the contents of the secret please?

@pedjak
Copy link
Contributor

pedjak commented Oct 20, 2020

@ajm01 can you rework this PR to match the current API please?

@Avni-Sharma
Copy link
Contributor

@pedjak I think now, we need a rework for the API and annotations as well

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign isutton after the PR has been reviewed.
You can assign the PR to them by writing /assign @isutton in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ajm01 ajm01 force-pushed the new-jpa-scenario branch 2 times, most recently from 1b894df to 7c7ccd3 Compare November 18, 2020 15:56
@ajm01
Copy link
Author

ajm01 commented Nov 18, 2020

closing this PR for now due to its use of odo and the downlevel SBO. Will work to understand if the sample can be re-written to avoid the use of odo and make use of the latest updates to SBO and its annotation updates.

@ajm01 ajm01 closed this Nov 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Add sample for java-openliberty & CrunchyData Postgresql Operator

6 participants