{"action":"created","comment":{"url":"https://api.github.com/repos/gooddata/gooddata-ruby/pulls/comments/233135020","pull_request_review_id":174478983,"id":233135020,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzEzNTAyMA==","diff_hunk":"@@ -0,0 +1,110 @@\n+# encoding: UTF-8\n+#\n+# Copyright (c) 2010-2018 GoodData Corporation. All rights reserved.\n+# This source code is licensed under the BSD-style license found in the\n+# LICENSE file in the root directory of this source tree.\n+\n+require 'gooddata/lcm/lcm2'\n+require_relative '../mock_factories/rest_client_mock_factory'\n+\n+describe GoodData::LCM2::SynchronizeProcesses do\n+  let(:development_client) { double(GoodData::Rest::Client) }\n+  let(:gdc_gd_client) { double(GoodData::Rest::Client) }\n+  let(:src_project) { double(GoodData::Project) }\n+  let(:dest_project) { double(GoodData::Project) }\n+  let(:gdc_logger) { double('logger') }\n+  let(:src_pid) { '123' }\n+  let(:dest_pid) { '234' }\n+  let(:process) { double(GoodData::Process) }\n+  let(:dest_client) { double(GoodData::Client) }\n+  let(:add) { double(GoodData::AutomatedDataDistribution) }\n+  let(:output_stage) { double(GoodData::AdsOutputStage) }\n+  let(:synchronize) do\n+    GoodData::LCM2.convert_to_smart_hash([\n+                                           from: src_pid,\n+                                           to: [\n+                                             {\n+                                               pid: dest_pid,\n+                                               client_id: 'aaaa'\n+                                             }\n+                                           ]\n+                                         ])\n+  end\n+  let(:process_component) do\n+    { name: 'etl-csv-uploader' }\n+  end\n+  let(:process_hash) do\n+    { process: { component: process_component } }\n+  end\n+  let(:process_additional_hidden_params) do\n+    {\n+      process: {\n+        component: {\n+          secretConfig: {\n+            key: 'val'\n+          }\n+        }\n+      }\n+    }\n+  end\n+  let(:enriched_process_hash) do\n+","path":"spec/unit/actions/synchronize_processes_spec.rb","position":51,"original_position":51,"commit_id":"d014c6ee30efc043995cc878518455715011a0b2","original_commit_id":"d014c6ee30efc043995cc878518455715011a0b2","user":{"login":"yenkins","id":1506393,"node_id":"MDQ6VXNlcjE1MDYzOTM=","avatar_url":"https://avatars1.githubusercontent.com/u/1506393?v=4","gravatar_id":"","url":"https://api.github.com/users/yenkins","html_url":"https://github.com/yenkins","followers_url":"https://api.github.com/users/yenkins/followers","following_url":"https://api.github.com/users/yenkins/following{/other_user}","gists_url":"https://api.github.com/users/yenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/yenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yenkins/subscriptions","organizations_url":"https://api.github.com/users/yenkins/orgs","repos_url":"https://api.github.com/users/yenkins/repos","events_url":"https://api.github.com/users/yenkins/events{/privacy}","received_events_url":"https://api.github.com/users/yenkins/received_events","type":"User","site_admin":false},"body":"warning: Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body beginning. (rubocop)","created_at":"2018-11-13T17:01:04Z","updated_at":"2018-11-13T17:01:05Z","html_url":"https://github.com/gooddata/gooddata-ruby/pull/1330#discussion_r233135020","pull_request_url":"https://api.github.com/repos/gooddata/gooddata-ruby/pulls/1330","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/gooddata/gooddata-ruby/pulls/comments/233135020"},"html":{"href":"https://github.com/gooddata/gooddata-ruby/pull/1330#discussion_r233135020"},"pull_request":{"href":"https://api.github.com/repos/gooddata/gooddata-ruby/pulls/1330"}}},"pull_request":{"url":"https://api.github.com/repos/gooddata/gooddata-ruby/pulls/1330","id":228787824,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4Nzg3ODI0","html_url":"https://github.com/gooddata/gooddata-ruby/pull/1330","diff_url":"https://github.com/gooddata/gooddata-ruby/pull/1330.diff","patch_url":"https://github.com/gooddata/gooddata-ruby/pull/1330.patch","issue_url":"https://api.github.com/repos/gooddata/gooddata-ruby/issues/1330","number":1330,"state":"open","locked":false,"title":"TMA-782: transfer component type process thru lcm","user":{"login":"kubamahnert","id":9719839,"node_id":"MDQ6VXNlcjk3MTk4Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/9719839?v=4","gravatar_id":"","url":"https://api.github.com/users/kubamahnert","html_url":"https://github.com/kubamahnert","followers_url":"https://api.github.com/users/kubamahnert/followers","following_url":"https://api.github.com/users/kubamahnert/following{/other_user}","gists_url":"https://api.github.com/users/kubamahnert/gists{/gist_id}","starred_url":"https://api.github.com/users/kubamahnert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubamahnert/subscriptions","organizations_url":"https://api.github.com/users/kubamahnert/orgs","repos_url":"https://api.github.com/users/kubamahnert/repos","events_url":"https://api.github.com/users/kubamahnert/events{/privacy}","received_events_url":"https://api.github.com/users/kubamahnert/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-06T18:15:53Z","updated_at":"2018-11-13T17:01:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"213e821d711b908b49102dc4455d6456205ab00a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gooddata/gooddata-ruby/pulls/1330/commits","review_comments_url":"https://api.github.com/repos/gooddata/gooddata-ruby/pulls/1330/comments","review_comment_url":"https://api.github.com/repos/gooddata/gooddata-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gooddata/gooddata-ruby/issues/1330/comments","statuses_url":"https://api.github.com/repos/gooddata/gooddata-ruby/statuses/d014c6ee30efc043995cc878518455715011a0b2","head":{"label":"kubamahnert:TMA-782","ref":"TMA-782","sha":"d014c6ee30efc043995cc878518455715011a0b2","user":{"login":"kubamahnert","id":9719839,"node_id":"MDQ6VXNlcjk3MTk4Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/9719839?v=4","gravatar_id":"","url":"https://api.github.com/users/kubamahnert","html_url":"https://github.com/kubamahnert","followers_url":"https://api.github.com/users/kubamahnert/followers","following_url":"https://api.github.com/users/kubamahnert/following{/other_user}","gists_url":"https://api.github.com/users/kubamahnert/gists{/gist_id}","starred_url":"https://api.github.com/users/kubamahnert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubamahnert/subscriptions","organizations_url":"https://api.github.com/users/kubamahnert/orgs","repos_url":"https://api.github.com/users/kubamahnert/repos","events_url":"https://api.github.com/users/kubamahnert/events{/privacy}","received_events_url":"https://api.github.com/users/kubamahnert/received_events","type":"User","site_admin":false},"repo":{"id":105879030,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU4NzkwMzA=","name":"gooddata-ruby","full_name":"kubamahnert/gooddata-ruby","private":false,"owner":{"login":"kubamahnert","id":9719839,"node_id":"MDQ6VXNlcjk3MTk4Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/9719839?v=4","gravatar_id":"","url":"https://api.github.com/users/kubamahnert","html_url":"https://github.com/kubamahnert","followers_url":"https://api.github.com/users/kubamahnert/followers","following_url":"https://api.github.com/users/kubamahnert/following{/other_user}","gists_url":"https://api.github.com/users/kubamahnert/gists{/gist_id}","starred_url":"https://api.github.com/users/kubamahnert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubamahnert/subscriptions","organizations_url":"https://api.github.com/users/kubamahnert/orgs","repos_url":"https://api.github.com/users/kubamahnert/repos","events_url":"https://api.github.com/users/kubamahnert/events{/privacy}","received_events_url":"https://api.github.com/users/kubamahnert/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kubamahnert/gooddata-ruby","description":"GoodData API Ruby Gem","fork":true,"url":"https://api.github.com/repos/kubamahnert/gooddata-ruby","forks_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/forks","keys_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/teams","hooks_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/hooks","issue_events_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/events","assignees_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/tags","blobs_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/languages","stargazers_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/stargazers","contributors_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/contributors","subscribers_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/subscribers","subscription_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/subscription","commits_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/merges","archive_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/downloads","issues_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/labels{/name}","releases_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/kubamahnert/gooddata-ruby/deployments","created_at":"2017-10-05T10:54:30Z","updated_at":"2018-06-05T08:26:18Z","pushed_at":"2018-11-13T16:59:19Z","git_url":"git://github.com/kubamahnert/gooddata-ruby.git","ssh_url":"git@github.com:kubamahnert/gooddata-ruby.git","clone_url":"https://github.com/kubamahnert/gooddata-ruby.git","svn_url":"https://github.com/kubamahnert/gooddata-ruby","homepage":"http://developer.gooddata.com/","size":31611,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"gooddata:master","ref":"master","sha":"581773a43e200ba6d1c67fc361d6eee4f78ec511","user":{"login":"gooddata","id":291394,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MTM5NA==","avatar_url":"https://avatars2.githubusercontent.com/u/291394?v=4","gravatar_id":"","url":"https://api.github.com/users/gooddata","html_url":"https://github.com/gooddata","followers_url":"https://api.github.com/users/gooddata/followers","following_url":"https://api.github.com/users/gooddata/following{/other_user}","gists_url":"https://api.github.com/users/gooddata/gists{/gist_id}","starred_url":"https://api.github.com/users/gooddata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gooddata/subscriptions","organizations_url":"https://api.github.com/users/gooddata/orgs","repos_url":"https://api.github.com/users/gooddata/repos","events_url":"https://api.github.com/users/gooddata/events{/privacy}","received_events_url":"https://api.github.com/users/gooddata/received_events","type":"Organization","site_admin":false},"repo":{"id":891109,"node_id":"MDEwOlJlcG9zaXRvcnk4OTExMDk=","name":"gooddata-ruby","full_name":"gooddata/gooddata-ruby","private":false,"owner":{"login":"gooddata","id":291394,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MTM5NA==","avatar_url":"https://avatars2.githubusercontent.com/u/291394?v=4","gravatar_id":"","url":"https://api.github.com/users/gooddata","html_url":"https://github.com/gooddata","followers_url":"https://api.github.com/users/gooddata/followers","following_url":"https://api.github.com/users/gooddata/following{/other_user}","gists_url":"https://api.github.com/users/gooddata/gists{/gist_id}","starred_url":"https://api.github.com/users/gooddata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gooddata/subscriptions","organizations_url":"https://api.github.com/users/gooddata/orgs","repos_url":"https://api.github.com/users/gooddata/repos","events_url":"https://api.github.com/users/gooddata/events{/privacy}","received_events_url":"https://api.github.com/users/gooddata/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/gooddata/gooddata-ruby","description":"GoodData API Ruby Gem","fork":false,"url":"https://api.github.com/repos/gooddata/gooddata-ruby","forks_url":"https://api.github.com/repos/gooddata/gooddata-ruby/forks","keys_url":"https://api.github.com/repos/gooddata/gooddata-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gooddata/gooddata-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gooddata/gooddata-ruby/teams","hooks_url":"https://api.github.com/repos/gooddata/gooddata-ruby/hooks","issue_events_url":"https://api.github.com/repos/gooddata/gooddata-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/gooddata/gooddata-ruby/events","assignees_url":"https://api.github.com/repos/gooddata/gooddata-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/gooddata/gooddata-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/gooddata/gooddata-ruby/tags","blobs_url":"https://api.github.com/repos/gooddata/gooddata-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gooddata/gooddata-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gooddata/gooddata-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/gooddata/gooddata-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gooddata/gooddata-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/gooddata/gooddata-ruby/languages","stargazers_url":"https://api.github.com/repos/gooddata/gooddata-ruby/stargazers","contributors_url":"https://api.github.com/repos/gooddata/gooddata-ruby/contributors","subscribers_url":"https://api.github.com/repos/gooddata/gooddata-ruby/subscribers","subscription_url":"https://api.github.com/repos/gooddata/gooddata-ruby/subscription","commits_url":"https://api.github.com/repos/gooddata/gooddata-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/gooddata/gooddata-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/gooddata/gooddata-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/gooddata/gooddata-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/gooddata/gooddata-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/gooddata/gooddata-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gooddata/gooddata-ruby/merges","archive_url":"https://api.github.com/repos/gooddata/gooddata-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gooddata/gooddata-ruby/downloads","issues_url":"https://api.github.com/repos/gooddata/gooddata-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/gooddata/gooddata-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/gooddata/gooddata-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/gooddata/gooddata-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gooddata/gooddata-ruby/labels{/name}","releases_url":"https://api.github.com/repos/gooddata/gooddata-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/gooddata/gooddata-ruby/deployments","created_at":"2010-09-06T11:19:17Z","updated_at":"2018-11-13T14:53:05Z","pushed_at":"2018-11-13T16:59:21Z","git_url":"git://github.com/gooddata/gooddata-ruby.git","ssh_url":"git@github.com:gooddata/gooddata-ruby.git","clone_url":"https://github.com/gooddata/gooddata-ruby.git","svn_url":"https://github.com/gooddata/gooddata-ruby","homepage":"http://developer.gooddata.com/","size":31407,"stargazers_count":61,"watchers_count":61,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":98,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":98,"open_issues":27,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gooddata/gooddata-ruby/pulls/1330"},"html":{"href":"https://github.com/gooddata/gooddata-ruby/pull/1330"},"issue":{"href":"https://api.github.com/repos/gooddata/gooddata-ruby/issues/1330"},"comments":{"href":"https://api.github.com/repos/gooddata/gooddata-ruby/issues/1330/comments"},"review_comments":{"href":"https://api.github.com/repos/gooddata/gooddata-ruby/pulls/1330/comments"},"review_comment":{"href":"https://api.github.com/repos/gooddata/gooddata-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gooddata/gooddata-ruby/pulls/1330/commits"},"statuses":{"href":"https://api.github.com/repos/gooddata/gooddata-ruby/statuses/d014c6ee30efc043995cc878518455715011a0b2"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"yenkins"}}