THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Run Eagle Server : execute “org.apache.eagle.server.ServerDebug” under eagle-server in IDE or with maven command line.
Code Block language bash org.apache.eagle.server.ServerDebug
Access current available applications through API
Code Block language bash curl -XGET http://localhost:9090/rest/apps/providers
Create Site through API
Code Block language bash curl -H "Content-Type: application/json" -X POST http://localhost:9090/rest/sites --data ' { "siteId":"test_site", "siteName":"Test Site", "description":"This is a sample site for test", "context":{ "type":"FAKE_CLUSTER", "url":"http://localhost:9090", "version":"2.6.4", "additional_attr":"Some information about the face cluster site" } } '
Install Application through API
Code Block language bash curl -H "Content-Type: application/json" -X POST http://localhost:9090/rest/apps/install --data '{ "siteId":"test_site", "appType":"EXAMPLE_APPLICATION", "mode":"LOCAL" }'
...