Skip to content

Commit 8fd7bbd

Browse files
Ondro MihályiMattGill98
Ondro Mihályi
authored andcommitted
Update paths according to previous renaming (#112)
1 parent c42f76b commit 8fd7bbd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

javaee/jcache/jcache-rest/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ The example uses the standard JCache annotations to retrieve and store data into
55

66
Deploy onto Payara Micro using
77
```shell
8-
java -jar payara-micro.jar --autoBindHttp --deploy rest-jcache-1.0-SNAPSHOT.war
8+
java -jar payara-micro.jar --autoBindHttp --deploy jcache-rest-1.0-SNAPSHOT.war
99
```
1010

1111
Once deployed on Payara Micro test insert data using;
1212

1313
```shell
14-
curl -H "Accept: application/json" -H "Content-Type: application/json" -X PUT -d "{data}" http://127.0.0.1:8080/rest-jcache-1.0-SNAPSHOT/webresources/cache?key=test
14+
curl -H "Accept: application/json" -H "Content-Type: application/json" -X PUT -d "{data}" http://127.0.0.1:8080/jcache-rest-1.0-SNAPSHOT/webresources/cache?key=test
1515
```
1616

1717
Retrieve data using
1818
```shell
19-
curl http://127.0.0.1:8080/rest-jcache-1.0-SNAPSHOT/webresources/cache?key=test
19+
curl http://127.0.0.1:8080/jcache-rest-1.0-SNAPSHOT/webresources/cache?key=test
2020
```
2121

22-
Also run a number of Payara Micro nodes and retrieve the same key from each and you should receive the same data as the cache is shared across all the Payara Micro instances
22+
Also run a number of Payara Micro nodes and retrieve the same key from each and you should receive the same data as the cache is shared across all the Payara Micro instances

0 commit comments

Comments
 (0)