diff --git a/pom.xml b/pom.xml index 7e298c564..8b634f084 100644 --- a/pom.xml +++ b/pom.xml @@ -14,9 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> - 4.0.0 @@ -164,13 +162,13 @@ +3 - Shivani Mall + Erandi Ganepola Developer - -8 + +5:30 Menaka Madushanka @@ -190,6 +188,15 @@ +5:30 + + Shivani Mall + + + + Developer + + -8 + @@ -219,6 +226,13 @@ + + ant + ant-trax + 1.6.5 + provided + + args4j args4j @@ -226,33 +240,58 @@ - org.apache.hyracks - hyracks-client - ${hyracks.version} + com.fasterxml.jackson.core + jackson-databind + 2.8.4 - org.apache.hyracks - hyracks-control-common - ${hyracks.version} + com.google.guava + guava + 11.0.2 - org.apache.hyracks - hyracks-control-cc - ${hyracks.version} + com.thoughtworks.xstream + xstream + 1.3.1 - org.apache.hyracks - hyracks-control-nc - ${hyracks.version} + commons-io + commons-io + 2.4 - org.apache.hyracks - hyracks-http - ${hyracks.fullstack.version} + commons-codec + commons-codec + 1.4 + + + + commons-lang + commons-lang + 2.6 + + + + log4j + log4j + 1.2.17 + + + + javax.xml.bind + jaxb-api + 2.2.2 + + + + junit + junit + 4.11 + test @@ -260,12 +299,6 @@ netty-all 4.1.6.Final - - - org.apache.hyracks - algebricks-compiler - ${hyracks.version} - org.apache.commons @@ -273,6 +306,48 @@ 3.1 + + org.apache.hadoop + hadoop-common + ${hadoop.version} + + + + org.apache.hadoop + hadoop-hdfs + ${hadoop.version} + + + + org.apache.hadoop + hadoop-mapreduce-client-core + ${hadoop.version} + + + + org.apache.htrace + htrace-core + 3.1.0-incubating + + + + org.apache.httpcomponents + httpclient + 4.5.2 + + + + org.apache.httpcomponents + httpcore + 4.4.5 + + + + org.apache.hyracks + algebricks-compiler + ${hyracks.version} + + org.apache.hyracks algebricks-common @@ -311,107 +386,105 @@ org.apache.hyracks - hyracks-data-std + hyracks-client ${hyracks.version} org.apache.hyracks - hyracks-dataflow-common + hyracks-control-cc ${hyracks.version} org.apache.hyracks - hyracks-dataflow-std + hyracks-control-common ${hyracks.version} org.apache.hyracks - hyracks-hdfs-2.x + hyracks-control-nc ${hyracks.version} org.apache.hyracks - hyracks-hdfs-core + hyracks-data-std ${hyracks.version} - jar - org.apache.hadoop - hadoop-hdfs - 2.7.0 - - - - ant - ant-trax - 1.6.5 - provided + org.apache.hyracks + hyracks-dataflow-common + ${hyracks.version} - org.codehaus.woodstox - stax2-api - 3.0.1 + org.apache.hyracks + hyracks-dataflow-std + ${hyracks.version} - org.codehaus.woodstox - woodstox-core-asl - 4.0.6 + org.apache.hyracks + hyracks-http + ${hyracks.fullstack.version} - xalan - serializer - 2.7.1 + org.apache.hyracks + hyracks-hdfs-2.x + ${hyracks.version} + + + org.glassfish + javax.servlet + + - xerces - xercesImpl - 2.9.1 + org.apache.hyracks + hyracks-hdfs-core + ${hyracks.version} + jar - activemq - activemq-transport-xstream - 2.1 + org.apache.hyracks + hyracks-util + ${hyracks.version} - com.thoughtworks.xstream - xstream - 1.3.1 + org.apache.lucene + lucene-core + ${lucene.version} - com.fasterxml.jackson.core - jackson-core - 2.8.4 + org.apache.lucene + lucene-queryparser + ${lucene.version} - commons-io - commons-io - 2.4 + org.apache.lucene + lucene-analyzers-common + ${lucene.version} - commons-codec - commons-codec - 1.4 + org.codehaus.jackson + jackson-mapper-asl + 1.9.13 - junit - junit - 4.11 - test + org.json + json + 20090211 @@ -421,6 +494,12 @@ compile + + xml-apis + xml-apis + 1.3.04 + + @@ -682,9 +761,10 @@ UTF-8 UTF-8 - 0.2.17-incubating 0.3.1 0.3.0 + 5.5.1 + 2.7.0 0.11 diff --git a/vxquery-cli/pom.xml b/vxquery-cli/pom.xml index e7ad16a45..f4fb0d640 100644 --- a/vxquery-cli/pom.xml +++ b/vxquery-cli/pom.xml @@ -15,7 +15,7 @@ limitations under the License. --> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 @@ -75,6 +75,31 @@ + + args4j + args4j + + + + commons-io + commons-io + + + + javax.xml.bind + jaxb-api + + + + org.apache.httpcomponents + httpclient + + + + org.apache.httpcomponents + httpcore + + org.apache.vxquery apache-vxquery-rest diff --git a/vxquery-core/pom.xml b/vxquery-core/pom.xml index 38908d7e9..8a07b017c 100644 --- a/vxquery-core/pom.xml +++ b/vxquery-core/pom.xml @@ -14,7 +14,8 @@ See the License for the specific language governing permissions and limitations under the License. --> - + 4.0.0 @@ -171,162 +172,154 @@ - org.apache.commons - commons-lang3 + com.fasterxml.jackson.core + jackson-databind - org.apache.hyracks - algebricks-compiler + com.google.guava + guava - org.apache.hyracks - algebricks-rewriter + com.thoughtworks.xstream + xstream - org.apache.hyracks - algebricks-data + commons-codec + commons-codec - org.apache.hyracks - hyracks-api + commons-io + commons-io - org.apache.hyracks - hyracks-data-std + commons-lang + commons-lang - org.apache.hyracks - hyracks-dataflow-common + javax.xml.bind + jaxb-api - org.apache.hyracks - hyracks-dataflow-std + junit + junit + test - org.apache.hyracks - hyracks-hdfs-2.x + log4j + log4j - org.apache.hyracks - hyracks-hdfs-core + org.apache.lucene + lucene-analyzers-common - ant - ant-trax - provided + org.apache.lucene + lucene-core - org.codehaus.woodstox - stax2-api + org.apache.lucene + lucene-queryparser - org.codehaus.woodstox - woodstox-core-asl + org.apache.commons + commons-lang3 - xalan - serializer + org.apache.hadoop + hadoop-common - xerces - xercesImpl + org.apache.hadoop + hadoop-mapreduce-client-core - activemq - activemq-transport-xstream + org.apache.htrace + htrace-core - com.thoughtworks.xstream - xstream + org.apache.hyracks + algebricks-core - com.fasterxml.jackson.core - jackson-core + org.apache.hyracks + algebricks-compiler - commons-io - commons-io + org.apache.hyracks + algebricks-common - commons-codec - commons-codec + org.apache.hyracks + algebricks-data - junit - junit - test + org.apache.hyracks + algebricks-rewriter - lucene-core - org.apache.lucene - jar - 5.5.1 + org.apache.hyracks + algebricks-runtime - lucene-queryparser - org.apache.lucene - jar - 5.5.1 + org.apache.hyracks + hyracks-api - lucene-analyzers-common - org.apache.lucene - jar - 5.5.1 + org.apache.hyracks + hyracks-data-std - lucene-demo - org.apache.lucene - jar - 5.5.1 + org.apache.hyracks + hyracks-dataflow-common - lucene-backward-codecs - org.apache.lucene - jar - 5.5.1 + org.apache.hyracks + hyracks-dataflow-std - org.apache.hadoop - hadoop-mapreduce-client-core - 2.7.0 + org.apache.hyracks + hyracks-hdfs-2.x - org.apache.hadoop - hadoop-common - 2.7.0 + org.apache.hyracks + hyracks-hdfs-core - org.apache.hadoop - hadoop-hdfs + org.apache.hyracks + hyracks-util + + + + xml-apis + xml-apis diff --git a/vxquery-rest/pom.xml b/vxquery-rest/pom.xml index 052132fd3..1306928a4 100644 --- a/vxquery-rest/pom.xml +++ b/vxquery-rest/pom.xml @@ -16,9 +16,8 @@ ~ limitations under the License. --> - + apache-vxquery org.apache.vxquery @@ -34,23 +33,107 @@ - org.apache.vxquery - apache-vxquery-core - 0.7-SNAPSHOT + args4j + args4j + + + + com.fasterxml.jackson.core + jackson-databind + + + + com.thoughtworks.xstream + xstream + + + + commons-io + commons-io + + + + javax.xml.bind + jaxb-api + + + + junit + junit + test + + + + io.netty + netty-all + + + + org.apache.htrace + htrace-core + + + org.apache.httpcomponents + httpclient + + + + org.apache.httpcomponents + httpcore + + + + org.apache.hyracks + algebricks-core + + + + org.apache.hyracks + algebricks-common + + + + org.apache.hyracks + hyracks-api + + org.apache.hyracks hyracks-client + + + org.apache.hyracks + hyracks-control-cc + + + + org.apache.hyracks + hyracks-control-common + + + + org.apache.hyracks + hyracks-control-nc + + + + org.apache.hyracks + hyracks-dataflow-common + + org.apache.hyracks hyracks-http + - junit - junit - test + org.apache.vxquery + apache-vxquery-core + 0.7-SNAPSHOT + \ No newline at end of file diff --git a/vxquery-rest/src/main/java/org/apache/vxquery/app/util/LocalClusterUtil.java b/vxquery-rest/src/main/java/org/apache/vxquery/app/util/LocalClusterUtil.java index 9b18745b3..cd149ddd1 100644 --- a/vxquery-rest/src/main/java/org/apache/vxquery/app/util/LocalClusterUtil.java +++ b/vxquery-rest/src/main/java/org/apache/vxquery/app/util/LocalClusterUtil.java @@ -57,12 +57,11 @@ public class LocalClusterUtil { public static final int DEFAULT_HYRACKS_CC_HTTP_PORT = 39002; public static final int DEFAULT_VXQUERY_REST_PORT = 39003; - // TODO review variable scope after XTest is updated to use the REST service. - public ClusterControllerService clusterControllerService; - public NodeControllerService nodeControllerSerivce; - public IHyracksClientConnection hcc; - public IHyracksDataset hds; - public VXQueryService vxQueryService; + private ClusterControllerService clusterControllerService; + private NodeControllerService nodeControllerSerivce; + private IHyracksClientConnection hcc; + private IHyracksDataset hds; + private VXQueryService vxQueryService; public void init(VXQueryConfig config) throws Exception { // Following properties are needed by the app to setup diff --git a/vxquery-rest/src/test/java/org/apache/vxquery/rest/AbstractRestServerTest.java b/vxquery-rest/src/test/java/org/apache/vxquery/rest/AbstractRestServerTest.java index 3d4b1240f..01d173de7 100644 --- a/vxquery-rest/src/test/java/org/apache/vxquery/rest/AbstractRestServerTest.java +++ b/vxquery-rest/src/test/java/org/apache/vxquery/rest/AbstractRestServerTest.java @@ -55,7 +55,7 @@ * * @author Erandi Ganepola */ -public class AbstractRestServerTest { +public abstract class AbstractRestServerTest { protected static LocalClusterUtil vxqueryLocalCluster = new LocalClusterUtil(); protected static String restIpAddress; @@ -161,11 +161,11 @@ protected static T getQuerySuccessResponse(URI uri, String accepts, Class * {@link QueryResultRequest} * @param accepts * expected - * + * *
      *            Accepts
      *            
- * + * * header in responses * @param method * Http Method to be used to send the request diff --git a/vxquery-server/pom.xml b/vxquery-server/pom.xml index 7331fde13..2e03ffeca 100644 --- a/vxquery-server/pom.xml +++ b/vxquery-server/pom.xml @@ -14,7 +14,8 @@ See the License for the specific language governing permissions and limitations under the License. --> - + 4.0.0 @@ -142,17 +143,19 @@ - org.apache.vxquery - apache-vxquery-rest - 0.7-SNAPSHOT + args4j + args4j + org.apache.hyracks - hyracks-control-cc + hyracks-api + - org.apache.hyracks - hyracks-control-nc + org.apache.vxquery + apache-vxquery-rest + 0.7-SNAPSHOT diff --git a/vxquery-xtest/pom.xml b/vxquery-xtest/pom.xml index a32d913b4..9fc5b43fd 100644 --- a/vxquery-xtest/pom.xml +++ b/vxquery-xtest/pom.xml @@ -138,81 +138,105 @@ - org.apache.vxquery - apache-vxquery-core - 0.7-SNAPSHOT + args4j + args4j - org.apache.vxquery - apache-vxquery-rest - 0.7-SNAPSHOT + commons-io + commons-io - org.apache.hyracks - hyracks-api + javax.xml.bind + jaxb-api - org.apache.hyracks - hyracks-client + junit + junit + test - org.apache.hyracks - hyracks-control-cc + org.apache.commons + commons-lang3 - org.apache.hyracks - hyracks-control-nc + org.apache.hadoop + hadoop-common + ${hadoop.version} + tests - org.apache.hyracks - hyracks-dataflow-std + org.apache.hadoop + hadoop-common - org.apache.hyracks - hyracks-hdfs-2.x + org.apache.hadoop + hadoop-hdfs + ${hadoop.version} + tests - commons-io - commons-io + org.apache.hadoop + hadoop-hdfs org.apache.hadoop - hadoop-hdfs + hadoop-mapreduce-client-core - org.mortbay.jetty - jetty - compile + org.apache.httpcomponents + httpclient - org.apache.hadoop - hadoop-common - 2.7.0 - tests + org.apache.httpcomponents + httpcore - org.apache.hadoop - hadoop-hdfs - 2.7.0 - tests + org.apache.hyracks + hyracks-api - junit - junit - test + org.apache.hyracks + hyracks-client + + + + org.apache.vxquery + apache-vxquery-core + 0.7-SNAPSHOT + + + + org.apache.vxquery + apache-vxquery-rest + 0.7-SNAPSHOT + + + + org.codehaus.jackson + jackson-mapper-asl + + + + org.mortbay.jetty + jetty + + + + xml-apis + xml-apis