The packages in this directory are example illustrating how to use
Shisa.
Architecture
Services
gw - A Shisa implemenation talking to the rest and rpc services.
rest - A "legacy" RESTful web service implementing the "Goodbye" service
rpc - A "modern" RPC service implementing the "Hello" service
idp - An Identity Provider service used by the other services.
Building
To build all the service program files run the following from the
project root:
make examples
Running
Each service must run on a unique port or on a separate (virtual)
machine. To run on a single host, run the following commands from the
project root. Adjust the port numbers (or addreses) as needed to suit
your environment.
The healthcheck and debug endpoints require authentication by the
"admin" user: Admin:password. The api/greeting and api/farewell
endpoints can be accessed by the "admin" user or Boss:password.