Setup a Milestone server connection

🟢 Beginner

milestone

This example show how setup a milestone server and show the connection status inside a value.

  • Configure a Milestone server connection using milestone.server with URL, username and password.

  • Expose the server connection status through a value.ospp file.

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

  1. Checkout milestone configuration.

  2. Replace properties inside server.milestone with your servers URL, username and password.

  3. Create a value.ospp that represent your server’s connection state :

{
    "name": "SUCCESS",
    "description": "Etat de la connexion",
    "type": "BOOLEAN"
}
  1. You can now access to your connection state inside the value.