Skip to content

Commit 4db85a9

Browse files
sophiegreenGitHub Enterprise
authored andcommitted
Update README.md
1 parent d1408ed commit 4db85a9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cics-java-liberty-restapp/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Sample RESTful web application for deployment to a Liberty JVM server in CICS. T
88
1. `InfoResource` - This queries the JVM server environment using system properties and uses JAXB beans to return a JSON response detailing the CICS environment.
99
1. `ReverseResource` - This is similar to `InfoResource`, but uses the JCICSX API to link to the COBOL program `EDUCHAN` using channels and containers. An input string is passed to `EDUCHAN`, which is then reversed and returned, along with the time from CICS.
1010

11-
The following Java source components are supplied in the [`src/Java`](src/Java) directory in this repository.
11+
The following Java source components are supplied in the [`src/main/java`](src/main/java) directory in this repository.
1212

1313
## Java package com.ibm.cicsdev.restapp
1414
* [`CICSApplication`](src/main/java/com/ibm/cicsdev/restapp/CICSApplication.java) - Sets the `ApplicationPath` for resources in this application
@@ -59,22 +59,22 @@ You can then view the web server `http://yourcicsurl.com:9080/cics-java-liberty-
5959

6060
#### Using a web browser you can issue the following HTTP GET requests
6161

62-
* http://yourcicsurl.com:9080/cics-java-liberty-restapp-0.0.1-SNAPSHOT/cicsinfo
62+
* http://host:port/cics-java-liberty-restapp-0.0.1-SNAPSHOT/cicsinfo
6363

6464
This will invoke the `InfoResource` class and return the following JSON response with information about the target CICS system:
6565

6666
`{"applid":"IYK2Z32E","jvmServer":"DFHWLP","time":"2016-09-09T16:19:55.384Z","cicsEnvironment":{"cicsProduct":"CICS Transaction Server for z/OS","cicsVersion":"5.3.0"}}`
6767

6868

69-
* http://yourcicsurl.com:9080/cics-java-liberty-restapp-0.0.1-SNAPSHOT/
69+
* http://host:port/cics-java-liberty-restapp-0.0.1-SNAPSHOT/
7070

7171
This will invoke the `ReverseResource` class which links to the CICS COBOL program and reverses the default string "Hello from Java" returning the following JSON response:
7272

7373
`{"time":"2016-09-09T16:15:52.756Z","original":"Hello from Java","reverse":"avaJ morf olleH","truncated":false}`
7474

7575

76-
* http://yourcicsurl.com:9080/cics-java-liberty-restapp-0.0.1-SNAPSHOT/ilovecics
76+
* http://host:port/cics-java-liberty-restapp-0.0.1-SNAPSHOT/ilovecics
7777

7878
This will invoke the `ReverseResource` class which links to the CICS COBOL program reversing the input string "ilovecics" as follows:
7979

80-
`{"time":"2016-09-09T16:15:32.466Z","original":"ilovecics","reverse":"scicevoli","truncated":false}`
80+
`{"time":"2016-09-09T16:15:32.466Z","original":"ilovecics","reverse":"scicevoli","truncated":false}`

0 commit comments

Comments
 (0)