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

service/settings: Fix job polling mechanism #20

Merged
merged 1 commit into from
Apr 29, 2024
Merged

Conversation

tdgroot
Copy link
Collaborator

@tdgroot tdgroot commented Apr 29, 2024

Instead of using the unauthorized internal job URL, which is returned by the API, parse the job uuid from the URL and use that ID for polling on the proper endpoint.

Ideally this is fixed in the API, but this is how it's been done in kamikaze so far as well, so let's first start here.

src/Resource/Logbook/Job.php Outdated Show resolved Hide resolved
Instead of using the unauthorized internal job URL, which is returned by the API, parse the job uuid from the URL and use that ID for polling on the proper endpoint.

Ideally this is fixed in the API, but this is how it's been done in kamikaze so far as well, so let's first start here.
@tdgroot tdgroot merged commit 144a1cf into master Apr 29, 2024
3 checks passed
@tdgroot tdgroot deleted the fix_setting_job branch April 29, 2024 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants