Data Model: Add properties for order processing (auto-close, auto-load for data)
tangobravo62 opened this issue · comments
Thomas Bassler commented
Currently processing orders are closed automatically, if they are of production type SYSTEMATIC
. However for orders originating from the ODIP (and actually for all orders generated automatically) it would make sense to close them automatically. This shall be achieved by a new boolean property autoClose
:
- Add
autoClose
boolean property to Processing Order entity (including UML diagram, Java class, RAML type spec). autoClose
shall be set for all orders generated by the ODIP service.autoClose
shall be set for all orders generated in a Systematic Production scenario (e. g. Sentinel-1).- The Production Planner shall honour the
autoClose
flag instead of the current reliance on production typeSYSTEMATIC
.
Further, an attempt to retrieve missing input data for processing orders is currently only performed for orders with order source ODIP
. Since there may exist use cases for this functionality outside the On-demand Production (ODIP) scenario, a new flag autoDataLoad
shall be introduced:
- Add
autoDataLoad
to Processing Order entity (including UML diagram, Java class, RAML type spec). - Change Production Planner to retrieve data depending on the
autoDataLoad
property instead of the order source property. - Check whether the
orderSource
property becomes obsolete by this change, and if so, mark it as deprecated (to be removed in the next major version of prosEO).