- A docker-containerized micro-service for https://cyber-dojo.org.
- An HTTP Ruby Sinatra web service, offering a Group/Kata model+persistence API.
- A Kosli CI flow deploying, with Continuous Compliance, to staging and production AWS environments.
To build the images, bring up the containers, wait till they are alive and healthy, and run the tests:
$ ./build_test_publish.sh
Use: ./build_test_publish.sh [server|client] [ID...]
No options runs all server tests, then all client tests
Options:
server only run unit-tests from inside the server container
client only run integration-tests from inside the client container
ID... run only the tests matching the given IDs
-h|--help show this help
- POST group_create(manifest)
- GET group_exists?(id)
- POST group_join(id,indexes)
- GET group_joined(id)
- GET group_manifest(id)
- POST group_fork(id,index)
- POST kata_create(manifest)
- GET kata_exists?(id)
- GET kata_events(id)
- GET kata_event(id,index)
- GET katas_events(ids,indexes)
- GET kata_manifest(id)
- POST kata_ran_tests(id,index,files,stdout,stderr,status,summary)
- POST kata_predicted_right(id,index,files,stdout,stderr,status,summary)
- POST kata_predicted_wrong(id,index,files,stdout,stderr,status,summary)
- POST kata_reverted(id,index,files,stdout,stderr,status,summary)
- POST kata_checked_out(id,index,files,stdout,stderr,status,summary)
- GET kata_option_get(id,name)
- POST kata_option_set(id,name,value)
- POST kata_fork(id,index)