-
Notifications
You must be signed in to change notification settings - Fork 2
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
Create a new workflows endpoint #578
Conversation
51ed94f
to
c5523da
Compare
How can we describe the DAC and Policy in a way that works for ENA schema, and also REMS in a more general manner? |
fe25deb
to
749e2d3
Compare
Now I'm thinking that the code change that enforces the workflows could come as a follow-up PR. It starts to be quite large. |
749e2d3
to
733793b
Compare
so does this PR fixes #362 and should be reviewed as such ? |
#362 was about adding endpoints for the front-end, and that has been done in the current PR.
Additionally, the backend should check that the
After all, the service will be used not only by the front-end, but also directly via API. What do you think, does it make any sense? |
yes, thank you. Sounds like a new task. 🤔 (brainstorming) we might need to add to the |
Indeed, it was getting ahead of myself, and implementing that functionality already. Created a new issue for this feature #591 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small notes at a first glance
733793b
to
1d3979f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if these should be handled by this PR or another one ?
i think we don't need METAX_ENABLED
and REMS_ENABLED
given that most things are going to be handled by the workflow.
at the same time, ServiceHandler
and its sub-classes DataciteServiceHandler
, MetaxServiceHandler
and RemsServiceHandler
don't need enabled
property.
there are also some self.metax_handler.enabled
and self.rems_handler.enabled
cases
I think that to remove the service enabled checks it requires implementing the workflow "enforcements" mentioned before. I wrote the task you mentioned to this issue: #591 |
1d3979f
to
172e766
Compare
Rebased to fix conflicts |
Description
Workflows define the process for creating and publishing a submission.
Related issues
Type of change
This PR doesn't have breaking changes
Changes Made
OpenAPI
schema with new endpointsTesting
Mention
This change has features that can be used in the frontend, but breaking changes will come in a future PR. @hannyle