{"action":"created","comment":{"url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/pulls/comments/52570967","id":52570967,"diff_hunk":"@@ -0,0 +1,188 @@\n+<?php\n+\n+namespace Pim\\Bundle\\DataGeneratorBundle\\Generator;\n+\n+use Faker;\n+use Pim\\Bundle\\CatalogBundle\\AttributeType\\AttributeTypes;\n+use Pim\\Bundle\\CatalogBundle\\Entity\\Group;\n+use Pim\\Bundle\\CatalogBundle\\Entity\\GroupTranslation;\n+use Pim\\Bundle\\CatalogBundle\\Model\\AttributeInterface;\n+use Pim\\Bundle\\CatalogBundle\\Model\\GroupInterface;\n+use Pim\\Bundle\\CatalogBundle\\Model\\GroupTypeInterface;\n+use Pim\\Bundle\\CatalogBundle\\Model\\LocaleInterface;\n+use Symfony\\Component\\Config\\Definition\\Exception\\Exception;\n+use Symfony\\Component\\Console\\Helper\\ProgressHelper;\n+\n+/**\n+ * Generate native CSV file for variant groups.\n+ *\n+ * @author    Pierre Allard <pierre.allard@akeneo.com>\n+ * @copyright 2016 Akeneo SAS (http://www.akeneo.com)\n+ * @license   http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)\n+ */\n+class VariantGroupGenerator implements GeneratorInterface\n+{\n+    const VARIANT_GROUPS_FILENAME = 'variant_groups.csv';\n+\n+    /** @var LocaleInterface[] */\n+    protected $locales;\n+\n+    /** @var AttributeInterface[] */\n+    protected $optionsAttributes;\n+\n+    /** @var GroupTypeInterface */\n+    protected $variantGroupType;\n+\n+    /** @var Faker\\Generator */\n+    protected $faker;\n+\n+    /**\n+     * @param AttributeInterface[] $attributes\n+     */\n+    public function setAttributes(array $attributes)\n+    {\n+        $this->optionsAttributes = array_filter($attributes, function ($attribute) {\n+            return in_array($attribute->getAttributeType(), [\n+                AttributeTypes::OPTION_SIMPLE_SELECT,\n+                AttributeTypes::REFERENCE_DATA_SIMPLE_SELECT\n+            ]);\n+        });\n+    }\n+\n+    /**\n+     * @param LocaleInterface[] $locales\n+     */\n+    public function setLocales(array $locales)\n+    {\n+        $this->locales = $locales;\n+    }\n+\n+    /**\n+     * @param GroupTypeInterface[] $groupTypes\n+     *\n+     * @return VariantGroupGenerator\n+     */\n+    public function setGroupTypes(array $groupTypes)\n+    {\n+        foreach ($groupTypes as $groupType) {\n+            if ($groupType->getCode() == 'VARIANT') {\n+                $this->variantGroupType = $groupType;\n+\n+                return $this;\n+            }\n+        }\n+\n+        throw new Exception('There is no VARIANT group. \\\n+            Please add \"group_types: ~\" into your fixtures configuration file.');\n+    }\n+\n+    /**\n+     * {@inheritdoc}\n+     */\n+    public function generate(array $config, $outputDir, ProgressHelper $progress, array $options = null)\n+    {\n+        $this->faker = Faker\\Factory::create();\n+\n+        $variantGroups = [];\n+        $data          = [];\n+\n+        for ($i = 0; $i < $config['count']; $i++) {\n+            $variantGroup = $this->generateVariantGroup($config);\n+            $variantGroups[] = $variantGroup;\n+            $data[] = $this->normalizeVariantGroup($variantGroup);\n+\n+            $progress->advance();\n+        }\n+\n+        if (count($variantGroups) > 0) {\n+            $this->writeCsvFIle($data, array_keys($data[0]), $outputDir);\n+        }\n+\n+        return $variantGroups;\n+    }\n+\n+    /**\n+     * @param array $config\n+     *\n+     * @return GroupInterface\n+     */\n+    protected function generateVariantGroup($config)\n+    {\n+        $group = new Group();\n+        $group->setType($this->variantGroupType);\n+        $group->setCode($this->faker->word());\n+\n+        $attributeFaker = Faker\\Factory::create();\n+\n+        $axisAttributes = [];\n+        for ($i = 0; $i < $config['axis_count']; $i++) {\n+            try {\n+                $attribute = $attributeFaker->unique()->randomElement($this->optionsAttributes);\n+            } catch (\\OverflowException $e) {\n+                throw new Exception(sprintf(\n+                    'There is only %s attributes available for variant group axis, %s needed.',\n+                    count($this->optionsAttributes),\n+                    $config['axis_count']\n+                ));\n+            }\n+            $axisAttributes[] = $attribute;\n+        }\n+\n+        $group->setAxisAttributes($axisAttributes);\n+\n+        foreach ($this->locales as $locale) {\n+            $translation = new GroupTranslation();\n+            $translation->setLabel($this->faker->unique()->word());\n+            $translation->setLocale($locale->getCode());\n+            $group->addTranslation($translation);\n+        }\n+\n+        return $group;\n+    }\n+\n+    /**\n+     * @param GroupInterface $variantGroup\n+     *\n+     * @return array\n+     */\n+    protected function normalizeVariantGroup(GroupInterface $variantGroup)\n+    {\n+        $axis = implode(',', array_map(function ($attribute) {\n+            return $attribute->getCode();\n+        }, $variantGroup->getAxisAttributes()->toArray()));\n+\n+        $result = [\n+            'code' => $variantGroup->getCode(),\n+            'axis' => $axis,\n+            'type' => $variantGroup->getType()->getCode()\n+        ];\n+\n+        /** @var GroupTranslation $translation */\n+        foreach ($variantGroup->getTranslations() as $translation) {\n+            $result[sprintf('label-%s', $translation->getLocale())] = $translation->getLabel();\n+        }\n+","path":"Generator/VariantGroupGenerator.php","position":164,"original_position":164,"commit_id":"9366a0d5a8ccfd56ac270eaa250d9cd89a700f0e","original_commit_id":"9366a0d5a8ccfd56ac270eaa250d9cd89a700f0e","user":{"login":"nidup","id":2104359,"avatar_url":"https://avatars.githubusercontent.com/u/2104359?v=3","gravatar_id":"","url":"https://api.github.com/users/nidup","html_url":"https://github.com/nidup","followers_url":"https://api.github.com/users/nidup/followers","following_url":"https://api.github.com/users/nidup/following{/other_user}","gists_url":"https://api.github.com/users/nidup/gists{/gist_id}","starred_url":"https://api.github.com/users/nidup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nidup/subscriptions","organizations_url":"https://api.github.com/users/nidup/orgs","repos_url":"https://api.github.com/users/nidup/repos","events_url":"https://api.github.com/users/nidup/events{/privacy}","received_events_url":"https://api.github.com/users/nidup/received_events","type":"User","site_admin":false},"body":"sounds good for axes, but we still not have variant group values here.\r\nfor instance,\r\n```\r\ncode;label-en_US;type;axis;name-en_US;name-fr_FR\r\ntruc;Truc;VARIANT;size,color;my vg value 1;my vg value 3\r\n```\r\n\r\nTo make it simple you can add only text attributes as value (because getting the data will be hard for any attribute type)","created_at":"2016-02-11T07:53:02Z","updated_at":"2016-02-11T07:53:02Z","html_url":"https://github.com/akeneo-labs/DataGeneratorBundle/pull/17#discussion_r52570967","pull_request_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/pulls/comments/52570967"},"html":{"href":"https://github.com/akeneo-labs/DataGeneratorBundle/pull/17#discussion_r52570967"},"pull_request":{"href":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/pulls/17","id":58891590,"html_url":"https://github.com/akeneo-labs/DataGeneratorBundle/pull/17","diff_url":"https://github.com/akeneo-labs/DataGeneratorBundle/pull/17.diff","patch_url":"https://github.com/akeneo-labs/DataGeneratorBundle/pull/17.patch","issue_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/issues/17","number":17,"state":"open","locked":false,"title":"Variantgroup generator","user":{"login":"pierallard","id":1590933,"avatar_url":"https://avatars.githubusercontent.com/u/1590933?v=3","gravatar_id":"","url":"https://api.github.com/users/pierallard","html_url":"https://github.com/pierallard","followers_url":"https://api.github.com/users/pierallard/followers","following_url":"https://api.github.com/users/pierallard/following{/other_user}","gists_url":"https://api.github.com/users/pierallard/gists{/gist_id}","starred_url":"https://api.github.com/users/pierallard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierallard/subscriptions","organizations_url":"https://api.github.com/users/pierallard/orgs","repos_url":"https://api.github.com/users/pierallard/repos","events_url":"https://api.github.com/users/pierallard/events{/privacy}","received_events_url":"https://api.github.com/users/pierallard/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-10T13:42:41Z","updated_at":"2016-02-11T07:53:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7543148bd9aab4b83a53c4fccce39bc801c6f8dd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/pulls/17/commits","review_comments_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/pulls/17/comments","review_comment_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/issues/17/comments","statuses_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/statuses/9366a0d5a8ccfd56ac270eaa250d9cd89a700f0e","head":{"label":"akeneo-labs:variant-groups","ref":"variant-groups","sha":"9366a0d5a8ccfd56ac270eaa250d9cd89a700f0e","user":{"login":"akeneo-labs","id":11755097,"avatar_url":"https://avatars.githubusercontent.com/u/11755097?v=3","gravatar_id":"","url":"https://api.github.com/users/akeneo-labs","html_url":"https://github.com/akeneo-labs","followers_url":"https://api.github.com/users/akeneo-labs/followers","following_url":"https://api.github.com/users/akeneo-labs/following{/other_user}","gists_url":"https://api.github.com/users/akeneo-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/akeneo-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akeneo-labs/subscriptions","organizations_url":"https://api.github.com/users/akeneo-labs/orgs","repos_url":"https://api.github.com/users/akeneo-labs/repos","events_url":"https://api.github.com/users/akeneo-labs/events{/privacy}","received_events_url":"https://api.github.com/users/akeneo-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":20538332,"name":"DataGeneratorBundle","full_name":"akeneo-labs/DataGeneratorBundle","owner":{"login":"akeneo-labs","id":11755097,"avatar_url":"https://avatars.githubusercontent.com/u/11755097?v=3","gravatar_id":"","url":"https://api.github.com/users/akeneo-labs","html_url":"https://github.com/akeneo-labs","followers_url":"https://api.github.com/users/akeneo-labs/followers","following_url":"https://api.github.com/users/akeneo-labs/following{/other_user}","gists_url":"https://api.github.com/users/akeneo-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/akeneo-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akeneo-labs/subscriptions","organizations_url":"https://api.github.com/users/akeneo-labs/orgs","repos_url":"https://api.github.com/users/akeneo-labs/repos","events_url":"https://api.github.com/users/akeneo-labs/events{/privacy}","received_events_url":"https://api.github.com/users/akeneo-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/akeneo-labs/DataGeneratorBundle","description":"Akeneo PIM Bundle to generate data in order to test high volume operations","fork":false,"url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle","forks_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/forks","keys_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/teams","hooks_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/hooks","issue_events_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/issues/events{/number}","events_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/events","assignees_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/assignees{/user}","branches_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/branches{/branch}","tags_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/tags","blobs_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/languages","stargazers_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/stargazers","contributors_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/contributors","subscribers_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/subscribers","subscription_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/subscription","commits_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/contents/{+path}","compare_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/merges","archive_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/downloads","issues_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/issues{/number}","pulls_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/labels{/name}","releases_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/releases{/id}","deployments_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/deployments","created_at":"2014-06-05T19:28:31Z","updated_at":"2016-01-29T13:09:57Z","pushed_at":"2016-02-10T18:50:21Z","git_url":"git://github.com/akeneo-labs/DataGeneratorBundle.git","ssh_url":"git@github.com:akeneo-labs/DataGeneratorBundle.git","clone_url":"https://github.com/akeneo-labs/DataGeneratorBundle.git","svn_url":"https://github.com/akeneo-labs/DataGeneratorBundle","homepage":"","size":170,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":4,"default_branch":"master"}},"base":{"label":"akeneo-labs:master","ref":"master","sha":"11936b40d5548ee41d2afbed3c6c3ddd6c18dc4f","user":{"login":"akeneo-labs","id":11755097,"avatar_url":"https://avatars.githubusercontent.com/u/11755097?v=3","gravatar_id":"","url":"https://api.github.com/users/akeneo-labs","html_url":"https://github.com/akeneo-labs","followers_url":"https://api.github.com/users/akeneo-labs/followers","following_url":"https://api.github.com/users/akeneo-labs/following{/other_user}","gists_url":"https://api.github.com/users/akeneo-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/akeneo-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akeneo-labs/subscriptions","organizations_url":"https://api.github.com/users/akeneo-labs/orgs","repos_url":"https://api.github.com/users/akeneo-labs/repos","events_url":"https://api.github.com/users/akeneo-labs/events{/privacy}","received_events_url":"https://api.github.com/users/akeneo-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":20538332,"name":"DataGeneratorBundle","full_name":"akeneo-labs/DataGeneratorBundle","owner":{"login":"akeneo-labs","id":11755097,"avatar_url":"https://avatars.githubusercontent.com/u/11755097?v=3","gravatar_id":"","url":"https://api.github.com/users/akeneo-labs","html_url":"https://github.com/akeneo-labs","followers_url":"https://api.github.com/users/akeneo-labs/followers","following_url":"https://api.github.com/users/akeneo-labs/following{/other_user}","gists_url":"https://api.github.com/users/akeneo-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/akeneo-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akeneo-labs/subscriptions","organizations_url":"https://api.github.com/users/akeneo-labs/orgs","repos_url":"https://api.github.com/users/akeneo-labs/repos","events_url":"https://api.github.com/users/akeneo-labs/events{/privacy}","received_events_url":"https://api.github.com/users/akeneo-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/akeneo-labs/DataGeneratorBundle","description":"Akeneo PIM Bundle to generate data in order to test high volume operations","fork":false,"url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle","forks_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/forks","keys_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/teams","hooks_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/hooks","issue_events_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/issues/events{/number}","events_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/events","assignees_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/assignees{/user}","branches_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/branches{/branch}","tags_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/tags","blobs_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/languages","stargazers_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/stargazers","contributors_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/contributors","subscribers_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/subscribers","subscription_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/subscription","commits_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/contents/{+path}","compare_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/merges","archive_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/downloads","issues_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/issues{/number}","pulls_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/labels{/name}","releases_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/releases{/id}","deployments_url":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/deployments","created_at":"2014-06-05T19:28:31Z","updated_at":"2016-01-29T13:09:57Z","pushed_at":"2016-02-10T18:50:21Z","git_url":"git://github.com/akeneo-labs/DataGeneratorBundle.git","ssh_url":"git@github.com:akeneo-labs/DataGeneratorBundle.git","clone_url":"https://github.com/akeneo-labs/DataGeneratorBundle.git","svn_url":"https://github.com/akeneo-labs/DataGeneratorBundle","homepage":"","size":170,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/pulls/17"},"html":{"href":"https://github.com/akeneo-labs/DataGeneratorBundle/pull/17"},"issue":{"href":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/issues/17"},"comments":{"href":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/akeneo-labs/DataGeneratorBundle/statuses/9366a0d5a8ccfd56ac270eaa250d9cd89a700f0e"}}}}