summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-02-26 16:28:29 +0000
committerkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-02-26 16:28:29 +0000
commita5dfadb778fdb5a74b7d5e9169b6d3eceb16a5e7 (patch)
treefefa8b84837a649820ea4a24958d09ef32611594
parent8c2121fe162d35bdf6dc441fc2a9e2dc367034e1 (diff)
split the logic code out so i can see the tuscany code better
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916741 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sandbox/kgoodson/jagg-logic/pom.xml173
-rw-r--r--sandbox/kgoodson/jagg-logic/src/main/resources/JiraRSS.xsd99
-rw-r--r--sandbox/kgoodson/jagg-logic/src/main/resources/JiraSideband.xml65
-rw-r--r--sandbox/kgoodson/jagg-logic/src/main/resources/JiraSideband.xsd129
-rw-r--r--sandbox/kgoodson/jagg-logic/src/main/resources/exampleJira.xml67
-rw-r--r--sandbox/kgoodson/jagg-logic/src/main/resources/plan.composite43
6 files changed, 576 insertions, 0 deletions
diff --git a/sandbox/kgoodson/jagg-logic/pom.xml b/sandbox/kgoodson/jagg-logic/pom.xml
new file mode 100644
index 0000000000..9f4209a2ad
--- /dev/null
+++ b/sandbox/kgoodson/jagg-logic/pom.xml
@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-sca</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <artifactId>jagg-logic</artifactId>
+ <name>Apache Tuscany SCA JIRA Aggregator Logic></name>
+
+ <repositories>
+
+ <repository>
+ <id>apache.incubator</id>
+ <url>http://people.apache.org/repo/m2-incubating-repository</url>
+ </repository>
+ </repositories>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jaxb2-maven-plugin</artifactId>
+ <version>1.3</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.1</version>
+ <type>jar</type>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${project.build.directory}/endorsed</outputDirectory>
+ <overWriteReleases>false</overWriteReleases>
+ <overWriteSnapshots>true</overWriteSnapshots>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <compilerArgument>-Djava.endorsed.dirs=target/endorsed</compilerArgument>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+
+ <execution>
+ <id>add-source</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>add-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>target/jaxb-source</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.jvnet.jaxb2.maven2</groupId>
+ <artifactId>maven-jaxb2-plugin</artifactId>
+ <version>0.7.1</version>
+ <executions>
+ <execution>
+ <id>generate-jaxb</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <generatePackage>com.example.ipo.jaxb</generatePackage>
+ <generateDirectory>${project.build.directory}/jaxb-source</generateDirectory>
+ <schemaDirectory>${basedir}/src/main/resources</schemaDirectory>
+ <schemaIncludes>
+ <!-- <include>ipo.xsd</include>-->
+ <include>JiraSideband.xsd</include>
+ <include>JiraRSS.xsd</include>
+ </schemaIncludes>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ <finalName>${artifactId}</finalName>
+ </build>
+
+
+ <dependencies>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.5</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>rome</groupId>
+ <artifactId>rome</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>2.0.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jvnet.jaxb2_commons</groupId>
+ <artifactId>runtime</artifactId>
+ <version>0.4.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jvnet.jaxb2_commons</groupId>
+ <artifactId>testing</artifactId>
+ <version>0.4.1</version>
+ <scope>test</scope>
+ </dependency>
+
+
+ </dependencies>
+</project>
diff --git a/sandbox/kgoodson/jagg-logic/src/main/resources/JiraRSS.xsd b/sandbox/kgoodson/jagg-logic/src/main/resources/JiraRSS.xsd
new file mode 100644
index 0000000000..4a2b066267
--- /dev/null
+++ b/sandbox/kgoodson/jagg-logic/src/main/resources/JiraRSS.xsd
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:include schemaLocation=""></xsd:include>
+ <xsd:element name="rss" type="RSS"></xsd:element>
+
+ <xsd:complexType name="JiraRSS">
+ <xsd:sequence>
+ <xsd:element name="channel" type="xsd:string"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="Channel">
+ <xsd:sequence>
+ <xsd:element name="title" type="xsd:string"></xsd:element>
+ <xsd:element name="link" type="xsd:string"></xsd:element>
+ <xsd:element name="description" type="xsd:string"></xsd:element>
+ <xsd:element name="language" type="xsd:string"></xsd:element>
+ <xsd:element name="build-info" type="BuildInfo"></xsd:element>
+ <xsd:element name="item" type="Item"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+
+
+ <xsd:complexType name="Item">
+ <xsd:sequence>
+ <xsd:element name="title" type="xsd:string"></xsd:element>
+ <xsd:element name="link" type="xsd:string"></xsd:element>
+ <xsd:element name="description" type="xsd:string"></xsd:element>
+ <xsd:element name="environment" type="xsd:string"></xsd:element>
+ <xsd:element name="type" type="xsd:string"></xsd:element>
+ <xsd:element name="priority" type="xsd:string"></xsd:element>
+ <xsd:element name="status" type="xsd:string"></xsd:element>
+ <xsd:element name="resolution" type="xsd:string"></xsd:element>
+ <xsd:element name="assignee" type="xsd:string"></xsd:element>
+ <xsd:element name="reporter" type="xsd:string"></xsd:element>
+ <xsd:element name="key" type="Key"></xsd:element>
+ <xsd:element name="summary" type="xsd:string"></xsd:element>
+ <xsd:element name="type" type="xsd:string"></xsd:element>
+ <xsd:element name="priority" type="xsd:string"></xsd:element>
+ <xsd:element name="status" type="xsd:string"></xsd:element>
+ <xsd:element name="resolution" type="xsd:string"></xsd:element>
+ <xsd:element name="assignee" type="xsd:string"></xsd:element>
+ <xsd:element name="reporter" type="xsd:string"></xsd:element>
+ <xsd:element name="created" type="xsd:string"></xsd:element>
+ <xsd:element name="updated" type="xsd:string"></xsd:element>
+ <xsd:element name="version" type="xsd:string"></xsd:element>
+ <xsd:element name="fixVersion" type="xsd:string"></xsd:element>
+ <xsd:element name="component" type="xsd:string"></xsd:element>
+ <xsd:element name="due" type="xsd:string"></xsd:element>
+ <xsd:element name="votes" type="xsd:string"></xsd:element>
+ <xsd:element name="comments" type="Comments"></xsd:element>
+
+ </xsd:sequence>
+ </xsd:complexType>
+
+
+ <xsd:complexType name="RSS">
+ <xsd:sequence>
+ <xsd:element name="channel" type="Channel"></xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="version" type="xsd:string"></xsd:attribute>
+ </xsd:complexType>
+
+
+ <xsd:complexType name="Key">
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="id" type="xsd:string"></xsd:attribute>
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="Comment">
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="id" type="xsd:string"></xsd:attribute>
+ <xsd:attribute name="author" type="xsd:string"></xsd:attribute>
+ <xsd:attribute name="created" type="xsd:string"></xsd:attribute>
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="Comments">
+ <xsd:sequence>
+ <xsd:element name="comment" type="Comment" maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="BuildInfo">
+ <xsd:sequence>
+ <xsd:element name="version" type="xsd:string"></xsd:element>
+ <xsd:element name="build-number" type="xsd:string"></xsd:element>
+ <xsd:element name="build-date" type="xsd:string"></xsd:element>
+ <xsd:element name="edition" type="xsd:string"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+</xsd:schema>
diff --git a/sandbox/kgoodson/jagg-logic/src/main/resources/JiraSideband.xml b/sandbox/kgoodson/jagg-logic/src/main/resources/JiraSideband.xml
new file mode 100644
index 0000000000..2d60a3b83a
--- /dev/null
+++ b/sandbox/kgoodson/jagg-logic/src/main/resources/JiraSideband.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<ns2:plan xmlns:ns2="http://www.example.com/tracking">
+ <issueBase>https://issues.apache.org/jira/browse/</issueBase>
+ <milestone ID="V8 M5I14a">
+ <workItem>
+ <jira>TUSCANY-2850</jira>
+ <jiraData ID="TUSCANY-2850">
+ <title> Support binding.json-rpc for implementation.java's reference</title>
+ <status>Resolved</status>
+ <assignedTo>Luciano Resende</assignedTo>
+ </jiraData>
+ </workItem>
+ <workItem>
+ <jira>TUSCANY-3395</jira>
+ <jiraData ID="TUSCANY-3395">
+ <title> Tidying up Contribution Scanner API</title>
+ <status>Resolved</status>
+ <assignedTo>Luciano Resende</assignedTo>
+ </jiraData>
+ </workItem>
+ <workItem>
+ <jira>TUSCANY-3397</jira>
+ <jiraData ID="TUSCANY-3397">
+ <title> Add support for identifying the SCA Spec Version for contribution metadata</title>
+ <status>Resolved</status>
+ <assignedTo>Luciano Resende</assignedTo>
+ </jiraData>
+ </workItem>
+ </milestone>
+ <milestone ID="V8_M5I14b">
+ <workItem>
+ <jira>TUSCANY-3433</jira>
+ <jiraData ID="TUSCANY-3433">
+ <title> Import more of the basic itests from 1.x to 2.x </title>
+ <status>Open</status>
+ <assignedTo>Ramkumar Ramalingam</assignedTo>
+ </jiraData>
+ </workItem>
+ <workItem>
+ <jira>TUSCANY-3409</jira>
+ <jiraData ID="TUSCANY-3409">
+ <title> Non-Simple Property Injected with XML Fails with NullPointerException</title>
+ <status>Resolved</status>
+ <assignedTo>Raymond Feng</assignedTo>
+ </jiraData>
+ </workItem>
+ <workItem>
+ <jira>TUSCANY-3441</jira>
+ <jiraData ID="TUSCANY-3441">
+ <title> Improve mechanism for determining locality of endpoints to endpoint references</title>
+ <status>Open</status>
+ <assignedTo>Unassigned</assignedTo>
+ </jiraData>
+ </workItem>
+ <workItem>
+ <jira>TUSCANY-3443</jira>
+ <jiraData ID="TUSCANY-3443">
+ <title> Devise a away to track and spi changes we make in 2.x</title>
+ <status>Open</status>
+ <assignedTo>Unassigned</assignedTo>
+ </jiraData>
+ </workItem>
+ </milestone>
+ <milestone ID="V8_M5I15a"/>
+</ns2:plan>
diff --git a/sandbox/kgoodson/jagg-logic/src/main/resources/JiraSideband.xsd b/sandbox/kgoodson/jagg-logic/src/main/resources/JiraSideband.xsd
new file mode 100644
index 0000000000..a03291e66c
--- /dev/null
+++ b/sandbox/kgoodson/jagg-logic/src/main/resources/JiraSideband.xsd
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+<xsd:schema targetNamespace="http://www.example.com/tracking"
+ xmlns:jagg="http://www.example.com/tracking"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:element name="plan">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="issueBase" type="xsd:string" maxOccurs="1" minOccurs="0"></xsd:element>
+
+
+ <xsd:element name="milestone" type="jagg:Milestone" maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+
+ <xsd:complexType name="WorkItem">
+ <xsd:annotation>
+ <xsd:documentation>
+ The milestone or deliverable name that we require this
+ function for
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+
+ <xsd:element name="title" type="xsd:string" maxOccurs="1" minOccurs="1"></xsd:element>
+ <xsd:element name="responsible" type="xsd:string"
+ maxOccurs="1" minOccurs="0">
+ </xsd:element>
+ <xsd:element name="dueDate" type="xsd:string" maxOccurs="1"
+ minOccurs="0" />
+ <xsd:element name="jira" type="xsd:string" maxOccurs="1"
+ minOccurs="0">
+ </xsd:element>
+ <xsd:element name="status" type="xsd:string" maxOccurs="1"
+ minOccurs="0">
+ </xsd:element>
+
+
+ <xsd:element name="repository_vid" type="xsd:string"
+ maxOccurs="1" minOccurs="0">
+ </xsd:element>
+ <xsd:element name="note" type="xsd:string" maxOccurs="1"
+ minOccurs="0">
+ </xsd:element>
+
+ <xsd:element name="jiraData" type="jagg:JiraData" maxOccurs="1" minOccurs="0"></xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="ID" type="xsd:ID"></xsd:attribute>
+ </xsd:complexType>
+
+
+ <xsd:complexType name="Milestone">
+
+ <xsd:sequence>
+ <xsd:element name="dueDate" type="xsd:string" maxOccurs="1"
+ minOccurs="0">
+ </xsd:element>
+
+ <xsd:element name="deliveredby" type="xsd:string"
+ maxOccurs="1" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>
+ A tuscany source code repository branch name or
+ repository version number
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element name="note" type="xsd:string" maxOccurs="1"
+ minOccurs="0">
+ </xsd:element>
+
+ <xsd:element name="workItem" type="jagg:WorkItem"
+ maxOccurs="unbounded" minOccurs="0">
+ </xsd:element>
+ </xsd:sequence>
+
+
+ <xsd:attribute name="ID" type="xsd:string"></xsd:attribute>
+ </xsd:complexType>
+
+ <xsd:complexType name="Milestones">
+ <xsd:sequence>
+ <xsd:element name="milestone" type="jagg:Milestone" maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="WorkItems">
+ <xsd:sequence>
+ <xsd:element name="workitem" type="jagg:WorkItem" maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+
+ <xsd:complexType name="PlanDTO">
+ <xsd:sequence>
+ <xsd:element name="milestones" type="jagg:Milestone" maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ <xsd:element name="workitems" type="jagg:WorkItem" maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="JiraData">
+ <xsd:sequence>
+ <xsd:element name="title" type="xsd:string"></xsd:element>
+ <xsd:element name="status" type="xsd:string"></xsd:element>
+ <xsd:element name="assignedTo" type="xsd:string"></xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="ID" type="xsd:string"></xsd:attribute>
+ </xsd:complexType>
+ </xsd:schema>
diff --git a/sandbox/kgoodson/jagg-logic/src/main/resources/exampleJira.xml b/sandbox/kgoodson/jagg-logic/src/main/resources/exampleJira.xml
new file mode 100644
index 0000000000..08dae93262
--- /dev/null
+++ b/sandbox/kgoodson/jagg-logic/src/main/resources/exampleJira.xml
@@ -0,0 +1,67 @@
+<rss version="0.92" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="JiraRSS.xsd ">
+ <channel>
+ <title>ASF JIRA</title>
+ <link>https://issues.apache.org:443/jira</link>
+ <description>This file is an XML representation of an issue</description>
+ <language>en-uk</language>
+ <build-info>
+ <version>3.13.5</version>
+ <build-number>360</build-number>
+ <build-date>07-07-2009</build-date>
+ <edition>Enterprise</edition>
+ </build-info>
+ <item>
+ <title>[TUSCANY-3397] Add support for identifying the
+ SCA Spec Version for contribution metadata</title>
+ <link>https://issues.apache.org:443/jira/browse/TUSCANY-3397</link>
+ <description>Provide the same support we have for Composites,
+ for Contribution Metadata</description>
+ <environment />
+ <key id="12443784">TUSCANY-3397</key>
+ <summary>Add support for identifying the SCA Spec Version for
+ contribution metadata</summary>
+ <type id="1"
+ iconUrl="https://issues.apache.org:443/jira/images/icons/bug.gif">Bug</type>
+ <priority id="3"
+ iconUrl="https://issues.apache.org:443/jira/images/icons/priority_major.gif">Major</priority>
+ <status id="5"
+ iconUrl="https://issues.apache.org:443/jira/images/icons/status_resolved.gif">Resolved</status>
+ <resolution id="1">Fixed</resolution>
+ <assignee username="luciano resende">Luciano Resende</assignee>
+ <reporter username="luciano resende">Luciano Resende</reporter>
+ <created>Fri, 18 Dec 2009 17:31:07 +0000 (UTC)</created>
+ <updated>Fri, 18 Dec 2009 17:58:58 +0000 (UTC)</updated>
+ <version>Java-SCA-2.0</version>
+ <fixVersion>Java-SCA-2.0</fixVersion>
+ <component>Java SCA Core Runtime</component>
+ <due />
+ <votes>0</votes>
+ <comments>
+ <comment id="12792548" author="luciano resende"
+ created="Fri, 18 Dec 2009 17:58:58 +0000 (UTC)">
+ Fixed, you can now identify the spec version of the contribution
+ metadata based on the SCA Namespace being used, this means that,
+ for SCA 1.1, specVersion will return
+ <a href="http://docs.oasis-open.org/ns/opencsa/sca/200912">http://docs.oasis-open.org/ns/opencsa/sca/200912</a>
+ </comment>
+ </comments>
+ <attachments />
+ <subtasks />
+ <customfields>
+ <customfield id="customfield_12310222"
+ key="com.atlassian.jira.ext.charting:timeinstatus">
+ <customfieldname>Time in Status</customfieldname>
+ <customfieldvalues />
+ </customfield>
+ <customfield id="customfield_12310221"
+ key="com.atlassian.jira.ext.charting:resolutiondate">
+ <customfieldname>Resolution Date</customfieldname>
+ <customfieldvalues>
+ <customfieldvalue>Fri, 18 Dec 2009 17:58:58 +0000 (UTC)</customfieldvalue>
+ </customfieldvalues>
+ </customfield>
+ </customfields>
+ </item>
+ </channel>
+</rss>
diff --git a/sandbox/kgoodson/jagg-logic/src/main/resources/plan.composite b/sandbox/kgoodson/jagg-logic/src/main/resources/plan.composite
new file mode 100644
index 0000000000..6e8a2138bf
--- /dev/null
+++ b/sandbox/kgoodson/jagg-logic/src/main/resources/plan.composite
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
+ targetNamespace="http://jagg"
+ name="jagg">
+
+ <component name="planApp">
+ <tuscany:implementation.widget location="uiservices/plan.html"/>
+ <service name="Widget">
+ <tuscany:binding.http uri="/plan"/>
+ </service>
+ <reference name="plan" target="Plan"/>
+ </component>
+
+ <component name="Plan">
+ <implementation.java class="services.PlanViewImpl"/>
+ <property name="planFile">src/main/resources/jiraSideBand.xml</property>
+ <service name="PlanView">
+ <tuscany:binding.jsonrpc/>
+ </service>
+ </component>
+
+
+
+</composite>