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
Copy file name to clipboardExpand all lines: samples/java-valueentity-shopping-cart/README.md
+15-10Lines changed: 15 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,11 @@ This example project implements an API for a shopping cart using an Akka Serverl
4
4
5
5
## See also
6
6
7
-
* designing - while designing your service it is useful to read [designing services](https://developer.lightbend.com/docs/akka-serverless/designing/index.html)
8
-
* developing - it may be useful to read up on [developing services](https://developer.lightbend.com/docs/akka-serverless/developing/index.html) and in particular the [Java section](https://developer.lightbend.com/docs/akka-serverless/java-services/index.html)
7
+
* designing - while designing your service it is useful to
on [developing services](https://developer.lightbend.com/docs/akka-serverless/developing/index.html) and in particular
11
+
the [Java section](https://developer.lightbend.com/docs/akka-serverless/java/index.html)
9
12
10
13
## Building
11
14
@@ -15,13 +18,12 @@ To build, at a minimum you need to generate and process sources, particularly wh
15
18
mvn compile
16
19
```
17
20
18
-
19
21
## Running Locally
20
22
21
-
In order to run your application locally, you must run the Akka Serverless proxy. The included `docker-compose` file contains the configuration required to run the proxy for a locally running application.
22
-
It also contains the configuration to start a local Google Pub/Sub emulator that the Akka Serverless proxy will connect to.
23
-
To start the proxy, run the following command from this directory:
24
-
23
+
In order to run your application locally, you must run the Akka Serverless proxy. The included `docker-compose` file
24
+
contains the configuration required to run the proxy for a locally running application. It also contains the
25
+
configuration to start a local Google Pub/Sub emulator that the Akka Serverless proxy will connect to. To start the
26
+
proxy, run the following command from this directory:
25
27
26
28
```shell
27
29
docker-compose up
@@ -40,7 +42,10 @@ To start the application locally, the `exec-maven-plugin` is used. Use the follo
40
42
mvn compile exec:java
41
43
```
42
44
43
-
With both the proxy and your application running, any defined endpoints should be available at `http://localhost:9000`. In addition to the defined gRPC interface, each method has a corresponding HTTP endpoint. Unless configured otherwise (see [Transcoding HTTP](https://docs.lbcs.dev/js-services/proto.html#_transcoding_http)), this endpoint accepts POST requests at the path `/[package].[entity name]/[method]`. For example, using `curl`:
45
+
With both the proxy and your application running, any defined endpoints should be available at `http://localhost:9000`.
46
+
In addition to the defined gRPC interface, each method has a corresponding HTTP endpoint. Unless configured otherwise (
47
+
see [Transcoding HTTP](https://developer.lightbend.com/docs/akka-serverless/java/proto.html#_transcoding_http)), this endpoint accepts POST
48
+
requests at the path `/[package].[entity name]/[method]`. For example, using `curl`:
Copy file name to clipboardExpand all lines: samples/valueentity-counter/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ mvn archetype:generate \
9
9
-DarchetypeVersion=LATEST
10
10
```
11
11
12
-
See the [Kickstart a Maven project](https://developer.lightbend.com/docs/akka-serverless/java-services/kickstart.html) in the documentation for details.
12
+
See the [Kickstart a Maven project](https://developer.lightbend.com/docs/akka-serverless/java/kickstart.html) in the documentation for details.
0 commit comments