-
Notifications
You must be signed in to change notification settings - Fork 89
Refactor getting started guide to use the sample spring-petclinic #1085
Refactor getting started guide to use the sample spring-petclinic #1085
Conversation
Skipping CI for Draft Pull Request. |
Codecov Report
@@ Coverage Diff @@
## master #1085 +/- ##
=======================================
Coverage 58.92% 58.92%
=======================================
Files 30 30
Lines 1670 1670
=======================================
Hits 984 984
Misses 560 560
Partials 126 126 Continue to review full report at Codecov.
|
f13fca7
to
664da34
Compare
664da34
to
b7e26c7
Compare
Rebased for fixed 4.10 acceptance tests (#1090) |
f27bcbe
to
80f0520
Compare
docs/userguide/modules/exposing-binding-data/pages/supported-operators.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/pages/petclinic-pgcluster.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/partials/connect-petclinic-postgresql.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/partials/deploy-db-pgcluster.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/partials/deploy-db-pgcluster.adoc
Outdated
Show resolved
Hide resolved
@Srivaralakshmi can you take a look as well? |
Also, please update the PR description and update Motivation part (current contains the placeholder text) |
docs/userguide/modules/getting-started/pages/petclinic-pgcluster.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/partials/connect-petclinic-pgcluster.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/partials/connect-petclinic-pgcluster.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/partials/connect-petclinic-pgcluster.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/partials/connect-petclinic-pgcluster.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/partials/connect-petclinic-pgcluster.adoc
Outdated
Show resolved
Hide resolved
Hi, @pmacik: I have only reviewed 50% of the content. I am stopping now, as there are multiple files with the same content (for pgcluster and PostgreSQL). It is becoming very confusing for me to review as there is no preview. So stopping for now. Hope we can meet sometime today and discuss. |
0388d46
to
d56e8b2
Compare
Rebased on latest |
/retest |
1 similar comment
/retest |
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.
Hi, @pmacik: Nice work. Thanks for incorporating the comments. I have left some minor suggestions. Otherwise, LGTM. Thanks!
docs/userguide/modules/getting-started/pages/petclinic-pgcluster.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/partials/common-prerequisities.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/partials/connecting-petclinic-db.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/partials/petclinic-db.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/partials/petclinic-db.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/partials/creating-db-pgcluster.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/partials/creating-db-postgresql.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/partials/creating-db-postgresql.adoc
Outdated
Show resolved
Hide resolved
docs/userguide/modules/getting-started/partials/deploying-application.adoc
Outdated
Show resolved
Hide resolved
/retest |
0efff16
to
777add4
Compare
@Srivaralakshmi I've addressed all the review comments. Thank you for all your feedback! |
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.
Thanks, @pmacik for your patience and time, LGTM :)
/lgtm |
@Srivaralakshmi: changing LGTM is restricted to collaborators In response to this:
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. |
@pmacik IMHO this PR should contain also an acceptance tests verifying that documented quick start scenario works. This would enable catching regressions and mismatch between the doc and the user experience. |
That's the plan, I wanted to finalize the quickstart before the acceptance testing - working on it. |
4ca581b
to
73e3aac
Compare
Included acceptance tests to verify the quickstart scenarios |
/retest |
application. Signed-off-by: Pavel Macík <[email protected]>
73e3aac
to
82bdc83
Compare
/retest |
|
||
[IMPORTANT] | ||
==== | ||
The `Deployment` resource of the database has a couple of annotations set in the `.metadata.annotations` section: |
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.
The `Deployment` resource of the database has a couple of annotations set in the `.metadata.annotations` section: | |
The `Deployment` resource of the database has few annotations set in the `.metadata.annotations` section: |
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.
It is actually: The Deployment
resource of the database has a few annotations set in the .metadata.annotations
section:
It is a minor comment. Considering that this is the only comment that is pending and I am also working on a PR for the upstream content, if it helps, I can make this change along with my work. But this will take some time as I am working on the QSG content for OCP docs. I hope that is ok. @pmacik I may need your help if I run into errors during acceptance tests.
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
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: baijum The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Motivation
Current quick start uses only REST API server part of the Spring Petclinic as an application and Crunchy Postgresql Operator backed DB. It has couple of UX issues.
The current application:
kubectl port-forward
andcurl
command to send requests to the application's API server and analyze responses for accessing and verifying that the application works as expectedThe current database:
x86_64
architectures, which excludes all users on alternative architecturesChanges
This PR:
Deployment
of multi-archpostgres
imageDeployment
of multi-arch image of Spring Petclinic including UITesting
Docs
Run
make site
to generate a preview and openout/site/userguide/getting-started/quick-start.html
Scenarios
Run included acceptance tests (tagged
@getting-started
).