fix links to samples (#28145)

* fix links to samples

* remove activator links to fsm-sample

* we are reducing the number of samples to maintain and since samples
  are mostly interesting for new users most of them will be based on
  Akka Typed
This commit is contained in:
Patrik Nordwall 2019-11-18 11:23:28 +02:00 committed by GitHub
parent 04f8ac9a0a
commit 7fe280b7b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 28 additions and 30 deletions

View file

@ -1061,9 +1061,7 @@ Java
: @@snip [ActorDocTest.java](/akka-docs/src/test/java/jdocs/actor/ActorDocTest.java) { #hot-swap-actor } : @@snip [ActorDocTest.java](/akka-docs/src/test/java/jdocs/actor/ActorDocTest.java) { #hot-swap-actor }
This variant of the `become` method is useful for many different things, This variant of the `become` method is useful for many different things,
such as to implement a Finite State Machine (FSM, for an example see @scala[[Dining such as to implement a Finite State Machine (FSM). It will replace the current behavior (i.e. the top of the behavior
Hakkers](http://www.lightbend.com/activator/template/akka-sample-fsm-scala)).] @java[[Dining
Hakkers](http://www.lightbend.com/activator/template/akka-sample-fsm-java-lambda)).] It will replace the current behavior (i.e. the top of the behavior
stack), which means that you do not use `unbecome`, instead always the stack), which means that you do not use `unbecome`, instead always the
next behavior is explicitly installed. next behavior is explicitly installed.

View file

@ -211,7 +211,7 @@ described in that section.
## Example project ## Example project
@extref[Cluster example project](samples:akka-sample-cluster-scala) @extref[Cluster example project](samples:akka-samples-cluster-scala)
is an example project that can be downloaded, and with instructions of how to run. is an example project that can be downloaded, and with instructions of how to run.
This project illustrates Cluster features and also includes Multi JVM Testing with the `sbt-multi-jvm` plugin. This project illustrates Cluster features and also includes Multi JVM Testing with the `sbt-multi-jvm` plugin.

View file

@ -350,8 +350,8 @@ TODO, not available yet.
## Example project ## Example project
@java[@extref[CQRS example project](samples:akka-sample-cqrs-java)] @java[@extref[CQRS example project](samples:akka-samples-cqrs-java)]
@scala[@extref[CQRS example project](samples:akka-sample-cqrs-scala)] @scala[@extref[CQRS example project](samples:akka-samples-cqrs-scala)]
is an example project that can be downloaded, and with instructions of how to run. is an example project that can be downloaded, and with instructions of how to run.
This project contains a Shopping Cart sample illustrating how to use Akka Persistence. This project contains a Shopping Cart sample illustrating how to use Akka Persistence.

View file

@ -13,8 +13,8 @@ messages as well as how to use the test module and logging.
## FSM ## FSM
@java[@extref[FSM example project](samples:akka-sample-fsm-java)] @java[@extref[FSM example project](samples:akka-samples-fsm-java)]
@scala[@extref[FSM example project](samples:akka-sample-fsm-scala)] @scala[@extref[FSM example project](samples:akka-samples-fsm-scala)]
This project contains a Dining Hakkers sample illustrating how to model a Finite State Machine (FSM) with actors. This project contains a Dining Hakkers sample illustrating how to model a Finite State Machine (FSM) with actors.
@ -31,29 +31,29 @@ It also includes Multi JVM Testing with the `sbt-multi-jvm` plugin.
## Distributed Data ## Distributed Data
@java[@extref[Distributed Data example project](samples:akka-sample-distributed-data-java)] @java[@extref[Distributed Data example project](samples:akka-samples-distributed-data-java)]
@scala[@extref[Distributed Data example project](samples:akka-sample-distributed-data-scala)] @scala[@extref[Distributed Data example project](samples:akka-samples-distributed-data-scala)]
This project contains several samples illustrating how to use Distributed Data. This project contains several samples illustrating how to use Distributed Data.
## Cluster Sharding ## Cluster Sharding
@java[@extref[Sharding example project](samples:akka-sample-sharding-java)] @java[@extref[Sharding example project](samples:akka-samples-cluster-sharding-java)]
@scala[@extref[Sharding example project](samples:akka-sample-sharding-scala)] @scala[@extref[Sharding example project](samples:akka-samples-cluster-sharding-scala)]
This project contains a KillrWeather sample illustrating how to use Cluster Sharding. This project contains a KillrWeather sample illustrating how to use Cluster Sharding.
## Persistence ## Persistence
@java[@extref[Persistence example project](samples:akka-sample-persistence-java)] @java[@extref[Persistence example project](samples:akka-samples-persistence-java)]
@scala[@extref[Persistence example project](samples:akka-sample-persistence-scala)] @scala[@extref[Persistence example project](samples:akka-samples-persistence-scala)]
This project contains a Shopping Cart sample illustrating how to use Akka Persistence. This project contains a Shopping Cart sample illustrating how to use Akka Persistence.
## CQRS ## CQRS
@java[@extref[CQRS example project](samples:akka-sample-cqrs-java)] @java[@extref[CQRS example project](samples:akka-samples-cqrs-java)]
@scala[@extref[CQRS example project](samples:akka-sample-cqrs-scala)] @scala[@extref[CQRS example project](samples:akka-samples-cqrs-scala)]
This project contains a Shopping Cart sample illustrating how to use Akka Persistence. This project contains a Shopping Cart sample illustrating how to use Akka Persistence.
The events are tagged to be consumed by even processors to build other representations The events are tagged to be consumed by even processors to build other representations
@ -61,8 +61,8 @@ from the events, or publish the events to other services.
## Multi-DC Persistence ## Multi-DC Persistence
@java[@extref[Multi-DC Persistence example project](samples:akka-sample-persistence-dc-java)] @java[@extref[Multi-DC Persistence example project](samples:akka-samples-persistence-dc-java)]
@scala[@extref[Multi-DC Persistence example project](samples:akka-sample-persistence-dc-scala)] @scala[@extref[Multi-DC Persistence example project](samples:akka-samples-persistence-dc-scala)]
Illustrates how to use Lightbend's [Multi-DC Persistence](https://doc.akka.io/docs/akka-enhancements/current/persistence-dc/index.html) Illustrates how to use Lightbend's [Multi-DC Persistence](https://doc.akka.io/docs/akka-enhancements/current/persistence-dc/index.html)
with active-active persistent entities across data centers. with active-active persistent entities across data centers.

View file

@ -411,8 +411,8 @@ One important configuration property is `number-of-shards` as described in @ref:
## Example project ## Example project
@java[@extref[Sharding example project](samples:akka-sample-sharding-java)] @java[@extref[Sharding example project](samples:akka-samples-cluster-sharding-java)]
@scala[@extref[Sharding example project](samples:akka-sample-sharding-scala)] @scala[@extref[Sharding example project](samples:akka-samples-cluster-sharding-scala)]
is an example project that can be downloaded, and with instructions of how to run. is an example project that can be downloaded, and with instructions of how to run.
This project contains a KillrWeather sample illustrating how to use Cluster Sharding. This project contains a KillrWeather sample illustrating how to use Cluster Sharding.

View file

@ -762,8 +762,8 @@ The `DistributedData` extension can be configured with the following properties:
## Example project ## Example project
@java[@extref[Distributed Data example project](samples:akka-sample-distributed-data-java)] @java[@extref[Distributed Data example project](samples:akka-samples-distributed-data-java)]
@scala[@extref[Distributed Data example project](samples:akka-sample-distributed-data-scala)] @scala[@extref[Distributed Data example project](samples:akka-samples-distributed-data-scala)]
is an example project that can be downloaded, and with instructions of how to run. is an example project that can be downloaded, and with instructions of how to run.
This project contains several samples illustrating how to use Distributed Data. This project contains several samples illustrating how to use Distributed Data.

View file

@ -47,8 +47,8 @@ To set state timeouts use `Behaviors.withTimers` along with a `startSingleTimer`
## Example project ## Example project
@java[@extref[FSM example project](samples:akka-sample-fsm-java)] @java[@extref[FSM example project](samples:akka-samples-fsm-java)]
@scala[@extref[FSM example project](samples:akka-sample-fsm-scala)] @scala[@extref[FSM example project](samples:akka-samples-fsm-scala)]
is an example project that can be downloaded, and with instructions of how to run. is an example project that can be downloaded, and with instructions of how to run.
This project contains a Dining Hakkers sample illustrating how to model a Finite State Machine (FSM) with actors. This project contains a Dining Hakkers sample illustrating how to model a Finite State Machine (FSM) with actors.

View file

@ -646,18 +646,18 @@ reference documentation of the chosen plugin.
## Example project ## Example project
@java[@extref[Persistence example project](samples:akka-sample-persistence-java)] @java[@extref[Persistence example project](samples:akka-samples-persistence-java)]
@scala[@extref[Persistence example project](samples:akka-sample-persistence-scala)] @scala[@extref[Persistence example project](samples:akka-samples-persistence-scala)]
is an example project that can be downloaded, and with instructions of how to run. is an example project that can be downloaded, and with instructions of how to run.
This project contains a Shopping Cart sample illustrating how to use Akka Persistence. This project contains a Shopping Cart sample illustrating how to use Akka Persistence.
The Shopping Cart sample is expanded further in the The Shopping Cart sample is expanded further in the
@java[@extref[CQRS example project](samples:akka-sample-cqrs-java)] @java[@extref[CQRS example project](samples:akka-samples-cqrs-java)]
@scala[@extref[CQRS example project](samples:akka-sample-cqrs-scala)] @scala[@extref[CQRS example project](samples:akka-samples-cqrs-scala)]
sample. In that sample the events are tagged to be consumed by even processors to build other representations sample. In that sample the events are tagged to be consumed by even processors to build other representations
from the events, or publish the events to other services. from the events, or publish the events to other services.
@java[@extref[Multi-DC Persistence example project](samples:akka-sample-persistence-dc-java)] @java[@extref[Multi-DC Persistence example project](samples:akka-samples-persistence-dc-java)]
@scala[@extref[Multi-DC Persistence example project](samples:akka-sample-persistence-dc-scala)] @scala[@extref[Multi-DC Persistence example project](samples:akka-samples-persistence-dc-scala)]
illustrates how to use Lightbend's [Multi-DC Persistence](https://doc.akka.io/docs/akka-enhancements/current/persistence-dc/index.html) illustrates how to use Lightbend's [Multi-DC Persistence](https://doc.akka.io/docs/akka-enhancements/current/persistence-dc/index.html)
with active-active persistent entities across data centers. with active-active persistent entities across data centers.