{"action":"created","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/4950","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/4950/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/4950/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/4950/events","html_url":"https://github.com/hazelcast/hazelcast/pull/4950","id":65294608,"number":4950,"title":"Expose isClusterSafe and isLocalMemberSafe through MBeans","user":{"login":"henri-tremblay","id":1216819,"avatar_url":"https://avatars.githubusercontent.com/u/1216819?v=3","gravatar_id":"","url":"https://api.github.com/users/henri-tremblay","html_url":"https://github.com/henri-tremblay","followers_url":"https://api.github.com/users/henri-tremblay/followers","following_url":"https://api.github.com/users/henri-tremblay/following{/other_user}","gists_url":"https://api.github.com/users/henri-tremblay/gists{/gist_id}","starred_url":"https://api.github.com/users/henri-tremblay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henri-tremblay/subscriptions","organizations_url":"https://api.github.com/users/henri-tremblay/orgs","repos_url":"https://api.github.com/users/henri-tremblay/repos","events_url":"https://api.github.com/users/henri-tremblay/events{/privacy}","received_events_url":"https://api.github.com/users/henri-tremblay/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Team:%20Core","name":"Team: Core","color":"eb6420"},{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Team:%20Integration","name":"Team: Integration","color":"fbca04"},{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Type:%20Enhancement","name":"Type: Enhancement","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/55","html_url":"https://github.com/hazelcast/hazelcast/milestones/3.5","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/55/labels","id":819785,"number":55,"title":"3.5","description":null,"creator":{"login":"sancar","id":570462,"avatar_url":"https://avatars.githubusercontent.com/u/570462?v=3","gravatar_id":"","url":"https://api.github.com/users/sancar","html_url":"https://github.com/sancar","followers_url":"https://api.github.com/users/sancar/followers","following_url":"https://api.github.com/users/sancar/following{/other_user}","gists_url":"https://api.github.com/users/sancar/gists{/gist_id}","starred_url":"https://api.github.com/users/sancar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sancar/subscriptions","organizations_url":"https://api.github.com/users/sancar/orgs","repos_url":"https://api.github.com/users/sancar/repos","events_url":"https://api.github.com/users/sancar/events{/privacy}","received_events_url":"https://api.github.com/users/sancar/received_events","type":"User","site_admin":false},"open_issues":118,"closed_issues":316,"state":"open","created_at":"2014-10-09T13:04:53Z","updated_at":"2015-04-03T07:42:04Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-03-30T20:22:56Z","updated_at":"2015-04-03T07:51:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/4950","html_url":"https://github.com/hazelcast/hazelcast/pull/4950","diff_url":"https://github.com/hazelcast/hazelcast/pull/4950.diff","patch_url":"https://github.com/hazelcast/hazelcast/pull/4950.patch"},"body":"Adding those two attributes will be really helpful to know the state of the cluster. Using the PartitionService from HazelcastClient throws an UnsupportedOperationException.\r\n\r\nUsing an MBean seems to be the easiest way.\r\n\r\nI've exposed it as an attribute. I don't know if getting these information is costly. If it is, you might want to expose an operation instead."},"comment":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/comments/89207580","html_url":"https://github.com/hazelcast/hazelcast/pull/4950#issuecomment-89207580","issue_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/4950","id":89207580,"user":{"login":"mesutcelik","id":823273,"avatar_url":"https://avatars.githubusercontent.com/u/823273?v=3","gravatar_id":"","url":"https://api.github.com/users/mesutcelik","html_url":"https://github.com/mesutcelik","followers_url":"https://api.github.com/users/mesutcelik/followers","following_url":"https://api.github.com/users/mesutcelik/following{/other_user}","gists_url":"https://api.github.com/users/mesutcelik/gists{/gist_id}","starred_url":"https://api.github.com/users/mesutcelik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesutcelik/subscriptions","organizations_url":"https://api.github.com/users/mesutcelik/orgs","repos_url":"https://api.github.com/users/mesutcelik/repos","events_url":"https://api.github.com/users/mesutcelik/events{/privacy}","received_events_url":"https://api.github.com/users/mesutcelik/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T07:51:22Z","updated_at":"2015-04-03T07:51:22Z","body":"Thanks @henri-tremblay for the contribution.\r\n\r\n@Serdaro ,\r\nI have added new attributes into documentation. Do we need some other update?\r\ne623287\r\n"}}