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

REST endpoint to get deadline url information #17

Open
iLLiCiTiT opened this issue Jul 29, 2024 · 2 comments
Open

REST endpoint to get deadline url information #17

iLLiCiTiT opened this issue Jul 29, 2024 · 2 comments

Comments

@iLLiCiTiT
Copy link
Member

iLLiCiTiT commented Jul 29, 2024

Description

Be able to get deadline url information with addon endpoint so any other addon that would like to use option of deadline submission can re-use it without need to implement the whole shebank, that is now available only in client codebase.

How would you imagine the implementation of the feature?

The logic that resolves what is required to use for submitting job should be possible to receive using REST api on AYON server. So e.g. a service that should submit job can use the endpoint to get url, auth, ssl unified way. If a project is needed for that then a project name should be part of query e.g. GET /api/addons/deadline/1.2.3/urlInfo?project=MiProjekt.

@iLLiCiTiT iLLiCiTiT added the type: enhancement Improvement of existing functionality or minor addition label Jul 29, 2024
@BigRoy
Copy link
Contributor

BigRoy commented Jul 29, 2024

Would this also need to take into consideration the site id or user id since it may be specific to a particular site or user with regards to authentication?

@iLLiCiTiT
Copy link
Member Author

iLLiCiTiT commented Jul 29, 2024

Would this also need to take into consideration the site id or user id since it may be specific to a particular site or user with regards to authentication?

Yes, but that is passed to AYON server request using headers, so the endpoint probably does not have to handle it explicitly expecting site id in query.

@iLLiCiTiT iLLiCiTiT removed their assignment Sep 19, 2024
@dee-ynput dee-ynput removed the type: enhancement Improvement of existing functionality or minor addition label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants