{"action":"created","comment":{"url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/comments/39437421","id":39437421,"diff_hunk":"@@ -0,0 +1,387 @@\n+/*\n+ * Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved.\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+package com.hazelcast.osgi.impl;\n+\n+import com.hazelcast.config.Config;\n+import com.hazelcast.config.GroupConfig;\n+import com.hazelcast.config.XmlConfigBuilder;\n+import com.hazelcast.core.Hazelcast;\n+import com.hazelcast.core.HazelcastInstance;\n+import com.hazelcast.instance.BuildInfoProvider;\n+import com.hazelcast.osgi.HazelcastOSGiInstance;\n+import com.hazelcast.osgi.HazelcastOSGiService;\n+import com.hazelcast.logging.ILogger;\n+import com.hazelcast.logging.Logger;\n+import com.hazelcast.util.ExceptionUtil;\n+import com.hazelcast.util.StringUtil;\n+import org.osgi.framework.Bundle;\n+import org.osgi.framework.BundleContext;\n+import org.osgi.framework.ServiceReference;\n+import org.osgi.framework.ServiceRegistration;\n+\n+import java.util.Collections;\n+import java.util.Dictionary;\n+import java.util.Map;\n+import java.util.Set;\n+import java.util.concurrent.ConcurrentHashMap;\n+import java.util.concurrent.ConcurrentMap;\n+\n+/**\n+ * Implementation of {@link HazelcastInternalOSGiService}.\n+ *\n+ * @see HazelcastInternalOSGiService\n+ * @see com.hazelcast.osgi.HazelcastOSGiService\n+ */\n+class HazelcastOSGiServiceImpl\n+        implements HazelcastInternalOSGiService {\n+\n+    private static final ILogger LOGGER = Logger.getLogger(HazelcastOSGiService.class);\n+\n+    private static final String DEFAULT_ID =\n+            BuildInfoProvider.getBuildInfo().getVersion()\n+            + \"#\"\n+            + (BuildInfoProvider.getBuildInfo().isEnterprise() ? \"EE\" : \"OSS\");\n+\n+    private static final ServiceRegistration EMPTY_SERVICE_REGISTRATION\n+            = new ServiceRegistration() {\n+                @Override\n+                public ServiceReference getReference() {\n+                    return null;\n+                }\n+\n+                @Override\n+                public void setProperties(Dictionary properties) {\n+                }\n+\n+                @Override\n+                public void unregister() {\n+                }\n+            };\n+\n+    private final Object serviceMutex = new Object();\n+\n+    private final Bundle ownerBundle;\n+    private final BundleContext ownerBundleContext;\n+    private final String id;\n+    private final ConcurrentMap<HazelcastOSGiInstance, ServiceRegistration> instanceServiceRegistrationMap\n+            = new ConcurrentHashMap<HazelcastOSGiInstance, ServiceRegistration>();\n+    private final ConcurrentMap<String, HazelcastOSGiInstance> instanceMap\n+            = new ConcurrentHashMap<String, HazelcastOSGiInstance>();\n+\n+    // No need to \"volatile\" since this field is guarded and happens-before is handled by\n+    // `synchronized` blocks of `serviceMutex` instance.\n+    private ServiceRegistration serviceRegistration;\n+\n+    // Defined as `volatile` because even though this field is written inside `synchronized` blocks,\n+    // it can be read from any thread without `synchronized` blocks and without `volatile` they may seen invalid value.\n+    private volatile HazelcastOSGiInstance hazelcastInstance;\n+\n+    // Defined as `volatile` because even though this field is updated inside `synchronized` blocks,\n+    // it can be read from any thread without `synchronized` blocks and without `volatile` they may seen invalid value.\n+    private volatile boolean active;\n+\n+    public HazelcastOSGiServiceImpl(Bundle ownerBundle) {\n+        this(ownerBundle, DEFAULT_ID);\n+    }\n+\n+    public HazelcastOSGiServiceImpl(Bundle ownerBundle, String id) {\n+        this.ownerBundle = ownerBundle;\n+        this.ownerBundleContext = ownerBundle.getBundleContext();\n+        this.id = id;\n+    }\n+\n+    private void checkActive() {\n+        if (!active) {\n+            throw new IllegalStateException(\"Hazelcast OSGI Service is not active!\");\n+        }\n+    }\n+\n+    private Config getConfig(Config config) {\n+        if (config == null) {\n+            config = new XmlConfigBuilder().build();\n+        }\n+        GroupConfig groupConfig = config.getGroupConfig();\n+        if (groupConfig == null\n+                || StringUtil.isNullOrEmpty(groupConfig.getName())\n+                || GroupConfig.DEFAULT_GROUP_NAME.equals(groupConfig.getName())) {\n+            if (!Boolean.getBoolean(HAZELCAST_OSGI_GROUPING_DISABLED)) {\n+                String groupName = id;\n+                if (groupConfig == null) {\n+                    config.setGroupConfig(new GroupConfig(groupName));\n+                } else {\n+                    groupConfig.setName(groupName);\n+                }\n+            }\n+        }\n+        return config;\n+    }\n+\n+    private HazelcastInstance createHazelcastInstance(Config config) {\n+        return Hazelcast.newHazelcastInstance(getConfig(config));\n+    }\n+\n+    private HazelcastOSGiInstance registerInstance(HazelcastInstance instance) {\n+        HazelcastOSGiInstance hazelcastOSGiInstance;\n+        if (instance instanceof HazelcastOSGiInstance) {\n+            hazelcastOSGiInstance = (HazelcastOSGiInstance) instance;\n+        } else {\n+            hazelcastOSGiInstance = new HazelcastOSGiInstanceImpl(instance, this);\n+        }\n+        ServiceRegistration serviceRegistration;\n+        if (!Boolean.getBoolean(HAZELCAST_OSGI_REGISTER_DISABLED)) {\n+            serviceRegistration =\n+                    ownerBundleContext.registerService(HazelcastInstance.class.getName(), hazelcastOSGiInstance, null);\n+        } else {\n+            serviceRegistration = EMPTY_SERVICE_REGISTRATION;\n+        }\n+        instanceServiceRegistrationMap.put(hazelcastOSGiInstance, serviceRegistration);","path":"hazelcast/src/main/java/com/hazelcast/osgi/impl/HazelcastOSGiServiceImpl.java","position":151,"original_position":151,"commit_id":"7b444d81504d205f0a2d6d6565b7f0248a27a50f","original_commit_id":"7b444d81504d205f0a2d6d6565b7f0248a27a50f","user":{"login":"serkan-ozal","id":3143425,"avatar_url":"https://avatars.githubusercontent.com/u/3143425?v=3","gravatar_id":"","url":"https://api.github.com/users/serkan-ozal","html_url":"https://github.com/serkan-ozal","followers_url":"https://api.github.com/users/serkan-ozal/followers","following_url":"https://api.github.com/users/serkan-ozal/following{/other_user}","gists_url":"https://api.github.com/users/serkan-ozal/gists{/gist_id}","starred_url":"https://api.github.com/users/serkan-ozal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serkan-ozal/subscriptions","organizations_url":"https://api.github.com/users/serkan-ozal/orgs","repos_url":"https://api.github.com/users/serkan-ozal/repos","events_url":"https://api.github.com/users/serkan-ozal/events{/privacy}","received_events_url":"https://api.github.com/users/serkan-ozal/received_events","type":"User","site_admin":false},"body":"If registration fails, the exception returns to caller directly without adding any put to both of `instanceServiceRegistrationMap`, `instanceMap`. So I think, no need to `try/catch` block.","created_at":"2015-09-14T19:40:26Z","updated_at":"2015-09-14T19:40:26Z","html_url":"https://github.com/hazelcast/hazelcast/pull/6119#discussion_r39437421","pull_request_url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/6119","_links":{"self":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/comments/39437421"},"html":{"href":"https://github.com/hazelcast/hazelcast/pull/6119#discussion_r39437421"},"pull_request":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/6119"}}},"pull_request":{"url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/6119","id":44095033,"html_url":"https://github.com/hazelcast/hazelcast/pull/6119","diff_url":"https://github.com/hazelcast/hazelcast/pull/6119.diff","patch_url":"https://github.com/hazelcast/hazelcast/pull/6119.patch","issue_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/6119","number":6119,"state":"open","locked":false,"title":"OSGI Improvements","user":{"login":"serkan-ozal","id":3143425,"avatar_url":"https://avatars.githubusercontent.com/u/3143425?v=3","gravatar_id":"","url":"https://api.github.com/users/serkan-ozal","html_url":"https://github.com/serkan-ozal","followers_url":"https://api.github.com/users/serkan-ozal/followers","following_url":"https://api.github.com/users/serkan-ozal/following{/other_user}","gists_url":"https://api.github.com/users/serkan-ozal/gists{/gist_id}","starred_url":"https://api.github.com/users/serkan-ozal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serkan-ozal/subscriptions","organizations_url":"https://api.github.com/users/serkan-ozal/orgs","repos_url":"https://api.github.com/users/serkan-ozal/repos","events_url":"https://api.github.com/users/serkan-ozal/events{/privacy}","received_events_url":"https://api.github.com/users/serkan-ozal/received_events","type":"User","site_admin":false},"body":"This PR contains:\r\n- Hazelcast bundles provide OSGI services so users can manage (create, access, shutdown) Hazelcast instances through this service on OSGI environment.\r\n- Created Hazelcast instances can be served as OSGI service to be accessed by other bundles.\r\n- Each Hazelcast bundle provide a different OSGI service and their instances can be grouped (clustered) together for preventing possible compatibility issues between different Hazelcast versions/bundles.\r\n- Hazelcast OSGI service's lifecycle (and so also the owned/created instances's lifecycles) are same with the owner Hazelcast bundles. When the bundle is stopped (deactivated), owned service and Hazelcast instances are also deactivated/shutdown and deregistered automatically. Then when the bundle is activated again, its service is registered again.","created_at":"2015-09-03T11:20:43Z","updated_at":"2015-09-14T19:40:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"58d84042f48d2c140212de8a300b3129a2953d08","assignee":null,"milestone":{"url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/61","html_url":"https://github.com/hazelcast/hazelcast/milestones/3.6","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/61/labels","id":982584,"number":61,"title":"3.6","description":"","creator":{"login":"enesakar","id":234086,"avatar_url":"https://avatars.githubusercontent.com/u/234086?v=3","gravatar_id":"","url":"https://api.github.com/users/enesakar","html_url":"https://github.com/enesakar","followers_url":"https://api.github.com/users/enesakar/followers","following_url":"https://api.github.com/users/enesakar/following{/other_user}","gists_url":"https://api.github.com/users/enesakar/gists{/gist_id}","starred_url":"https://api.github.com/users/enesakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enesakar/subscriptions","organizations_url":"https://api.github.com/users/enesakar/orgs","repos_url":"https://api.github.com/users/enesakar/repos","events_url":"https://api.github.com/users/enesakar/events{/privacy}","received_events_url":"https://api.github.com/users/enesakar/received_events","type":"User","site_admin":false},"open_issues":154,"closed_issues":409,"state":"open","created_at":"2015-02-17T09:27:09Z","updated_at":"2015-09-14T18:28:34Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/6119/commits","review_comments_url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/6119/comments","review_comment_url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/6119/comments","statuses_url":"https://api.github.com/repos/hazelcast/hazelcast/statuses/7b444d81504d205f0a2d6d6565b7f0248a27a50f","head":{"label":"serkan-ozal:feature/master/wso2-osgi","ref":"feature/master/wso2-osgi","sha":"7b444d81504d205f0a2d6d6565b7f0248a27a50f","user":{"login":"serkan-ozal","id":3143425,"avatar_url":"https://avatars.githubusercontent.com/u/3143425?v=3","gravatar_id":"","url":"https://api.github.com/users/serkan-ozal","html_url":"https://github.com/serkan-ozal","followers_url":"https://api.github.com/users/serkan-ozal/followers","following_url":"https://api.github.com/users/serkan-ozal/following{/other_user}","gists_url":"https://api.github.com/users/serkan-ozal/gists{/gist_id}","starred_url":"https://api.github.com/users/serkan-ozal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serkan-ozal/subscriptions","organizations_url":"https://api.github.com/users/serkan-ozal/orgs","repos_url":"https://api.github.com/users/serkan-ozal/repos","events_url":"https://api.github.com/users/serkan-ozal/events{/privacy}","received_events_url":"https://api.github.com/users/serkan-ozal/received_events","type":"User","site_admin":false},"repo":{"id":21942922,"name":"hazelcast","full_name":"serkan-ozal/hazelcast","owner":{"login":"serkan-ozal","id":3143425,"avatar_url":"https://avatars.githubusercontent.com/u/3143425?v=3","gravatar_id":"","url":"https://api.github.com/users/serkan-ozal","html_url":"https://github.com/serkan-ozal","followers_url":"https://api.github.com/users/serkan-ozal/followers","following_url":"https://api.github.com/users/serkan-ozal/following{/other_user}","gists_url":"https://api.github.com/users/serkan-ozal/gists{/gist_id}","starred_url":"https://api.github.com/users/serkan-ozal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serkan-ozal/subscriptions","organizations_url":"https://api.github.com/users/serkan-ozal/orgs","repos_url":"https://api.github.com/users/serkan-ozal/repos","events_url":"https://api.github.com/users/serkan-ozal/events{/privacy}","received_events_url":"https://api.github.com/users/serkan-ozal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/serkan-ozal/hazelcast","description":"Open Source In-Memory Data Grid","fork":true,"url":"https://api.github.com/repos/serkan-ozal/hazelcast","forks_url":"https://api.github.com/repos/serkan-ozal/hazelcast/forks","keys_url":"https://api.github.com/repos/serkan-ozal/hazelcast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/serkan-ozal/hazelcast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/serkan-ozal/hazelcast/teams","hooks_url":"https://api.github.com/repos/serkan-ozal/hazelcast/hooks","issue_events_url":"https://api.github.com/repos/serkan-ozal/hazelcast/issues/events{/number}","events_url":"https://api.github.com/repos/serkan-ozal/hazelcast/events","assignees_url":"https://api.github.com/repos/serkan-ozal/hazelcast/assignees{/user}","branches_url":"https://api.github.com/repos/serkan-ozal/hazelcast/branches{/branch}","tags_url":"https://api.github.com/repos/serkan-ozal/hazelcast/tags","blobs_url":"https://api.github.com/repos/serkan-ozal/hazelcast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/serkan-ozal/hazelcast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/serkan-ozal/hazelcast/git/refs{/sha}","trees_url":"https://api.github.com/repos/serkan-ozal/hazelcast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/serkan-ozal/hazelcast/statuses/{sha}","languages_url":"https://api.github.com/repos/serkan-ozal/hazelcast/languages","stargazers_url":"https://api.github.com/repos/serkan-ozal/hazelcast/stargazers","contributors_url":"https://api.github.com/repos/serkan-ozal/hazelcast/contributors","subscribers_url":"https://api.github.com/repos/serkan-ozal/hazelcast/subscribers","subscription_url":"https://api.github.com/repos/serkan-ozal/hazelcast/subscription","commits_url":"https://api.github.com/repos/serkan-ozal/hazelcast/commits{/sha}","git_commits_url":"https://api.github.com/repos/serkan-ozal/hazelcast/git/commits{/sha}","comments_url":"https://api.github.com/repos/serkan-ozal/hazelcast/comments{/number}","issue_comment_url":"https://api.github.com/repos/serkan-ozal/hazelcast/issues/comments{/number}","contents_url":"https://api.github.com/repos/serkan-ozal/hazelcast/contents/{+path}","compare_url":"https://api.github.com/repos/serkan-ozal/hazelcast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/serkan-ozal/hazelcast/merges","archive_url":"https://api.github.com/repos/serkan-ozal/hazelcast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/serkan-ozal/hazelcast/downloads","issues_url":"https://api.github.com/repos/serkan-ozal/hazelcast/issues{/number}","pulls_url":"https://api.github.com/repos/serkan-ozal/hazelcast/pulls{/number}","milestones_url":"https://api.github.com/repos/serkan-ozal/hazelcast/milestones{/number}","notifications_url":"https://api.github.com/repos/serkan-ozal/hazelcast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/serkan-ozal/hazelcast/labels{/name}","releases_url":"https://api.github.com/repos/serkan-ozal/hazelcast/releases{/id}","created_at":"2014-07-17T13:29:47Z","updated_at":"2014-08-02T17:18:50Z","pushed_at":"2015-09-14T14:57:06Z","git_url":"git://github.com/serkan-ozal/hazelcast.git","ssh_url":"git@github.com:serkan-ozal/hazelcast.git","clone_url":"https://github.com/serkan-ozal/hazelcast.git","svn_url":"https://github.com/serkan-ozal/hazelcast","homepage":"www.hazelcast.com","size":75927,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hazelcast:master","ref":"master","sha":"a4d8c77c49156021a3f38af6250e61b7bdc7db6c","user":{"login":"hazelcast","id":1453152,"avatar_url":"https://avatars.githubusercontent.com/u/1453152?v=3","gravatar_id":"","url":"https://api.github.com/users/hazelcast","html_url":"https://github.com/hazelcast","followers_url":"https://api.github.com/users/hazelcast/followers","following_url":"https://api.github.com/users/hazelcast/following{/other_user}","gists_url":"https://api.github.com/users/hazelcast/gists{/gist_id}","starred_url":"https://api.github.com/users/hazelcast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hazelcast/subscriptions","organizations_url":"https://api.github.com/users/hazelcast/orgs","repos_url":"https://api.github.com/users/hazelcast/repos","events_url":"https://api.github.com/users/hazelcast/events{/privacy}","received_events_url":"https://api.github.com/users/hazelcast/received_events","type":"Organization","site_admin":false},"repo":{"id":3786237,"name":"hazelcast","full_name":"hazelcast/hazelcast","owner":{"login":"hazelcast","id":1453152,"avatar_url":"https://avatars.githubusercontent.com/u/1453152?v=3","gravatar_id":"","url":"https://api.github.com/users/hazelcast","html_url":"https://github.com/hazelcast","followers_url":"https://api.github.com/users/hazelcast/followers","following_url":"https://api.github.com/users/hazelcast/following{/other_user}","gists_url":"https://api.github.com/users/hazelcast/gists{/gist_id}","starred_url":"https://api.github.com/users/hazelcast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hazelcast/subscriptions","organizations_url":"https://api.github.com/users/hazelcast/orgs","repos_url":"https://api.github.com/users/hazelcast/repos","events_url":"https://api.github.com/users/hazelcast/events{/privacy}","received_events_url":"https://api.github.com/users/hazelcast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hazelcast/hazelcast","description":"Open Source In-Memory Data Grid","fork":false,"url":"https://api.github.com/repos/hazelcast/hazelcast","forks_url":"https://api.github.com/repos/hazelcast/hazelcast/forks","keys_url":"https://api.github.com/repos/hazelcast/hazelcast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hazelcast/hazelcast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hazelcast/hazelcast/teams","hooks_url":"https://api.github.com/repos/hazelcast/hazelcast/hooks","issue_events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/events{/number}","events_url":"https://api.github.com/repos/hazelcast/hazelcast/events","assignees_url":"https://api.github.com/repos/hazelcast/hazelcast/assignees{/user}","branches_url":"https://api.github.com/repos/hazelcast/hazelcast/branches{/branch}","tags_url":"https://api.github.com/repos/hazelcast/hazelcast/tags","blobs_url":"https://api.github.com/repos/hazelcast/hazelcast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hazelcast/hazelcast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hazelcast/hazelcast/git/refs{/sha}","trees_url":"https://api.github.com/repos/hazelcast/hazelcast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hazelcast/hazelcast/statuses/{sha}","languages_url":"https://api.github.com/repos/hazelcast/hazelcast/languages","stargazers_url":"https://api.github.com/repos/hazelcast/hazelcast/stargazers","contributors_url":"https://api.github.com/repos/hazelcast/hazelcast/contributors","subscribers_url":"https://api.github.com/repos/hazelcast/hazelcast/subscribers","subscription_url":"https://api.github.com/repos/hazelcast/hazelcast/subscription","commits_url":"https://api.github.com/repos/hazelcast/hazelcast/commits{/sha}","git_commits_url":"https://api.github.com/repos/hazelcast/hazelcast/git/commits{/sha}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/comments{/number}","issue_comment_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/comments{/number}","contents_url":"https://api.github.com/repos/hazelcast/hazelcast/contents/{+path}","compare_url":"https://api.github.com/repos/hazelcast/hazelcast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hazelcast/hazelcast/merges","archive_url":"https://api.github.com/repos/hazelcast/hazelcast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hazelcast/hazelcast/downloads","issues_url":"https://api.github.com/repos/hazelcast/hazelcast/issues{/number}","pulls_url":"https://api.github.com/repos/hazelcast/hazelcast/pulls{/number}","milestones_url":"https://api.github.com/repos/hazelcast/hazelcast/milestones{/number}","notifications_url":"https://api.github.com/repos/hazelcast/hazelcast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/labels{/name}","releases_url":"https://api.github.com/repos/hazelcast/hazelcast/releases{/id}","created_at":"2012-03-21T12:25:18Z","updated_at":"2015-09-14T13:00:31Z","pushed_at":"2015-09-14T18:35:06Z","git_url":"git://github.com/hazelcast/hazelcast.git","ssh_url":"git@github.com:hazelcast/hazelcast.git","clone_url":"https://github.com/hazelcast/hazelcast.git","svn_url":"https://github.com/hazelcast/hazelcast","homepage":"www.hazelcast.com","size":153092,"stargazers_count":1233,"watchers_count":1233,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":600,"mirror_url":null,"open_issues_count":507,"forks":600,"open_issues":507,"watchers":1233,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/6119"},"html":{"href":"https://github.com/hazelcast/hazelcast/pull/6119"},"issue":{"href":"https://api.github.com/repos/hazelcast/hazelcast/issues/6119"},"comments":{"href":"https://api.github.com/repos/hazelcast/hazelcast/issues/6119/comments"},"review_comments":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/6119/comments"},"review_comment":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/6119/commits"},"statuses":{"href":"https://api.github.com/repos/hazelcast/hazelcast/statuses/7b444d81504d205f0a2d6d6565b7f0248a27a50f"}}}}