Hello, World!
The obligatory "Hello, World!", but it's a pretty cool design and implementation that you will really love. That's because it's a service that demonstrates the reactive platform components.
Last updated
$ curl -i -X GET http://localhost:18080/hello$ curl -i -X GET http://localhost:18080/hello/Me$ curl -i -X POST -H "Content-Type: application/json" -d '{"id":"","message":"Hey","messageChangedCount":"0","description":"Says Hey","descriptionChangedCount":"0" }' http://localhost:18080/greetingsHTTP/1.1 201 Created
Location: /greetings/242
Content-Length: 105
{"id":"242","message":"Hey","messageChangedCount":0,"description":"Says Hey","descriptionChangedCount":0}$ curl -i -X GET http://localhost:18080/greetings/242HTTP/1.1 200 OK
Content-Length: 105
{"id":"242","message":"Hey","messageChangedCount":0,"description":"Says Hey","descriptionChangedCount":0}$ curl -i -X PATCH -H "Content-Type: application/json" -d '{"value":"Yo"}' http://localhost:18080/greetings/242/messageHTTP/1.1 200 OK
Content-Length: 104
{"id":"242","message":"Yo","messageChangedCount":1,"description":"Says Hey","descriptionChangedCount":0}$ curl -i -X PATCH -H "Content-Type: application/json" -d '{"value":"Says Yo"}' http://localhost:18080/greetings/242/descriptionHTTP/1.1 200 OK
Content-Length: 103
{"id":"242","message":"Yo","messageChangedCount":1,"description":"Says Yo","descriptionChangedCount":1}io.vlingo.xoom.hello.Bootstrap
io.vlingo.xoom.hello.resource.GreetingResource
io.vlingo.xoom.hello.model.Greeting
io.vlingo.xoom.hello.model.GreetingEntity
io.vlingo.xoom.hello.model.GreetingState
io.vlingo.xoom.hello.infra.persistence.GreetingProjectionActor
io.vlingo.xoom.hello.infra.persistence.Queries
io.vlingo.xoom.hello.infra.persistence.QueriesActor
io.vlingo.xoom.hello.infra.persistence.* - lower-level persistence setup and storage access