Skip to content

awconstable/changeservice

Repository files navigation

changeservice

A change repository to measure team performance

CircleCI CodeQL codecov Libraries.io dependency status for GitHub repo dockerhub

Limitations

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

Run app as a Docker container

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

Example deployment

  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"
  }]

About

A Change Request Service to store change requests and calculate Change Failure Rate

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors