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

  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.