incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1243626 - in /incubator/lcf/branches/CONNECTORS-288/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch: ElasticSearchAction.java ElasticSearchConnector.java
Date Mon, 13 Feb 2012 17:55:27 GMT
Author: kwright
Date: Mon Feb 13 17:55:27 2012
New Revision: 1243626

URL: http://svn.apache.org/viewvc?rev=1243626&view=rev
Log:
Committed latest patch

Modified:
    incubator/lcf/branches/CONNECTORS-288/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchAction.java
    incubator/lcf/branches/CONNECTORS-288/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchConnector.java

Modified: incubator/lcf/branches/CONNECTORS-288/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchAction.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-288/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchAction.java?rev=1243626&r1=1243625&r2=1243626&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-288/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchAction.java
(original)
+++ incubator/lcf/branches/CONNECTORS-288/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchAction.java
Mon Feb 13 17:55:27 2012
@@ -25,7 +25,7 @@ public class ElasticSearchAction extends
 
   public enum CommandEnum
   {
-    _optimize, _refresh;
+    _optimize, _refresh, _status;
   }
 
   public ElasticSearchAction(CommandEnum cmd, ElasticSearchConfig config)

Modified: incubator/lcf/branches/CONNECTORS-288/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-288/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchConnector.java?rev=1243626&r1=1243625&r2=1243626&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-288/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchConnector.java
(original)
+++ incubator/lcf/branches/CONNECTORS-288/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchConnector.java
Mon Feb 13 17:55:27 2012
@@ -379,7 +379,8 @@ public class ElasticSearchConnector exte
   @Override
   public String check() throws ManifoldCFException
   {
-    ElasticSearchSchema oss = new ElasticSearchSchema(getConfigParameters(null));
+    ElasticSearchAction oss = new ElasticSearchAction(CommandEnum._status,
+        getConfigParameters(null));
     return oss.getResult().name() + " " + oss.getResultDescription();
   }
 



Mime
View raw message