OpenLiberty / guide-liberty-deep-dive-gradle

An end-to-end tutorial on cloud-native Java application development and deployment using Jakarta EE, MicroProfile & Open Liberty.
https://openliberty.io/guides/liberty-deep-dive-gradle.html
Other
0 stars 3 forks source link

Post-Publishing tasks #6

Closed gkwan-ibm closed 1 year ago

gkwan-ibm commented 1 year ago

Post-Publishing Tests (Unice)

mbuamuh commented 1 year ago

Check appearance (contents, headings, paragraphs, code snippets, outputs, links) of the guide on openliberty.io

mbuamuh commented 1 year ago

test the start directory end-to-end

gkwan-ibm commented 1 year ago

@mbuamuh

https://openliberty.io/guides/liberty-deep-dive-gradle.html#enabling-configurable-ports-and-context-root: The URLs http://localhost:9081/trial/api/systems and http://localhost:9081/openapi/ui/ do not work. This is due to wrong port numbers and context root in the build.gradle file, in his section.

  • did you update the liberty.server.var... variables in the build.gradle?

@gkwan-ibm That works fine when i update the variables in the build.gradle. But the issue is when one clicks on the variable on the left side of the screen, the highlighted variable on the right side still shows the old values. For example instead of:

ext  {
    liberty.server.var.'default.http.port' = '9081'
    liberty.server.var.'default.https.port' = '9445'
    liberty.server.var.'default.context.root' = '/trial'
}

one sees:

ext  {
    liberty.server.var.'default.http.port' = '9080'
    liberty.server.var.'default.https.port' = '9443'
    liberty.server.var.'default.context.root' = '/inventory'
}
gkwan-ibm commented 1 year ago

@mbuamuh

https://openliberty.io/guides/liberty-deep-dive-gradle.html#providing-metrics:

gkwan-ibm commented 1 year ago

close