To upload the file sonata-demo.son (from son-schema repo) do:
curl -i -X POST -F file=@sonata-demo.son http://127.0.0.1:8000/api/packagesTo list all uploaded packages do:
curl http://127.0.0.1:8000/api/packagesTo instantiate (start) a service do:
curl -X POST http://127.0.0.1:8000/api/instantiations -d "{\"service_uuid\":\"59446b64-f941-40a8-b511-effb0512c21b\"}"To list all running services do:
curl http://127.0.0.1:8000/api/instantiationsThis page describes the dummy gatekeeper API. This gatekeeper fakes the original platform gatekeeper during development SDK tools like son-push.
It is also able to deploy our example service package (not any arbitrary service package!) in the emulator for the Y1 demo.
Note: This API should converge to the API of the original GK as much as possible!
sudo python src/emuvim/examples/sonata_y1_demo_topology_1.pysudo python src/emuvim/api/sonata/dummygatekeeper.py