Store inway and outway version in use per environment
User story
As a maintainer
I want to store the versions of inways and outways per environment
so that I can make better decisions about release management and communicate about them
(Test) scenarios
Title
Given an inway
When the inway registers itself
Then the inway will send the version to the directory and that is stored in the database
Given an outway
When the outway fetches the inways from the directory
Then the outway will send the version to the directory and that is stored in the database
Given the /stats endpoint
When the /stats endpoint is requested
Then the raw data is returned to the client
- all inways and outways in demo, pre-prod and prod are added
- there must be an endpoint which is used to get the version info
- for the inway we move the inspection of the version from the monitor to the registration
- for the outway we add it as parameter in the request to the directory
- we store both versions in the directory for the inways, we add the version of the outways in a new table
- add /stats endpoint to the inspection api. use this endpoint to add stats to the database and pull data to display/mine OR use influx idea
Edited by Edward