OpenAPI Discussion #13
mike-gangl
announced in
Announcements
Replies: 2 comments 2 replies
-
Here's an example CWL file we should be able to upload: This should retrieve the doc and ID fields from the cwl/workflow portion and versions from the |
Beta Was this translation helpful? Give feedback.
0 replies
-
what is "Job" here at the /jobs/ endpoint? a deployment job? Build job? Validation job? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As we define the openAPI schema requested in #3 , i'll be referring to the file in main found here: https://github.com/unity-sds/mdps-application-catalog/blob/main/application-catalog.api-fixed.yaml for some updates.
fixed
label. If we change/fix items, we rely on version control to traverse back and forth, not by changing the name of the file.Number 2
Number 2 is obviously the larger issue we should discuss here.
We should focus on the following APIs you have been provided in the form of user stories:
/application/register
{namespace}/ogc-application-package
/application/{applicationName}
/{namespace}/{applicationName}
/application/{applicationName}/
/{namespace}/{applicationName}/{version}
/{namespace}/{applicationName}/{version}/publish
/jobs/{jobid}
Number 3
For now, bare minimum metadata we should capture is as follows and only requires the POST request and the CWL file:
Number 4
Job should be pretty simple. JobID (uuid), times, status, and message. Message would include error information if something goes wrong during the job
Number 5
this is mentioned with the 'publish' endpoint, but we need metadata to capture if an app-package version has been published or not.
Number 6
i'm ambivalent on if we want to follow a more restufl approach:
/{namespace}/{applicationName}/{version}
or the docker style approach:/{namespace}/{applicationName}:{version}
. I think i prefer the RESTful approach as there is a simple way of listing the versions/{namespace}/{applicationName}.
I don't think this really changes the underlying model of application:applicaitonVersions [1:*]Beta Was this translation helpful? Give feedback.
All reactions