Open-EO / openeo-spring-driver

openEO driver build on spring using WCPS and ODC storage access
Apache License 2.0
0 stars 0 forks source link

/processes endpoint improvements #99

Open clausmichele opened 2 weeks ago

clausmichele commented 2 weeks ago

Currently the /processes endpoint exposes the content of two json files containing the set of processes implemented in Python and WCPS. We should expose only the ones for Python if no WCPS Collection is exposed. See here: https://github.com/Open-EO/openeo-spring-driver/blob/657d26857a21296741788164d940bd3957986738/src/main/java/org/openeo/spring/api/ProcessesApiController.java#L131

Additionally, instead of a file based, we can use the /processes endpoint I added to the openeo_odc_driver here: https://github.com/Open-EO/openeo_odc_driver/blob/6a6b3a9dd43496477a0e915e0911f9757782582b/openeo_odc_driver/odc_backend.py#L177