You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by og...@apache.org on 2011/03/30 17:13:14 UTC

svn commit: r1086986 - in /incubator/stanbol/branches/http-endpoint-refactoring: enhancer/jersey/ enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/ launchers/mini/src/main/bundles/ parent/

Author: ogrisel
Date: Wed Mar 30 15:13:14 2011
New Revision: 1086986

URL: http://svn.apache.org/viewvc?rev=1086986&view=rev
Log:
STANBOL-120: reflect changes from the commons/web module split

Modified:
    incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/pom.xml
    incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/ContentItemResource.java
    incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/EnginesRootResource.java
    incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/SparqlQueryResource.java
    incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/StoreRootResource.java
    incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/src/main/bundles/list.xml
    incubator/stanbol/branches/http-endpoint-refactoring/parent/pom.xml

Modified: incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/pom.xml?rev=1086986&r1=1086985&r2=1086986&view=diff
==============================================================================
--- incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/pom.xml (original)
+++ incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/pom.xml Wed Mar 30 15:13:14 2011
@@ -82,7 +82,7 @@
 		</dependency>
 		<dependency>
           <groupId>org.apache.stanbol</groupId>
-          <artifactId>org.apache.stanbol.commons.web</artifactId>
+          <artifactId>org.apache.stanbol.commons.web.base</artifactId>
         </dependency>
 		<!-- Clerezza dependencies -->
 		<dependency>

Modified: incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/ContentItemResource.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/ContentItemResource.java?rev=1086986&r1=1086985&r2=1086986&view=diff
==============================================================================
--- incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/ContentItemResource.java (original)
+++ incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/ContentItemResource.java Wed Mar 30 15:13:14 2011
@@ -50,7 +50,7 @@ import org.apache.clerezza.rdf.core.spar
 import org.apache.clerezza.rdf.core.sparql.query.SelectQuery;
 import org.apache.clerezza.rdf.utils.GraphNode;
 import org.apache.commons.io.IOUtils;
-import org.apache.stanbol.commons.web.resource.NavigationMixin;
+import org.apache.stanbol.commons.web.resource.BaseStanbolResource;
 import org.apache.stanbol.enhancer.servicesapi.ContentItem;
 import org.apache.stanbol.enhancer.servicesapi.rdf.Properties;
 import org.slf4j.Logger;
@@ -58,7 +58,7 @@ import org.slf4j.LoggerFactory;
 
 import com.sun.jersey.api.view.Viewable;
 
