@@ -84,7 +84,7 @@ ifdef::cloud-hosted[]
8484Open another command-line session by selecting **Terminal** > **New Terminal** from the menu of the IDE.
8585To access the **inventory** service with a localhost hostname, run the following curl command:
8686```
87- curl http://localhost:9080/inventory/systems/localhost
87+ curl -s http://localhost:9080/inventory/systems/localhost | jq
8888```
8989{: codeblock}
9090
@@ -139,7 +139,7 @@ ifdef::cloud-hosted[]
139139You do not need to restart the server.
140140Next, run the following curl command:
141141```
142- curl http://localhost:9080/inventory/systems/localhost
142+ curl -s http://localhost:9080/inventory/systems/localhost | jq
143143```
144144{: codeblock}
145145
@@ -240,7 +240,7 @@ in the [hotspot file=2]`SystemClient.java` class.
240240You will look into the `InventoryManager` class in more detail in the next section.
241241
242242SystemResource.java
243- [source, java, linenums, role='code_column hide_tags=copyright tags=503_response']
243+ [source, java, linenums, role='code_column tags=503_response hide_tags=copyright ']
244244----
245245include::finish/src/main/java/io/openliberty/guides/system/SystemResource.java[]
246246----
@@ -252,7 +252,7 @@ include::finish/resources/CustomConfigSource.json[]
252252----
253253
254254SystemClient.java
255- [source, java, linenums, role='code_column hide_tags=copyright tags=client']
255+ [source, java, linenums, role='code_column tags=client hide_tags=copyright ']
256256----
257257include::finish/src/main/java/io/openliberty/guides/inventory/client/SystemClient.java[]
258258----
@@ -356,15 +356,15 @@ endif::[]
356356ifdef::cloud-hosted[]
357357When the server is running, run the following curl command:
358358```
359- curl http://localhost:9080/inventory/systems/localhost
359+ curl -s http://localhost:9080/inventory/systems/localhost | jq
360360```
361361{: codeblock}
362362
363363You receive the system properties of your local JVM from the **inventory** service.
364364
365365Next, run the following curl command which accesses the **system** service, to retrieve the system properties for the specific localhost:
366366```
367- curl http://localhost:9080/system/properties
367+ curl -s http://localhost:9080/system/properties | jq
368368```
369369{: codeblock}
370370
@@ -445,7 +445,7 @@ endif::[]
445445ifdef::cloud-hosted[]
446446After saving the file, run the following curl command to view the cached version of the properties:
447447```
448- curl http://localhost:9080/inventory/systems/localhost
448+ curl -s http://localhost:9080/inventory/systems/localhost | jq
449449```
450450{: codeblock}
451451
0 commit comments