Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

704 document quick start removal #728

Merged
merged 3 commits into from
Apr 14, 2020

Conversation

uberskigeek
Copy link
Contributor

@uberskigeek uberskigeek commented Mar 23, 2020

Checklist:

Modifying an existing stack:

  • Updated the stack version in stack.yaml

Contributing a new stack:

  • Describe how application dependencies are managed:

  • Explain how Appsody file watcher is utilized:

  • Describe other Appsody environment variables defined by the stack image:

  • Describe any limitations and known issues:

Related Issues:

@uberskigeek uberskigeek force-pushed the 704-document-quick-start-removal branch from 93d9097 to 96ef4ec Compare March 23, 2020 23:32
@uberskigeek
Copy link
Contributor Author

uberskigeek commented Mar 23, 2020

fixes #704

@@ -44,6 +44,11 @@ OpenAPI endpoints:
- http://localhost:9080/openapi (the RESTful APIs of the inventory service)
- http://localhost:9080/openapi/ui (Swagger UI of the deployed APIs)

### Quick start security
Copy link
Contributor

Choose a reason for hiding this comment

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

This is good.. but did you look at the java-openliberty stack ? Worth using the same doc? (Not saying that one's better).

@@ -23,6 +23,7 @@ RUN cd /project/user-app && mvn -B liberty:install-server
# Remove quick-start-security.xml since it is only needed during local development.
COPY ./user-app/src /project/user-app/src
RUN cd /project/user-app && \
echo "QUICK START SECURITY IS NOT SECURE FOR PRODUCTION ENVIRONMENTS. IT IS BEING REMOVED" \
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add this too to java-openliberty ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok I'll add it there.

@uberskigeek uberskigeek force-pushed the 704-document-quick-start-removal branch from 96ef4ec to 9b379a8 Compare April 9, 2020 14:42
@skoh7645 skoh7645 requested review from BarDweller, neeraj-laad and Emily-Jiang and removed request for BarDweller April 9, 2020 15:16
**src/main/liberty/config/configDropins/defaults/quick-start-security.xml**.

In order to lock down the production image built via `appsody build` this file is deleted during the Docker build of your application production image. (The same file would be deleted if you happened to create your own file at this location as well).

Copy link
Contributor

Choose a reason for hiding this comment

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

An instruction should be provided on how to provide userid and password to access the metrics endpoint.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This will be addressed by #750

@scottkurz scottkurz added the stack/java-openliberty Issues related to java-openliberty stack label Apr 9, 2020
scottkurz
scottkurz previously approved these changes Apr 9, 2020
Copy link
Contributor

@scottkurz scottkurz left a comment

Choose a reason for hiding this comment

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

LGTM

@scottkurz
Copy link
Contributor

@skoh7645 @Kamran64 we have one more when you get a chance.

This would be:

java-microprofile:

  • echo informational message about quick-start-security.xml during appsody build

java-openliberty:

  • echo informational message about quick-start-security.xml during appsody build
  • Update stack description.

Thank you again.

@skoh7645
Copy link
Collaborator

@uberskigeek @scottkurz This PR LGTM, but we need to split this PR to do releases for both the java-microprofile and java-openliberty stacks

@uberskigeek uberskigeek force-pushed the 704-document-quick-start-removal branch from 0c2b6eb to 605be40 Compare April 14, 2020 13:05
@uberskigeek
Copy link
Contributor Author

uberskigeek commented Apr 14, 2020

Split changes to Java-openliberty stack into separate pull request #759

Copy link
Collaborator

@skoh7645 skoh7645 left a comment

Choose a reason for hiding this comment

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

LGTM

@skoh7645 skoh7645 merged commit 12a23c6 into appsody:master Apr 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stack/java-openliberty Issues related to java-openliberty stack
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants