You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by rw...@apache.org on 2014/04/17 08:39:56 UTC

svn commit: r1588139 - in /stanbol/branches/release-0.12/entityhub: defaults/src/main/resources/config/ site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/

Author: rwesten
Date: Thu Apr 17 06:39:56 2014
New Revision: 1588139

URL: http://svn.apache.org/r1588139
Log:
fix for STANBOL-1323 in the 0.12 branch

Added:
    stanbol/branches/release-0.12/entityhub/defaults/src/main/resources/config/org.apache.stanbol.entityhub.dereferencer.CoolUriDereferencer.properties
    stanbol/branches/release-0.12/entityhub/defaults/src/main/resources/config/org.apache.stanbol.entityhub.dereferencer.SparqlDereferencer.properties
    stanbol/branches/release-0.12/entityhub/defaults/src/main/resources/config/org.apache.stanbol.entityhub.searcher.LarqSearcher.properties
    stanbol/branches/release-0.12/entityhub/defaults/src/main/resources/config/org.apache.stanbol.entityhub.searcher.SparqlSearcher.properties
    stanbol/branches/release-0.12/entityhub/defaults/src/main/resources/config/org.apache.stanbol.entityhub.searcher.VirtuosoSearcher.properties
Modified:
    stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/CoolUriDereferencer.java
    stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/LarqSearcher.java
    stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/SparqlDereferencer.java
    stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/SparqlSearcher.java
    stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/VirtuosoSearcher.java

Added: stanbol/branches/release-0.12/entityhub/defaults/src/main/resources/config/org.apache.stanbol.entityhub.dereferencer.CoolUriDereferencer.properties
URL: http://svn.apache.org/viewvc/stanbol/branches/release-0.12/entityhub/defaults/src/main/resources/config/org.apache.stanbol.entityhub.dereferencer.CoolUriDereferencer.properties?rev=1588139&view=auto
==============================================================================
    (empty)

Added: stanbol/branches/release-0.12/entityhub/defaults/src/main/resources/config/org.apache.stanbol.entityhub.dereferencer.SparqlDereferencer.properties
URL: http://svn.apache.org/viewvc/stanbol/branches/release-0.12/entityhub/defaults/src/main/resources/config/org.apache.stanbol.entityhub.dereferencer.SparqlDereferencer.properties?rev=1588139&view=auto
==============================================================================
    (empty)

Added: stanbol/branches/release-0.12/entityhub/defaults/src/main/resources/config/org.apache.stanbol.entityhub.searcher.LarqSearcher.properties
URL: http://svn.apache.org/viewvc/stanbol/branches/release-0.12/entityhub/defaults/src/main/resources/config/org.apache.stanbol.entityhub.searcher.LarqSearcher.properties?rev=1588139&view=auto
==============================================================================
    (empty)

Added: stanbol/branches/release-0.12/entityhub/defaults/src/main/resources/config/org.apache.stanbol.entityhub.searcher.SparqlSearcher.properties
URL: http://svn.apache.org/viewvc/stanbol/branches/release-0.12/entityhub/defaults/src/main/resources/config/org.apache.stanbol.entityhub.searcher.SparqlSearcher.properties?rev=1588139&view=auto
==============================================================================
    (empty)

Added: stanbol/branches/release-0.12/entityhub/defaults/src/main/resources/config/org.apache.stanbol.entityhub.searcher.VirtuosoSearcher.properties
URL: http://svn.apache.org/viewvc/stanbol/branches/release-0.12/entityhub/defaults/src/main/resources/config/org.apache.stanbol.entityhub.searcher.VirtuosoSearcher.properties?rev=1588139&view=auto
==============================================================================
    (empty)

