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

Tank V2 API: Add script update endpoint to import Tank XML scripts #256

Merged
merged 4 commits into from
Aug 7, 2023

Conversation

Zakaria-Kofiro
Copy link
Collaborator

@Zakaria-Kofiro Zakaria-Kofiro commented Aug 4, 2023

Tank API V2: Add script update endpoint to import Tank XML scripts

/v2/scripts/update

This endpoint mirrors the functionality of importing Tank XML scripts to update existing scripts. It supports both XML and .gzip files.

Please make sure these check boxes are checked before submitting

  • ** Squashed Commits **
  • ** All Tests Passed ** - mvn clean test -P default

** PR review process **

  • Requires one +1 from a reviewer
  • Repository owners will merge your PR once it is approved.

@Zakaria-Kofiro Zakaria-Kofiro marked this pull request as ready for review August 4, 2023 21:07
@@ -181,6 +181,18 @@ public void testUploadScript() throws IOException {
verify(scriptService).uploadProxyScript("testName", 0, "gzip", null);
}

@Test
Copy link
Collaborator

Choose a reason for hiding this comment

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

@Zakaria-Kofiro Can we add one unit test error updating use-case or when a file does not exist?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yup, will add.

@shawn-h-park shawn-h-park self-requested a review August 7, 2023 20:19
@Zakaria-Kofiro Zakaria-Kofiro merged commit 1f3a544 into master Aug 7, 2023
@Zakaria-Kofiro Zakaria-Kofiro deleted the zkofiro/V2-update-script branch August 7, 2023 20:58
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.

None yet

2 participants