Skip to content

Commit

Permalink
Merge pull request #164 from OpenLiberty/qa
Browse files Browse the repository at this point in the history
Merge qa to master: Update README.adoc (#163)
  • Loading branch information
gkwan-ibm authored Mar 29, 2021
2 parents fae0116 + 7a99d3b commit 16ca643
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,23 @@ The `system` service is accessible at the http://localhost:9080/system/propertie
The `inventory` microservice makes a request to the `system` microservice and
stores the system property information.
To fetch and store your system information, enter the http://localhost:9080/inventory/systems/localhost[http://localhost:9080/inventory/systems/localhost^] URL into your browser.

// static guide instructions:
ifndef::cloud-hosted[]
You can also use the `\http://localhost:9080/inventory/systems/{your_hostname}` URL. In Windows,
MacOS, and Linux, get your fully qualified domain name (FQDN) by entering
`hostname` into your command-line. Visit the URL by replacing `{your_hostname}`
with your FQDN.
endif::[]

// cloud-hosted guide instructions:
ifdef::cloud-hosted[]
You can also use the **http://localhost:9080/inventory/systems/{your_hostname}** URL. In Windows,
MacOS, and Linux, get your fully qualified domain name (FQDN) by entering
**hostname** into your command-line. Visit the URL by replacing **{your_hostname}**
with your FQDN.
endif::[]


[role=command]
include::{common-includes}/twyb-end.adoc[]
Expand Down Expand Up @@ -272,10 +285,17 @@ include::{common-includes}/devmode-build.adoc[]

When the server is running, select either approach to fetch your system properties:

* Visit the http://localhost:9080/inventory/systems/localhost[http://localhost:9080/inventory/systems/localhost^] URL. The URL retrieves the system property information for the `localhost` host name by making a request to the `system` service at http://localhost:9080/system/properties[http://localhost:9080/system/properties^].
* Visit the http://localhost:9080/inventory/systems/localhost[http://localhost:9080/inventory/systems/localhost^] URL. The URL retrieves the system property information for the `localhost` host name by making a request to the `system` service at `\http://localhost:9080/system/properties`.

* Get your FQDN first. Then, visit the \http://localhost:9080/inventory/systems/{your_hostname} URL by replacing `{your_hostname}` with your FQDN, which retrieves your system properties by invoking the \http://{your_hostname}:9080/system/properties service.
// static guide instructions:
ifndef::cloud-hosted[]
* Get your FQDN first. Then, visit the `\http://localhost:9080/inventory/systems/{your_hostname}` URL by replacing `{your_hostname}` with your FQDN, which retrieves your system properties by making a request to the `system` service at `\http://{your_hostname}:9080/system/properties`.
endif::[]

// cloud-hosted guide instructions:
ifdef::cloud-hosted[]
Or, get your FQDN first. Then, visit the **http://localhost:9080/inventory/systems/{your_hostname}** URL by replacing **{your_hostname}** with your FQDN, which retrieves your system properties by making a request to the **system** service at **http://{your_hostname}:9080/system/properties**.
endif::[]

// =================================================================================================
// Testing the application
Expand Down

0 comments on commit 16ca643

Please sign in to comment.