Permalink
Browse files

begin stubbing out PhilologicResource

  • Loading branch information...
1 parent cd04b5e commit 691fe0d574c945818e10e96bf45f0460684b25b6 @blairc committed May 22, 2012
View
@@ -16,24 +16,16 @@
<description>Philologic Service</description>
<url></url>
- <dependencies>
- </dependencies>
-
<modules>
<module>domain</module>
<module>service</module>
-<!-- TODO
<module>resource</module>
--->
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
- <repositories>
- </repositories>
-
</project>
View
@@ -0,0 +1,39 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <artifactId>bsp</artifactId>
+ <groupId>org.projectbamboo</groupId>
+ <version>0.5.0.-SNAPSHOT</version>
+ <relativePath/>
+ </parent>
+
+ <groupId>org.projectbamboo.bsp</groupId>
+ <artifactId>philologic.resource</artifactId>
+ <version>0.1-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+ <name>Philologic Resource</name>
+ <description>Philologic Resource</description>
+ <url></url>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.projectbamboo.bsp</groupId>
+ <artifactId>philologic.service</artifactId>
+ <version>0.1-SNAPSHOT</version>
+ <type>bundle</type>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ </properties>
+
+ <repositories>
+ </repositories>
+
+</project>
+
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is a part of the source code and related artifacts for the
+ Project Bamboo
+
+ For more information please see:
+ http://www.projectbamboo.org
+ https://wiki.projectbamboo.org
+
+ Copyright 2012
+ The Regents of the University of California, Berkeley ("Berkeley")
+ the Australian National University; Indiana University
+ Northwestern University
+ Tufts University
+ University of Chicago
+ The Board of Trustees of the University of Illinois at Urbana-Champaign
+ University of Maryland
+ University of Oxford
+ University of Wisconsin, Madison
+
+ Licensed under the Educational Community License (ECL), Version 2.0.
+ You may not use this file except in compliance with this License.
+ You may obtain a copy of the ECL 2.0 License at:
+ https://source.projectbamboo.org/svn/btp/LICENSE.txt
+ 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.
+ -->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:jaxrs="http://cxf.apache.org/jaxrs"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:osgi="http://www.springframework.org/schema/osgi"
+ xmlns:util="http://www.springframework.org/schema/util"
+ xsi:schemaLocation="
+ http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd
+ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+ http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd
+ http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd"
+>
+
+ <import resource="classpath:META-INF/cxf/cxf.xml" />
+ <import resource="classpath:META-INF/cxf/osgi/cxf-extension-osgi.xml" />
+
+ <!-- TODO Add required metadata -->
+
+ <osgi:reference id="PhilologicService"
+ interface="org.projectbamboo.philologic.service.PhilologicService"
+ />
+
+ <bean id="philologicResource"
+ class="org.projectbamboo.philologic.resource.PhilologicResource"
+ >
+ <property name="philologicService"
+ ref="PhilologicService"
+ />
+ </bean>
+
+ <jaxrs:server id="philologic"
+ address="/philologic">
+ <jaxrs:serviceBeans>
+ <ref bean="philologicResource"/>
+ </jaxrs:serviceBeans>
+ <jaxrs:schemaLocations>
+<!-- TODO
+ <jaxrs:schemaLocation>classpath:TranslationListRepresentation.xsd</jaxrs:schemaLocation>
+ <jaxrs:schemaLocation>classpath:TranslationResource.xsd</jaxrs:schemaLocation>
+-->
+ </jaxrs:schemaLocations>
+ </jaxrs:server>
+
+</beans>
+
@@ -0,0 +1,17 @@
+Manifest-Version: 1.0
+Built-By: blair
+Tool: Bnd-1.15.0
+Bundle-Name: Philologic Resource
+Created-By: Apache Maven Bundle Plugin
+Require-Bundle: org.apache.cxf.bundle
+Build-Jdk: 1.6.0_31
+Bundle-Version: 0.1.0.SNAPSHOT
+Bnd-LastModified: 1337708204870
+Bundle-ManifestVersion: 2
+Bundle-Description: Philologic Resource
+Import-Package: META-INF.cxf,META-INF.cxf.osgi,javax.xml.bind,javax.xm
+ l.bind.annotation,javax.xml.namespace,javax.xml.ws,org.apache.cxf.jax
+ ws,org.apache.cxf.transport.http;version="[2.4,3)",org.projectbamboo.
+ philologic.resource,org.projectbamboo.philologic.service
+Bundle-SymbolicName: org.projectbamboo.bsp.philologic.resource
+
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This file is a part of the source code and related artifacts for the
+ Project Bamboo
+
+ For more information please see:
+ http://www.projectbamboo.org
+ https://wiki.projectbamboo.org
+
+ Copyright 2012
+ The Regents of the University of California, Berkeley ("Berkeley")
+ the Australian National University; Indiana University
+ Northwestern University
+ Tufts University
+ University of Chicago
+ The Board of Trustees of the University of Illinois at Urbana-Champaign
+ University of Maryland
+ University of Oxford
+ University of Wisconsin, Madison
+
+ Licensed under the Educational Community License (ECL), Version 2.0.
+ You may not use this file except in compliance with this License.
+ You may obtain a copy of the ECL 2.0 License at:
+ https://source.projectbamboo.org/svn/btp/LICENSE.txt
+ 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.
+ -->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:jaxrs="http://cxf.apache.org/jaxrs"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:osgi="http://www.springframework.org/schema/osgi"
+ xmlns:util="http://www.springframework.org/schema/util"
+ xsi:schemaLocation="
+ http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd
+ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+ http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd
+ http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd"
+>
+
+ <import resource="classpath:META-INF/cxf/cxf.xml" />
+ <import resource="classpath:META-INF/cxf/osgi/cxf-extension-osgi.xml" />
+
+ <!-- TODO Add required metadata -->
+
+ <osgi:reference id="PhilologicService"
+ interface="org.projectbamboo.philologic.service.PhilologicService"
+ />
+
+ <bean id="philologicResource"
+ class="org.projectbamboo.philologic.resource.PhilologicResource"
+ >
+ <property name="philologicService"
+ ref="PhilologicService"
+ />
+ </bean>
+
+ <jaxrs:server id="philologic"
+ address="/philologic">
+ <jaxrs:serviceBeans>
+ <ref bean="philologicResource"/>
+ </jaxrs:serviceBeans>
+ <jaxrs:schemaLocations>
+<!-- TODO
+ <jaxrs:schemaLocation>classpath:TranslationListRepresentation.xsd</jaxrs:schemaLocation>
+ <jaxrs:schemaLocation>classpath:TranslationResource.xsd</jaxrs:schemaLocation>
+-->
+ </jaxrs:schemaLocations>
+ </jaxrs:server>
+
+</beans>
+
Binary file not shown.

0 comments on commit 691fe0d

Please sign in to comment.