gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djkevi...@apache.org
Subject [20/20] gora git commit: Remove unwanted methods in TestSolrStore
Date Sun, 04 Jun 2017 17:01:51 GMT
Remove unwanted methods in TestSolrStore


Project: http://git-wip-us.apache.org/repos/asf/gora/repo
Commit: http://git-wip-us.apache.org/repos/asf/gora/commit/9e95efe2
Tree: http://git-wip-us.apache.org/repos/asf/gora/tree/9e95efe2
Diff: http://git-wip-us.apache.org/repos/asf/gora/diff/9e95efe2

Branch: refs/heads/master
Commit: 9e95efe2c5d7345400c1e5d081ad2c75bf833976
Parents: 3b2f282
Author: madhawa-gunasekara <madhawag@wso2.com>
Authored: Sun Jun 4 21:22:51 2017 +0530
Committer: madhawa-gunasekara <madhawag@wso2.com>
Committed: Sun Jun 4 22:03:06 2017 +0530

----------------------------------------------------------------------
 .../apache/gora/solr/store/TestSolrStore.java   | 21 --------------------
 gora-tutorial/pom.xml                           |  2 +-
 pom.xml                                         |  4 ++--
 3 files changed, 3 insertions(+), 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/gora/blob/9e95efe2/gora-solr/src/test/java/org/apache/gora/solr/store/TestSolrStore.java
----------------------------------------------------------------------
diff --git a/gora-solr/src/test/java/org/apache/gora/solr/store/TestSolrStore.java b/gora-solr/src/test/java/org/apache/gora/solr/store/TestSolrStore.java
index 2e684c8..9c4d1c4 100644
--- a/gora-solr/src/test/java/org/apache/gora/solr/store/TestSolrStore.java
+++ b/gora-solr/src/test/java/org/apache/gora/solr/store/TestSolrStore.java
@@ -18,18 +18,13 @@
 package org.apache.gora.solr.store;
 
 import org.apache.gora.examples.WebPageDataCreator;
-import org.apache.gora.examples.generated.Employee;
 import org.apache.gora.examples.generated.WebPage;
 import org.apache.gora.query.Query;
 import org.apache.gora.solr.GoraSolrTestDriver;
-import org.apache.gora.store.DataStore;
-import org.apache.gora.store.DataStoreFactory;
 import org.apache.gora.store.DataStoreTestBase;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-import java.io.IOException;
-
 import static junit.framework.Assert.assertNull;
 import static org.apache.gora.examples.WebPageDataCreator.SORTED_URLS;
 import static org.apache.gora.examples.WebPageDataCreator.URLS;
@@ -47,22 +42,6 @@ public class TestSolrStore extends DataStoreTestBase {
   }
 
   @Override
-  protected DataStore<String, Employee> createEmployeeDataStore()
-      throws IOException {
-    SolrStore<String, Employee> store = new SolrStore<>();
-    store.initialize(String.class, Employee.class, DataStoreFactory.createProps());
-    return store;
-  }
-
-  @Override
-  protected DataStore<String, WebPage> createWebPageDataStore()
-      throws IOException {
-    SolrStore<String, WebPage> store = new SolrStore<>();
-    store.initialize(String.class, WebPage.class, DataStoreFactory.createProps());
-    return store;
-  }
-
-  @Override
   public void testDeleteByQueryFields()
           throws Exception {
     Query<String, WebPage> query;

http://git-wip-us.apache.org/repos/asf/gora/blob/9e95efe2/gora-tutorial/pom.xml
----------------------------------------------------------------------
diff --git a/gora-tutorial/pom.xml b/gora-tutorial/pom.xml
index 9286160..26011a9 100644
--- a/gora-tutorial/pom.xml
+++ b/gora-tutorial/pom.xml
@@ -120,7 +120,7 @@
 
     <dependency>
       <groupId>org.apache.gora</groupId>
-      <artifactId>gora-solr-5</artifactId>
+      <artifactId>gora-solr</artifactId>
     </dependency>
 
     <!-- Hadoop Dependencies -->

http://git-wip-us.apache.org/repos/asf/gora/blob/9e95efe2/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 3e6298a..2c2e20a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -839,12 +839,12 @@
 
       <dependency>
         <groupId>org.apache.gora</groupId>
-        <artifactId>gora-solr-5</artifactId>
+        <artifactId>gora-solr</artifactId>
         <version>${project.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.gora</groupId>
-        <artifactId>gora-solr-5</artifactId>
+        <artifactId>gora-solr</artifactId>
         <version>${project.version}</version>
         <classifier>tests</classifier>
       </dependency>


Mime
View raw message