Setup a Milestone server connection¶
Description¶
This example show how setup a milestone server and show the connection status inside a value.
Prerequisites¶
Modules
Checkout branches
git checkout origin/osp-milestone-configuration .
Note
The complete example can be checkout from any onsphere stack
git checkout origin/example-milestone-connect-to-server .
Objectives¶
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.milestone
with your servers URL, username and password.Create a
value.ospp
that 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.