You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by ma...@apache.org on 2014/10/22 11:01:22 UTC

svn commit: r1633565 - /manifoldcf/branches/CONNECTORS-1060/connectors/alfresco-webscript/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfrescowebscript/tests/APISanityHSQLDBIT.java

Author: maoo
Date: Wed Oct 22 09:01:21 2014
New Revision: 1633565

URL: http://svn.apache.org/r1633565
Log:
#CONNECTOR-1060 - Fixed connector execution; still getting job issues that need to be fixed

Modified:
    manifoldcf/branches/CONNECTORS-1060/connectors/alfresco-webscript/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfrescowebscript/tests/APISanityHSQLDBIT.java

Modified: manifoldcf/branches/CONNECTORS-1060/connectors/alfresco-webscript/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfrescowebscript/tests/APISanityHSQLDBIT.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1060/connectors/alfresco-webscript/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfrescowebscript/tests/APISanityHSQLDBIT.java?rev=1633565&r1=1633564&r2=1633565&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-1060/connectors/alfresco-webscript/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfrescowebscript/tests/APISanityHSQLDBIT.java (original)
+++ manifoldcf/branches/CONNECTORS-1060/connectors/alfresco-webscript/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/alfrescowebscript/tests/APISanityHSQLDBIT.java Wed Oct 22 09:01:21 2014
@@ -101,7 +101,7 @@ public class APISanityHSQLDBIT extends B
       connectionObject = new ConfigurationNode("repositoryconnection");
       
       child = new ConfigurationNode("name");
-      child.setValue("Alfresco Connection");
+      child.setValue("Alfresco Connector");
       connectionObject.addChild(connectionObject.getChildCount(),child);
       
       child = new ConfigurationNode("class_name");
@@ -134,7 +134,7 @@ public class APISanityHSQLDBIT extends B
       
       //port
       ConfigurationNode alfrescoPortNode = new ConfigurationNode("_PARAMETER_");
-      alfrescoPortNode.setAttribute("name", ALFRESCO_PORT_PARAM);
+      alfrescoPortNode.setAttribute("name", ALFRESCO_PORT);
       alfrescoPortNode.setValue(ALFRESCO_PORT);
       child.addChild(child.getChildCount(), alfrescoPortNode);
       
@@ -173,7 +173,7 @@ public class APISanityHSQLDBIT extends B
       requestObject = new Configuration();
       requestObject.addChild(0,connectionObject);
       
-      result = performAPIPutOperationViaNodes("repositoryconnections/Alfresco%20Connection",201,requestObject);
+      result = performAPIPutOperationViaNodes("repositoryconnections/Alfresco%20Connector",201,requestObject);
 
       i = 0;
       while (i < result.getChildCount())
@@ -224,7 +224,7 @@ public class APISanityHSQLDBIT extends B
       jobObject.addChild(jobObject.getChildCount(),child);
 
       child = new ConfigurationNode("repository_connection");
-      child.setValue("Alfresco Connection");
+      child.setValue("Alfresco Connector");
       jobObject.addChild(jobObject.getChildCount(),child);
 
       // Revamped way of adding output connection
@@ -255,13 +255,6 @@ public class APISanityHSQLDBIT extends B
       child = new ConfigurationNode("document_specification");
       jobObject.addChild(jobObject.getChildCount(),child);
 
-//Job configuration
-//      ConfigurationNode sn = new ConfigurationNode("startpoint");
-//      sn.setAttribute("luceneQuery",ALFRESCO_TEST_QUERY);
-//
-//      child.addChild(child.getChildCount(),sn);
-
-
       requestObject = new Configuration();
       requestObject.addChild(0,jobObject);