unity-sds / unity-py

Apache License 2.0
2 stars 3 forks source link

Test unity.py execute and status with Airflow WPST wrapper #88

Closed rtapella closed 4 months ago

rtapella commented 7 months ago

depends on:

https://github.com/unity-sds/unity-py/blob/ogc-processes-api/examples/ogc_notebook.ipynb

rtapella commented 6 months ago

This is a bit more complex than initially anticipated. Instead of just using WPS-T, the new api conforms to OGC Processes API.

Additionally, Drew has built a python API to OGC Processes directly, and we will wrap that python library with unity-sds-client / Unity-py. So there are a few layers to update before we can test

GodwinShen commented 6 months ago

@rtapella is this related to the new work ticket that @mike-gangl just created: https://github.com/unity-sds/unity-sps-ogc-processes-api-client-python/issues/4?

rtapella commented 6 months ago

Waiting for #89 to complete

rtapella commented 6 months ago

Yes this is an older ticket but there was a missing step that Mike’s working on before we can actually do this, due to a change in how we had expected SPS to implement this vs. the actual

rtapella commented 6 months ago

I think this may be unblocked but may need to slip into next week.

GodwinShen commented 6 months ago

@rtapella ping for status.

rtapella commented 6 months ago

this is still Blocked. chatting w/ Mike to figure out when to test

rtapella commented 6 months ago

@mike-gangl : "there is a dev instance available in sbg-dev" "you can attempt to run against that using the unity-py dev" "there is a notebook that does this somewhat already: https://github.com/unity-sds/unity-py/blob/ogc-processes-api/examples/ogc_notebook.ipynb" ""getting" items from OGC works fine, but we're not currently able to affect change (that is, deploy an app or run a random app from the dockstore)"

rtapella commented 6 months ago

also see: https://github.com/unity-sds/unity-py/issues/89#issuecomment-2135795646

rtapella commented 5 months ago

this should be ready to completely test this sprint (#68 and this one)

rtapella commented 5 months ago

bumping out due to status of API vs. Mike's vacation

rtapella commented 4 months ago

follow along on the tutorial: https://github.com/unity-sds/unity-system-test/blob/main/test_procs/sps/SPS%20Programmatic%20Tests.ipynb

need to install the beta client: pip install --user unity-sds-client==0.5.0a4

rtapella commented 4 months ago

execute() and status() are good