You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ To install the sample through Liberty configuration
46
46
3. Replace the Liberty configuration file `server.xml` or update elements featureManager, safRegistry and application using [server.xml](etc/config/server.xml) as a basis.
47
47
4. Install a JVMSERVER resource in the CICS region.
48
48
49
-
**Note:**JVMSERVER autoconfigure will configure the JVM server with the necessary elements in server.xml. Ensure autoconfigure is enabled in the JVM profile of the JVMSERVER used to run this sample.
49
+
**Note:**JVM server autoconfigure will configure the JVM server with the necessary elements in server.xml. Ensure autoconfigure is enabled in the JVM profile of the JVMSERVER used to run this sample.
50
50
51
51
If the sample is correctly deployed, you should see the following messages in the Liberty logs:
52
52
@@ -56,7 +56,7 @@ A CWWKT0016I: Web application available (default_host): http://mvs.example.ibm.c
56
56
A CWWKT0016I: Web application available (default_host): http://mvs.example.ibm.com:9080/stock/
57
57
```
58
58
59
-
If you use CICS bundle deployment, you will also need to define a RACF profile for users to access the stock REST API, where WEBUSER is the authenticated user ID.
59
+
If you use CICS bundle deployment, you will also need to define a RACF EJBROLE profile for users to access the stock REST API which is protected by the Administrator role.
@@ -91,17 +91,17 @@ You can use this request using the command line tool cURL, replacing <hostname>,
91
91
curl <hostname>:<port>/stock/api/items/ -X POST -d '{ "name": "CICS TS for z/OS", "stock": 2 }' -H 'Content-Type: application/json' --user <WEBUSER>
92
92
```
93
93
94
-
**Note:** We use HTTP BASIC authentication in this example but other forms of authentiation could be used.
94
+
**Note:** We use HTTP BASIC authentication in this example but other forms of authentiation could be used.
95
95
96
96
97
-
Once one or more items have been created, you can then use a browser to navigate to http://<hostname>:<port>/shop/ and use the shop via the CartBean. There is no role protecting
98
-
the CartBean so these HTTP requests do not need to be authenticated.
97
+
Once one or more items have been created, you can then use a browser to navigate to http://hostname:port/shop/ and use the shop via the CartBean. There is no role protecting
98
+
the CartBean so these requests do not need to be authenticated.
99
99
100
100
More stock can be added to an item through the following HTTP request (in this case we update item with the ID `1`):
0 commit comments