{"action":"created","comment":{"url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/pulls/comments/26287926","id":26287926,"diff_hunk":"@@ -0,0 +1,206 @@\n+<?php\n+\n+/**\n+ * Copyright 2014 SURFnet bv\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+namespace Surfnet\\StepupSelfService\\SamlStepupProviderBundle\\DependencyInjection;\n+\n+use Symfony\\Component\\Config\\Definition\\Exception\\InvalidConfigurationException;\n+use Symfony\\Component\\DependencyInjection\\ContainerBuilder;\n+use Symfony\\Component\\Config\\FileLocator;\n+use Symfony\\Component\\DependencyInjection\\Definition;\n+use Symfony\\Component\\DependencyInjection\\Reference;\n+use Symfony\\Component\\HttpKernel\\DependencyInjection\\Extension;\n+use Symfony\\Component\\DependencyInjection\\Loader;\n+\n+class SurfnetStepupSelfServiceSamlStepupProviderExtension extends Extension\n+{\n+    /**\n+     * {@inheritdoc}\n+     */\n+    public function load(array $configs, ContainerBuilder $container)\n+    {\n+        $configuration = new Configuration();\n+        $config = $this->processConfiguration($configuration, $configs);\n+\n+        $loader = new Loader\\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));\n+        $loader->load('services.yml');\n+\n+        foreach ($config['providers'] as $provider => $providerConfiguration) {\n+            // may seem a bit strange, but this prevents casing issue when getting/setting/creating provider\n+            // service definitions etc.\n+            if ($provider !== strtolower($provider)) {\n+                throw new InvalidConfigurationException('The provider name must be completely lowercase');\n+            }\n+\n+            $this->loadProviderConfiguration($provider, $providerConfiguration, $config['routes'], $container);\n+        }\n+    }\n+\n+    private function loadProviderConfiguration(\n+        $provider,\n+        array $configuration,\n+        array $routes,\n+        ContainerBuilder $container\n+    ) {\n+        if ($container->has('gssp.provider.' . $provider)) {\n+            throw new InvalidConfigurationException(sprintf('Cannot create the same provider \"%s\" twice', $provider));\n+        }\n+\n+        $this->createHostedDefinitions($provider, $configuration['hosted'], $routes, $container);\n+        $this->createMetadataDefinition($provider, $configuration['hosted'], $routes, $container);\n+        $this->createRemoteDefinition($provider, $configuration['remote'], $container);\n+\n+        $stateHandlerDefinition = new Definition('Surfnet\\StepupSelfService\\SamlStepupProviderBundle\\Saml\\StateHandler', [\n+            new Reference('gssp.session'),\n+            $provider\n+        ]);\n+        $container->setDefinition('gssp.provider.' . $provider . '.statehandler', $stateHandlerDefinition);\n+\n+        $providerDefinition = new Definition('Surfnet\\StepupSelfService\\SamlStepupProviderBundle\\Provider\\Provider', [\n+            $provider,\n+            new Reference('gssp.provider.' . $provider . '.hosted.sp'),\n+            new Reference('gssp.provider.' . $provider . '.remote.idp'),\n+            new Reference('gssp.provider.' . $provider . '.statehandler')\n+        ]);\n+\n+        $providerDefinition->setPublic(false);\n+        $container->setDefinition('gssp.provider.' . $provider, $providerDefinition);\n+\n+        $container\n+            ->getDefinition('gssp.provider_repository')\n+            ->addMethodCall('addProvider', [new Reference('gssp.provider.' . $provider)]);\n+    }\n+\n+    /**\n+     * @param string           $provider\n+     * @param array            $configuration\n+     * @param array            $routes\n+     * @param ContainerBuilder $container\n+     */\n+    private function createHostedDefinitions(\n+        $provider,\n+        array $configuration,\n+        array $routes,\n+        ContainerBuilder $container\n+    ) {\n+        $hostedDefinition = $this->buildHostedEntityDefinition($provider, $configuration, $routes);\n+        $container->setDefinition('gssp.provider.' . $provider . '.hosted_entities', $hostedDefinition);\n+\n+        $hostedSpDefinition  = (new Definition())\n+            ->setClass('Surfnet\\SamlBundle\\Entity\\ServiceProvider')\n+            ->setFactoryService(new Reference('gssp.provider.' . $provider . '.hosted_entities'))\n+            ->setFactoryMethod('getServiceProvider')\n+            ->setPublic(false);\n+        $container->setDefinition('gssp.provider.' . $provider . '.hosted.sp', $hostedSpDefinition);\n+    }\n+\n+    /**\n+     * @param string $provider\n+     * @param array  $configuration\n+     * @param array  $routes\n+     * @return Definition\n+     */\n+    private function buildHostedEntityDefinition($provider, array $configuration, array $routes)\n+    {\n+        $entityId = ['entity_id_route' => $this->createRouteConfig($provider, $routes['metadata'])];\n+        $spAdditional = [\n+            'enabled' => true,\n+            'assertion_consumer_route' => $this->createRouteConfig($provider, $routes['consume_assertion'])\n+        ];\n+        $idpAdditional = [\n+            'enabled' => false,\n+        ];\n+\n+        $serviceProvider  = array_merge($configuration['service_provider'], $spAdditional, $entityId);\n+        $identityProvider = array_merge($idpAdditional, $entityId);\n+\n+        $hostedDefinition = new Definition('Surfnet\\SamlBundle\\Entity\\HostedEntities', [\n+            new Reference('router'),\n+            $serviceProvider,\n+            $identityProvider\n+        ]);\n+\n+        $hostedDefinition->setPublic(false);\n+\n+        return $hostedDefinition;\n+    }\n+\n+    /**\n+     * @param string           $provider\n+     * @param array            $configuration\n+     * @param ContainerBuilder $container\n+     */\n+    private function createRemoteDefinition($provider, array $configuration, ContainerBuilder $container)\n+    {\n+        $definition    = new Definition('Surfnet\\SamlBundle\\Entity\\IdentityProvider', [\n+            [\n+                'entityId'        => $configuration['entity_id'],\n+                'ssoUrl'          => $configuration['sso_url'],\n+                'certificateData' => $configuration['certificate'],\n+            ]\n+        ]);\n+\n+        $definition->setPublic(false);\n+        $container->setDefinition('gssp.provider.' . $provider . '.remote.idp', $definition);\n+    }\n+\n+    /**\n+     * @param string           $provider\n+     * @param array            $configuration\n+     * @param array            $routes\n+     * @param ContainerBuilder $container\n+     * @return Definition\n+     */\n+    private function createMetadataDefinition(\n+        $provider,\n+        array $configuration,\n+        array $routes,\n+        ContainerBuilder $container\n+    ) {\n+        $metadataConfiguration = new Definition('Surfnet\\SamlBundle\\Metadata\\MetadataConfiguration');\n+\n+        $propertyMap = [\n+            'entityIdRoute'          => $this->createRouteConfig($provider, $routes['metadata']),\n+            'isSp'                   => true,\n+            'assertionConsumerRoute' => $this->createRouteConfig($provider, $routes['consume_assertion']),\n+            'isIdP'                  => false,\n+//            'ssoRoute'               => $this->createRouteConfig($provider, $routes['sso']),\n+            'publicKey'              => $configuration['metadata']['public_key'],\n+            'privateKey'             => $configuration['metadata']['private_key'],\n+        ];\n+\n+        $metadataConfiguration->setProperties($propertyMap);\n+        $metadataConfiguration->setPublic(false);\n+        $container->setDefinition('gssp.provider.' . $provider . 'metadata.configuration', $metadataConfiguration);\n+\n+        $metadataFactory = new Definition('Surfnet\\SamlBundle\\Metadata\\MetadataFactory', [\n+            new Reference('templating'),\n+            new Reference('router'),\n+            new Reference('surfnet_saml.signing_service'),\n+            new Reference('gssp.provider.' . $provider . 'metadata.configuration')","path":"src/Surfnet/StepupSelfService/SamlStepupProviderBundle/DependencyInjection/SurfnetStepupSelfServiceSamlStepupProviderExtension.php","position":194,"original_position":194,"commit_id":"8786e7847e60b66fadcd12380902e02f10df40a6","original_commit_id":"1da27c21d5850785033c3bb577dde53f8e23d5c6","user":{"login":"rjkip","id":1734555,"avatar_url":"https://avatars.githubusercontent.com/u/1734555?v=3","gravatar_id":"","url":"https://api.github.com/users/rjkip","html_url":"https://github.com/rjkip","followers_url":"https://api.github.com/users/rjkip/followers","following_url":"https://api.github.com/users/rjkip/following{/other_user}","gists_url":"https://api.github.com/users/rjkip/gists{/gist_id}","starred_url":"https://api.github.com/users/rjkip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjkip/subscriptions","organizations_url":"https://api.github.com/users/rjkip/orgs","repos_url":"https://api.github.com/users/rjkip/repos","events_url":"https://api.github.com/users/rjkip/events{/privacy}","received_events_url":"https://api.github.com/users/rjkip/received_events","type":"User","site_admin":false},"body":"I agree, but I do feel it would be very low priority technical debt.","created_at":"2015-03-12T09:36:00Z","updated_at":"2015-03-12T09:36:00Z","html_url":"https://github.com/SURFnet/Stepup-SelfService/pull/46#discussion_r26287926","pull_request_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/SURFnet/Stepup-SelfService/pulls/comments/26287926"},"html":{"href":"https://github.com/SURFnet/Stepup-SelfService/pull/46#discussion_r26287926"},"pull_request":{"href":"https://api.github.com/repos/SURFnet/Stepup-SelfService/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/pulls/46","id":30855716,"html_url":"https://github.com/SURFnet/Stepup-SelfService/pull/46","diff_url":"https://github.com/SURFnet/Stepup-SelfService/pull/46.diff","patch_url":"https://github.com/SURFnet/Stepup-SelfService/pull/46.patch","issue_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/issues/46","number":46,"state":"open","locked":false,"title":"Add Tiqr second factor","user":{"login":"rjkip","id":1734555,"avatar_url":"https://avatars.githubusercontent.com/u/1734555?v=3","gravatar_id":"","url":"https://api.github.com/users/rjkip","html_url":"https://github.com/rjkip","followers_url":"https://api.github.com/users/rjkip/followers","following_url":"https://api.github.com/users/rjkip/following{/other_user}","gists_url":"https://api.github.com/users/rjkip/gists{/gist_id}","starred_url":"https://api.github.com/users/rjkip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjkip/subscriptions","organizations_url":"https://api.github.com/users/rjkip/orgs","repos_url":"https://api.github.com/users/rjkip/repos","events_url":"https://api.github.com/users/rjkip/events{/privacy}","received_events_url":"https://api.github.com/users/rjkip/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-10T14:39:21Z","updated_at":"2015-03-12T09:36:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a8ba581f2dfefe9bf4d90db7406841d5acccc62f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/pulls/46/commits","review_comments_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/pulls/46/comments","review_comment_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/issues/46/comments","statuses_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/statuses/8786e7847e60b66fadcd12380902e02f10df40a6","head":{"label":"SURFnet:feature/gssp","ref":"feature/gssp","sha":"8786e7847e60b66fadcd12380902e02f10df40a6","user":{"login":"SURFnet","id":1485353,"avatar_url":"https://avatars.githubusercontent.com/u/1485353?v=3","gravatar_id":"","url":"https://api.github.com/users/SURFnet","html_url":"https://github.com/SURFnet","followers_url":"https://api.github.com/users/SURFnet/followers","following_url":"https://api.github.com/users/SURFnet/following{/other_user}","gists_url":"https://api.github.com/users/SURFnet/gists{/gist_id}","starred_url":"https://api.github.com/users/SURFnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SURFnet/subscriptions","organizations_url":"https://api.github.com/users/SURFnet/orgs","repos_url":"https://api.github.com/users/SURFnet/repos","events_url":"https://api.github.com/users/SURFnet/events{/privacy}","received_events_url":"https://api.github.com/users/SURFnet/received_events","type":"Organization","site_admin":false},"repo":{"id":23867237,"name":"Stepup-SelfService","full_name":"SURFnet/Stepup-SelfService","owner":{"login":"SURFnet","id":1485353,"avatar_url":"https://avatars.githubusercontent.com/u/1485353?v=3","gravatar_id":"","url":"https://api.github.com/users/SURFnet","html_url":"https://github.com/SURFnet","followers_url":"https://api.github.com/users/SURFnet/followers","following_url":"https://api.github.com/users/SURFnet/following{/other_user}","gists_url":"https://api.github.com/users/SURFnet/gists{/gist_id}","starred_url":"https://api.github.com/users/SURFnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SURFnet/subscriptions","organizations_url":"https://api.github.com/users/SURFnet/orgs","repos_url":"https://api.github.com/users/SURFnet/repos","events_url":"https://api.github.com/users/SURFnet/events{/privacy}","received_events_url":"https://api.github.com/users/SURFnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SURFnet/Stepup-SelfService","description":"","fork":false,"url":"https://api.github.com/repos/SURFnet/Stepup-SelfService","forks_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/forks","keys_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/teams","hooks_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/hooks","issue_events_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/issues/events{/number}","events_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/events","assignees_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/assignees{/user}","branches_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/branches{/branch}","tags_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/tags","blobs_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/git/refs{/sha}","trees_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/statuses/{sha}","languages_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/languages","stargazers_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/stargazers","contributors_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/contributors","subscribers_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/subscribers","subscription_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/subscription","commits_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/commits{/sha}","git_commits_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/git/commits{/sha}","comments_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/comments{/number}","issue_comment_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/issues/comments{/number}","contents_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/contents/{+path}","compare_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/merges","archive_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/downloads","issues_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/issues{/number}","pulls_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/pulls{/number}","milestones_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/milestones{/number}","notifications_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/labels{/name}","releases_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/releases{/id}","created_at":"2014-09-10T08:44:58Z","updated_at":"2015-03-09T16:04:56Z","pushed_at":"2015-03-11T12:58:26Z","git_url":"git://github.com/SURFnet/Stepup-SelfService.git","ssh_url":"git@github.com:SURFnet/Stepup-SelfService.git","clone_url":"https://github.com/SURFnet/Stepup-SelfService.git","svn_url":"https://github.com/SURFnet/Stepup-SelfService","homepage":null,"size":1724,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"SURFnet:develop","ref":"develop","sha":"3adcf2bdafc9f3f375674354914f35e915929de8","user":{"login":"SURFnet","id":1485353,"avatar_url":"https://avatars.githubusercontent.com/u/1485353?v=3","gravatar_id":"","url":"https://api.github.com/users/SURFnet","html_url":"https://github.com/SURFnet","followers_url":"https://api.github.com/users/SURFnet/followers","following_url":"https://api.github.com/users/SURFnet/following{/other_user}","gists_url":"https://api.github.com/users/SURFnet/gists{/gist_id}","starred_url":"https://api.github.com/users/SURFnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SURFnet/subscriptions","organizations_url":"https://api.github.com/users/SURFnet/orgs","repos_url":"https://api.github.com/users/SURFnet/repos","events_url":"https://api.github.com/users/SURFnet/events{/privacy}","received_events_url":"https://api.github.com/users/SURFnet/received_events","type":"Organization","site_admin":false},"repo":{"id":23867237,"name":"Stepup-SelfService","full_name":"SURFnet/Stepup-SelfService","owner":{"login":"SURFnet","id":1485353,"avatar_url":"https://avatars.githubusercontent.com/u/1485353?v=3","gravatar_id":"","url":"https://api.github.com/users/SURFnet","html_url":"https://github.com/SURFnet","followers_url":"https://api.github.com/users/SURFnet/followers","following_url":"https://api.github.com/users/SURFnet/following{/other_user}","gists_url":"https://api.github.com/users/SURFnet/gists{/gist_id}","starred_url":"https://api.github.com/users/SURFnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SURFnet/subscriptions","organizations_url":"https://api.github.com/users/SURFnet/orgs","repos_url":"https://api.github.com/users/SURFnet/repos","events_url":"https://api.github.com/users/SURFnet/events{/privacy}","received_events_url":"https://api.github.com/users/SURFnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SURFnet/Stepup-SelfService","description":"","fork":false,"url":"https://api.github.com/repos/SURFnet/Stepup-SelfService","forks_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/forks","keys_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/teams","hooks_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/hooks","issue_events_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/issues/events{/number}","events_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/events","assignees_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/assignees{/user}","branches_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/branches{/branch}","tags_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/tags","blobs_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/git/refs{/sha}","trees_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/statuses/{sha}","languages_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/languages","stargazers_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/stargazers","contributors_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/contributors","subscribers_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/subscribers","subscription_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/subscription","commits_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/commits{/sha}","git_commits_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/git/commits{/sha}","comments_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/comments{/number}","issue_comment_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/issues/comments{/number}","contents_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/contents/{+path}","compare_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/merges","archive_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/downloads","issues_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/issues{/number}","pulls_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/pulls{/number}","milestones_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/milestones{/number}","notifications_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/labels{/name}","releases_url":"https://api.github.com/repos/SURFnet/Stepup-SelfService/releases{/id}","created_at":"2014-09-10T08:44:58Z","updated_at":"2015-03-09T16:04:56Z","pushed_at":"2015-03-11T12:58:26Z","git_url":"git://github.com/SURFnet/Stepup-SelfService.git","ssh_url":"git@github.com:SURFnet/Stepup-SelfService.git","clone_url":"https://github.com/SURFnet/Stepup-SelfService.git","svn_url":"https://github.com/SURFnet/Stepup-SelfService","homepage":null,"size":1724,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/SURFnet/Stepup-SelfService/pulls/46"},"html":{"href":"https://github.com/SURFnet/Stepup-SelfService/pull/46"},"issue":{"href":"https://api.github.com/repos/SURFnet/Stepup-SelfService/issues/46"},"comments":{"href":"https://api.github.com/repos/SURFnet/Stepup-SelfService/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/SURFnet/Stepup-SelfService/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/SURFnet/Stepup-SelfService/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SURFnet/Stepup-SelfService/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/SURFnet/Stepup-SelfService/statuses/8786e7847e60b66fadcd12380902e02f10df40a6"}}}}