Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Stateful services can implement https://developer.lightbend.com/docs/akka-server
Actions are stateless functions that can be triggered by gRPC or HTTP calls. They can also subscribe to published events, and they can send commands to other services based on the events they receive. For more information about writing actions see xref:java:actions.adoc[Implementing Actions].

=== Entities
Stateful services ecapsulate business logic in Value Entities or Event Sourced Entities. At runtime, command messages invoke operations on Entities. A command may only act on one Entity at a time.
Stateful services encapsulate business logic in Value Entities or Event Sourced Entities. At runtime, command messages invoke operations on Entities. A command may only act on one Entity at a time.


TIP: To learn more about Akka Serverless entities see xref:java:value-entity.adoc[Implement a Value Entity] and xref:java:eventsourced.adoc[Implement an Event Sourced Entity].
Expand All @@ -58,7 +58,7 @@ For more details and examples take a look at the following topics:
[#_create_unit_tests]
== Create unit tests

It is good practice to write unit tests as you implement your services. The kickstart codegen project inludes hooks for JUnit testing. For implemention details see the xref:java:kickstart.adoc#_3_create_unit_tests[Java kickstart - Create unit tests] topic.
It is good practice to write unit tests as you implement your services. The kickstart codegen project includes hooks for JUnit testing. For implementation details see the xref:java:kickstart.adoc#_3_create_unit_tests[Java kickstart - Create unit tests] topic.

[#_package_service]
== Package service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,14 @@ ERROR:
Message: The command handler for `GetCurrentCounter` is not implemented, yet
```

> Note: The failure is to be expected if you have not yet provided an implementation of `GetCurrentCounter` in
> your entity.
> Note: The failure is to be expected if you have not yet provided an implementation of `GetCurrentCounter` in your entity.


## Deploying

To deploy your service, install the `akkasls` CLI as documented in
[Setting up a local development environment](https://developer.lightbend.com/docs/akka-serverless/getting-started/set-up-development-env.html)
and configure a Docker Registry to upload your docker image to.
and configure a Docker Registry for your container image.

You will need to update the `akkasls.dockerImage` property in the `pom.xml` and refer to
[Configuring registries](https://developer.lightbend.com/docs/akka-serverless/deploying/registries.html)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ It also contains the configuration to start a local Google Pub/Sub emulator that
== Pre-requisites

* Docker {minimum_docker_version} or higher installed and accessible on your local computer
* Access to the `gcr.io/akkaserverless-public` docker registry from your local computer
* Access to the `gcr.io/akkaserverless-public` Docker registry from your local computer
* Your service container image.

== Starting the service
Expand Down