{"action":"created","comment":{"url":"https://api.github.com/repos/sphereio/sphere-product-import/pulls/comments/201036425","pull_request_review_id":135433856,"id":201036425,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTAzNjQyNQ==","diff_hunk":"@@ -18,7 +18,7 @@ sampleProductTypeForProduct =\n \n bigProductType =\n   name: 'bigProductType'\n-  description: 'test big poroductType description'\n+  description: 'test big productType description'","path":"test/integration/product-import.spec.coffee","position":5,"original_position":5,"commit_id":"e4a36bd9c8ed9370ede1cdaea6f1ceda4fc829e9","original_commit_id":"e4a36bd9c8ed9370ede1cdaea6f1ceda4fc829e9","user":{"login":"junajan","id":1090382,"node_id":"MDQ6VXNlcjEwOTAzODI=","avatar_url":"https://avatars0.githubusercontent.com/u/1090382?v=4","gravatar_id":"","url":"https://api.github.com/users/junajan","html_url":"https://github.com/junajan","followers_url":"https://api.github.com/users/junajan/followers","following_url":"https://api.github.com/users/junajan/following{/other_user}","gists_url":"https://api.github.com/users/junajan/gists{/gist_id}","starred_url":"https://api.github.com/users/junajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junajan/subscriptions","organizations_url":"https://api.github.com/users/junajan/orgs","repos_url":"https://api.github.com/users/junajan/repos","events_url":"https://api.github.com/users/junajan/events{/privacy}","received_events_url":"https://api.github.com/users/junajan/received_events","type":"User","site_admin":false},"body":"👍","created_at":"2018-07-09T15:05:13Z","updated_at":"2018-07-09T15:11:41Z","html_url":"https://github.com/sphereio/sphere-product-import/pull/126#discussion_r201036425","pull_request_url":"https://api.github.com/repos/sphereio/sphere-product-import/pulls/126","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/sphereio/sphere-product-import/pulls/comments/201036425"},"html":{"href":"https://github.com/sphereio/sphere-product-import/pull/126#discussion_r201036425"},"pull_request":{"href":"https://api.github.com/repos/sphereio/sphere-product-import/pulls/126"}}},"pull_request":{"url":"https://api.github.com/repos/sphereio/sphere-product-import/pulls/126","id":200094347,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwMDk0MzQ3","html_url":"https://github.com/sphereio/sphere-product-import/pull/126","diff_url":"https://github.com/sphereio/sphere-product-import/pull/126.diff","patch_url":"https://github.com/sphereio/sphere-product-import/pull/126.patch","issue_url":"https://api.github.com/repos/sphereio/sphere-product-import/issues/126","number":126,"state":"open","locked":false,"title":"feat(product-import): Set product state when not specified","user":{"login":"michael-s-grant","id":18551981,"node_id":"MDQ6VXNlcjE4NTUxOTgx","avatar_url":"https://avatars1.githubusercontent.com/u/18551981?v=4","gravatar_id":"","url":"https://api.github.com/users/michael-s-grant","html_url":"https://github.com/michael-s-grant","followers_url":"https://api.github.com/users/michael-s-grant/followers","following_url":"https://api.github.com/users/michael-s-grant/following{/other_user}","gists_url":"https://api.github.com/users/michael-s-grant/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-s-grant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-s-grant/subscriptions","organizations_url":"https://api.github.com/users/michael-s-grant/orgs","repos_url":"https://api.github.com/users/michael-s-grant/repos","events_url":"https://api.github.com/users/michael-s-grant/events{/privacy}","received_events_url":"https://api.github.com/users/michael-s-grant/received_events","type":"User","site_admin":false},"body":"#### Summary\r\n\r\nSet state to New for REWE Digital Marketplace partner products if state is not specified.  Fixes #125/[PIN-1887](https://jira.rewe-digital.com/browse/PIN-1887).*\r\n\r\n#### Description\r\nThis work emerged out of the [addition of states](https://confluence.rewe-digital.com/pages/viewpage.action?pageId=364020405)* to the REWE Marketplace product model.  When new products are imported, the state is now set to `New` if it is not specified.\r\n\r\nThe pull request also includes a bit of refactoring.\r\n\r\n∗ Sorry, open-source contributors, this link will not be accessible from outside of commercetools and REWE Digital.\r\n\r\n- Tests\r\n    - [X] Unit\r\n    - [X] Integration\r\n    - [ ] Acceptance\r\n- [ ] Documentation\r\n","created_at":"2018-07-09T13:09:36Z","updated_at":"2018-07-09T15:11:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"80f36d04e58797c5e893ef6efabc300fc12a5053","assignee":null,"assignees":[],"requested_reviewers":[{"login":"daern91","id":6084427,"node_id":"MDQ6VXNlcjYwODQ0Mjc=","avatar_url":"https://avatars2.githubusercontent.com/u/6084427?v=4","gravatar_id":"","url":"https://api.github.com/users/daern91","html_url":"https://github.com/daern91","followers_url":"https://api.github.com/users/daern91/followers","following_url":"https://api.github.com/users/daern91/following{/other_user}","gists_url":"https://api.github.com/users/daern91/gists{/gist_id}","starred_url":"https://api.github.com/users/daern91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daern91/subscriptions","organizations_url":"https://api.github.com/users/daern91/orgs","repos_url":"https://api.github.com/users/daern91/repos","events_url":"https://api.github.com/users/daern91/events{/privacy}","received_events_url":"https://api.github.com/users/daern91/received_events","type":"User","site_admin":false},{"login":"Babanila","id":23488237,"node_id":"MDQ6VXNlcjIzNDg4MjM3","avatar_url":"https://avatars2.githubusercontent.com/u/23488237?v=4","gravatar_id":"","url":"https://api.github.com/users/Babanila","html_url":"https://github.com/Babanila","followers_url":"https://api.github.com/users/Babanila/followers","following_url":"https://api.github.com/users/Babanila/following{/other_user}","gists_url":"https://api.github.com/users/Babanila/gists{/gist_id}","starred_url":"https://api.github.com/users/Babanila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Babanila/subscriptions","organizations_url":"https://api.github.com/users/Babanila/orgs","repos_url":"https://api.github.com/users/Babanila/repos","events_url":"https://api.github.com/users/Babanila/events{/privacy}","received_events_url":"https://api.github.com/users/Babanila/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sphereio/sphere-product-import/pulls/126/commits","review_comments_url":"https://api.github.com/repos/sphereio/sphere-product-import/pulls/126/comments","review_comment_url":"https://api.github.com/repos/sphereio/sphere-product-import/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sphereio/sphere-product-import/issues/126/comments","statuses_url":"https://api.github.com/repos/sphereio/sphere-product-import/statuses/e4a36bd9c8ed9370ede1cdaea6f1ceda4fc829e9","head":{"label":"sphereio:125-set-product-state-when-not-specified","ref":"125-set-product-state-when-not-specified","sha":"e4a36bd9c8ed9370ede1cdaea6f1ceda4fc829e9","user":{"login":"sphereio","id":4119130,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMTkxMzA=","avatar_url":"https://avatars1.githubusercontent.com/u/4119130?v=4","gravatar_id":"","url":"https://api.github.com/users/sphereio","html_url":"https://github.com/sphereio","followers_url":"https://api.github.com/users/sphereio/followers","following_url":"https://api.github.com/users/sphereio/following{/other_user}","gists_url":"https://api.github.com/users/sphereio/gists{/gist_id}","starred_url":"https://api.github.com/users/sphereio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphereio/subscriptions","organizations_url":"https://api.github.com/users/sphereio/orgs","repos_url":"https://api.github.com/users/sphereio/repos","events_url":"https://api.github.com/users/sphereio/events{/privacy}","received_events_url":"https://api.github.com/users/sphereio/received_events","type":"Organization","site_admin":false},"repo":{"id":34815423,"node_id":"MDEwOlJlcG9zaXRvcnkzNDgxNTQyMw==","name":"sphere-product-import","full_name":"sphereio/sphere-product-import","owner":{"login":"sphereio","id":4119130,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMTkxMzA=","avatar_url":"https://avatars1.githubusercontent.com/u/4119130?v=4","gravatar_id":"","url":"https://api.github.com/users/sphereio","html_url":"https://github.com/sphereio","followers_url":"https://api.github.com/users/sphereio/followers","following_url":"https://api.github.com/users/sphereio/following{/other_user}","gists_url":"https://api.github.com/users/sphereio/gists{/gist_id}","starred_url":"https://api.github.com/users/sphereio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphereio/subscriptions","organizations_url":"https://api.github.com/users/sphereio/orgs","repos_url":"https://api.github.com/users/sphereio/repos","events_url":"https://api.github.com/users/sphereio/events{/privacy}","received_events_url":"https://api.github.com/users/sphereio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sphereio/sphere-product-import","description":"Manage product data","fork":false,"url":"https://api.github.com/repos/sphereio/sphere-product-import","forks_url":"https://api.github.com/repos/sphereio/sphere-product-import/forks","keys_url":"https://api.github.com/repos/sphereio/sphere-product-import/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sphereio/sphere-product-import/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sphereio/sphere-product-import/teams","hooks_url":"https://api.github.com/repos/sphereio/sphere-product-import/hooks","issue_events_url":"https://api.github.com/repos/sphereio/sphere-product-import/issues/events{/number}","events_url":"https://api.github.com/repos/sphereio/sphere-product-import/events","assignees_url":"https://api.github.com/repos/sphereio/sphere-product-import/assignees{/user}","branches_url":"https://api.github.com/repos/sphereio/sphere-product-import/branches{/branch}","tags_url":"https://api.github.com/repos/sphereio/sphere-product-import/tags","blobs_url":"https://api.github.com/repos/sphereio/sphere-product-import/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sphereio/sphere-product-import/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sphereio/sphere-product-import/git/refs{/sha}","trees_url":"https://api.github.com/repos/sphereio/sphere-product-import/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sphereio/sphere-product-import/statuses/{sha}","languages_url":"https://api.github.com/repos/sphereio/sphere-product-import/languages","stargazers_url":"https://api.github.com/repos/sphereio/sphere-product-import/stargazers","contributors_url":"https://api.github.com/repos/sphereio/sphere-product-import/contributors","subscribers_url":"https://api.github.com/repos/sphereio/sphere-product-import/subscribers","subscription_url":"https://api.github.com/repos/sphereio/sphere-product-import/subscription","commits_url":"https://api.github.com/repos/sphereio/sphere-product-import/commits{/sha}","git_commits_url":"https://api.github.com/repos/sphereio/sphere-product-import/git/commits{/sha}","comments_url":"https://api.github.com/repos/sphereio/sphere-product-import/comments{/number}","issue_comment_url":"https://api.github.com/repos/sphereio/sphere-product-import/issues/comments{/number}","contents_url":"https://api.github.com/repos/sphereio/sphere-product-import/contents/{+path}","compare_url":"https://api.github.com/repos/sphereio/sphere-product-import/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sphereio/sphere-product-import/merges","archive_url":"https://api.github.com/repos/sphereio/sphere-product-import/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sphereio/sphere-product-import/downloads","issues_url":"https://api.github.com/repos/sphereio/sphere-product-import/issues{/number}","pulls_url":"https://api.github.com/repos/sphereio/sphere-product-import/pulls{/number}","milestones_url":"https://api.github.com/repos/sphereio/sphere-product-import/milestones{/number}","notifications_url":"https://api.github.com/repos/sphereio/sphere-product-import/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sphereio/sphere-product-import/labels{/name}","releases_url":"https://api.github.com/repos/sphereio/sphere-product-import/releases{/id}","deployments_url":"https://api.github.com/repos/sphereio/sphere-product-import/deployments","created_at":"2015-04-29T20:01:14Z","updated_at":"2018-07-03T13:53:55Z","pushed_at":"2018-07-09T13:09:36Z","git_url":"git://github.com/sphereio/sphere-product-import.git","ssh_url":"git@github.com:sphereio/sphere-product-import.git","clone_url":"https://github.com/sphereio/sphere-product-import.git","svn_url":"https://github.com/sphereio/sphere-product-import","homepage":null,"size":435,"stargazers_count":3,"watchers_count":3,"language":"CoffeeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":15,"watchers":3,"default_branch":"master"}},"base":{"label":"sphereio:master","ref":"master","sha":"173b3b86f7705c0c2f21432f7a2b3aaded496c0d","user":{"login":"sphereio","id":4119130,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMTkxMzA=","avatar_url":"https://avatars1.githubusercontent.com/u/4119130?v=4","gravatar_id":"","url":"https://api.github.com/users/sphereio","html_url":"https://github.com/sphereio","followers_url":"https://api.github.com/users/sphereio/followers","following_url":"https://api.github.com/users/sphereio/following{/other_user}","gists_url":"https://api.github.com/users/sphereio/gists{/gist_id}","starred_url":"https://api.github.com/users/sphereio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphereio/subscriptions","organizations_url":"https://api.github.com/users/sphereio/orgs","repos_url":"https://api.github.com/users/sphereio/repos","events_url":"https://api.github.com/users/sphereio/events{/privacy}","received_events_url":"https://api.github.com/users/sphereio/received_events","type":"Organization","site_admin":false},"repo":{"id":34815423,"node_id":"MDEwOlJlcG9zaXRvcnkzNDgxNTQyMw==","name":"sphere-product-import","full_name":"sphereio/sphere-product-import","owner":{"login":"sphereio","id":4119130,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMTkxMzA=","avatar_url":"https://avatars1.githubusercontent.com/u/4119130?v=4","gravatar_id":"","url":"https://api.github.com/users/sphereio","html_url":"https://github.com/sphereio","followers_url":"https://api.github.com/users/sphereio/followers","following_url":"https://api.github.com/users/sphereio/following{/other_user}","gists_url":"https://api.github.com/users/sphereio/gists{/gist_id}","starred_url":"https://api.github.com/users/sphereio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphereio/subscriptions","organizations_url":"https://api.github.com/users/sphereio/orgs","repos_url":"https://api.github.com/users/sphereio/repos","events_url":"https://api.github.com/users/sphereio/events{/privacy}","received_events_url":"https://api.github.com/users/sphereio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sphereio/sphere-product-import","description":"Manage product data","fork":false,"url":"https://api.github.com/repos/sphereio/sphere-product-import","forks_url":"https://api.github.com/repos/sphereio/sphere-product-import/forks","keys_url":"https://api.github.com/repos/sphereio/sphere-product-import/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sphereio/sphere-product-import/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sphereio/sphere-product-import/teams","hooks_url":"https://api.github.com/repos/sphereio/sphere-product-import/hooks","issue_events_url":"https://api.github.com/repos/sphereio/sphere-product-import/issues/events{/number}","events_url":"https://api.github.com/repos/sphereio/sphere-product-import/events","assignees_url":"https://api.github.com/repos/sphereio/sphere-product-import/assignees{/user}","branches_url":"https://api.github.com/repos/sphereio/sphere-product-import/branches{/branch}","tags_url":"https://api.github.com/repos/sphereio/sphere-product-import/tags","blobs_url":"https://api.github.com/repos/sphereio/sphere-product-import/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sphereio/sphere-product-import/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sphereio/sphere-product-import/git/refs{/sha}","trees_url":"https://api.github.com/repos/sphereio/sphere-product-import/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sphereio/sphere-product-import/statuses/{sha}","languages_url":"https://api.github.com/repos/sphereio/sphere-product-import/languages","stargazers_url":"https://api.github.com/repos/sphereio/sphere-product-import/stargazers","contributors_url":"https://api.github.com/repos/sphereio/sphere-product-import/contributors","subscribers_url":"https://api.github.com/repos/sphereio/sphere-product-import/subscribers","subscription_url":"https://api.github.com/repos/sphereio/sphere-product-import/subscription","commits_url":"https://api.github.com/repos/sphereio/sphere-product-import/commits{/sha}","git_commits_url":"https://api.github.com/repos/sphereio/sphere-product-import/git/commits{/sha}","comments_url":"https://api.github.com/repos/sphereio/sphere-product-import/comments{/number}","issue_comment_url":"https://api.github.com/repos/sphereio/sphere-product-import/issues/comments{/number}","contents_url":"https://api.github.com/repos/sphereio/sphere-product-import/contents/{+path}","compare_url":"https://api.github.com/repos/sphereio/sphere-product-import/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sphereio/sphere-product-import/merges","archive_url":"https://api.github.com/repos/sphereio/sphere-product-import/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sphereio/sphere-product-import/downloads","issues_url":"https://api.github.com/repos/sphereio/sphere-product-import/issues{/number}","pulls_url":"https://api.github.com/repos/sphereio/sphere-product-import/pulls{/number}","milestones_url":"https://api.github.com/repos/sphereio/sphere-product-import/milestones{/number}","notifications_url":"https://api.github.com/repos/sphereio/sphere-product-import/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sphereio/sphere-product-import/labels{/name}","releases_url":"https://api.github.com/repos/sphereio/sphere-product-import/releases{/id}","deployments_url":"https://api.github.com/repos/sphereio/sphere-product-import/deployments","created_at":"2015-04-29T20:01:14Z","updated_at":"2018-07-03T13:53:55Z","pushed_at":"2018-07-09T13:09:36Z","git_url":"git://github.com/sphereio/sphere-product-import.git","ssh_url":"git@github.com:sphereio/sphere-product-import.git","clone_url":"https://github.com/sphereio/sphere-product-import.git","svn_url":"https://github.com/sphereio/sphere-product-import","homepage":null,"size":435,"stargazers_count":3,"watchers_count":3,"language":"CoffeeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":15,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sphereio/sphere-product-import/pulls/126"},"html":{"href":"https://github.com/sphereio/sphere-product-import/pull/126"},"issue":{"href":"https://api.github.com/repos/sphereio/sphere-product-import/issues/126"},"comments":{"href":"https://api.github.com/repos/sphereio/sphere-product-import/issues/126/comments"},"review_comments":{"href":"https://api.github.com/repos/sphereio/sphere-product-import/pulls/126/comments"},"review_comment":{"href":"https://api.github.com/repos/sphereio/sphere-product-import/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sphereio/sphere-product-import/pulls/126/commits"},"statuses":{"href":"https://api.github.com/repos/sphereio/sphere-product-import/statuses/e4a36bd9c8ed9370ede1cdaea6f1ceda4fc829e9"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"junajan"}}