Skip to content

EarthDigitalTwin/ideas-api

Repository files navigation

IDEAS API

What is it?

Ideas API interface following OGC Processes for arbitrary backend processes.

How to Deploy?

Pls refer to Deployment Guide to deploy in AWS

How to run??

  1. Get Authorization Token (JWT Bearer token)
    1. This is out of scope for this project as it depends on IT security policy of the client.
  2. As an admin, create a new process
    1. An example Python call to create a new process can be found in the integration test
  3. As a user, list all the processes, and get details of an interested process.
    1. An example Python call to list all processes can be found in the integration test
    2. An example Python call to get details of a process can be found in the integration test
  4. Start a new job
    1. An example Python call to start a new job can be found in the integration test
  5. Monitor job
    1. An example Python call to monitor current job can be found in the integration test
  6. Retrieve results
    1. An example Python call to retrieve results can be found in the integration test
  7. Alternatively, follow the example Jupyter Notebook

How to test??

Unit Tests

  1. run python tests in tests/ideas_api

Integration Tests

  1. After the system is deployed, create .env using .env.tpl
  2. run python tests in tests/integration_tests

Accident Secrets Removal

  1. Follow these repos to remove the secrets before the release.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published