This is a very simple web application that demonstrates how PolicyModels Server's API can be used. It allows users to see what models are available, obtain models and version metadata, and request an interviews.
This application is intended as a reference for people who need to write client software that integrates with a PolicyModels Server.
You'll need:
- Java 11 or later.
- SBT
- A running PolicyModels Server running somewhere it can post back to this app (easy option: on the same computer).
- The code here, downloaded to your computer.
- Run this application:
- Using a terminal, navigate to the
samplepomosclientapp
folder in the downloaded repo. - Type
sbt
. SBT loads the project and may initialize some data, this may take a while. - Type
run -Dplay.server.http.port=9001
. This runs the application locally, on port 9001. - Navigate to http://localhost:9001 using your browser.
- Using a terminal, navigate to the
Controls and console:
Interview request UI