Installation and deployment
Last updated
Last updated
This chapter describes how to build and run SLAM. The prefered method is running the SLAM from docker file.
In order to build the project download the source code from the GitHub repository:
To compile project use maven running the following command:
In order to run unit test suite run:
In order to generate test coverage report run :
In order to run stylechecks call:
SLAM is based on the so in order to run the application simply call:
Appliaction should be available under following link
In order to run SLAM there is a need for a running instances of MySQL and MongoDB this documentation should be improved at this place
If you want SLAM to be running in development mode simply activate Spring Boot development profile.
Important notice - in the current state the application should be started in development mode in order to be running, due to incomplete AII integration.
Development profile run:
You need to set CMDB_URL variable in order to find point CMDB instance.
You need to set IAM_URL, IAM_TOKEN_URL and IAM_AUTHORIZE_URL variables in order to find point IAM instance.
example of docker command:
PROVIDER_EMAIL is used to recognise the person that has a right to act as infrastructure provider (for all providers) and have possibility to see SLAs requests, negotiate and accept SLAs
IAM_TOKEN_URL -- _URL for IAM service tokens, usually IAM_URL/token
IAM_AUTHORIZE_URL -- _URL for IAM authorization service, usually IAM_URL/authorize
IAM_URL -- main URL for IAM service
CERT_FILE -- certificate file that should be added to keystore (to be main cert for the site)
There are two ways to add certificate:
Directly adding the cert To add a certificate you can add the following options to docker run command:
Certificate is imported to java keystore, so it understands all certificate formats that keytool understands:
Providing custom keystore There is a standard java keystone used in the SLAM. In case you want to replace it by a keystone customized to your need you can add the following options to docker run command:
As long as not stated differently in the release, upgrade procedure require only to replace SLAM WEB APP with the new version.
Docker repository link:
SLAM takes configuration data from INDIGO-CMDB (, such us: providers, services and users responsible for specific scope.
INDIGO-IAM ( is a source of authentication and the only method to log in to the service. Authorisation is done based on e-mail attribute taken from INDIGO-IAM and configuration data from CMDB.
keytool can import X.509 v1, v2, and v3 certificates, and PKCS#7 formatted certificate chains consisting of certificates of that type. The data to be imported must be provided either in binary encoding format, or in printable encoding format (also known as Base64 encoding) as defined by the. In the latter case, the encoding must be bounded at the beginning by a string that starts with "-----BEGIN", and bounded at the end by a string that starts with "-----END". (more info here: