{"action":"created","comment":{"url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/pulls/comments/58838193","id":58838193,"diff_hunk":"@@ -0,0 +1,313 @@\n+package com.commercetools.dataimport.products;\n+\n+import com.neovisionaries.i18n.CountryCode;\n+import io.sphere.sdk.categories.Category;\n+import io.sphere.sdk.categories.CategoryTree;\n+import io.sphere.sdk.customergroups.CustomerGroup;\n+import io.sphere.sdk.models.LocalizedString;\n+import io.sphere.sdk.models.LocalizedStringEntry;\n+import io.sphere.sdk.models.Reference;\n+import io.sphere.sdk.models.ResourceIdentifier;\n+import io.sphere.sdk.products.*;\n+import io.sphere.sdk.products.attributes.*;\n+import io.sphere.sdk.producttypes.ProductType;\n+import io.sphere.sdk.taxcategories.TaxCategory;\n+import io.sphere.sdk.utils.MoneyImpl;\n+import org.springframework.batch.core.JobExecution;\n+import org.springframework.batch.core.StepExecution;\n+import org.springframework.batch.core.annotation.BeforeStep;\n+import org.springframework.batch.item.ExecutionContext;\n+import org.springframework.batch.item.ItemStreamException;\n+import org.springframework.batch.item.ItemStreamReader;\n+import org.springframework.batch.item.file.FlatFileItemReader;\n+import org.springframework.batch.item.file.mapping.BeanWrapperFieldSetMapper;\n+import org.springframework.batch.item.file.mapping.DefaultLineMapper;\n+import org.springframework.batch.item.file.mapping.FieldSetMapper;\n+import org.springframework.batch.item.file.mapping.PassThroughFieldSetMapper;\n+import org.springframework.batch.item.file.transform.DelimitedLineTokenizer;\n+import org.springframework.batch.item.file.transform.FieldSet;\n+import org.springframework.core.io.Resource;\n+import org.springframework.util.StringUtils;\n+import org.springframework.validation.BindException;\n+\n+import java.util.*;\n+import java.util.regex.Matcher;\n+import java.util.regex.Pattern;\n+import java.util.stream.Stream;\n+\n+import static java.util.Arrays.asList;\n+import static java.util.stream.Collectors.joining;\n+import static java.util.stream.Collectors.toList;\n+import static java.util.stream.Collectors.toSet;\n+import static org.apache.commons.lang3.StringUtils.isEmpty;\n+import static org.apache.commons.lang3.StringUtils.isNotEmpty;\n+\n+class ProductDraftReader implements ItemStreamReader<ProductDraft> {\n+    private FlatFileItemReader<FieldSet> delegate;\n+    private final Resource attributeDefinitionsCsvResource;\n+    private final int maxProducts;\n+    private int currentProducts = 0;\n+    private ProductDraftBuilder prevEntry = null;\n+    private String b2bCustomerGroupId;\n+    private List<ProductType> productTypes;\n+    private TaxCategory taxCategory;\n+    private CategoryTree categoryTree;\n+    private static final Pattern pricePattern = Pattern.compile(\"(?:(?<country>\\\\w{2})-)?(?<currency>\\\\w{3}) (?<centAmount>\\\\d{1,})(?:[|]\\\\d{1,})?(?:[ ](?<customerGroup>\\\\w\\\\p{Alnum}+))?$\");\n+\n+    public ProductDraftReader(final Resource attributeDefinitionsCsvResource, final int maxProducts) {\n+        this.attributeDefinitionsCsvResource = attributeDefinitionsCsvResource;\n+        this.maxProducts = maxProducts;\n+        final DefaultLineMapper<FieldSet> fullLineMapper = new DefaultLineMapper<FieldSet>() {{\n+            setLineTokenizer(new DelimitedLineTokenizer() {{\n+                setNames(new String[]{\"productType\",\"variantId\",\"id\",\"sku\",\"prices\",\"tax\",\"categories\",\"images\",\"name.de\",\"name.en\",\"description.de\",\"description.en\",\"slug.de\",\"slug.en\",\"metaTitle.de\",\"metaTitle.en\",\"metaDescription.de\",\"metaDescription.en\",\"metaKeywords.de\",\"metaKeywords.en\",\"searchKeywords.de\",\"searchKeywords.en\",\"creationDate\",\"articleNumberManufacturer\",\"articleNumberMax\",\"matrixId\",\"baseId\",\"designer\",\"madeInItaly\",\"completeTheLook\",\"commonSize\",\"size\",\"color\",\"colorFreeDefinition.de\",\"colorFreeDefinition.en\",\"details.de\",\"details.en\",\"style\",\"gender\",\"season\",\"isOnStock\",\"isLook\",\"lookProducts\",\"seasonNew\"});\n+                setStrict(false);\n+            }});\n+            setFieldSetMapper(new PassThroughFieldSetMapper());\n+        }};\n+        FlatFileItemReader<FieldSet> reader = new FlatFileItemReader<>();\n+        reader.setResource(this.attributeDefinitionsCsvResource);\n+        reader.setLineMapper(fullLineMapper);\n+        reader.setLinesToSkip(1);\n+        this.delegate = reader;\n+    }\n+\n+    @Override\n+    public ProductDraft read() throws Exception {\n+        if (currentProducts < maxProducts) {\n+            currentProducts++;\n+            return readDelegate();\n+        }\n+        return null;\n+    }\n+\n+    private ProductDraft readDelegate() throws Exception {\n+        ProductDraftBuilder entry = null;\n+        FieldSet currentLine = null;\n+        do {\n+            currentLine = delegate.read();\n+            if (currentLine != null) {\n+                if (isNewEntry(currentLine)) {\n+                    if (prevEntry != null) {\n+                        entry = prevEntry;\n+                        prevEntry = createNewEntry(currentLine);\n+                    } else {\n+                        prevEntry = createNewEntry(currentLine);\n+                    }\n+                } else {\n+                    final ProductVariantDraftBuilder variantDraftBuilder = createNewVariantDraftBuilder(currentLine, prevEntry.build().getProductType().getKey());\n+                    prevEntry.plusVariants(variantDraftBuilder.build());\n+                }\n+            }\n+        } while (currentLine != null && entry == null);\n+        return entry != null ? entry.build() : null;\n+    }\n+\n+    private ProductVariantDraftBuilder createNewVariantDraftBuilder(final FieldSet currentLine, final String productTypeKey) throws BindException {\n+        final ProductsCsvEntry productsCsvEntry = mapLineToEntry(currentLine);\n+        final ProductVariantDraftBuilder builder = ProductVariantDraftBuilder.of();\n+        builder.sku(productsCsvEntry.getSku());\n+        builder.prices(parsePricesLine(productsCsvEntry.getPrices()));\n+        builder.attributes(parseAttributes(currentLine, productTypes, productTypeKey));\n+        addImages(productsCsvEntry, builder);\n+        return builder;\n+    }\n+\n+    private void addImages(final ProductsCsvEntry productsCsvEntry, final ProductVariantDraftBuilder builder) {\n+        if (productsCsvEntry.getImages().contains(\";\") || productsCsvEntry.getImages().contains(\",\")) {\n+            throw new RuntimeException(\"not prepared for multi images\" + productsCsvEntry.getImages());\n+        }\n+        if (!isEmpty(productsCsvEntry.getImages())) {\n+            final String url = productsCsvEntry.getImages();\n+            builder.images(Image.of(url, ImageDimensions.of(0, 0)));\n+        }\n+    }\n+\n+    private List<AttributeDraft> parseAttributes(final FieldSet currentLine, final List<ProductType> productTypes, final String productTypeKey) {","path":"importApp/src/main/java/com/commercetools/dataimport/products/ProductDraftReader.java","position":125,"original_position":125,"commit_id":"9ef645dd9728c01fcfeb455c101cd668544fd609","original_commit_id":"4654476762ee070e7c6cb25519409e96ab7ef4b5","user":{"login":"schleichardt","id":1320833,"avatar_url":"https://avatars.githubusercontent.com/u/1320833?v=3","gravatar_id":"","url":"https://api.github.com/users/schleichardt","html_url":"https://github.com/schleichardt","followers_url":"https://api.github.com/users/schleichardt/followers","following_url":"https://api.github.com/users/schleichardt/following{/other_user}","gists_url":"https://api.github.com/users/schleichardt/gists{/gist_id}","starred_url":"https://api.github.com/users/schleichardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schleichardt/subscriptions","organizations_url":"https://api.github.com/users/schleichardt/orgs","repos_url":"https://api.github.com/users/schleichardt/repos","events_url":"https://api.github.com/users/schleichardt/events{/privacy}","received_events_url":"https://api.github.com/users/schleichardt/received_events","type":"User","site_admin":false},"body":"yep, I will do it later","created_at":"2016-04-07T08:47:07Z","updated_at":"2016-04-07T08:47:07Z","html_url":"https://github.com/sphereio/commercetools-sunrise-data/pull/21#discussion_r58838193","pull_request_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/pulls/comments/58838193"},"html":{"href":"https://github.com/sphereio/commercetools-sunrise-data/pull/21#discussion_r58838193"},"pull_request":{"href":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/pulls/21","id":58774979,"html_url":"https://github.com/sphereio/commercetools-sunrise-data/pull/21","diff_url":"https://github.com/sphereio/commercetools-sunrise-data/pull/21.diff","patch_url":"https://github.com/sphereio/commercetools-sunrise-data/pull/21.patch","issue_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/issues/21","number":21,"state":"open","locked":false,"title":"Import app","user":{"login":"schleichardt","id":1320833,"avatar_url":"https://avatars.githubusercontent.com/u/1320833?v=3","gravatar_id":"","url":"https://api.github.com/users/schleichardt","html_url":"https://github.com/schleichardt","followers_url":"https://api.github.com/users/schleichardt/followers","following_url":"https://api.github.com/users/schleichardt/following{/other_user}","gists_url":"https://api.github.com/users/schleichardt/gists{/gist_id}","starred_url":"https://api.github.com/users/schleichardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schleichardt/subscriptions","organizations_url":"https://api.github.com/users/schleichardt/orgs","repos_url":"https://api.github.com/users/schleichardt/repos","events_url":"https://api.github.com/users/schleichardt/events{/privacy}","received_events_url":"https://api.github.com/users/schleichardt/received_events","type":"User","site_admin":false},"body":"still WIP but I create a pull request to be able to present a diff","created_at":"2016-02-09T16:49:16Z","updated_at":"2016-04-07T08:47:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"950f029be245f24ac6685e7af35049e37af85e7e","assignee":{"login":"schleichardt","id":1320833,"avatar_url":"https://avatars.githubusercontent.com/u/1320833?v=3","gravatar_id":"","url":"https://api.github.com/users/schleichardt","html_url":"https://github.com/schleichardt","followers_url":"https://api.github.com/users/schleichardt/followers","following_url":"https://api.github.com/users/schleichardt/following{/other_user}","gists_url":"https://api.github.com/users/schleichardt/gists{/gist_id}","starred_url":"https://api.github.com/users/schleichardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schleichardt/subscriptions","organizations_url":"https://api.github.com/users/schleichardt/orgs","repos_url":"https://api.github.com/users/schleichardt/repos","events_url":"https://api.github.com/users/schleichardt/events{/privacy}","received_events_url":"https://api.github.com/users/schleichardt/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/pulls/21/commits","review_comments_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/pulls/21/comments","review_comment_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/issues/21/comments","statuses_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/statuses/9ef645dd9728c01fcfeb455c101cd668544fd609","head":{"label":"sphereio:import-app","ref":"import-app","sha":"9ef645dd9728c01fcfeb455c101cd668544fd609","user":{"login":"sphereio","id":4119130,"avatar_url":"https://avatars.githubusercontent.com/u/4119130?v=3","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":41093366,"name":"commercetools-sunrise-data","full_name":"sphereio/commercetools-sunrise-data","owner":{"login":"sphereio","id":4119130,"avatar_url":"https://avatars.githubusercontent.com/u/4119130?v=3","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/commercetools-sunrise-data","description":"The data (product types, categories, products) for Sunrise","fork":false,"url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data","forks_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/forks","keys_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/teams","hooks_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/hooks","issue_events_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/issues/events{/number}","events_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/events","assignees_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/assignees{/user}","branches_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/branches{/branch}","tags_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/tags","blobs_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/git/refs{/sha}","trees_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/statuses/{sha}","languages_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/languages","stargazers_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/stargazers","contributors_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/contributors","subscribers_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/subscribers","subscription_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/subscription","commits_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/commits{/sha}","git_commits_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/git/commits{/sha}","comments_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/comments{/number}","issue_comment_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/issues/comments{/number}","contents_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/contents/{+path}","compare_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/merges","archive_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/downloads","issues_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/issues{/number}","pulls_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/pulls{/number}","milestones_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/milestones{/number}","notifications_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/labels{/name}","releases_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/releases{/id}","deployments_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/deployments","created_at":"2015-08-20T12:02:17Z","updated_at":"2016-01-21T14:16:33Z","pushed_at":"2016-04-07T08:46:24Z","git_url":"git://github.com/sphereio/commercetools-sunrise-data.git","ssh_url":"git@github.com:sphereio/commercetools-sunrise-data.git","clone_url":"https://github.com/sphereio/commercetools-sunrise-data.git","svn_url":"https://github.com/sphereio/commercetools-sunrise-data","homepage":null,"size":5936,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":1,"default_branch":"master"}},"base":{"label":"sphereio:master","ref":"master","sha":"7c75476c22309f016abee91cbe0e3e710bcee936","user":{"login":"sphereio","id":4119130,"avatar_url":"https://avatars.githubusercontent.com/u/4119130?v=3","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":41093366,"name":"commercetools-sunrise-data","full_name":"sphereio/commercetools-sunrise-data","owner":{"login":"sphereio","id":4119130,"avatar_url":"https://avatars.githubusercontent.com/u/4119130?v=3","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/commercetools-sunrise-data","description":"The data (product types, categories, products) for Sunrise","fork":false,"url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data","forks_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/forks","keys_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/teams","hooks_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/hooks","issue_events_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/issues/events{/number}","events_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/events","assignees_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/assignees{/user}","branches_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/branches{/branch}","tags_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/tags","blobs_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/git/refs{/sha}","trees_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/statuses/{sha}","languages_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/languages","stargazers_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/stargazers","contributors_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/contributors","subscribers_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/subscribers","subscription_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/subscription","commits_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/commits{/sha}","git_commits_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/git/commits{/sha}","comments_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/comments{/number}","issue_comment_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/issues/comments{/number}","contents_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/contents/{+path}","compare_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/merges","archive_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/downloads","issues_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/issues{/number}","pulls_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/pulls{/number}","milestones_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/milestones{/number}","notifications_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/labels{/name}","releases_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/releases{/id}","deployments_url":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/deployments","created_at":"2015-08-20T12:02:17Z","updated_at":"2016-01-21T14:16:33Z","pushed_at":"2016-04-07T08:46:24Z","git_url":"git://github.com/sphereio/commercetools-sunrise-data.git","ssh_url":"git@github.com:sphereio/commercetools-sunrise-data.git","clone_url":"https://github.com/sphereio/commercetools-sunrise-data.git","svn_url":"https://github.com/sphereio/commercetools-sunrise-data","homepage":null,"size":5936,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/pulls/21"},"html":{"href":"https://github.com/sphereio/commercetools-sunrise-data/pull/21"},"issue":{"href":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/issues/21"},"comments":{"href":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/sphereio/commercetools-sunrise-data/statuses/9ef645dd9728c01fcfeb455c101cd668544fd609"}}}}