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

[Job Launcher] Added job cancelation cron endpoint for vercel #838

Conversation

eugenvoronov
Copy link
Contributor

Description

Add job cancelation cron endpoint for vercel.
Vercel doesn't allow to download scripts or css files from a different origin, it can be able to call the endpoint to finalize hob cancellation request.

Summary of changes

  • Added endpoint
  • Updated unit tests
  • Updated cron service

How test the changes

[Job Launcher] Add job cancelation cron endpoint for vercel#837

@vercel
Copy link

vercel bot commented Aug 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
escrow-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 1:00pm
faucet-server ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 1:00pm
fortune-exchange-oracle ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 1:00pm
fortune-exchange-oracle-server ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 1:00pm
fortune-job-launcher-client ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 1:00pm
fortune-job-launcher-server ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 1:00pm
fortune-recording-oracle ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 1:00pm
fortune-reputation-oracle ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 1:00pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
job-launcher-server ⬜️ Ignored (Inspect) Visit Preview Aug 29, 2023 1:00pm

Copy link
Collaborator

@portuu3 portuu3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add cron job to vercel.json

@vercel
Copy link

vercel bot commented Aug 29, 2023

Deployment failed with the following error:

Could not parse File as JSON: packages/apps/job-launcher/server/vercel.json

@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle August 29, 2023 12:37 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-server August 29, 2023 12:42 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-recording-oracle August 29, 2023 12:45 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-reputation-oracle August 29, 2023 12:48 Inactive
@eugenvoronov eugenvoronov merged commit 0037f4d into feat/launcher/cancel-job Aug 29, 2023
3 checks passed
@vercel vercel bot temporarily deployed to Preview – fortune-reputation-oracle August 29, 2023 12:52 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-recording-oracle August 29, 2023 12:53 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-server August 29, 2023 12:54 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle August 29, 2023 12:55 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle-server August 29, 2023 12:57 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-client August 29, 2023 13:00 Inactive
eugenvoronov added a commit that referenced this pull request Aug 29, 2023
* Added cancel job functionality

* Updated job controller

* Updated type to patch and validation params approach

* Updated job cancelation logic

* Added job cancel functionality

* Added enums webhook

* Resolved comments

* [Job Launcher] Added job id relation to the payment (#835)

* Updated payment entity and migration

* Updated job service

* Updated unit tests

* Updated unit tests

* [Job Launcher] Added job cancelation cron endpoint for vercel (#838)

* Added cancel crone endpoint

* Updated vercel.json

* Updated controller

* Updated storage clietn params order

* Resolved conflicts
@leric7 leric7 deleted the feature/launcher/cancel-job-cron-endpoint branch September 19, 2023 13:52
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

Successfully merging this pull request may close these issues.

[Job Launcher] Add job cancelation cron endpoint for vercel
2 participants