Skip to content

Demos the Akka Java SDK multi-region capabilities

Notifications You must be signed in to change notification settings

TylerJewell/multi-region-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multi-region-demo

Run Locally

mvn compile exec:java

Ctrl+C to stop.

Run Gatling

mvn gatling:test

Change Gatling Hostname

The Gatling simulation defaults to running the app locally.

Use the following to change Gatling to the app running on the platform:

mvn gatling:test -DbaseUrl=http://the-platform-url

TODO provide CLI to obtain the platform URL

View Gatling Report After Test Run

At the conclusion of a Gatling test the following message is given that provides the location of the test run report.

Reports generated, please open the following file: file:///.../index.html

Copy the URL to view in a browser or view in an IDE.

Create and view data using scripts

Two scripts are included in this project for creating and viewing user entities.

Use the create-user.sh script to create a user.

./bin/create-user.sh user456 user456 user456.example.com

The script takes three parameters: userId, name, and email.

Use the get-user,sh script to view existing user entities.

./bin/get-user.sh user456

About

Demos the Akka Java SDK multi-region capabilities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 93.3%
  • Shell 6.7%