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] Cancel job #805

Merged
merged 12 commits into from
Aug 29, 2023
Merged

[Job Launcher] Cancel job #805

merged 12 commits into from
Aug 29, 2023

Conversation

eugenvoronov
Copy link
Contributor

@eugenvoronov eugenvoronov commented Aug 22, 2023

Description

Created a job cancelation endpoint for the job requester.

Summary of changes

  • Added new cancel job endpoint to JobController.
  • Added new cancelJob method to JobService.
  • Added SDK call to cancel method.
  • Added exchange oracle webhook call.
  • Added unit tests

How test the changes

PATCH /job/cancel/:id
yarn test

Related issues

[Job Launcher] Job cancellation#789

@eugenvoronov eugenvoronov linked an issue Aug 22, 2023 that may be closed by this pull request
@vercel
Copy link

vercel bot commented Aug 22, 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 0:28am
faucet-server ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 0:28am
fortune-exchange-oracle ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 0:28am
fortune-exchange-oracle-server ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 0:28am
fortune-job-launcher-client ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 0:28am
fortune-job-launcher-server ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 0:28am
fortune-recording-oracle ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 0:28am
fortune-reputation-oracle ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 0:28am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
job-launcher-server ⬜️ Ignored (Inspect) Visit Preview Aug 29, 2023 0:28am

@eugenvoronov eugenvoronov requested a review from flopez7 August 22, 2023 05:54
@eugenvoronov eugenvoronov self-assigned this Aug 22, 2023
@eugenvoronov eugenvoronov requested a review from portuu3 August 22, 2023 05:54
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle August 22, 2023 05:57 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-reputation-oracle August 22, 2023 05:58 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-server August 22, 2023 06:01 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-recording-oracle August 22, 2023 06:03 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-client August 22, 2023 06:04 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle-server August 22, 2023 06:09 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-recording-oracle August 22, 2023 14:07 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle August 22, 2023 14:08 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-reputation-oracle August 22, 2023 14:08 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-server August 22, 2023 14:09 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-client August 22, 2023 14:10 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle-server August 22, 2023 14:11 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle-server August 28, 2023 12:15 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-client August 28, 2023 12:16 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-server August 28, 2023 12:17 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-reputation-oracle August 28, 2023 12:18 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-recording-oracle August 28, 2023 12:19 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-recording-oracle August 28, 2023 12:21 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-server August 28, 2023 12:23 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle August 28, 2023 12:24 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-reputation-oracle August 28, 2023 12:24 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle-server August 28, 2023 12:25 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-client August 28, 2023 12:26 Inactive
@portuu3 portuu3 changed the base branch from develop to main August 29, 2023 12:10
@portuu3 portuu3 changed the base branch from main to develop August 29, 2023 12:10
@vercel vercel bot temporarily deployed to Preview – fortune-reputation-oracle August 29, 2023 12:12 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-client August 29, 2023 12:15 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle-server August 29, 2023 12:20 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-server August 29, 2023 12:22 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-recording-oracle August 29, 2023 12:25 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle August 29, 2023 12:28 Inactive
@eugenvoronov eugenvoronov merged commit 115e88f into develop Aug 29, 2023
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] Job cancellation
3 participants