incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r939667 - in /incubator/lcf/trunk: modules/connectors/solr/connector/org/apache/lcf/agents/output/solr/ modules/framework/agents/org/apache/lcf/agents/ modules/framework/pull-agent/org/apache/lcf/authorities/ modules/framework/pull-agent/or...
Date Fri, 30 Apr 2010 13:34:55 GMT
Author: kwright
Date: Fri Apr 30 13:34:54 2010
New Revision: 939667

URL: http://svn.apache.org/viewvc?rev=939667&view=rev
Log:
Move the command-line API from testing to framework code.

Added:
    incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/DefineOutputConnection.java
      - copied, changed from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DefineOutputConnection.java
    incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/DeleteOutputConnection.java
      - copied, changed from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DeleteOutputConnection.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/ChangeAuthSpec.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/authorities/ChangeAuthSpec.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/CheckConfigured.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/authorities/CheckConfigured.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/DefineAuthorityConnection.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/authorities/DefineAuthorityConnection.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/DeleteAuthorityConnection.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/authorities/DeleteAuthorityConnection.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/AbortJob.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/AbortJob.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/AddScheduledTime.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/AddScheduledTime.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/ChangeJobDocSpec.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/ChangeJobDocSpec.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/CheckConfigured.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/CheckConfigured.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/DefineJob.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DefineJob.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/DefineRepositoryConnection.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DefineRepositoryConnection.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/DeleteJob.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DeleteJob.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/DeleteRepositoryConnection.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DeleteRepositoryConnection.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/PauseJob.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/PauseJob.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/RestartJob.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/RestartJob.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/StartJob.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/StartJob.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/WaitForJobDeleted.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/WaitForJobDeleted.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/WaitForJobInactive.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/WaitForJobInactive.java
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/WaitJobPaused.java
      - copied unchanged from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/WaitJobPaused.java
Removed:
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/authorities/ChangeAuthSpec.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/authorities/CheckConfigured.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/authorities/DefineAuthorityConnection.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/authorities/DeleteAuthorityConnection.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/AbortJob.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/AddScheduledTime.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/ChangeJobDocSpec.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/CheckConfigured.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DefineJob.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DefineOutputConnection.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DefineRepositoryConnection.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DeleteJob.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DeleteOutputConnection.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DeleteRepositoryConnection.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/PauseJob.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/RestartJob.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/StartJob.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/WaitForJobDeleted.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/WaitForJobInactive.java
    incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/WaitJobPaused.java
Modified:
    incubator/lcf/trunk/modules/connectors/solr/connector/org/apache/lcf/agents/output/solr/HttpPoster.java

Modified: incubator/lcf/trunk/modules/connectors/solr/connector/org/apache/lcf/agents/output/solr/HttpPoster.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/solr/connector/org/apache/lcf/agents/output/solr/HttpPoster.java?rev=939667&r1=939666&r2=939667&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/solr/connector/org/apache/lcf/agents/output/solr/HttpPoster.java
(original)
+++ incubator/lcf/trunk/modules/connectors/solr/connector/org/apache/lcf/agents/output/solr/HttpPoster.java
Fri Apr 30 13:34:54 2010
@@ -56,7 +56,8 @@ public class HttpPoster
   private String denyAttributeName;
 
   private static final String LITERAL = "literal.";
-
+  private static final String NOTHING = "__NOTHING__";
+    
   private int buffersize = 32768;  // default buffer size
   double sizeCoefficient = 0.0005;    // 20 ms additional timeout per 2000 bytes, pulled
out of my butt
   /** the number of times we should poll for the response */

Copied: incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/DefineOutputConnection.java
(from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DefineOutputConnection.java)
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/DefineOutputConnection.java?p2=incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/DefineOutputConnection.java&p1=incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DefineOutputConnection.java&r1=934846&r2=939667&rev=939667&view=diff
==============================================================================
--- incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DefineOutputConnection.java
(original)
+++ incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/DefineOutputConnection.java
Fri Apr 30 13:34:54 2010
@@ -16,16 +16,15 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package org.apache.lcf.crawler;
+package org.apache.lcf.agents;
 
 import java.io.*;
 import org.apache.lcf.core.interfaces.*;
 import org.apache.lcf.agents.interfaces.*;
-import org.apache.lcf.crawler.interfaces.*;
-import org.apache.lcf.crawler.system.*;
+import org.apache.lcf.agents.system.LCF;
 import java.util.*;
 
-/** This class is used during testing.
+/** This class is used to define an output connection.
 */
 public class DefineOutputConnection
 {

Copied: incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/DeleteOutputConnection.java
(from r934846, incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DeleteOutputConnection.java)
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/DeleteOutputConnection.java?p2=incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/DeleteOutputConnection.java&p1=incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DeleteOutputConnection.java&r1=934846&r2=939667&rev=939667&view=diff
==============================================================================
--- incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DeleteOutputConnection.java
(original)
+++ incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/DeleteOutputConnection.java
Fri Apr 30 13:34:54 2010
@@ -16,16 +16,15 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package org.apache.lcf.crawler;
+package org.apache.lcf.agents;
 
 import java.io.*;
 import org.apache.lcf.core.interfaces.*;
 import org.apache.lcf.agents.interfaces.*;
-import org.apache.lcf.crawler.interfaces.*;
-import org.apache.lcf.crawler.system.*;
+import org.apache.lcf.agents.system.LCF;
 import java.util.*;
 
-/** This class is used during testing.
+/** This class is a command that is used to delete an output connection.
 */
 public class DeleteOutputConnection
 {



Mime
View raw message