This is the repository housing the codebase for sensiflow's web api.
PORT
- the port to run the server on
JDBC_DATABASE_URL
- the url to the database containing the authentication information
SECURE
- whether to use SSL or notKEYSTORE_PATH
- the path to the keystoreKEY_STORE_PASSWORD
- the password to the keystoreSSL_KEY_PASSWORD
- the password to the key in the keystore
RABBITMQ_HOST
- the host of the rabbitmq serverRABBITMQ_PORT
- the port of the rabbitmq serverRABBITMQ_USERNAME
- the username to the rabbitmq serverRABBITMQ_PASSWORD
- the password to the rabbitmq serverRABBITMQ_QUEUE
- the default queue to listen toINSTANCE_CTL_QUEUE
- the queue to send instance control messages toINSTANCE_ACK_DEVICE_STATE_QUEUE
- the queue to send instance ack device state messages toINSTANCE_ACK_SCHEDULER_NOTIFICATION_QUEUE
- the queue to send instance ack scheduler notification messages to
To use SSL, a keystore must be provided by providing its path and its password using the Environment variables above and the variable SECURE must be set to true Keep in mind that the keystore type must be PKCS12. The server port will be the same as the Environment variable PORT if it is set, otherwise it will be 8090.