<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'>I think we are generally in agreement here, in terms of the base/core runtime that everything layers on top of.<br><br>I have more than just the two things you have below in the base/core, but that really because to have the management layer, you also have to have some basic networking and security components, and some other things to make it actually function.<br><br>I'll leave the "how we actually layer additional capabilities that make up our platforms" to everyone else.<br><br>If we can agreement on the base/core, at least conceptually, then we will be a very good place. Based on my own research into the existing modules, and how they are structured, there is some work that has to be done to refactor things (pull some things apart) to accomplish this, but in the end it doesn't appear to be rocket science.<br><br>Andy<br><br><hr id="zwchr"><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Thomas Diesler" <thomas.diesler@jboss.com><br><b>To: </b>"Andrig Miller" <anmiller@redhat.com><br><b>Cc: </b>"jboss-as7-dev@lists.jboss.org Development" <jboss-as7-dev@lists.jboss.org>, osgi-wrk-grp@redhat.com, "Brian Stansberry" <brian.stansberry@redhat.com>, "Guillaume Nodet" <gnodet@redhat.com><br><b>Sent: </b>Monday, March 11, 2013 8:59:27 AM<br><b>Subject: </b>Re: [jboss-as7-dev] Configuration/management functionality AS/Fuse<br><br>Hi Andy,<div><br></div><div>I talked about this in Brno a couple of times - not sure whether you were in the room/bar though ;-)</div><div><br></div><div>My idea would be the that the Core Runtime has</div><div><br></div><div><ul class="MailOutline"><li>General unified Configuration/Management functionality</li><li>Logging functionality</li></ul><div><br></div></div><div>Today we wire stuff together by creating hard coded links between modules/components (in modules.xml). Hence tightly coupling stuff such that you cannot reason about A without taking B into consideration.</div><div><br></div><div>A future model could be more declarative. Every component, subsystem, abstract feature, etc could declare its respective capabilities/requirements. Today we already have a <a href="http://www.osgi.org/javadoc/r5/core/org/osgi/resource/package-summary.html" target="_blank">Resource</a> API that talks about generic caps/reqs and associates them to resources, which can be an abstract resources that combine other resources. All resources live together with their associated caps/reqs in a <a href="http://www.osgi.org/javadoc/r5/enterprise/org/osgi/service/repository/package-summary.html" target="_blank">Repository</a>, for which we also have an API and a RI. The missing piece is a <a href="https://issues.jboss.org/browse/AS7-5920" target="_blank">Provisioning Service</a> that you can give a set of requirements (i.e. the feature(s) you want to provision). The Provisioning Service would go to the Resolver (which we also have) to find a consistent solution that provides the wanted set of capabilities. The resolver takes capabilities that already exist in the runtime into account and ultimately provisions additional resources from the repository such that the wanted feature(s) become available. IMHO, this should not be a human decision - for a complex system it could quickly become impossible for a human to make the correct decisions such that the wiring is consistent.</div><div><br></div><div>From the user perspective, the Core Runtime could have an SSH endpoint that you can connect to using your favourite SSH client (i.e. no proprietary client app). You could say</div><div><br></div><blockquote style="margin: 0pt 0pt 0pt 40px; border: medium none; padding: 0px;"><div><font face="Courier New">> add feature webservices,ejb3,configadmin</font></div></blockquote><div style="font-family: 'Courier New';"><font face="Courier New"><br></font></div>These would be abstract requirements that cause the webservice, ejb3, osgi subsystems (including their transitive set of dependencies) to get provisioned. The Resolver would know about the set of capabilities that are already available in the runtime and would provision only the missing delta from the repository. It would do a no-impact analysis first, i.e. try to find out if there is a consistent solution before anything gets provisioned which modifies the Runtime.<div><br></div><div>The resulting wiring between the components would be persisted (like in modules.xml) such that on subsequent startups we get an identical wiring and no performance impact. Such highly pluggable system would be nice for developers that only want the subsystems that they really need, but would probably be not so applicable for layered products. However productisation people could use the same mechanism to define their product stack and be sure that for the given set of features they only have the necessary set of binaries in the distribution with a guaranteed accurate wiring between them. </div><div><br></div><div>What is described above for runtime, could also happen at build time. The productisation folks would give the set of wanted product features to the build. The result of the build would again be a distribution that only contains the necessary set of binaries with a guaranteed accurate wiring between them.</div><div><br></div><div>A side effect of this is that component, subsystem, abstract feature, etc can have an independent development lifecycle of each other and become more loosely coupled. An individual piece only needs to reason about its own capabilities and requirements. It is the job of a central, non-human authority (i.e. the Resolver) to bring everything together in a consistent way.</div><div><br></div><div>In a nutshell: Product features would be defined as abstract resources with associated caps/reqs and live in a repository. A provisioning service connects the resolver with the repository and can provision additional features/resources to the runtime taking existing resources and their wiring into account. This can be done at build time and guarantees a small as possible and consistent distribution. The process is also highly agile and can react quickly to changing product requirements.</div><div><br></div><div>If wanted I could talk lots about the details of this, but thats a little premature I guess. </div><div><br></div><div>Good Luck in New Castle</div><div>--thomas </div><div><br></div><div><div><div><div>On Mar 8, 2013, at 11:33 PM, Andrig Miller <<a href="mailto:anmiller@redhat.com" target="_blank">anmiller@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote><div style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;">This is a great topic, but it might be a couple of weeks premature.<br><br>During the FY'14 kickoff meetings in NewCastle, we will be discussing this topic, from the idea of having a core/base that all products, including EAP would be layered on top of.<br><br>I am responsible for presenting this basic idea, and have done some work already on understanding what I think that core or base infrastructure would look like.<br><br>Having said that, my general idea is that the base or core infrastructure would consist of the MSC/and domain components (along with others) that form the basis of a runtime and a management layer, with one management and configuration API. Everything else would layer on top of that, and share the same management layer below.<br><br>Andy<br><br><hr id="zwchr"><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From:<span class="Apple-converted-space"> </span></b>"Thomas Diesler" <<a href="mailto:thomas.diesler@jboss.com" target="_blank">thomas.diesler@jboss.com</a>><br><b>To:<span class="Apple-converted-space"> </span></b>"Brian Stansberry" <<a href="mailto:brian.stansberry@redhat.com" target="_blank">brian.stansberry@redhat.com</a>>, "Guillaume Nodet" <<a href="mailto:gnodet@redhat.com" target="_blank">gnodet@redhat.com</a>><br><b>Cc:<span class="Apple-converted-space"> </span></b>"<a href="mailto:jboss-as7-dev@lists.jboss.org" target="_blank">jboss-as7-dev@lists.jboss.org</a> Development" <<a href="mailto:jboss-as7-dev@lists.jboss.org" target="_blank">jboss-as7-dev@lists.jboss.org</a>>, <a href="mailto:osgi-wrk-grp@redhat.com" target="_blank">osgi-wrk-grp@redhat.com</a><br><b>Sent:<span class="Apple-converted-space"> </span></b>Friday, March 8, 2013 9:21:33 AM<br><b>Subject:<span class="Apple-converted-space"> </span></b>[jboss-as7-dev] Configuration/management functionality AS/Fuse<br><br>Hi Brian/Guillaume,<div><br></div><div>in the OSGi Working Group kick-off meeting I proposed a line of thought does goes like this:</div><div><br></div><div><div><ul class="MailOutline"><li><i>AS can be seen as an R5 compliant Core Framework that can be bootstrapped like any other compliant framework. We can take proper behaviour of the OSGi API layer for granted and can therefore safely assume that the Core Framework that Karaf currently runs on (i.e. Felix) can be replaced by AS. </i></li><li><i>For long term consolidation of the two product lines (i.e. EAP & Fuse) there are two functional areas key: management and configuration</i></li><li><i>There should be one way to configure the various subsystems that run on the platform</i></li><li><i>There should be one API for managing the platform</i></li><li><i>The consolidation effort could initially focus on these two areas and aim to elliminate </i><i>functional overlap and conflicts</i></li></ul><div><i><br></i></div></div><div>In parallel to the general <a href="https://docspace.corp.redhat.com/docs/DOC-135571" target="_blank">requirement gathering</a> I'd like to start a conversation about the respective <i>management/configuration </i>functionality in the two product lines and initially identify the overlap/conflicts. Perhaps we could start with the easier of the two (i.e. configuration) and hear from each other how this currently works. </div><div><br></div><div><ul class="MailOutline"><li>How are Fuse products configured?</li><li>How does AS unified configuration work?</li></ul><div><br></div></div><div>The goal would be to come up with a specific set of requirements for the target platform that accommodates the configuration needs for both product lines. We could then have a simmilar approach for the management layer.</div><div><br></div><div>What do you think?</div><div><br></div><div>cheers</div><div>--thomas</div><div><div><pre class="moz-signature">xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
JBoss OSGi Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx </pre><div><br></div></div><br class="Apple-interchange-newline"></div><br></div><br>_______________________________________________<br>jboss-as7-dev mailing list<br><a href="mailto:jboss-as7-dev@lists.jboss.org" target="_blank">jboss-as7-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a></blockquote></div></div></blockquote></div><br><div>
<div><pre class="moz-signature">xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
JBoss OSGi Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx </pre><div><br></div></div><br class="Apple-interchange-newline">
</div>
<br></div></div></blockquote><br></div></body></html>