Setup a Milestone server connection
This example show how setup a milestone server and show the connection status inside a value.
Configure a Milestone server connection using
milestone.serverwith URL, username and password.Expose the server connection status through a
value.osppfile.
git checkout origin/osp-milestone-configuration .
git checkout origin/example-milestone-connect-to-server .
Learning goals
How to setup a connection to a Milestone server using
milestone.server.How to setup a value that contains server’s status in a
value.ospp
Steps
Checkout milestone configuration.
Replace properties inside
server.milestonewith your servers URL, username and password.Create a
value.osppthat represent your server’s connection state :
{
"name": "SUCCESS",
"description": "Etat de la connexion",
"type": "BOOLEAN"
}
You can now access to your connection state inside the value.