Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New ServiceEMS for Weaver filtering of "private" processes #183

Open
fmigneault opened this issue May 15, 2019 · 0 comments
Open

New ServiceEMS for Weaver filtering of "private" processes #183

fmigneault opened this issue May 15, 2019 · 0 comments
Assignees
Labels
feature New feature to be developed plugin Service plugin
Milestone

Comments

@fmigneault
Copy link
Collaborator

fmigneault commented May 15, 2019

Context

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.

MagpieAdapter.processstore_factory and MagpieProcessStore 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 with pip install magpie[ems]

@fmigneault fmigneault self-assigned this May 15, 2019
@fmigneault fmigneault added the feature New feature to be developed label May 15, 2019
@fmigneault fmigneault added this to the 2.x.x milestone Jun 27, 2019
@fmigneault fmigneault added the plugin Service plugin label Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature to be developed plugin Service plugin
Projects
None yet
Development

No branches or pull requests

1 participant