{"action":"created","comment":{"url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/pulls/comments/222002827","pull_request_review_id":160787066,"id":222002827,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjAwMjgyNw==","diff_hunk":"@@ -9,42 +9,57 @@\n public class Action {\n \n     /**\n-     * Action specifying a stream to be transformed.\n-     * A backup of the stream will be created as part of the transform action\n+     * Action specifying a stream to be moved. A backup of the stream will be created as part of the\n+     * transform action\n      */\n-    public static final Action TRANSFORM = new Action(true, false, true);\n+    public static final Action MOVE = new Action(false, false, true, true);\n+\n+    /**\n+     * Action specifying a stream to be transformed. A backup of the stream will be created as part\n+     * of the transform action\n+     */\n+    public static final Action TRANSFORM = new Action(true, false, true, false);\n \n     /**\n      * Action to deactivate a stream. No backup of the stream will be created\n      */\n-    public static final Action DEACTIVATE = new Action(false, true, false);\n+    public static final Action DEACTIVATE = new Action(false, true, false, false);\n \n     /**\n-     * Action to archive/deactivate a stream. Retained for backward compatibility. No backup of the stream will be created\n+     * Action to archive/deactivate a stream. Retained for backward compatibility. No backup of the\n+     * stream will be created\n+     *\n      * @deprecated use DEACTIVATE instead\n      */\n     @Deprecated\n-    public static final Action ARCHIVE = new Action(false, true, false);\n+    public static final Action ARCHIVE = new Action(false, true, false, false);\n \n     /**\n      * No action to be taken on the stream.\n      */\n-    public static final Action NO_ACTION = new Action(false, false, false);\n+    public static final Action NO_ACTION = new Action(false, false, false, false);\n \n     private final boolean transformStream;\n     private final boolean deactivateStream;\n     private final boolean keepBackup;\n+    private final boolean move;","path":"stream-transformation-tool-api/src/main/java/uk/gov/justice/tools/eventsourcing/transformation/api/Action.java","position":44,"original_position":44,"commit_id":"6ac13b2fde4980fa48bbae58999ec3723b79b901","original_commit_id":"6ac13b2fde4980fa48bbae58999ec3723b79b901","user":{"login":"cjs-common-platform-ci","id":17479508,"node_id":"MDQ6VXNlcjE3NDc5NTA4","avatar_url":"https://avatars2.githubusercontent.com/u/17479508?v=4","gravatar_id":"","url":"https://api.github.com/users/cjs-common-platform-ci","html_url":"https://github.com/cjs-common-platform-ci","followers_url":"https://api.github.com/users/cjs-common-platform-ci/followers","following_url":"https://api.github.com/users/cjs-common-platform-ci/following{/other_user}","gists_url":"https://api.github.com/users/cjs-common-platform-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/cjs-common-platform-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjs-common-platform-ci/subscriptions","organizations_url":"https://api.github.com/users/cjs-common-platform-ci/orgs","repos_url":"https://api.github.com/users/cjs-common-platform-ci/repos","events_url":"https://api.github.com/users/cjs-common-platform-ci/events{/privacy}","received_events_url":"https://api.github.com/users/cjs-common-platform-ci/received_events","type":"User","site_admin":false},"body":"![BLOCKER](https://sonarsource.github.io/sonar-github/severity-blocker.png 'Severity: BLOCKER') Rename field \"move\" to prevent any misunderstanding/clash with field \"MOVE\" defined on line 15. [![rule](https://sonarsource.github.io/sonar-github/rule.png)](https://sonarcloud.io/coding_rules#rule_key=squid%3AS1845)\n","created_at":"2018-10-02T15:37:12Z","updated_at":"2018-10-02T15:37:12Z","html_url":"https://github.com/CJSCommonPlatform/stream-transformation-tool/pull/16#discussion_r222002827","pull_request_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/pulls/16","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/pulls/comments/222002827"},"html":{"href":"https://github.com/CJSCommonPlatform/stream-transformation-tool/pull/16#discussion_r222002827"},"pull_request":{"href":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/pulls/16","id":219748243,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NzQ4MjQz","html_url":"https://github.com/CJSCommonPlatform/stream-transformation-tool/pull/16","diff_url":"https://github.com/CJSCommonPlatform/stream-transformation-tool/pull/16.diff","patch_url":"https://github.com/CJSCommonPlatform/stream-transformation-tool/pull/16.patch","issue_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/issues/16","number":16,"state":"open","locked":false,"title":"Add move action implementation","user":{"login":"MartinYSpasov","id":4839261,"node_id":"MDQ6VXNlcjQ4MzkyNjE=","avatar_url":"https://avatars3.githubusercontent.com/u/4839261?v=4","gravatar_id":"","url":"https://api.github.com/users/MartinYSpasov","html_url":"https://github.com/MartinYSpasov","followers_url":"https://api.github.com/users/MartinYSpasov/followers","following_url":"https://api.github.com/users/MartinYSpasov/following{/other_user}","gists_url":"https://api.github.com/users/MartinYSpasov/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinYSpasov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinYSpasov/subscriptions","organizations_url":"https://api.github.com/users/MartinYSpasov/orgs","repos_url":"https://api.github.com/users/MartinYSpasov/repos","events_url":"https://api.github.com/users/MartinYSpasov/events{/privacy}","received_events_url":"https://api.github.com/users/MartinYSpasov/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-02T15:31:45Z","updated_at":"2018-10-02T15:37:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b6bee1c10bfd7a206b2dfd57c4a5bf295a4b39ca","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/pulls/16/commits","review_comments_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/pulls/16/comments","review_comment_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/issues/16/comments","statuses_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/statuses/6ac13b2fde4980fa48bbae58999ec3723b79b901","head":{"label":"CJSCommonPlatform:split-streams-move","ref":"split-streams-move","sha":"6ac13b2fde4980fa48bbae58999ec3723b79b901","user":{"login":"CJSCommonPlatform","id":16131145,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MTMxMTQ1","avatar_url":"https://avatars3.githubusercontent.com/u/16131145?v=4","gravatar_id":"","url":"https://api.github.com/users/CJSCommonPlatform","html_url":"https://github.com/CJSCommonPlatform","followers_url":"https://api.github.com/users/CJSCommonPlatform/followers","following_url":"https://api.github.com/users/CJSCommonPlatform/following{/other_user}","gists_url":"https://api.github.com/users/CJSCommonPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/CJSCommonPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CJSCommonPlatform/subscriptions","organizations_url":"https://api.github.com/users/CJSCommonPlatform/orgs","repos_url":"https://api.github.com/users/CJSCommonPlatform/repos","events_url":"https://api.github.com/users/CJSCommonPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/CJSCommonPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":113320277,"node_id":"MDEwOlJlcG9zaXRvcnkxMTMzMjAyNzc=","name":"stream-transformation-tool","full_name":"CJSCommonPlatform/stream-transformation-tool","private":false,"owner":{"login":"CJSCommonPlatform","id":16131145,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MTMxMTQ1","avatar_url":"https://avatars3.githubusercontent.com/u/16131145?v=4","gravatar_id":"","url":"https://api.github.com/users/CJSCommonPlatform","html_url":"https://github.com/CJSCommonPlatform","followers_url":"https://api.github.com/users/CJSCommonPlatform/followers","following_url":"https://api.github.com/users/CJSCommonPlatform/following{/other_user}","gists_url":"https://api.github.com/users/CJSCommonPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/CJSCommonPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CJSCommonPlatform/subscriptions","organizations_url":"https://api.github.com/users/CJSCommonPlatform/orgs","repos_url":"https://api.github.com/users/CJSCommonPlatform/repos","events_url":"https://api.github.com/users/CJSCommonPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/CJSCommonPlatform/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CJSCommonPlatform/stream-transformation-tool","description":"Tooling to transform event-streams","fork":false,"url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool","forks_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/forks","keys_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/teams","hooks_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/hooks","issue_events_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/issues/events{/number}","events_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/events","assignees_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/assignees{/user}","branches_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/branches{/branch}","tags_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/tags","blobs_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/git/refs{/sha}","trees_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/statuses/{sha}","languages_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/languages","stargazers_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/stargazers","contributors_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/contributors","subscribers_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/subscribers","subscription_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/subscription","commits_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/commits{/sha}","git_commits_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/git/commits{/sha}","comments_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/comments{/number}","issue_comment_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/issues/comments{/number}","contents_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/contents/{+path}","compare_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/merges","archive_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/downloads","issues_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/issues{/number}","pulls_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/pulls{/number}","milestones_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/milestones{/number}","notifications_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/labels{/name}","releases_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/releases{/id}","deployments_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/deployments","created_at":"2017-12-06T13:31:25Z","updated_at":"2018-09-27T14:22:27Z","pushed_at":"2018-10-02T15:31:46Z","git_url":"git://github.com/CJSCommonPlatform/stream-transformation-tool.git","ssh_url":"git@github.com:CJSCommonPlatform/stream-transformation-tool.git","clone_url":"https://github.com/CJSCommonPlatform/stream-transformation-tool.git","svn_url":"https://github.com/CJSCommonPlatform/stream-transformation-tool","homepage":null,"size":141,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"CJSCommonPlatform:master","ref":"master","sha":"023e0463883a9368768abd9f24605fca289f2f63","user":{"login":"CJSCommonPlatform","id":16131145,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MTMxMTQ1","avatar_url":"https://avatars3.githubusercontent.com/u/16131145?v=4","gravatar_id":"","url":"https://api.github.com/users/CJSCommonPlatform","html_url":"https://github.com/CJSCommonPlatform","followers_url":"https://api.github.com/users/CJSCommonPlatform/followers","following_url":"https://api.github.com/users/CJSCommonPlatform/following{/other_user}","gists_url":"https://api.github.com/users/CJSCommonPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/CJSCommonPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CJSCommonPlatform/subscriptions","organizations_url":"https://api.github.com/users/CJSCommonPlatform/orgs","repos_url":"https://api.github.com/users/CJSCommonPlatform/repos","events_url":"https://api.github.com/users/CJSCommonPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/CJSCommonPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":113320277,"node_id":"MDEwOlJlcG9zaXRvcnkxMTMzMjAyNzc=","name":"stream-transformation-tool","full_name":"CJSCommonPlatform/stream-transformation-tool","private":false,"owner":{"login":"CJSCommonPlatform","id":16131145,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MTMxMTQ1","avatar_url":"https://avatars3.githubusercontent.com/u/16131145?v=4","gravatar_id":"","url":"https://api.github.com/users/CJSCommonPlatform","html_url":"https://github.com/CJSCommonPlatform","followers_url":"https://api.github.com/users/CJSCommonPlatform/followers","following_url":"https://api.github.com/users/CJSCommonPlatform/following{/other_user}","gists_url":"https://api.github.com/users/CJSCommonPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/CJSCommonPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CJSCommonPlatform/subscriptions","organizations_url":"https://api.github.com/users/CJSCommonPlatform/orgs","repos_url":"https://api.github.com/users/CJSCommonPlatform/repos","events_url":"https://api.github.com/users/CJSCommonPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/CJSCommonPlatform/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CJSCommonPlatform/stream-transformation-tool","description":"Tooling to transform event-streams","fork":false,"url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool","forks_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/forks","keys_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/teams","hooks_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/hooks","issue_events_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/issues/events{/number}","events_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/events","assignees_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/assignees{/user}","branches_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/branches{/branch}","tags_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/tags","blobs_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/git/refs{/sha}","trees_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/statuses/{sha}","languages_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/languages","stargazers_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/stargazers","contributors_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/contributors","subscribers_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/subscribers","subscription_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/subscription","commits_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/commits{/sha}","git_commits_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/git/commits{/sha}","comments_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/comments{/number}","issue_comment_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/issues/comments{/number}","contents_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/contents/{+path}","compare_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/merges","archive_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/downloads","issues_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/issues{/number}","pulls_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/pulls{/number}","milestones_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/milestones{/number}","notifications_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/labels{/name}","releases_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/releases{/id}","deployments_url":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/deployments","created_at":"2017-12-06T13:31:25Z","updated_at":"2018-09-27T14:22:27Z","pushed_at":"2018-10-02T15:31:46Z","git_url":"git://github.com/CJSCommonPlatform/stream-transformation-tool.git","ssh_url":"git@github.com:CJSCommonPlatform/stream-transformation-tool.git","clone_url":"https://github.com/CJSCommonPlatform/stream-transformation-tool.git","svn_url":"https://github.com/CJSCommonPlatform/stream-transformation-tool","homepage":null,"size":141,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/pulls/16"},"html":{"href":"https://github.com/CJSCommonPlatform/stream-transformation-tool/pull/16"},"issue":{"href":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/issues/16"},"comments":{"href":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/CJSCommonPlatform/stream-transformation-tool/statuses/6ac13b2fde4980fa48bbae58999ec3723b79b901"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"cjs-common-platform-ci"}}