A change repository to measure team performance
This application is a proof of concept, it is not production ready. A non-exhaustive list of known limitations:
- No security whatsoever - anonymous users can easily delete or alter all data
See docker-library/openjdk#135 as to why spring.boot.mongodb.. env vars don't work
docker stop changeservice
docker rm changeservice
docker pull awconstable/changeservice
docker run --name changeservice -d -p 8080:8080 --network <mongo network> -e spring_data_mongodb_host=<mongo host> -e spring_data_mongodb_port=<mongo port> -e spring_data_mongodb_database=<mondo db> -e server_ssl_key-store-type=<keystore type - PKCS12> -e server_ssl_key-store=/changeservice.p12 -e server_ssl_key-store-password=<password> -e server_ssl_key-alias=<alias> -e spring_cloud_consul_host=<consul host> -e spring_cloud_consul_port=<consul port> -v <cert path>:/changeservice.p12 awconstable/changeservice:latest
POST http://localhost:8088/api/v1/change
Accept: application/json
Cache-Control: no-cache
Content-Type: application/json
[{
"changeRequestId": "c1",
"description": "change c1",
"applicationId": "a1",
"created": "2020-11-30T13:00:00.000+00:00",
"started": "2020-11-30T13:00:00.000+00:00",
"finished": "2020-11-30T13:00:00.000+00:00",
"closed": "2020-11-30T13:00:00.000+00:00",
"failed": false,
"source": "test"
}]