[JBoss JIRA] (RTGOV-548) Create maven archetypes for RTGov
by Gary Brown (JIRA)
[ https://issues.jboss.org/browse/RTGOV-548?page=com.atlassian.jira.plugin.... ]
Gary Brown commented on RTGOV-548:
----------------------------------
Some examples:
Event Processor Network (JEE): https://github.com/Governance/rtgov/tree/master/samples/jbossas/policy/async
Event Processor Network (OSGi): https://github.com/Governance/rtgov/tree/master/samples/karaf/policy/asyn...
Activity Validator (JEE): https://github.com/Governance/rtgov/tree/master/samples/jbossas/policy/sync
Activity Validator (OSGi): https://github.com/Governance/rtgov/tree/master/samples/karaf/policy/sync
Information Processor (JEE): https://github.com/Governance/rtgov/tree/master/samples/jbossas/ordermgmt/ip
Information Processor (OSGi): https://github.com/Governance/rtgov/tree/master/samples/karaf/ordermgmt/ip
Active Collection Source (JEE): https://github.com/Governance/rtgov/tree/master/content/acs-jee
Active Collection Source (OSGi): https://github.com/Governance/rtgov/tree/master/content/acs-osgi
For these examples, only the pom.xml and json file (in src/main/resources) are likely to be important for the archetype. Although the user will have to fill out specific details even in the pom and json files, as well as provide additional content (e.g. rule files, java classes/libs if necessary).
> Create maven archetypes for RTGov
> ---------------------------------
>
> Key: RTGOV-548
> URL: https://issues.jboss.org/browse/RTGOV-548
> Project: RTGov (Run Time Governance)
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Gary Brown
> Assignee: David virgil naranjo
> Fix For: 2.1.0.Final
>
>
> Create maven archetypes for the RTGov governance artifacts for JEE and OSGi.
> The archetypes intended for JEE will create war files, the ones intended for OSGi will create jars. The samples can be used to identify the contents of these wars/jars.
> The archetypes will be required to create a basic template for the Event Processor Networks (EPN), Activity Validators (AV), Information Processors (IP) and Active Collection Sources (ACS). Users will then add specific details manually, including details in the relevant json files, and any additional dependencies.
> One specific note - when a war is deployed in EAP (and eventually WildFly), it will use the dependency (currently defined in the manifest) on overlord-rtgov.war to obtain its dependencies. When we support other JEE containers, then we may need to ask the user for the specific container and change the created maven project accordingly.
> So this work can either create a single archetype which requests details about which artifact is being created, and whether OSGi or JEE, or could be separate archetypes.
> I think my preference currently is a single archetype that asks questions to determine what should be created, as this can then easily evolve as changes are required.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months