Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Run Eagle Server : execute “org.apache.eagle.server.ServerDebug” under eagle-server in IDE or with maven command line.

    Code Block
    languagebash
    org.apache.eagle.server.ServerDebug 
  • Access current available applications through API

    Code Block
    languagebash
    curl -XGET  http://localhost:9090/rest/apps/providers
  • Create Site through API

    Code Block
    languagebash
    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
    languagebash
    curl -H "Content-Type: application/json" -X POST http://localhost:9090/rest/apps/install --data '{
         "siteId":"test_site",
         "appType":"EXAMPLE_APPLICATION",
         "mode":"LOCAL"
    }'

...