-
-
Notifications
You must be signed in to change notification settings - Fork 775
st2 API and CLI command added for actions/workflows clone operation #5345
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
Merged
m4dcoder
merged 48 commits into
StackStorm:master
from
ashwini-orchestral:clone_action_api
Dec 1, 2021
Merged
Changes from 35 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
5fb78d2
st2 API and CLI command added for actions/workflows clone operation
ashwini-orchestral 411f38f
Clone api for actions/workflows- adding openapi.yaml file
ashwini-orchestral 89a94a4
Modifications done as per code review comments
ashwini-orchestral ba17481
Adding RBAC unit tests for clone action API
ashwini-orchestral 0dedd4a
Refactoring clone action function and unit tests
ashwini-orchestral 4ca98b6
Merge branch 'master' into clone_action_api
ashwini-orchestral 89b71c9
Merge branch 'master' into clone_action_api
ashwini-orchestral 5a1f1a8
Refactored clone_actions function to create workflows directory if do…
ashwini-orchestral ef43f5b
Added new unit test and refactored existing unit tests related to clo…
ashwini-orchestral 63395cc
Refactored action clone API method to reuse existing create and delet…
ashwini-orchestral d344448
Minor fixes in existing unit tests
ashwini-orchestral 0eb5dce
Minor fix in unit test related to clone response error code
ashwini-orchestral d5003a4
Update st2client/st2client/commands/action.py to deduplicate `self.ma…
ashwini-orchestral 9750ebc
Merge branch 'master' into clone_action_api
ashwini-orchestral 0ff59a1
Move local generic body class to public GenericRequestParam
m4dcoder d32b1d0
For options (i.e. `remove_files` flag) using GenericRequestParam clas…
mahesh-orch b9484c7
Refactoring unit tests regarding cleanup partially cloned actions and…
mahesh-orch 7a55c94
Added functions related to backup destination action files in case of…
mahesh-orch 57eb5fe
Added unit tests for newly added function for restoring destination a…
mahesh-orch 83591f3
Deleted st2api/tests/base.py as it was temporarily added here for RBA…
mahesh-orch 3c0f50e
Deleted test_actions_rbac.py file as these clone action RBAC unit tes…
mahesh-orch 67adadc
Merge branch 'master' into clone_action_api
mahesh-orch b1815a2
Created new function `_restore_action` to reuse the common code and d…
mahesh-orch f795daf
Adding check for `actions` directory in pack to create it if doesn't …
mahesh-orch 305d50e
Added unit tests for exceptions for `temp_backup_action_files` and `r…
mahesh-orch 6a250b8
Refactored test_packs.py to fix failing CI unit test chunk 1
mahesh-orch d41453a
Minor fix in test_packs.py, removed extra variable name `SOURCE_WORKF…
mahesh-orch 0ea4b9a
Refactored unit test `test_clone_overwrite_exception_destination_reco…
mahesh-orch 6d736c1
Minor grammar fix in comment in `test_actions.py`
mahesh-orch 76bebb8
Refactoring unit test `test_clone_overwrite` to use ACTION_16["parame…
mahesh-orch 34326d5
Minor change to add comment line in unit test in `test_actions.py`
mahesh-orch ab45818
Added comment for source workflow path required for related unit tests
mahesh-orch 7085db1
Fix related to entry_point directories creatinon in `/tmp/<uuid>` rel…
mahesh-orch d9d27ae
Minor fix in clone api function for removing cloned action database e…
mahesh-orch 02bac39
Refactoring unit tests for newly updated clone api function for remov…
mahesh-orch 44fb50e
Deleted unnecessary file __init__.py
mahesh-orch a009f8c
Fixing failing unit tests with `FileNotFoundError`. Creating empty fo…
mahesh-orch 5a8f693
Fixing black/flake error - removed blank line
mahesh-orch d9a43b3
Fixing black/flake check - added Apache license header and copyright …
mahesh-orch f27900a
Simplified logic of creating entry point folder in /tmp/<uuid> directory
mahesh-orch 64db892
Merge branch 'master' into clone_action_api
mahesh-orch c125cd1
Merge branch 'master' into clone_action_api
mahesh-orch 97251ae
Merge branch 'master' into clone_action_api
mahesh-orch 91e4c2d
Minor fix for running CIs to fix timeout error in ci/circleci: packages
mahesh-orch 9ad36c4
Minor fix in comment for creation actions directory under packs.py
mahesh-orch b2cef24
Adding newly added functions in __all__ list
mahesh-orch 91029eb
Adding newly added functions in __all__ list in misc.py
mahesh-orch f9ec53e
Merge branch 'master' into clone_action_api
m4dcoder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.