You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a need to bloc display, access and update of "visibility": "private" processes by various routes in https://github.com/crim-ca/weaver
Previously, this was done through https://github.com/Ouranosinc/twitcher/tree/pavics-0.3.17, a Twitcher variant that defined WPS REST-API routes and Process/Job/Quote/Bill stores that aren't native to Twitcher. Now, the REST API has be completely moved to Weaver.
Context
There is a need to bloc display, access and update of
"visibility": "private"
processes by various routes in https://github.com/crim-ca/weaverPreviously, this was done through https://github.com/Ouranosinc/twitcher/tree/pavics-0.3.17, a Twitcher variant that defined WPS REST-API routes and Process/Job/Quote/Bill stores that aren't native to Twitcher. Now, the REST API has be completely moved to Weaver.
MagpieAdapter.processstore_factory
andMagpieProcessStore
provided implementations specific to EMS to do the processes filtering as defined above.https://github.com/Ouranosinc/Magpie/blob/901a42c22578076321d8c459a3f5525fcf9848b6/magpie/adapter/magpieprocess.py
Following #182 and Weaver's creation, the process stores are deprecated.
Solution
A custom service, dynamically loaded (#149), namely
ServiceEMS
, would do the process filtering as required.Dynamic
ServiceEMS
should be installed only when specified withpip install magpie[ems]
The text was updated successfully, but these errors were encountered: