-
Notifications
You must be signed in to change notification settings - Fork 8
feat: con 592 update job batches v2 endpoint #109
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
Conversation
| + "\"authorize\":true," | ||
| + "\"fileUris\":[\"fileUri.json\"]," | ||
| + "\"localeWorkflows\":[{\"targetLocaleId\":\"fr-FR\",\"workflowUid\":\"workflowUid\"}]" | ||
| + "\"localeWorkflows\":[{\"targetLocaleId\":\"fr-FR\",\"workflowUid\":\"workflowUid\",\"contentAssignments\":null}]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if [{\"targetLocaleId\":\"fr-FR\",\"workflowUid\":\"workflowUid\"}] is passed (without \"contentAssignments\":null)? It must be possible to pass without it for backward compatibility.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"contentAssignments" field is not required and nullable.
So I think it will be ok to use it without contentAssignments as now.
Tests were added in another PR to cover this case: https://github.com/Smartling/jobs-facade/pull/135
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree with pavel, I'd remain this test data as is, and add another with contentAssignements field.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests were added in another PR for job-facade service to cover this case: https://github.com/Smartling/jobs-facade/pull/135
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PavelLoparev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm ok but let's wait other's review
dimitrystd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. But waiting for one more proposed test case.

Replace this text with a description of your proposed change.
JIRA Ticket