Skip to content

Commit

Permalink
ft: ZENKO-1282 add scheduled resume for ingestion
Browse files Browse the repository at this point in the history
  • Loading branch information
philipyoo committed Nov 15, 2018
1 parent 07f655c commit 13b156b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
14 changes: 11 additions & 3 deletions lib/backbeat/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ function routes(redisKeys, locations) {
// Route: /_/crr/resume/<location>
// Route: /_/ingestion/resume/<location>
// Route: /_/crr/resume/<location>/schedule
// Route: /_/ingestion/resume/<location>/schedule
// Where <location> is an optional field unless "schedule" route
{
httpMethod: 'POST',
Expand All @@ -158,15 +159,22 @@ function routes(redisKeys, locations) {
{
httpMethod: 'DELETE',
type: 'resume',
extensions: { crr: [...locations.crr, 'all'] },
extensions: {
crr: [...locations.crr, 'all'],
ingestion: [...locations.ingestion, 'all'],
},
method: 'deleteScheduledResumeService',
},
// Route: /_/crr/resume/<location>
// Route: /_/ingestion/resume/<location>
{
httpMethod: 'GET',
type: 'resume',
extensions: { crr: [...locations.crr, 'all'] },
method: 'getResumeCRRSchedule',
extensions: {
crr: [...locations.crr, 'all'],
ingestion: [...locations.ingestion, 'all'],
},
method: 'getResumeSchedule',
},
// Route: /_/crr/status/<location>
// Route: /_/ingestion/status/<location>
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"engines": {
"node": ">=8"
},
"version": "8.1.0",
"version": "8.1.1",
"description": "Common utilities for the S3 project components",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 13b156b

Please sign in to comment.