-public class ContentItemResource extends NavigationMixin {
+public class ContentItemResource extends BaseStanbolResource {
 
     @SuppressWarnings("unused")
     private final Logger log = LoggerFactory.getLogger(getClass());

Modified: incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/EnginesRootResource.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/EnginesRootResource.java?rev=1086986&r1=1086985&r2=1086986&view=diff
==============================================================================
--- incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/EnginesRootResource.java (original)
+++ incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/EnginesRootResource.java Wed Mar 30 15:13:14 2011
@@ -29,7 +29,7 @@ import org.apache.clerezza.rdf.core.Trip
 import org.apache.clerezza.rdf.core.access.TcManager;
 import org.apache.clerezza.rdf.core.serializedform.Serializer;
 import org.apache.stanbol.commons.web.ContextHelper;
-import org.apache.stanbol.commons.web.resource.NavigationMixin;
+import org.apache.stanbol.commons.web.resource.BaseStanbolResource;
 import org.apache.stanbol.enhancer.jersey.cache.EntityCacheProvider;
 import org.apache.stanbol.enhancer.servicesapi.ContentItem;
 import org.apache.stanbol.enhancer.servicesapi.EngineException;
@@ -49,7 +49,7 @@ import com.sun.jersey.api.view.Viewable;
  * instead.
  */
 @Path("/engines")
-public class EnginesRootResource extends NavigationMixin {
+public class EnginesRootResource extends BaseStanbolResource {
 
     private final Logger log = LoggerFactory.getLogger(getClass());
 

Modified: incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/SparqlQueryResource.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/SparqlQueryResource.java?rev=1086986&r1=1086985&r2=1086986&view=diff
==============================================================================
--- incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/SparqlQueryResource.java (original)
+++ incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/SparqlQueryResource.java Wed Mar 30 15:13:14 2011
@@ -18,7 +18,7 @@ import org.apache.clerezza.rdf.core.spar
 import org.apache.clerezza.rdf.core.sparql.query.DescribeQuery;
 import org.apache.clerezza.rdf.core.sparql.query.Query;
 import org.apache.stanbol.commons.web.ContextHelper;
-import org.apache.stanbol.commons.web.resource.NavigationMixin;
+import org.apache.stanbol.commons.web.resource.BaseStanbolResource;
 import org.apache.stanbol.enhancer.servicesapi.Store;
 import org.apache.stanbol.enhancer.servicesapi.SparqlQueryEngine.SparqlQueryEngineException;
 
@@ -41,7 +41,7 @@ import static javax.ws.rs.core.MediaType
  * view with an ajax-ified form to test the SPARQL endpoint from the browser.
  */
 @Path("/sparql")
-public class SparqlQueryResource extends NavigationMixin {
+public class SparqlQueryResource extends BaseStanbolResource {
 
     protected Store store;
 

Modified: incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/StoreRootResource.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/StoreRootResource.java?rev=1086986&r1=1086985&r2=1086986&view=diff
==============================================================================
--- incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/StoreRootResource.java (original)
+++ incubator/stanbol/branches/http-endpoint-refactoring/enhancer/jersey/src/main/java/org/apache/stanbol/enhancer/jersey/resource/StoreRootResource.java Wed Mar 30 15:13:14 2011
@@ -60,7 +60,7 @@ import org.apache.clerezza.rdf.core.spar
 import org.apache.commons.io.FileUtils;
 import org.apache.commons.io.IOUtils;
 import org.apache.stanbol.commons.web.ContextHelper;
-import org.apache.stanbol.commons.web.resource.NavigationMixin;
+import org.apache.stanbol.commons.web.resource.BaseStanbolResource;
 import org.apache.stanbol.enhancer.jersey.cache.EntityCacheProvider;
 import org.apache.stanbol.enhancer.servicesapi.ContentItem;
 import org.apache.stanbol.enhancer.servicesapi.EngineException;
@@ -90,7 +90,7 @@ import com.sun.jersey.core.header.FormDa
  * The Delete operation is not implemented yet.
  */
 @Path("/store")
-public class StoreRootResource extends NavigationMixin {
+public class StoreRootResource extends BaseStanbolResource {
 
     public static final Set<String> RDF_MEDIA_TYPES = new TreeSet<String>(
             Arrays.asList(N3, N_TRIPLE, RDF_XML, TURTLE, X_TURTLE, RDF_JSON));

Modified: incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/src/main/bundles/list.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/src/main/bundles/list.xml?rev=1086986&r1=1086985&r2=1086986&view=diff
==============================================================================
--- incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/src/main/bundles/list.xml (original)
+++ incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/src/main/bundles/list.xml Wed Mar 30 15:13:14 2011
@@ -145,7 +145,7 @@
 		</bundle>
 		<bundle>
 			<groupId>org.apache.stanbol</groupId>
-			<artifactId>org.apache.stanbol.commons.web</artifactId>
+			<artifactId>org.apache.stanbol.commons.web.base</artifactId>
 			<version>0.9-SNAPSHOT</version>
 		</bundle>
 		<bundle>

Modified: incubator/stanbol/branches/http-endpoint-refactoring/parent/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/http-endpoint-refactoring/parent/pom.xml?rev=1086986&r1=1086985&r2=1086986&view=diff
==============================================================================
--- incubator/stanbol/branches/http-endpoint-refactoring/parent/pom.xml (original)
+++ incubator/stanbol/branches/http-endpoint-refactoring/parent/pom.xml Wed Mar 30 15:13:14 2011
@@ -244,7 +244,7 @@
       </dependency>
       <dependency>
         <groupId>org.apache.stanbol</groupId>
-        <artifactId>org.apache.stanbol.commons.web</artifactId>
+        <artifactId>org.apache.stanbol.commons.web.base</artifactId>
         <version>${stanbol-version}</version>
       </dependency>
       <dependency>