Modified: stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/CoolUriDereferencer.java
URL: http://svn.apache.org/viewvc/stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/CoolUriDereferencer.java?rev=1588139&r1=1588138&r2=1588139&view=diff
==============================================================================
--- stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/CoolUriDereferencer.java (original)
+++ stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/CoolUriDereferencer.java Thu Apr 17 06:39:56 2014
@@ -41,7 +41,7 @@ import org.slf4j.LoggerFactory;
 @Component(
         name="org.apache.stanbol.entityhub.dereferencer.CoolUriDereferencer",
         factory="org.apache.stanbol.entityhub.dereferencer.CoolUriDereferencerFactory",
-        policy=ConfigurationPolicy.REQUIRE, //the baseUri is required!
+        policy=ConfigurationPolicy.OPTIONAL,
         specVersion="1.1"
         )
 public class CoolUriDereferencer extends AbstractEntityDereferencer implements EntityDereferencer{

Modified: stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/LarqSearcher.java
URL: http://svn.apache.org/viewvc/stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/LarqSearcher.java?rev=1588139&r1=1588138&r2=1588139&view=diff
==============================================================================
--- stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/LarqSearcher.java (original)
+++ stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/LarqSearcher.java Thu Apr 17 06:39:56 2014
@@ -47,7 +47,7 @@ import org.slf4j.LoggerFactory;
 @Component(
         name="org.apache.stanbol.entityhub.searcher.LarqSearcher",
         factory="org.apache.stanbol.entityhub.searcher.LarqSearcherFactory",
-        policy=ConfigurationPolicy.REQUIRE, //the queryUri and the SPARQL Endpoint are required
+        policy=ConfigurationPolicy.OPTIONAL,
         specVersion="1.1"
         )
 public class LarqSearcher extends AbstractEntitySearcher implements EntitySearcher {

Modified: stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/SparqlDereferencer.java
URL: http://svn.apache.org/viewvc/stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/SparqlDereferencer.java?rev=1588139&r1=1588138&r2=1588139&view=diff
==============================================================================
--- stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/SparqlDereferencer.java (original)
+++ stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/SparqlDereferencer.java Thu Apr 17 06:39:56 2014
@@ -44,7 +44,7 @@ import org.slf4j.LoggerFactory;
 @Component(
         name="org.apache.stanbol.entityhub.dereferencer.SparqlDereferencer",
         factory="org.apache.stanbol.entityhub.dereferencer.SparqlDereferencerFactory",
-        policy=ConfigurationPolicy.REQUIRE, //the baseUri and the SPARQL Endpoint are required
+        policy=ConfigurationPolicy.OPTIONAL,
         specVersion="1.1"
         )
 @Service(value=EntityDereferencer.class)

Modified: stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/SparqlSearcher.java
URL: http://svn.apache.org/viewvc/stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/SparqlSearcher.java?rev=1588139&r1=1588138&r2=1588139&view=diff
==============================================================================
--- stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/SparqlSearcher.java (original)
+++ stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/SparqlSearcher.java Thu Apr 17 06:39:56 2014
@@ -52,7 +52,7 @@ import org.slf4j.LoggerFactory;
 @Component(
         name="org.apache.stanbol.entityhub.searcher.SparqlSearcher",
         factory="org.apache.stanbol.entityhub.searcher.SparqlSearcherFactory",
-        policy=ConfigurationPolicy.REQUIRE, //the queryUri and the SPARQL Endpoint are required
+        policy=ConfigurationPolicy.OPTIONAL,
         specVersion="1.1"
         )
 public class SparqlSearcher extends AbstractEntitySearcher implements EntitySearcher {

Modified: stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/VirtuosoSearcher.java
URL: http://svn.apache.org/viewvc/stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/VirtuosoSearcher.java?rev=1588139&r1=1588138&r2=1588139&view=diff
==============================================================================
--- stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/VirtuosoSearcher.java (original)
+++ stanbol/branches/release-0.12/entityhub/site/linkeddata/src/main/java/org/apache/stanbol/entityhub/site/linkeddata/impl/VirtuosoSearcher.java Thu Apr 17 06:39:56 2014
@@ -44,15 +44,9 @@ import org.apache.stanbol.entityhub.serv
 import org.apache.stanbol.entityhub.servicesapi.site.EntitySearcher;
 import org.slf4j.LoggerFactory;
 
-@Component(name = "org.apache.stanbol.entityhub.searcher.VirtuosoSearcher", factory = "org.apache.stanbol.entityhub.searcher.VirtuosoSearcherFactory", policy = ConfigurationPolicy.REQUIRE, // the
-// queryUri
-// and
-// the
-// SPARQL
-// Endpoint
-// are
-// required
-specVersion = "1.1")
+@Component(name = "org.apache.stanbol.entityhub.searcher.VirtuosoSearcher", 
+    factory = "org.apache.stanbol.entityhub.searcher.VirtuosoSearcherFactory", 
+    policy = ConfigurationPolicy.OPTIONAL, specVersion = "1.1")
 public class VirtuosoSearcher extends AbstractEntitySearcher implements EntitySearcher {
     @Reference
     private Parser parser;