Closed TiagoTAlves closed 1 year ago
Ideally, I'd like to have the schema's official copy in the microservices repo along side the code that's using it. That way if the usage changes it is easy to update both at once.
Both run number and run registry work as expected now. Will give a series of tests for reviewers to make sure everything works
To Test:
Run pocket with only run services $ SERVICES=runserv make setup.local
(If kubectl does not work dont forget to use eval $(make env)
)
Wait for all pods to load, you can check status with $ kubectl get pods -A
Test to see if database is working as expected using some curl commands:
RunRegistry
$ curl -u fooUsr:barPass -X GET np04-srv-019:30005/runregistry/getRunMeta/2
$ curl -u fooUsr:barPass -X GET -O -J np04-srv-019:30005/runregistry/getRunBlob/2
RunNumber:
$ curl -u fooUsr:barPass http://np04-srv-019:30006/runnumber/get
$ curl -u fooUsr:barPass http://np04-srv-019:30006/runnumber/get
Pods intialise as we expect but run services (both run registry and run number) database does not work