{"action":"created","issue":{"url":"https://api.github.com/repos/wildfly/wildfly-core/issues/451","labels_url":"https://api.github.com/repos/wildfly/wildfly-core/issues/451/labels{/name}","comments_url":"https://api.github.com/repos/wildfly/wildfly-core/issues/451/comments","events_url":"https://api.github.com/repos/wildfly/wildfly-core/issues/451/events","html_url":"https://github.com/wildfly/wildfly-core/pull/451","id":55191869,"number":451,"title":"Host controller subsystems","user":{"login":"kabir","id":49927,"avatar_url":"https://avatars.githubusercontent.com/u/49927?v=3","gravatar_id":"","url":"https://api.github.com/users/kabir","html_url":"https://github.com/kabir","followers_url":"https://api.github.com/users/kabir/followers","following_url":"https://api.github.com/users/kabir/following{/other_user}","gists_url":"https://api.github.com/users/kabir/gists{/gist_id}","starred_url":"https://api.github.com/users/kabir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kabir/subscriptions","organizations_url":"https://api.github.com/users/kabir/orgs","repos_url":"https://api.github.com/users/kabir/repos","events_url":"https://api.github.com/users/kabir/events{/privacy}","received_events_url":"https://api.github.com/users/kabir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-22T18:43:22Z","updated_at":"2015-01-22T19:40:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wildfly/wildfly-core/pulls/451","html_url":"https://github.com/wildfly/wildfly-core/pull/451","diff_url":"https://github.com/wildfly/wildfly-core/pull/451.diff","patch_url":"https://github.com/wildfly/wildfly-core/pull/451.patch"},"body":"This is the first iteration of HC subsystems, which allows you to define extensions and subsystems in the host model. In my original approach (which I have not shared with anybody) I was going down a slightly wrong path, attempting to share the extension registry between the host and domain models, and dealing with all the problems resulting from that. Yesterday when dealing with the last problems I had an 'aha' moment and have reimplemented it with a separate extension registries for the domain extensions and the host extensions, which is a lot simpler and means all the stuff I had in there to deal with the shared registry could be removed.\r\n\r\nI had to make some changes to how the MutableRootResourceRegistrationProvider is passed in to the parallel extension add handler to make sure that the correct extension registry is used when adding the extensions at boot.\r\n\r\nIn the JMX subsystem, which is now host capable, I have a RuntimeHostControllerInfoAccessor to defer getting the information about whether we are a master or a slave domain controller until we reach the runtime stage of the boot process. The reason for this is that during boot of the host model, the extension gets initialised before LocalHostControllerInfoImpl.setMasterDomainController() gets called when handling the local/remote domain controller elements.\r\n\r\nhttps://issues.jboss.org/browse/WFCORE-452 (leave open, there is more work coming)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/wildfly/wildfly-core/issues/comments/71084341","html_url":"https://github.com/wildfly/wildfly-core/pull/451#issuecomment-71084341","issue_url":"https://api.github.com/repos/wildfly/wildfly-core/issues/451","id":71084341,"user":{"login":"wildfly-ci","id":939955,"avatar_url":"https://avatars.githubusercontent.com/u/939955?v=3","gravatar_id":"","url":"https://api.github.com/users/wildfly-ci","html_url":"https://github.com/wildfly-ci","followers_url":"https://api.github.com/users/wildfly-ci/followers","following_url":"https://api.github.com/users/wildfly-ci/following{/other_user}","gists_url":"https://api.github.com/users/wildfly-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/wildfly-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wildfly-ci/subscriptions","organizations_url":"https://api.github.com/users/wildfly-ci/orgs","repos_url":"https://api.github.com/users/wildfly-ci/repos","events_url":"https://api.github.com/users/wildfly-ci/events{/privacy}","received_events_url":"https://api.github.com/users/wildfly-ci/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T19:40:11Z","updated_at":"2015-01-22T19:40:11Z","body":"**Windows** [Build 794](http://brontes.lab.eng.brq.redhat.com/viewLog.html?buildId=34352&buildTypeId=WildFlyCore_PullRequestWindows) is now running using a merge of 5c16f593d4f85cbb20a8d3a4add811cff3f46c2b\n"}}