{"action":"created","issue":{"url":"https://api.github.com/repos/ehcache/ehcache3/issues/551","labels_url":"https://api.github.com/repos/ehcache/ehcache3/issues/551/labels{/name}","comments_url":"https://api.github.com/repos/ehcache/ehcache3/issues/551/comments","events_url":"https://api.github.com/repos/ehcache/ehcache3/issues/551/events","html_url":"https://github.com/ehcache/ehcache3/pull/551","id":104787515,"number":551,"title":"Issue #540 - Added a LifeCycleService + Bugfix when recovering from maintenance mode","user":{"login":"mathieucarbou","id":61346,"avatar_url":"https://avatars.githubusercontent.com/u/61346?v=3","gravatar_id":"","url":"https://api.github.com/users/mathieucarbou","html_url":"https://github.com/mathieucarbou","followers_url":"https://api.github.com/users/mathieucarbou/followers","following_url":"https://api.github.com/users/mathieucarbou/following{/other_user}","gists_url":"https://api.github.com/users/mathieucarbou/gists{/gist_id}","starred_url":"https://api.github.com/users/mathieucarbou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathieucarbou/subscriptions","organizations_url":"https://api.github.com/users/mathieucarbou/orgs","repos_url":"https://api.github.com/users/mathieucarbou/repos","events_url":"https://api.github.com/users/mathieucarbou/events{/privacy}","received_events_url":"https://api.github.com/users/mathieucarbou/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ehcache/ehcache3/labels/api","name":"api","color":"006b75"},{"url":"https://api.github.com/repos/ehcache/ehcache3/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ehcache/ehcache3/labels/under%20review","name":"under review","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-03T21:43:16Z","updated_at":"2015-09-04T18:58:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ehcache/ehcache3/pulls/551","html_url":"https://github.com/ehcache/ehcache3/pull/551","diff_url":"https://github.com/ehcache/ehcache3/pull/551.diff","patch_url":"https://github.com/ehcache/ehcache3/pull/551.patch"},"body":"@alexsnaps, @ljacomet, @lorban : pull request for #540 (service part), with the modifications we talked about.\r\n\r\nI used a `StateChangeListener` to hook into the state transitioner because these listeners are triggered after all init / close hooks are executed, which is what we need to be aware of the initialized and closed states I think (?).\r\n\r\nAlso fixed a missing `succeeded();` call when closing maintenance mode\r\n\r\nAdded 2 tests for both the issue and the LifeCycle Service."},"comment":{"url":"https://api.github.com/repos/ehcache/ehcache3/issues/comments/137821466","html_url":"https://github.com/ehcache/ehcache3/pull/551#issuecomment-137821466","issue_url":"https://api.github.com/repos/ehcache/ehcache3/issues/551","id":137821466,"user":{"login":"mathieucarbou","id":61346,"avatar_url":"https://avatars.githubusercontent.com/u/61346?v=3","gravatar_id":"","url":"https://api.github.com/users/mathieucarbou","html_url":"https://github.com/mathieucarbou","followers_url":"https://api.github.com/users/mathieucarbou/followers","following_url":"https://api.github.com/users/mathieucarbou/following{/other_user}","gists_url":"https://api.github.com/users/mathieucarbou/gists{/gist_id}","starred_url":"https://api.github.com/users/mathieucarbou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathieucarbou/subscriptions","organizations_url":"https://api.github.com/users/mathieucarbou/orgs","repos_url":"https://api.github.com/users/mathieucarbou/repos","events_url":"https://api.github.com/users/mathieucarbou/events{/privacy}","received_events_url":"https://api.github.com/users/mathieucarbou/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T18:58:09Z","updated_at":"2015-09-04T18:58:09Z","body":"@ljacomet : fixed trailing space, new line, method names, updated javadoc, and also rebased in 1 commit.\r\nThe build failed because I forced a push..."}}