GithubHelp home page GithubHelp logo

ivoa / cirasa-planner Goto Github PK

View Code? Open in Web Editor NEW
0.0 12.0 2.0 5.8 MB

Use case and prototype ExecutionPlanner for the CIRASA visualization tools

License: GNU General Public License v3.0

Java 18.34% Python 81.21% Dockerfile 0.13% Shell 0.32%

cirasa-planner's Introduction

CIRASA-planner

Use case and prototype ExecutionPlanner for the CIRASA visualization tools

cirasa-planner's People

Contributors

bertocco avatar molinaro-m avatar zarquan avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cirasa-planner's Issues

Move Spring projects into a sub directory

Current structure

\- java
     | 
     +- chatgpt
     |
     +- spring-openapi
     |
     \- spring-webapp

Target structure

\- java
     | 
     +- chatgpt
     | 
     \- spring
           |
           +- spring-openapi
           |
           \- spring-webapp

Combine offer and execution status

Combine the offer and execution status values.

From offer:

  • OFFERED
  • ACCEPTED
  • REJECTED
  • EXPIRED

From execution:

  • WAITING
  • STANDUP
  • RUNNING
  • TEARDOWN
  • COMPLETED
  • CANCELLED
  • FAILED

From the ExecutionBroker document:

  • PENDING The job has been created, but the resources have not be prepared yet.
  • SETUP The ExecutionWorker service is setting up the resources needed to execute the job. This includes things like staging any datasets that will be needed locally.
  • READY The job is ready and waiting to start.
  • RUNNING The job is running.
  • TEARDOWN The execution has finished and the ExecutionWorker service is clearing up the resources that were used. This includes things like transferring the results to permanent storage and releasing local resources.
  • COMPLETED The job has been completed.
  • FAILED The job failed to complete.
  • CANCELLED The job was cancelled.

The execution/offer needs to have a uuid

All the resources have uuids, the executable has a uuid, but the execution itself doesn't.
That's the one thing that is referenced in a wesbervice path /execution/{uuid}, and we don't assign it a uuid.

Execution belongs to an offerset

Execution belongs to a group or offerset, needed to find and REJECT the other offers in the same set them when one of them is ACCEPTED.

  • An offerset needs to have a uuid identifier to access it.
  • The service needs an /offerset/{uuid} endpoint to list the members of the set.
  • An execution needs a reference back to its parent offerset

Include state change method

Include a specific state change method in the API, as an experiment.

POST a text value to /execution/{uuid}/state will change the state and redirect back to /execution/{uuid}.

Similar to PHASE in UWS.

Should we change 'state' to 'phase' ?

Should we change state or status to phase to be compatible with UWS ?

At the moment I don't think we should.

Business logic state machines are called 'state machines' because they step through a series of states..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.