Skip to content

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

Merged
Zakaria-Kofiro merged 4 commits intomasterfrom
zkofiro/V2-update-script
Aug 7, 2023
Merged

Tank V2 API: Add script update endpoint to import Tank XML scripts#256
Zakaria-Kofiro merged 4 commits intomasterfrom
zkofiro/V2-update-script

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
verify(scriptService).uploadProxyScript("testName", 0, "gzip", null);
}

@Test
Copy link
Contributor

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.

2 participants