[06/37] gora git commit: Add Simple Test for Native Cassandra Serialization

2017-08-23 Thread lewismc
http://git-wip-us.apache.org/repos/asf/gora/blob/2695794a/gora-cassandra-cql/src/test/java/org/apache/gora/cassandra/store/TestCassandraStoreWithNativeSerialization.java
--
diff --git 
a/gora-cassandra-cql/src/test/java/org/apache/gora/cassandra/store/TestCassandraStoreWithNativeSerialization.java
 
b/gora-cassandra-cql/src/test/java/org/apache/gora/cassandra/store/TestCassandraStoreWithNativeSerialization.java
index f302cd5..217dea3 100644
--- 
a/gora-cassandra-cql/src/test/java/org/apache/gora/cassandra/store/TestCassandraStoreWithNativeSerialization.java
+++ 
b/gora-cassandra-cql/src/test/java/org/apache/gora/cassandra/store/TestCassandraStoreWithNativeSerialization.java
@@ -5,6 +5,7 @@ import org.apache.gora.cassandra.test.nativeSerialization.User;
 import org.apache.gora.store.DataStore;
 import org.junit.After;
 import org.junit.AfterClass;
+import org.junit.Assert;
 import org.junit.BeforeClass;
 import org.junit.Test;
 
@@ -14,7 +15,7 @@ import java.util.Properties;
 import java.util.UUID;
 
 /**
- * This class tests Cassandra Store functionality with Cassandra Native 
Serialization
+ * This class tests Cassandra Store functionality with Cassandra Native 
Serialization.
  */
 public class TestCassandraStoreWithNativeSerialization {
   private static GoraCassandraTestDriver testDriver = new 
GoraCassandraTestDriver();
@@ -25,19 +26,20 @@ public class TestCassandraStoreWithNativeSerialization {
   public static void setUpClass() throws Exception {
 setProperties();
 testDriver.setParameters(parameter);
-testDriver.setUpClass();
+//testDriver.setUpClass();
 userDataStore = testDriver.createDataStore(UUID.class, User.class);
-
   }
 
   private static void setProperties() {
 parameter = new Properties();
-
parameter.setProperty(CassandraStoreParameters.CASSANDRA_SERVERS,"localhost");
-parameter.setProperty(CassandraStoreParameters.PORT,"9160");
+parameter.setProperty(CassandraStoreParameters.CASSANDRA_SERVERS, 
"localhost");
+parameter.setProperty(CassandraStoreParameters.PORT, "9042");
 
parameter.setProperty(CassandraStoreParameters.USE_CASSANDRA_NATIVE_SERIALIZATION,
 "true");
+parameter.setProperty(CassandraStoreParameters.PROTOCOL_VERSION, "3");
+parameter.setProperty(CassandraStoreParameters.CLUSTER_NAME,"Test 
Cluster");
+parameter.setProperty("gora.cassandrastore.mapping.file", 
"nativeSerialization/gora-cassandra-mapping.xml");
   }
 
-
   @After
   public void tearDown() throws Exception {
 testDriver.tearDown();
@@ -45,13 +47,41 @@ public class TestCassandraStoreWithNativeSerialization {
 
   @AfterClass
   public static void tearDownClass() throws Exception {
-testDriver.tearDownClass();
+//testDriver.tearDownClass();
   }
 
+  /**
+   * In this test case, put and get behavior of the data store are testing.
+   */
   @Test
-  public void testCreate() {
+  public void testSimplePutandGet() {
 UUID id = UUID.randomUUID();
 User user1 = new User(id, "madhawa", Date.from(Instant.now()));
+// storing data;
+userDataStore.put(id, user1);
+// get data;
+User olduser = userDataStore.get(id);
+Assert.assertEquals(olduser.getName(), user1.getName());
+Assert.assertEquals(olduser.getDateOfBirth(), user1.getDateOfBirth());
+  }
+
+  /**
+   * In this test case, put and delete behavior of the data store are testing.
+   */
+  @Test
+  public void testSimplePutDeleteandGet() {
+UUID id = UUID.randomUUID();
+User user1 = new User(id, "kasun", Date.from(Instant.now()));
+// storing data;
 userDataStore.put(id, user1);
+// get data;
+User olduser =  userDataStore.get(id);
+Assert.assertEquals(olduser.getName(), user1.getName());
+Assert.assertEquals(olduser.getDateOfBirth(), user1.getDateOfBirth());
+// delete data;
+userDataStore.delete(id);
+// get data
+User deletedUser = userDataStore.get(id);
+Assert.assertNull(deletedUser);
   }
 }

http://git-wip-us.apache.org/repos/asf/gora/blob/2695794a/gora-cassandra-cql/src/test/java/org/apache/gora/cassandra/test/nativeSerialization/DateAsStringCodec.java
--
diff --git 
a/gora-cassandra-cql/src/test/java/org/apache/gora/cassandra/test/nativeSerialization/DateAsStringCodec.java
 
b/gora-cassandra-cql/src/test/java/org/apache/gora/cassandra/test/nativeSerialization/DateAsStringCodec.java
new file mode 100644
index 000..f6061cf
--- /dev/null
+++ 
b/gora-cassandra-cql/src/test/java/org/apache/gora/cassandra/test/nativeSerialization/DateAsStringCodec.java
@@ -0,0 +1,33 @@
+package org.apache.gora.cassandra.test.nativeSerialization;
+
+import com.datastax.driver.core.TypeCodec;
+import com.datastax.driver.extras.codecs.MappingCodec;
+
+import java.text.ParseException;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+import java.util.Locale;
+
+/**
+ * Sample Class for C

[22/37] gora git commit: Fix functionality of the UpdateByQuery for Avro Serialization

2017-08-23 Thread lewismc
Fix functionality of the UpdateByQuery for Avro Serialization


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

Branch: refs/heads/master
Commit: 99894b82ae77290ff43d84eeffe638c3ed55d2d9
Parents: c5352b0
Author: madhawa 
Authored: Fri Jul 28 09:09:17 2017 +0530
Committer: madhawa 
Committed: Fri Jul 28 09:09:17 2017 +0530

--
 .../serializers/CassandraQueryFactory.java  | 25 +++-
 .../gora/cassandra/store/CassandraMapping.java  |  9 +++
 .../compositeKey/gora-cassandra-mapping.xml | 33 ---
 .../TestCassandraStoreWithCassandraKey.java | 61 +---
 ...stCassandraStoreWithNativeSerialization.java | 38 ++--
 5 files changed, 102 insertions(+), 64 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/99894b82/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/serializers/CassandraQueryFactory.java
--
diff --git 
a/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/serializers/CassandraQueryFactory.java
 
b/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/serializers/CassandraQueryFactory.java
index bf33750..4362a04 100644
--- 
a/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/serializers/CassandraQueryFactory.java
+++ 
b/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/serializers/CassandraQueryFactory.java
@@ -20,11 +20,13 @@ import com.datastax.driver.core.querybuilder.Delete;
 import com.datastax.driver.core.querybuilder.QueryBuilder;
 import com.datastax.driver.core.querybuilder.Select;
 import com.datastax.driver.core.querybuilder.Update;
+import org.apache.avro.Schema;
 import org.apache.gora.cassandra.bean.CassandraKey;
 import org.apache.gora.cassandra.bean.ClusterKeyField;
 import org.apache.gora.cassandra.bean.Field;
 import org.apache.gora.cassandra.bean.KeySpace;
 import org.apache.gora.cassandra.bean.PartitionKeyField;
+import org.apache.gora.cassandra.persistent.CassandraNativePersistent;
 import org.apache.gora.cassandra.query.CassandraQuery;
 import org.apache.gora.cassandra.store.CassandraMapping;
 import org.apache.gora.query.Query;
@@ -609,9 +611,26 @@ class CassandraQueryFactory {
 Update.Assignments updateAssignments = null;
 if (cassandraQuery instanceof CassandraQuery) {
   String[] columnNames = getColumnNames(mapping, 
Arrays.asList(cassandraQuery.getFields()));
-  for (String column : columnNames) {
-updateAssignments = update.with(QueryBuilder.set(column, "?"));
-objects.add(((CassandraQuery) 
cassandraQuery).getUpdateFieldValue(column));
+  
if(CassandraNativePersistent.class.isAssignableFrom(mapping.getPersistentClass()))
 {
+for (String column : columnNames) {
+  updateAssignments = update.with(QueryBuilder.set(column, "?"));
+  objects.add(((CassandraQuery) 
cassandraQuery).getUpdateFieldValue(mapping.getFieldFromColumnName(column).getFieldName()));
+}
+  } else {
+for (String column : columnNames) {
+  updateAssignments = update.with(QueryBuilder.set(column, "?"));
+  String field = mapping.getFieldFromColumnName(column).getFieldName();
+  Object value = ((CassandraQuery) 
cassandraQuery).getUpdateFieldValue(field);
+  try {
+Schema schema = (Schema) 
mapping.getPersistentClass().getField("SCHEMA$").get(null);
+Schema schemaField = schema.getField(field).schema();
+
objects.add(AvroCassandraUtils.getFieldValueFromAvroBean(schemaField, 
schemaField.getType(), value));
+  } catch (IllegalAccessException | NoSuchFieldException e) {
+throw new RuntimeException("SCHEMA$ field can't accessible, Please 
recompile the Avro schema with goracompiler.");
+  } catch (NullPointerException e) {
+throw new RuntimeException(field + " field couldn't find in the 
class " + mapping.getPersistentClass() + ".");
+  }
+}
   }
 }
 String primaryKey = null;

http://git-wip-us.apache.org/repos/asf/gora/blob/99894b82/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/store/CassandraMapping.java
--
diff --git 
a/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/store/CassandraMapping.java
 
b/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/store/CassandraMapping.java
index 61b8d1e..5699355 100644
--- 
a/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/store/CassandraMapping.java
+++ 
b/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/store/CassandraMapping.java
@@ -70,6 +70

[04/37] gora git commit: Read Cassandra Key in mapping file

2017-08-23 Thread lewismc
Read Cassandra Key in mapping file


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

Branch: refs/heads/master
Commit: 6617b0bb81b7c7da327acf3be2bef9b8cb77337a
Parents: 05b791a
Author: madhawa 
Authored: Fri Jun 23 11:43:42 2017 +0530
Committer: madhawa 
Committed: Fri Jun 23 11:43:42 2017 +0530

--
 .../gora/cassandra/bean/CassandraKey.java   |  43 +++-
 .../gora/cassandra/bean/ClusterKeyField.java|  41 +++
 .../apache/gora/cassandra/bean/KeySpace.java|  35 +++---
 .../gora/cassandra/bean/PartitionKeyField.java  |  51 +
 .../gora/cassandra/store/CassandraMapping.java  |  25 +++--
 .../gora/cassandra/store/CassandraStore.java| 107 +--
 .../src/test/conf/gora-cassandra-mapping.xml|  12 +--
 7 files changed, 272 insertions(+), 42 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/6617b0bb/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/bean/CassandraKey.java
--
diff --git 
a/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/bean/CassandraKey.java
 
b/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/bean/CassandraKey.java
index c0adf2c..ca9657b 100644
--- 
a/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/bean/CassandraKey.java
+++ 
b/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/bean/CassandraKey.java
@@ -17,8 +17,49 @@
 
 package org.apache.gora.cassandra.bean;
 
+import java.util.ArrayList;
+import java.util.List;
+
 /**
  * This Class represents the Cassandra Key.
  */
-public class CassandraKey {
+public class CassandraKey{
+
+  private String name;
+
+  private List clusterKeyFields;
+
+  private List partitionKeyFields;
+
+
+  public CassandraKey(String name) {
+this.name = name;
+  }
+
+  public String getName() {
+return name;
+  }
+
+  public List getClusterKeyFields() {
+return clusterKeyFields;
+  }
+
+  public List getPartitionKeyFields() {
+return partitionKeyFields;
+  }
+
+  public void addPartitionKeyField(PartitionKeyField partitionKeyField) {
+if(this.partitionKeyFields == null) {
+  this.partitionKeyFields = new ArrayList<>();
+}
+this.partitionKeyFields.add(partitionKeyField);
+  }
+
+  public void addClusterKeyField(ClusterKeyField clusterKeyField) {
+if(this.clusterKeyFields == null) {
+  this.clusterKeyFields = new ArrayList<>();
+}
+this.clusterKeyFields.add(clusterKeyField);
+  }
+
 }

http://git-wip-us.apache.org/repos/asf/gora/blob/6617b0bb/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/bean/ClusterKeyField.java
--
diff --git 
a/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/bean/ClusterKeyField.java
 
b/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/bean/ClusterKeyField.java
new file mode 100644
index 000..560b61c
--- /dev/null
+++ 
b/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/bean/ClusterKeyField.java
@@ -0,0 +1,41 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+
+package org.apache.gora.cassandra.bean;
+
+/**
+ * This class represents Cassandra Clustering Key.
+ */
+public class ClusterKeyField extends Field {
+
+  public enum Order {
+DESC,
+ASC,
+  }
+
+  private Order order;
+
+  public Order getOrder() {
+return order;
+  }
+
+  public void setOrder(Order order) {
+this.order = order;
+  }
+
+
+}

http://git-wip-us.apache.org/repos/asf/gora/blob/6617b0bb/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/bean/KeySpace.java
--
diff --git 
a/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/bean/KeySpace.java 
b/gora-cassandra-cql/src/main/java/org/apache/gora/cassandra/bean/KeySpace.java
index b695782..709b53b 1006

gora git commit: Remove unwanted SolrTestStore

2017-06-07 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 9e95efe2c -> 3879e1a68


Remove unwanted SolrTestStore


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

Branch: refs/heads/master
Commit: 3879e1a68fa1d8fd500a2db1c5be2de8b2a3d4d4
Parents: 9e95efe
Author: madhawa-gunasekara 
Authored: Wed Jun 7 20:51:10 2017 +0530
Committer: madhawa-gunasekara 
Committed: Wed Jun 7 20:51:10 2017 +0530

--
 .../apache/gora/solr/store/TestSolrStore.java   | 104 ---
 1 file changed, 104 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/3879e1a6/gora-solr-5/src/test/java/org/apache/gora/solr/store/TestSolrStore.java
--
diff --git 
a/gora-solr-5/src/test/java/org/apache/gora/solr/store/TestSolrStore.java 
b/gora-solr-5/src/test/java/org/apache/gora/solr/store/TestSolrStore.java
deleted file mode 100644
index 9c8f088..000
--- a/gora-solr-5/src/test/java/org/apache/gora/solr/store/TestSolrStore.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-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;
-import static org.apache.gora.store.DataStoreTestUtil.assertNumResults;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-
-public class TestSolrStore extends DataStoreTestBase {
-
-  private static final Logger LOG = 
LoggerFactory.getLogger(TestSolrStore.class);
-  private static final int NUM_KEYS = 4;
-  
-  static {
-setTestDriver(new GoraSolrTestDriver());
-  }
-
-  @Override
-  public void testDeleteByQueryFields()
-  throws Exception {
-Query query;
-
-//test 5 - delete all with some fields
-WebPageDataCreator.createWebPageData(this.webPageStore);
-
-query = this.webPageStore.newQuery();
-query.setFields("outlinks"
-, "parsedContent", "content");
-
-assertNumResults(this.webPageStore.newQuery(), URLS.length);
-this.webPageStore.deleteByQuery(query);
-
-this.webPageStore.flush();
-
-assertNumResults(this.webPageStore.newQuery(), URLS.length);
-
-//assert that data is deleted
-for (String SORTED_URL : SORTED_URLS) {
-  WebPage page = this.webPageStore.get(SORTED_URL);
-  assertNotNull(page);
-
-  assertNotNull(page.getUrl());
-  assertEquals(page.getUrl().toString(), SORTED_URL);
-  assertEquals("Map of Outlinks should have a size of '0' as the 
deleteByQuery "
-  + "not only removes the data but also the data structure.", 0, 
page.getOutlinks().size());
-  assertEquals(0, page.getParsedContent().size());
-  if (page.getContent() != null) {
-LOG.info("url: {}", page.getUrl().toString());
-LOG.info("limit: {}", page.getContent().limit());
-  } else {
-assertNull(page.getContent());
-  }
-}
-
-//test 6 - delete some with some fields
-WebPageDataCreator.createWebPageData(this.webPageStore);
-
-query = this.webPageStore.newQuery();
-query.setFields("url");
-String startKey = SORTED_URLS[NUM_KEYS];
-String endKey = SORTED_URLS[SORTED_URLS.length - NUM_KEYS];
-query.setStartKey(startKey);
-query.setEndKey(endKey);
-
-assertNumResults(this.webPag

[1/2] gora git commit: Add ability to compile files in a directory via gora-compiler

2017-05-26 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 37d44b874 -> 1242a61db


Add ability to compile files in a directory via gora-compiler


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

Branch: refs/heads/master
Commit: 3a4f1390673ea29f96be1166a8f28fee4bd7444a
Parents: 37d44b8
Author: nishadi 
Authored: Mon May 22 22:05:19 2017 +0530
Committer: nishadi 
Committed: Mon May 22 22:05:19 2017 +0530

--
 .../gora/compiler/cli/GoraCompilerCLI.java  | 27 +++-
 1 file changed, 20 insertions(+), 7 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/3a4f1390/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
--
diff --git 
a/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
 
b/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
index c96ed57..39cd5a6 100644
--- 
a/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
+++ 
b/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
@@ -46,18 +46,31 @@ public class GoraCompilerCLI {
   printHelp();
   System.exit(1);
 }
-File[] inputs = new File[args.length-1];
-for(int i  = 0; i 0)
+inputFiles = inputDir.listFiles();
+  else {
+LOG.error("Input directory must include at least one file.");
 printHelp();
 System.exit(1);
   }
-  inputs[i] = inputFile;
+} else {
+  inputFiles = new File[args.length - 1];
+  for (int i = 0; i < inputFiles.length; i++) {
+File inputFile = new File(args[i]);
+if (!inputFile.isFile()) {
+  LOG.error("Input must be a file.");
+  printHelp();
+  System.exit(1);
+}
+inputFiles[i] = inputFile;
+  }
 }
 try {
-  GoraCompiler.compileSchema(inputs, outputDir);
+  GoraCompiler.compileSchema(inputFiles, outputDir);
   LOG.info("Compiler executed SUCCESSFULL.");
 } catch (IOException e) {
   LOG.error("Error while compiling schema files. Check that the schemas 
are properly formatted.");



[2/2] gora git commit: Generate license to the compiled files

2017-05-26 Thread lewismc
Generate license to the compiled files


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

Branch: refs/heads/master
Commit: 1242a61db95dd10786a50caec1877544ad95e332
Parents: 3a4f139
Author: nishadi 
Authored: Fri May 26 20:10:17 2017 +0530
Committer: nishadi 
Committed: Fri May 26 20:49:38 2017 +0530

--
 .../gora/compiler/cli/GoraCompilerCLI.java  | 39 ++--
 .../org/apache/gora/compiler/GoraCompiler.java  | 18 -
 .../gora/compiler/utils/LicenseHeaders.java | 13 +++
 3 files changed, 66 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/1242a61d/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
--
diff --git 
a/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
 
b/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
index 39cd5a6..ca4b0ee 100644
--- 
a/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
+++ 
b/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
@@ -20,8 +20,9 @@ package org.apache.gora.compiler.cli;
 import java.io.File;
 import java.io.IOException;
 
+import org.apache.commons.lang.ArrayUtils;
 import org.apache.gora.compiler.GoraCompiler;
-
+import org.apache.gora.compiler.utils.LicenseHeaders;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -40,6 +41,28 @@ public class GoraCompilerCLI {
   printHelp();
   System.exit(1);
 }
+// Setting the default license header to ASLv2
+LicenseHeaders licenseHeader = new LicenseHeaders("ASLv2");
+// Checking for user provided license
+for (int i = 0; i < args.length; i++) {
+  if ("-license".equals(args[i])) {
+if (i == args.length - 1) {
+  LOG.error("Must supply a valid license id.");
+  printHelp();
+  System.exit(1);
+}
+if (licenseHeader.isValidLicense(args[i + 1])) {
+  licenseHeader.setLicenseName(args[i + 1]);
+  args = (String[]) ArrayUtils.removeElement(args, args[i + 1]);
+  args = (String[]) ArrayUtils.removeElement(args, args[i]);
+} else {
+  LOG.error("Must supply a valid license id.");
+  printHelp();
+  System.exit(1);
+}
+  }
+}
+
 File outputDir = new File(args[args.length-1]);
 if(!outputDir.isDirectory()){
   LOG.error("Must supply a directory for output");
@@ -70,7 +93,7 @@ public class GoraCompilerCLI {
   }
 }
 try {
-  GoraCompiler.compileSchema(inputFiles, outputDir);
+  GoraCompiler.compileSchema(inputFiles, outputDir, licenseHeader);
   LOG.info("Compiler executed SUCCESSFULL.");
 } catch (IOException e) {
   LOG.error("Error while compiling schema files. Check that the schemas 
are properly formatted.");
@@ -80,6 +103,16 @@ public class GoraCompilerCLI {
   }
 
   private static void printHelp() {
-LOG.info("Usage: gora-compiler ( -h | --help ) | ( [...] 
)");
+LOG.info("Usage: gora-compiler ( -h | --help ) | ( [...] 
 [-license ])");
+LOG.error("License header options include;\n" +
+  "\t\t  ASLv2   (Apache Software License v2.0) \n" +
+  "\t\t  AGPLv3  (GNU Affero General Public License) \n" +
+  "\t\t  CDDLv1  (Common Development and Distribution License 
v1.0) \n" +
+  "\t\t  FDLv13  (GNU Free Documentation License v1.3) \n" +
+  "\t\t  GPLv1   (GNU General Public License v1.0) \n" +
+  "\t\t  GPLv2   (GNU General Public License v2.0) \n" +
+  "\t\t  GPLv3   (GNU General Public License v3.0) \n" +
+  "\t\t  LGPLv21 (GNU Lesser General Public License v2.1) \n" +
+  "\t\t  LGPLv3  (GNU Lesser General Public License v2.1)");
   }
 }

http://git-wip-us.apache.org/repos/asf/gora/blob/1242a61d/gora-compiler/src/main/java/org/apache/gora/compiler/GoraCompiler.java
--
diff --git 
a/gora-compiler/src/main/java/org/apache/gora/compiler/GoraCompiler.java 
b/gora-compiler/src/main/java/org/apache/gora/compiler/GoraCompiler.java
index 469bec2..b313bd4 100644
--- a/gora-compiler/src/main/java/org/apache/gora/compiler/GoraCompiler.java
+++ b/gora-compiler/src/main/java/org/apache/gora/compiler/GoraCompiler.java
@@ -19,6 +19,10 @@ package org.apache.gora.compiler;
 
 import java.io.File;
 import java.io.IOException;
+import java.nio.charset.StandardCharsets;
+import java.nio.file.Files;
+import java.nio.file.Path;
+import 

gora git commit: Remove broken badge from README

2017-05-18 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 976a5c1db -> 37d44b874


Remove broken badge from README


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

Branch: refs/heads/master
Commit: 37d44b87426e72be10be780ec35a4b8656994107
Parents: 976a5c1
Author: Lewis John McGibbney 
Authored: Thu May 18 23:44:09 2017 -0700
Committer: Lewis John McGibbney 
Committed: Thu May 18 23:44:09 2017 -0700

--
 README.md | 1 -
 1 file changed, 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/37d44b87/README.md
--
diff --git a/README.md b/README.md
index b993ed7..ccc8571 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,6 @@
 
[![Jenkins](https://img.shields.io/jenkins/s/https/builds.apache.org/gora-trunk.svg?maxAge=2592000?style=plastic)](https://builds.apache.org/job/gora-trunk/)
 [![Jenkins 
tests](https://img.shields.io/jenkins/t/https/builds.apache.org/gora-trunk.svg?maxAge=2592000?style=plastic)](https://builds.apache.org/job/gora-trunk)
 [![Maven 
Central](https://img.shields.io/maven-central/v/org.apache.gora/gora.svg?maxAge=2592000?style=plastic)](http://search.maven.org/#search|ga|1|g%3A%22org.apache.gora%22)
-[![SonarQube Tech 
Debt](https://img.shields.io/sonar/http/analysis.apache.org/org.apache.gora:gora/tech_debt.svg?maxAge=2592000?style=plastic)](https://analysis.apache.org/dashboard/index/76356)
 [![Twitter 
URL](https://img.shields.io/twitter/url/http/apachegora.svg?style=social&maxAge=2592000?style=plastic)](https://twitter.com/apachegora)
  
 The Apache Gora open source framework provides an in-memory data model 



gora git commit: Fix broken Markdown headings

2017-04-17 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master ce30d08dc -> 3a2e1ccfe


Fix broken Markdown headings


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

Branch: refs/heads/master
Commit: 3a2e1ccfe1bc4338b7425e075341c135c3c0c0dd
Parents: ce30d08
Author: Santiago Castro 
Authored: Sun Apr 16 23:36:12 2017 -0300
Committer: Santiago Castro 
Committed: Sun Apr 16 23:36:12 2017 -0300

--
 README.md   |  8 
 gora-maven-plugin/README.md | 12 ++--
 2 files changed, 10 insertions(+), 10 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/3a2e1ccf/README.md
--
diff --git a/README.md b/README.md
index 4171456..b993ed7 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-#Apache Gora Project
+# Apache Gora Project
 
 http://gora.apache.org/resources/img/powered-by-gora.png"; 
align="right" width="300" />
 
@@ -14,7 +14,7 @@ and persistence for big data. Gora supports persisting to 
column stores,
 key value stores, document stores and RDBMSs, and analyzing the data 
 with extensive Apache Hadoop MapReduce support. 
 
-##Why Gora?
+## Why Gora?
 
 Although there are various excellent ORM frameworks for relational
 databases, data modeling in NoSQL data stores differ profoundly
@@ -45,7 +45,7 @@ grouped as follows.
 * MapReduce support : Out-of-the-box and extensive MapReduce (Apache
   Hadoop) support for data in the data store.
 
-#Background
+# Background
 
 ORM stands for Object Relation Mapping. It is a technology which
 abstacts the persistency layer (mostly Relational Databases) so
@@ -73,6 +73,6 @@ from current solutions in that:
  
http://gora.apache.org
  
-#License
+# License
 
 Gora is provided under Apache License version 2.0. See LICENSE.txt for more 
details.

http://git-wip-us.apache.org/repos/asf/gora/blob/3a2e1ccf/gora-maven-plugin/README.md
--
diff --git a/gora-maven-plugin/README.md b/gora-maven-plugin/README.md
index e2599e4..735f07d 100644
--- a/gora-maven-plugin/README.md
+++ b/gora-maven-plugin/README.md
@@ -1,22 +1,22 @@
-#Apache Gora Maven Plugin
+# Apache Gora Maven Plugin
 
 The Gora Maven Plugin is used to generate Java sources from Apache Avro *.json 
schema descriptors.
 The plugin code was originally written by Gerhard Gossen and laterly by 
Viacheslav Dobromyslov.
 
-##Goals Overview
+## Goals Overview
 
 The Gora Maven Plugin has two goals:
 
 * gora:generate generates Java sources from Apache Avro schema descriptors,
 * gora:help shows usage help.
 
-##Build plugin
+## Build plugin
 
 To build and install plugin on the local machine just run:
 
 mvn clean install
 
-##Usage
+## Usage
 
 Add to your `pom.xml` the following plugin:
 
@@ -38,11 +38,11 @@ And then run:
 
 mvn gora:generate
 
-##Related links
+## Related links
 
 * http://gora.apache.org/current/tutorial.html
 * https://issues.apache.org/jira/browse/GORA-277
 
-###License
+### License
 
 This work is provided under Apache License version 2.0. See LICENSE for more 
details.
\ No newline at end of file



svn commit: r1790500 - /gora/site/trunk/content/current/gora-mongodb.md

2017-04-06 Thread lewismc
Author: lewismc
Date: Fri Apr  7 04:48:30 2017
New Revision: 1790500

URL: http://svn.apache.org/viewvc?rev=1790500&view=rev
Log:
GORA-498 Adding MongoDB Authentications

Modified:
gora/site/trunk/content/current/gora-mongodb.md

Modified: gora/site/trunk/content/current/gora-mongodb.md
URL: 
http://svn.apache.org/viewvc/gora/site/trunk/content/current/gora-mongodb.md?rev=1790500&r1=1790499&r2=1790500&view=diff
==
--- gora/site/trunk/content/current/gora-mongodb.md (original)
+++ gora/site/trunk/content/current/gora-mongodb.md Fri Apr  7 04:48:30 2017
@@ -31,6 +31,7 @@ Description of supported properties:
 |gora.mongodb.db | mytestdatabase  
 | Yes| This value should specify the database for storage of 
documents.  |
 | gora.mongodb.login | login   
 | No | Login that will be used to authenticate against MongoDB 
server. If blank, driver won't try authentication.|
 |gora.mongodb.secret | password
 | No | Secret that will be used to authenticate against 
MongoDB server.  |
+|   gora.mongodb.authentication.type | SCRAM-SHA-1 
 | No | Authentication mechanism type that will be used to 
authenticate against MongoDB server.   |
 
 ##Gora MongoDB mappings
 You should then create a gora-mongodb-mapping.xml which will 
describe how you want to
@@ -81,4 +82,4 @@ Each class element specifying per
 | DATE   | Store as UTC datetime (ISODate) |
 | LIST   | Store as Array  |
 | DOCUMENT   | Store as embedded document  |
-| OBJECTID   | Store as ObjectId (12-byte) |
\ No newline at end of file
+| OBJECTID   | Store as ObjectId (12-byte) |




svn commit: r1008884 - /websites/production/gora/content/

2017-03-23 Thread lewismc
Author: lewismc
Date: Fri Mar 24 02:33:59 2017
New Revision: 1008884

Log:
Publishing svnmucc operation to gora site by lewismc

Added:
websites/production/gora/content/
  - copied from r1008883, websites/staging/gora/trunk/content/



svn commit: r1788356 - /gora/site/trunk/content/index.md

2017-03-23 Thread lewismc
Author: lewismc
Date: Fri Mar 24 02:33:47 2017
New Revision: 1788356

URL: http://svn.apache.org/viewvc?rev=1788356&view=rev
Log:
CMS commit to gora by lewismc

Modified:
gora/site/trunk/content/index.md

Modified: gora/site/trunk/content/index.md
URL: 
http://svn.apache.org/viewvc/gora/site/trunk/content/index.md?rev=1788356&r1=1788355&r2=1788356&view=diff
==
--- gora/site/trunk/content/index.md (original)
+++ gora/site/trunk/content/index.md Fri Mar 24 02:33:47 2017
@@ -55,7 +55,7 @@ Gora 0.7 provides support for the follow
- [MongoDB](http://mongodb.com) (driver) 3.4.2
- [Apache Accumlo](http://accumulo.apache.org) 1.7.1
- [Apache Spark](http://spark.apache.org) 1.4.1
-   - [Apache CouchDB](http://couch.apache.org) 1.4.2 ([test 
containers](http://testcontainers.viewdocs.io/testcontainers-java/) 1.1.0)
+   - [Apache CouchDB](http://couchdb.apache.org) 1.4.2 ([test 
containers](http://testcontainers.viewdocs.io/testcontainers-java/) 1.1.0)
- [Amazon DynamoDB](https://aws.amazon.com/dynamodb/) (driver) 1.10.55
- [Infinispan](http://infinispan.org/) 7.2.5.Final
- [JCache](https://www.jcp.org/en/jsr/detail?id=107) 1.0.0 with 
[Hazelcast](https://hazelcast.com/) 3.6.4 support.




svn commit: r1008873 - /websites/production/gora/content/

2017-03-23 Thread lewismc
Author: lewismc
Date: Thu Mar 23 20:19:01 2017
New Revision: 1008873

Log:
Publishing svnmucc operation to gora site by lewismc

Added:
websites/production/gora/content/
  - copied from r1008872, websites/staging/gora/trunk/content/



svn commit: r1788315 - in /gora/site/trunk/content/current: ./ api/ api/apidocs-0.7/ api/apidocs-0.7/apidocs/ api/apidocs-0.7/apidocs/org/ api/apidocs-0.7/apidocs/org/apache/ api/apidocs-0.7/apidocs/o

2017-03-23 Thread lewismc
Author: lewismc
Date: Thu Mar 23 20:13:52 2017
New Revision: 1788315

URL: http://svn.apache.org/viewvc?rev=1788315&view=rev
Log:
Add Gora 0.7 Javadoc


[This commit notification would consist of 135 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]


svn commit: r1008869 - /websites/production/gora/content/

2017-03-23 Thread lewismc
Author: lewismc
Date: Thu Mar 23 19:41:02 2017
New Revision: 1008869

Log:
Publishing svnmucc operation to gora site by lewismc

Added:
websites/production/gora/content/
  - copied from r1008868, websites/staging/gora/trunk/content/



svn commit: r1788310 - /gora/site/trunk/content/downloads.md

2017-03-23 Thread lewismc
Author: lewismc
Date: Thu Mar 23 19:40:53 2017
New Revision: 1788310

URL: http://svn.apache.org/viewvc?rev=1788310&view=rev
Log:
Update release page

Modified:
gora/site/trunk/content/downloads.md

Modified: gora/site/trunk/content/downloads.md
URL: 
http://svn.apache.org/viewvc/gora/site/trunk/content/downloads.md?rev=1788310&r1=1788309&r2=1788310&view=diff
==
--- gora/site/trunk/content/downloads.md (original)
+++ gora/site/trunk/content/downloads.md Thu Mar 23 19:40:53 2017
@@ -10,7 +10,7 @@ Download the newest release of Apache Go
 as source code and NOT binary. This is because you will most likely want to 
recompile 
 various aspects of the codebase during or as a prerequisite to using Gora in 
your stack.
 
-See the [0.6.1-CHANGES.txt](http://apache.org/dist/gora/0.6.1/CHANGES.txt)
+See the 
[CHANGES](https://github.com/apache/gora/blob/apache-gora-0.7/CHANGES.md#apache-gora-07-release---160317-ddmm)
 file for more information on the list of updates in this release.
 
 Gora is always distributed under the [Apache License, version 
2.0](http://www.apache.org/licenses/LICENSE-2.0.html).
@@ -25,8 +25,8 @@ line via your operating system package m
 
 ##Downloads
 
-http://www.apache.org/dyn/closer.lua/gora/0.6.1/apache-gora-0.6.1-src.tar.gz";
 class="btn btn-primary btn-large">Download (0.6.1 src.tar.gz)
-http://www.apache.org/dyn/closer.lua/gora/0.6.1/apache-gora-0.6.1-src.zip";
 class="btn btn-primary btn-large">Download (0.6.1 src.zip)
+http://www.apache.org/dyn/closer.lua/gora/0.7/gora/0.7/gora-0.7-src.tar.gz";
 class="btn btn-primary btn-large">Download (0.7 src.tar.gz)
+http://www.apache.org/dyn/closer.lua/gora/0.7/gora/0.7/gora-0.7-src.zip"; 
class="btn btn-primary btn-large">Download (0.7 src.zip)
 
 ##Mirrors
 
@@ -47,17 +47,17 @@ The checksum and signature are links to
   
   
 Apache Gora 0.6 (tar.gz)
-http://www.apache.org/dyn/closer.cgi/gora/0.6.1/apache-gora-0.6.1-src.tar.gz";>apache-gora-0.6.1-src.tar.gz
 
-http://www.apache.org/dist/gora/0.6.1/apache-gora-0.6.1-src.tar.gz.md5";>apache-gora-0.6.1-src.tar.gz.md5
  
-http://www.apache.org/dist/gora/0.6.1/apache-gora-0.6.1-src.tar.gz.asc";>apache-gora-0.6.1-src.tar.gz.asc
  
-http://www.apache.org/dist/gora/0.6.1/apache-gora-0.6.1-src.tar.gz.sha";>apache-gora-0.6.1-src.tar.gz.sha
 
+http://www.apache.org/dyn/closer.cgi/gora/0.7/gora/0.7/gora-0.6.1-src.tar.gz";>gora-0.7-src.tar.gz
 
+http://www.apache.org/dist/gora/0.7/gora/0.7/gora-0.7-src.tar.gz.md5";>gora-0.7-src.tar.gz.md5
  
+http://www.apache.org/dist/gora/0.7/gora/0.7/gora-0.7-src.tar.gz.asc";>gora-0.7-src.tar.gz.asc
  
+http://www.apache.org/dist/gora/0.7/gora/0.7/gora-0.7-src.tar.gz.sha";>gora-0.7-src.tar.gz.sha
 
   
   
 Apache Gora 0.6.1 (zip)
-http://www.apache.org/dyn/closer.cgi/gora/0.6.1/apache-gora-0.6.1-src.zip";>apache-gora-0.6.1-src.zip
-http://www.apache.org/dist/gora/0.6.1/apache-gora-0.6.1-src.zip.md5";>apache-gora-0.6.1-src.zip.md5
-http://www.apache.org/dist/gora/0.6.1/apache-gora-0.6.1-src.zip.asc";>apache-gora-0.6.1-src.zip.asc
-http://www.apache.org/dist/gora/0.6.1/apache-gora-0.6.1-src.zip.sha";>apache-gora-0.6.1-src.zip.sha
+http://www.apache.org/dyn/closer.cgi/gora/0.7/gora/0.7/gora-0.7-src.zip";>gora-0.7-src.zip
+http://www.apache.org/dist/gora/0.7/gora/0.7/gora-0.7-src.zip.md5";>gora-0.7-src.zip.md5
+http://www.apache.org/dist/gora/0.7/gora/0.7/gora-0.7-src.zip.asc";>gora-0.7-src.zip.asc
+http://www.apache.org/dist/gora/0.7/gora/0.7/gora-0.7-src.zip.sha";>gora-0.7-src.zip.sha
   
   
 
@@ -82,7 +82,7 @@ for the relevant distribution.
 mirror. Then verify the signatures using the following
 
 $ gpg --import KEYS
-$ gpg --verify apache-gora-X.Y.Z-src.tar.gz.asc
+$ gpg --verify gora-X.Y.Z-src.tar.gz.asc
 
 The files in the most recent release are signed by Lewis John McGibbney (CODE 
SIGNING KEY)  48BAEBF6
 




svn commit: r1008868 - /websites/production/gora/content/

2017-03-23 Thread lewismc
Author: lewismc
Date: Thu Mar 23 19:33:57 2017
New Revision: 1008868

Log:
Make release announcement

Added:
websites/production/gora/content/
  - copied from r1008866, websites/staging/gora/trunk/content/



svn commit: r1788309 - /gora/site/trunk/content/index.md

2017-03-23 Thread lewismc
Author: lewismc
Date: Thu Mar 23 19:33:40 2017
New Revision: 1788309

URL: http://svn.apache.org/viewvc?rev=1788309&view=rev
Log:
Make release announcement

Modified:
gora/site/trunk/content/index.md

Modified: gora/site/trunk/content/index.md
URL: 
http://svn.apache.org/viewvc/gora/site/trunk/content/index.md?rev=1788309&r1=1788308&r2=1788309&view=diff
==
--- gora/site/trunk/content/index.md (original)
+++ gora/site/trunk/content/index.md Thu Mar 23 19:33:40 2017
@@ -38,6 +38,32 @@ Title: Welcome to Apache Gora™
 
 ## News
 
+###23 March, 2017: Apache Gora 0.7 Release
+The Apache Gora team are pleased to announce the immediate availability of
+Apache Gora 0.7.
+
+This release addresses 80 issues, for a breakdown please see the [release 
report](https://s.apache.org/YrmC). 
+Drop by our mailing lists and ask questions for information on any of the 
above.
+
+Gora 0.7 provides support for the following projects
+
+   - [Apache Avro](http://avro.apache.org) 1.8.1
+   - [Apache Hadoop](http://hadoop.apache.org) 2.5.2
+   - [Apache HBase](http://hbase.apache.org) 1.2.3
+   - [Apache Cassandra](http://cassandra.apache.org) 2.0.2
+   - [Apache Solr](http://lucene.apache.org/solr) 5.5.1
+   - [MongoDB](http://mongodb.com) (driver) 3.4.2
+   - [Apache Accumlo](http://accumulo.apache.org) 1.7.1
+   - [Apache Spark](http://spark.apache.org) 1.4.1
+   - [Apache CouchDB](http://couch.apache.org) 1.4.2 ([test 
containers](http://testcontainers.viewdocs.io/testcontainers-java/) 1.1.0)
+   - [Amazon DynamoDB](https://aws.amazon.com/dynamodb/) (driver) 1.10.55
+   - [Infinispan](http://infinispan.org/) 7.2.5.Final
+   - [JCache](https://www.jcp.org/en/jsr/detail?id=107) 1.0.0 with 
[Hazelcast](https://hazelcast.com/) 3.6.4 support.
+
+Gora is released as both source code, downloads for which can be found at
+our [downloads page](http://gora.apache.org/downloads.html), as well as Maven 
artifacts which can be found on
+[Maven central](http://search.maven.org/#search|ga|1|gora). 
+
 ###14 September, 2015: Apache Gora 0.6.1 Release
 The Apache Gora team are pleased to announce the immediate availability of
 Apache Gora 0.6.1.




svn commit: r18881 - /release/gora/0.7/gora/

2017-03-23 Thread lewismc
Author: lewismc
Date: Thu Mar 23 19:15:07 2017
New Revision: 18881

Log:
Copy Gora release arifacts to release

Added:
release/gora/0.7/gora/
  - copied from r18880, dev/gora/



svn commit: r18882 - /release/gora/0.6.1/

2017-03-23 Thread lewismc
Author: lewismc
Date: Thu Mar 23 19:15:54 2017
New Revision: 18882

Log:
Remove old Gora release from release area

Removed:
release/gora/0.6.1/



svn commit: r18880 - /release/gora/0.7/

2017-03-23 Thread lewismc
Author: lewismc
Date: Thu Mar 23 19:14:04 2017
New Revision: 18880

Log:
Release Apache Gora 0.7 artifacts.

Added:
release/gora/0.7/



svn commit: r18773 - in /dev/gora/0.7: ./ KEYS gora-0.7-src.tar.gz gora-0.7-src.tar.gz.asc gora-0.7-src.tar.gz.md5 gora-0.7-src.tar.gz.sha1 gora-0.7-src.zip gora-0.7-src.zip.asc gora-0.7-src.zip.md5 g

2017-03-16 Thread lewismc
Author: lewismc
Date: Fri Mar 17 06:26:48 2017
New Revision: 18773

Log:
Stage Apache Gora 0.7 RC#1 artifacts

Added:
dev/gora/0.7/
dev/gora/0.7/KEYS
dev/gora/0.7/gora-0.7-src.tar.gz   (with props)
dev/gora/0.7/gora-0.7-src.tar.gz.asc
dev/gora/0.7/gora-0.7-src.tar.gz.md5
dev/gora/0.7/gora-0.7-src.tar.gz.sha1
dev/gora/0.7/gora-0.7-src.zip   (with props)
dev/gora/0.7/gora-0.7-src.zip.asc
dev/gora/0.7/gora-0.7-src.zip.md5
dev/gora/0.7/gora-0.7-src.zip.sha1

Added: dev/gora/0.7/KEYS
==
--- dev/gora/0.7/KEYS (added)
+++ dev/gora/0.7/KEYS Fri Mar 17 06:26:48 2017
@@ -0,0 +1,172 @@
+This file contains the PGP keys of various Apache developers.
+Please don't use them for email unless you have to. Their main
+purpose is code signing.
+
+Apache users: pgp < KEYS
+Apache developers:
+(pgpk -ll  && pgpk -xa ) >> this file.
+  or
+(gpg --fingerprint --list-sigs 
+ && gpg --armor --export ) >> this file.
+
+Apache developers: please ensure that your key is also available via the
+PGP keyservers (such as pgpkeys.mit.edu).
+
+
+
+
+pub   4096R/3592721E 2011-01-21
+  Key fingerprint = A0BF C76E F6A5 6F2C DC3D  0E2C EDF4 C958 3592 721E
+uid  Henry Saputra (CODE SIGNING KEY) 
+sig 33592721E 2011-01-21  Henry Saputra (CODE SIGNING KEY) 

+sub   4096R/C318E93E 2011-01-21
+sig  3592721E 2011-01-21  Henry Saputra (CODE SIGNING KEY) 

+
+-BEGIN PGP PUBLIC KEY BLOCK-
+Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
+
+mQINBE05Kw0BEACuSMJSAKgbac4pMNfzssckf4hAZMnd23DYQYMwxPNjeelqw1qJ
+1JPsDW6nOfBGVEj3OLqd6ZPH6K2i8+GdY+p+buxaRJRdpYh03P3+Hno3OMySA9wo
+7mdy/NbmYsqIfvA6+WRmRUAKOnJv8lplMwwQMoPGPkHsMJNUeIAjGyCBzwhpn3y1
+NkC6QEAE9iq1DZFhURD5D3ZfH/XO8WfQz74cghAySEF3bPCO7l5DPM3ddWYE1rmZ
+UcltqxxAy4xBzuDP7gqxKdSqZXAQfyRGgbAxu5MfHYL+XgVbn+4ZszCzFIUUIYFE
+dvFjizzG3ZM0oQXnZYnWzxY3Flui7tFrQNvy78SsWRwfjxzuRWlJLrbm0h8Rdnj6
+9MjxH6OW3ihdw2yrw79aUT5ArmE3j2wZtcLnhXoTYqqxAk6UUbAsS1EcIRte01t4
+iZrtJdkS+MkVHOQewdFJe6dQcAWy62z/pfrs2dII7EhxZCi5kx4Wwb4Ud2wrnZJu
+MhMvb91y2Lwz2WF8BXj6UdAiV/VGupmWvjvod58X6GyKsmS6+dXEkTeWr44kn6qb
+cKwuAqdZEfSDT1K/koNdWGF4ExfI8pO2IaM8YWFglX7eiP6o2GhcQ2qZwQzW3KnW
+m8aMw1BKV//xAeudR6agh/i9F+DC3wqdovFb+2NvU3d9OAK7xhbBWfWbzQARAQAB
+tDZIZW5yeSBTYXB1dHJhIChDT0RFIFNJR05JTkcgS0VZKSA8aHNhcHV0cmFAYXBh
+Y2hlLm9yZz6JAjcEEwEKACECGwMCHgECF4AFAk05OAgFCwkIBwMFFQoJCAsFFgID
+AQAACgkQ7fTJWDWSch7trg//Wq8TCY5F+tTGWA8yaKFwnKzt7SVfVDeKu9HS+O0t
+4mSMj7n0fZsMWtgUfkq7eQqswAxYMxsLNh9Y4Tc1FJ1ivzKf7AomWiFrM2YDtvSu
+5/iF0a1JgGcbxwFaoyYMZOttdx+DneCUBvVrvwAFVxuIIrcH1mSYOCy6T7A1cdjB
+RtRmvIh2qQ4d6lw4ZlB9sy04/kRK+yPmGCfpE3SD4b64tEIByPOgZABp1nXlHKQX
+rJUwfVYuPkIzzEETePzPibIlvK1/njg/AMUSibek0v2RWqaZspxh6b2QhvHfW0df
+vvTy5TxNi9WoXdIX0laS9gaj4ItyDd8tShMOl0LFNd7X+UexxiAVQ37wAvnSYPRL
+P9Lxvj0BIbzllz2+J0F4gMq5j9gcuYkuHc2bdNJ7NWbhIgEuMrWgzqxQpYkjDMSo
+r3s4KaR84+y/9JuZofjiV/Afh3i0imjczHWV1u2tp6Yh9eSKH37cQKeIlfTwgmdn
+brj7J5UF53w4O5iorUuO3scGwP2HOnWHSUx8sCaEXHk8v08y89mW1c+je7GwzQoT
+TCRdbMkaqzotHZOzJ/ha32ZEy6Q6WW2Zeo50bnDfR94ZXCY2NR9JNznNNc4Bn0G2
+WdUL/LbV3j3n8aqAUPShEzbrTtkQJdFCFddrLCxWLdNXSAroslhOAEnWhC+ZLGTy
+qh65Ag0ETTkrDQEQAMJbM3CtxrVUSh4XP4YJImC9+iOGgt4rWjqxEIkojlI3eUDa
+lU6fGHguRPs9aVLfHQoCjLw5aGfjvnYa/NE13ihPcu5CFk9TjtganTa1Av0ODG5E
+2HC95WX9k9KZsOHcmhH7nubGCLx9RDiuhyVU0dLw2qHZGqQooibc1p4r0crqsSMj
+JU2x9i7eNtFY/jNgHedaWjDcOYZEsVia9XQsaTzORmxtcbkrNJdcssYRmMjPMR1t
+PeOtofedXvVY0w2h51XTgIPzYhR9Ho7ZDPQyn5VQJ4REIrtBz0jxz/Lcj2JAtYsr
+9bfOeYe7+9h7sVTKmb4wBWZBDvZmAoGLj9f2jSmsugGBVT6TlK1R5PtPrmj1hExo
+PFH/gPpt8aLQYR73xR0fzunqfGFS651EArZoB3GSM2CoY2vxzwQpqHH9dFtf2wu9
+a+tT60rvPdag3y98N4RlGmK6KUuClOk4oRsQcI4H06zF+jwmbikMlTc3JqC+ev2c
+fExVjaFM9Hz/bzEyZerNwbntz/yBIg4NR1RfPjQUVolNg66dkMe2GwFs1f2Nd/1b
+40+vimRJXeGuyzyH3o86UAHUQu92hOMWgMlilsU0GUUMk6qZHA5SvAB3t3atZ6IR
+2453kXlOFUGl0NkGn3nFxF2xj8E6tUG72glDBW6GZP+hZilhs853HPt2UknXABEB
+AAGJAh8EGAEKAAkFAk05Kw0CGwwACgkQ7fTJWDWSch4knQ//cfFjcmFls2siwGwc
+q1H9QyhiiJcDbHFyTb7UvVwTgZ3rkdoQkrslMp3Ti/mm1NVH0c5ywuHCT1dip+yO
+7Rt8ruepDQMPDLHRsudzwJNKaZQPbtacESvDayqADOYaDN1req8+Z4+G2jyYaLve
+TTI/HpyJyp5YLXlaBM+EicqP+7WZeMvw8MkxhfXEKeaZ7K6E326USlo1os/puOtl
+VB9ywr4LD+4ZB7jzAGI0hsCn/ZxS+Uu9iAfrr1LVNQMxTbJ/nBFwrQof75SYvjwQ
+A07D6KBdea7TpTj0JI9saaI4ytuKwCi9WpyvC7bxec7GAbOSvhK/vEV0dVAnAQlL
+nyv8SS+m3gcukZNnNMz0Yz9IeFKB29J8sFgFW4f+Ww6ygmaU9+kN/4C7hzWbUjE8
+GyFr4RDRIfIQKG7D50IUzeY+jfzpa5Z1SqmBqPymKz/w7l/N9GmtzFptox30+C0l
+7CEp+B3Wyb8zdiX3EgAzka8kbsZESRC22ziowOJ8DS25vFLmw5q8W6MDLnovT1a0
+rCJsgoQny9AvP0VzCm3Xxwgcf+Q1HyHGEUIS+lwPRpeNgfgWogzDMrEUjvhQDeDZ
+e9Hhz6NeQVWGJXByjaITCa3CMY4HxRxWALQ21vJmy8WSTGGno4VaMfJ+mrnVXPt7
+PsjMuqud3oNyQDFEI+qH9ZUbnPI=
+=W5eW
+-END PGP PUBLIC KEY BLOCK-
+pub   1024D/B876884A 2007-12-24
+uid  Chris Mattmann (CODE SIGNING KEY) 
+sig 3B876884A 2007-12-24  Chris Mattmann (CODE SIGNING KEY) 

+sub   2048g/D3B4F350 2007-

[gora] Git Push Summary

2017-03-16 Thread lewismc
Repository: gora
Updated Tags:  refs/tags/apache-gora-0.7 [created] bb862cb4c


gora git commit: [maven-release-plugin] prepare release apache-gora-0.7

2017-03-16 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master d72aedffb -> 3b48688f5


[maven-release-plugin] prepare release apache-gora-0.7


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

Branch: refs/heads/master
Commit: 3b48688f51d6cf618c760b24a341874f12e160d2
Parents: d72aedf
Author: Lewis John McGibbney 
Authored: Thu Mar 16 22:19:28 2017 -0700
Committer: Lewis John McGibbney 
Committed: Thu Mar 16 22:19:28 2017 -0700

--
 gora-accumulo/pom.xml | 2 +-
 gora-cassandra/pom.xml| 2 +-
 gora-compiler-cli/pom.xml | 2 +-
 gora-compiler/pom.xml | 2 +-
 gora-core/pom.xml | 2 +-
 gora-couchdb/pom.xml  | 2 +-
 gora-dynamodb/pom.xml | 2 +-
 gora-goraci/pom.xml   | 2 +-
 gora-hbase/pom.xml| 2 +-
 gora-infinispan/pom.xml   | 2 +-
 gora-jcache/pom.xml   | 2 +-
 gora-maven-plugin/pom.xml | 5 ++---
 gora-mongodb/pom.xml  | 2 +-
 gora-solr-5/pom.xml   | 2 +-
 gora-tutorial/pom.xml | 2 +-
 pom.xml   | 6 +++---
 sources-dist/pom.xml  | 2 +-
 17 files changed, 20 insertions(+), 21 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/3b48688f/gora-accumulo/pom.xml
--
diff --git a/gora-accumulo/pom.xml b/gora-accumulo/pom.xml
index e13f7a7..5a02bc3 100644
--- a/gora-accumulo/pom.xml
+++ b/gora-accumulo/pom.xml
@@ -23,7 +23,7 @@
   
 org.apache.gora
 gora
-0.7-SNAPSHOT
+0.7
 ../
   
   gora-accumulo

http://git-wip-us.apache.org/repos/asf/gora/blob/3b48688f/gora-cassandra/pom.xml
--
diff --git a/gora-cassandra/pom.xml b/gora-cassandra/pom.xml
index 5dffd28..1139298 100644
--- a/gora-cassandra/pom.xml
+++ b/gora-cassandra/pom.xml
@@ -21,7 +21,7 @@
 
 org.apache.gora
 gora
-0.7-SNAPSHOT
+0.7
 ../
 
 gora-cassandra

http://git-wip-us.apache.org/repos/asf/gora/blob/3b48688f/gora-compiler-cli/pom.xml
--
diff --git a/gora-compiler-cli/pom.xml b/gora-compiler-cli/pom.xml
index 6212a1e..1475840 100644
--- a/gora-compiler-cli/pom.xml
+++ b/gora-compiler-cli/pom.xml
@@ -22,7 +22,7 @@
   
 org.apache.gora
 gora
-0.7-SNAPSHOT
+0.7
 ../
   
   gora-compiler-cli

http://git-wip-us.apache.org/repos/asf/gora/blob/3b48688f/gora-compiler/pom.xml
--
diff --git a/gora-compiler/pom.xml b/gora-compiler/pom.xml
index 4c0f490..ac77005 100644
--- a/gora-compiler/pom.xml
+++ b/gora-compiler/pom.xml
@@ -22,7 +22,7 @@
   
 org.apache.gora
 gora
-0.7-SNAPSHOT
+0.7
 ../
   
   gora-compiler

http://git-wip-us.apache.org/repos/asf/gora/blob/3b48688f/gora-core/pom.xml
--
diff --git a/gora-core/pom.xml b/gora-core/pom.xml
index 0666156..9347b90 100644
--- a/gora-core/pom.xml
+++ b/gora-core/pom.xml
@@ -23,7 +23,7 @@
   
 org.apache.gora
 gora
-0.7-SNAPSHOT
+0.7
 ../
   
   gora-core

http://git-wip-us.apache.org/repos/asf/gora/blob/3b48688f/gora-couchdb/pom.xml
--
diff --git a/gora-couchdb/pom.xml b/gora-couchdb/pom.xml
index 8ad7786..f09acec 100644
--- a/gora-couchdb/pom.xml
+++ b/gora-couchdb/pom.xml
@@ -23,7 +23,7 @@
   
 org.apache.gora
 gora
-0.7-SNAPSHOT
+0.7
 ../
   
   gora-couchdb

http://git-wip-us.apache.org/repos/asf/gora/blob/3b48688f/gora-dynamodb/pom.xml
--
diff --git a/gora-dynamodb/pom.xml b/gora-dynamodb/pom.xml
index 31d6572..548fafc 100644
--- a/gora-dynamodb/pom.xml
+++ b/gora-dynamodb/pom.xml
@@ -18,7 +18,7 @@
   
 org.apache.gora
 gora
-0.7-SNAPSHOT
+0.7
 ../
   
   gora-dynamodb

http://git-wip-us.apache.org/repos/asf/gora/blob/3b48688f/gora-goraci/pom.xml
--
diff --git a/gora-goraci/pom.xml b/gora-goraci/pom.xml
index 177abd0..fa6816a 100644
--- a/gora-goraci/pom.xml
+++ b/gora-goraci/pom.xml
@@ -23,7 +23,7 @@
   
 org.apache.gora
 gora
-0.7-SNAPSHOT
+0.7
 ../
   
   gora-goraci

http://git-wip-us.apache.org/repos/asf/gora/blob/3b48688f/gora-hbase/pom.xml
--
diff --git a/gora-hbase/pom.xml b/gora-hbase/pom.xml
index 98a7b2e..4035d48 100644
--- a/gora-hbase/pom.xml
+++ b/gora-hbase/pom.xml
@@ -23,7 +23,7 @@
   
 org.

gora git commit: [maven-release-plugin] prepare for next development iteration

2017-03-16 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 3b48688f5 -> 60e36d0cf


[maven-release-plugin] prepare for next development iteration


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

Branch: refs/heads/master
Commit: 60e36d0cf5688f15fcc9e70e06fc3ebdaaa0cb29
Parents: 3b48688
Author: Lewis John McGibbney 
Authored: Thu Mar 16 22:19:35 2017 -0700
Committer: Lewis John McGibbney 
Committed: Thu Mar 16 22:19:35 2017 -0700

--
 gora-accumulo/pom.xml | 2 +-
 gora-cassandra/pom.xml| 2 +-
 gora-compiler-cli/pom.xml | 2 +-
 gora-compiler/pom.xml | 2 +-
 gora-core/pom.xml | 2 +-
 gora-couchdb/pom.xml  | 2 +-
 gora-dynamodb/pom.xml | 2 +-
 gora-goraci/pom.xml   | 2 +-
 gora-hbase/pom.xml| 2 +-
 gora-infinispan/pom.xml   | 2 +-
 gora-jcache/pom.xml   | 2 +-
 gora-maven-plugin/pom.xml | 2 +-
 gora-mongodb/pom.xml  | 2 +-
 gora-solr-5/pom.xml   | 2 +-
 gora-tutorial/pom.xml | 2 +-
 pom.xml   | 4 ++--
 sources-dist/pom.xml  | 2 +-
 17 files changed, 18 insertions(+), 18 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/60e36d0c/gora-accumulo/pom.xml
--
diff --git a/gora-accumulo/pom.xml b/gora-accumulo/pom.xml
index 5a02bc3..d176c71 100644
--- a/gora-accumulo/pom.xml
+++ b/gora-accumulo/pom.xml
@@ -23,7 +23,7 @@
   
 org.apache.gora
 gora
-0.7
+0.8-SNAPSHOT
 ../
   
   gora-accumulo

http://git-wip-us.apache.org/repos/asf/gora/blob/60e36d0c/gora-cassandra/pom.xml
--
diff --git a/gora-cassandra/pom.xml b/gora-cassandra/pom.xml
index 1139298..0d3d13c 100644
--- a/gora-cassandra/pom.xml
+++ b/gora-cassandra/pom.xml
@@ -21,7 +21,7 @@
 
 org.apache.gora
 gora
-0.7
+0.8-SNAPSHOT
 ../
 
 gora-cassandra

http://git-wip-us.apache.org/repos/asf/gora/blob/60e36d0c/gora-compiler-cli/pom.xml
--
diff --git a/gora-compiler-cli/pom.xml b/gora-compiler-cli/pom.xml
index 1475840..f2011a4 100644
--- a/gora-compiler-cli/pom.xml
+++ b/gora-compiler-cli/pom.xml
@@ -22,7 +22,7 @@
   
 org.apache.gora
 gora
-0.7
+0.8-SNAPSHOT
 ../
   
   gora-compiler-cli

http://git-wip-us.apache.org/repos/asf/gora/blob/60e36d0c/gora-compiler/pom.xml
--
diff --git a/gora-compiler/pom.xml b/gora-compiler/pom.xml
index ac77005..d0a5724 100644
--- a/gora-compiler/pom.xml
+++ b/gora-compiler/pom.xml
@@ -22,7 +22,7 @@
   
 org.apache.gora
 gora
-0.7
+0.8-SNAPSHOT
 ../
   
   gora-compiler

http://git-wip-us.apache.org/repos/asf/gora/blob/60e36d0c/gora-core/pom.xml
--
diff --git a/gora-core/pom.xml b/gora-core/pom.xml
index 9347b90..5ce1e97 100644
--- a/gora-core/pom.xml
+++ b/gora-core/pom.xml
@@ -23,7 +23,7 @@
   
 org.apache.gora
 gora
-0.7
+0.8-SNAPSHOT
 ../
   
   gora-core

http://git-wip-us.apache.org/repos/asf/gora/blob/60e36d0c/gora-couchdb/pom.xml
--
diff --git a/gora-couchdb/pom.xml b/gora-couchdb/pom.xml
index f09acec..f23c097 100644
--- a/gora-couchdb/pom.xml
+++ b/gora-couchdb/pom.xml
@@ -23,7 +23,7 @@
   
 org.apache.gora
 gora
-0.7
+0.8-SNAPSHOT
 ../
   
   gora-couchdb

http://git-wip-us.apache.org/repos/asf/gora/blob/60e36d0c/gora-dynamodb/pom.xml
--
diff --git a/gora-dynamodb/pom.xml b/gora-dynamodb/pom.xml
index 548fafc..aca069b 100644
--- a/gora-dynamodb/pom.xml
+++ b/gora-dynamodb/pom.xml
@@ -18,7 +18,7 @@
   
 org.apache.gora
 gora
-0.7
+0.8-SNAPSHOT
 ../
   
   gora-dynamodb

http://git-wip-us.apache.org/repos/asf/gora/blob/60e36d0c/gora-goraci/pom.xml
--
diff --git a/gora-goraci/pom.xml b/gora-goraci/pom.xml
index fa6816a..e72baf7 100644
--- a/gora-goraci/pom.xml
+++ b/gora-goraci/pom.xml
@@ -23,7 +23,7 @@
   
 org.apache.gora
 gora
-0.7
+0.8-SNAPSHOT
 ../
   
   gora-goraci

http://git-wip-us.apache.org/repos/asf/gora/blob/60e36d0c/gora-hbase/pom.xml
--
diff --git a/gora-hbase/pom.xml b/gora-hbase/pom.xml
index 4035d48..58331c8 100644
--- a/gora-hbase/pom.xml
+++ b/gora-hbase/pom.xml
@@ -23,7 +23,7 @@
   
 or

gora git commit: Remove gora-solr4 and update tutorial to gora-solr5

2017-03-16 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master f05ac1822 -> d72aedffb


Remove gora-solr4 and update tutorial to gora-solr5


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

Branch: refs/heads/master
Commit: d72aedffba18e37a20107ea9b146acbc01cc4965
Parents: f05ac18
Author: Lewis John McGibbney 
Authored: Thu Mar 16 21:55:31 2017 -0700
Committer: Lewis John McGibbney 
Committed: Thu Mar 16 21:55:31 2017 -0700

--
 gora-tutorial/pom.xml |  2 +-
 pom.xml   | 14 +-
 2 files changed, 14 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/d72aedff/gora-tutorial/pom.xml
--
diff --git a/gora-tutorial/pom.xml b/gora-tutorial/pom.xml
index 422d0e7..4b693b7 100644
--- a/gora-tutorial/pom.xml
+++ b/gora-tutorial/pom.xml
@@ -120,7 +120,7 @@
 
 
   org.apache.gora
-  gora-solr
+  gora-solr-5
 
 
 

http://git-wip-us.apache.org/repos/asf/gora/blob/d72aedff/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 349c94e..1b4881d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -713,7 +713,7 @@
 
 gora-maven-plugin
 gora-mongodb
-gora-solr
+
 gora-solr-5
 gora-tutorial
 sources-dist
@@ -826,6 +826,18 @@
 
   
 org.apache.gora
+gora-solr-5
+${project.version}
+  
+  
+org.apache.gora
+gora-solr-5
+${project.version}
+tests
+  
+
+  
+org.apache.gora
 gora-cassandra
 ${project.version}
   



gora git commit: Remove hadoop2 release profile

2017-03-16 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master ce8daea35 -> f05ac1822


Remove hadoop2 release profile


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

Branch: refs/heads/master
Commit: f05ac182262ce28750d0667f16061b11bc78ee97
Parents: ce8daea
Author: Lewis John McGibbney 
Authored: Thu Mar 16 21:27:37 2017 -0700
Committer: Lewis John McGibbney 
Committed: Thu Mar 16 21:27:37 2017 -0700

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/f05ac182/pom.xml
--
diff --git a/pom.xml b/pom.xml
index a313234..349c94e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -394,7 +394,7 @@
 forked-path
 false
 apache-gora-@{project.version}
--Papache-release,release,hadoop2
+-Papache-release,release
 true
   
   



gora git commit: Increment version values for Gradle plugin

2017-03-16 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 442c7c2a2 -> ce8daea35


Increment version values for Gradle plugin


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

Branch: refs/heads/master
Commit: ce8daea35e0af024e73211cd58cd6f2af553f206
Parents: 442c7c2
Author: Lewis John McGibbney 
Authored: Thu Mar 16 18:15:59 2017 -0700
Committer: Lewis John McGibbney 
Committed: Thu Mar 16 18:15:59 2017 -0700

--
 gora-gradle-plugin/gradle.properties | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/ce8daea3/gora-gradle-plugin/gradle.properties
--
diff --git a/gora-gradle-plugin/gradle.properties 
b/gora-gradle-plugin/gradle.properties
index 8fbf00f..c9c0105 100644
--- a/gora-gradle-plugin/gradle.properties
+++ b/gora-gradle-plugin/gradle.properties
@@ -15,8 +15,8 @@
 
 rootProject.name = 'goraPlugin'
 
-goraVersion = 0.6.1
-avroVersion = 1.7.6
+goraVersion = 0.7
+avroVersion = 1.8.1
 
 group = org.apache.gora.gradle
-version = 0.6.1
+version = 0.7



gora git commit: Prepare for Gora 0.7 release

2017-03-16 Thread lewismc
aven-plugin
+[GORA-315] - Define  for * dependencies in pom.xml
+[GORA-359] - Add integration to other distributed system frameworks to 
allow Gora as data ingest
+[GORA-362] - Refactor gora-dynamodb to support avro serialization
+[GORA-368] - Address flagged Sonar error in Gora package design
+[GORA-412] - Consider location of @SuppressWarnings("all") in compiled 
classes
+[GORA-414] - Upgrade to Accumulo 1.6.4
+[GORA-439] - Remove Unused Method Parameters
+[GORA-443] - Upgrade HBase to 1.2.3
+[GORA-448] - Upgrade MongoDB Java Driver Version
+[GORA-452] - Upgrade goraci prior to Chef and the ComputeService 
implementations
+[GORA-466] - Upgrade to Avro 1.8.X
+[GORA-469] - Gora doesn't build under JDK 1.8
+[GORA-477] - Add support for Solr 5.x
+[GORA-482] - Move into supporting only Hadoop2
+[GORA-483] - CI build for Gora
+[GORA-487] - Using IOUtils methods instead of duplicate code lines
+[GORA-488] - setProperties method contains no code
+[GORA-490] - Adding package-info.java for gora datastore packages
+[GORA-498] - Adding MongoDB Authentications
+[GORA-504] - Switched Accumulo Dependency to 1.7.1 and ported 
AccumuloStore Class to work with accumulo 1.7.1
+
+New Feature
+
+[GORA-102] - Implement a datastore for Hypertable
+[GORA-224] - Pluggable client archiecture for gora-cassandra
+[GORA-295] - Dynamic support for Cache Providers using JCache
+[GORA-343] - Update Gora to support HBase version >= 0.96
+[GORA-437] - Implement CouchDB Datastore
+[GORA-445] - Review extent of transative dependencies post GORA-386
+[GORA-471] - Datastore for Infinispan
+
+Task
+
+[GORA-294] - Setup Pre-Commit build for gora-trunk Jenkins job
+[GORA-442] - Create documentation for GoraSparkEngine
+[GORA-484] - Add documentation to JCache Datastore
+[GORA-501] - Fix Javadoc for JDK1.8 compliance
+
+Test
+
+[GORA-370] - Implement MapReduce 2.X tests
+[GORA-454] - Implement FilterList tests
+[GORA-465] - Remove @Deprecated logic for hbase-mapping.xml
+[GORA-506] - Investigate timing of HBase tests
+
+# Apache Gora 0.6.1 Release - 05/09/2015 (dd/mm/)
 Release Report - http://s.apache.org/l69
 
 * GORA-436 Improve Source Code as Java 7 Compatible (Furkan KAMACI via lewismc)
@@ -50,7 +146,7 @@ Release Report - http://s.apache.org/l69
 * GORA-330 Import Gora Gradle plugin (drazzib)
 
 
-Apache Gora 0.6 Release - 12/02/2015 (dd/mm/)
+# Apache Gora 0.6 Release - 12/02/2015 (dd/mm/)
 Release Report - http://s.apache.org/gora-0.6
 
 * GORA-406 Upgrade Solr dependencies to 4.10.3 (lewismc)
@@ -77,7 +173,7 @@ Release Report - http://s.apache.org/gora-0.6
 
 * GORA-372: Fixed runtime error with the slf4j-api version conflict. 
(Viacheslav Dobromyslov (dobromyslov) via hsaputra)
 
-Apache Gora 0.5 Release - 15/09/14
+# Apache Gora 0.5 Release - 15/09/14
 Release Report - http://s.apache.org/0.5report
 
 * GORA-369 Obtain consistent formatting of all pom.xml's (lewismc)
@@ -128,7 +224,7 @@ Release Report - http://s.apache.org/0.5report
 
 * GORA-325 Add Gora 0.4 Javadoc to site (lewismc)
 
-Gora 0.4 release: (14/04/2014)
+# Gora 0.4 release: (14/04/2014)
 Release Report: http://s.apache.org/4lx
 
 * GORA-201 Upgrade HBase to 0.94.13 (various)
@@ -208,7 +304,7 @@ Release Report: http://s.apache.org/4lx
 
 * GORA-239 Add null checks and better message in AccumuloStore (David Medinets 
via hsaputra)
 
-0.3 release: 05/03/2013 (mm/dd/)
+# 0.3 release: 05/03/2013 (mm/dd/)
 Release Report: 
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311172&version=12317954Gora
 Change Log
 
 * GORA-191 Support multiple Avro Schemas within GoraCompiler (Udesh 
Liyanaarachchi, rmarroquin, lewismc) 
@@ -259,7 +355,7 @@ Release Report: 
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId
 
 * GORA-XX ensure directory cleanup succeeds in gora-* (Simone Tripodi via 
lewismc)
 
-0.2.1 release: 26/07/2012
+# 0.2.1 release: 26/07/2012
 Release Report: 
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311172&version=12322496
 
 * GORA-157 gora-cassandra test failure - proposal to skip 10 test cases for a 
while (kazk)
@@ -408,7 +504,7 @@ write operations. (lewismc)
 
 * GORA-31. jersey-json dependency not in repositories currently in 
ivysettings.xml (Marsall Pierce via hsaputra)
 
-0.1-incubating release:
+# 0.1-incubating release:
 
 *  INFRA-3038. Initial import of code.
 

http://git-wip-us.apache.org/repos/asf/gora/blob/442c7c2a/NOTICE.md
--
diff --git a/NOTICE.md b/NOTICE.md
index 1f9e7d2..6022056 100644
--- a/NOTICE.md
+++ b/NOTICE.md
@@ -1,5 +1,5 @@
 Apache Gora
-Copyright 2015 The Apache Software Foundation
+Copyright 2017 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).



[1/2] gora git commit: Change all .txt files to .md for improved readability

2017-03-16 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master d1347a5fd -> d5593751f


Change all .txt files to .md for improved readability


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

Branch: refs/heads/master
Commit: 0a7936017a5330a150ba422d493b59b1ffe3f6bf
Parents: 3f32321
Author: Lewis John McGibbney 
Authored: Thu Mar 16 18:01:56 2017 -0700
Committer: Lewis John McGibbney 
Committed: Thu Mar 16 18:01:56 2017 -0700

--
 .gitignore  |   1 +
 CHANGES.md  | 437 +++
 CHANGES.txt | 437 ---
 LICENSE.md  | 202 +
 LICENSE.txt | 202 -
 NOTICE.md   |   5 +
 NOTICE.txt  |   5 -
 7 files changed, 645 insertions(+), 644 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/0a793601/.gitignore
--
diff --git a/.gitignore b/.gitignore
index e2e94f3..8a5e41e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,4 +34,5 @@ ivy/ivy*.jar
 **/conf/*-site.xml
 **/dependency-reduced-pom.xml
 **/gora-solr/src/test/conf/solr/collection1/data/
+**/gora-solr-5/src/test/conf/solr/collection1/data/
 **/_rest_managed.json

http://git-wip-us.apache.org/repos/asf/gora/blob/0a793601/CHANGES.md
--
diff --git a/CHANGES.md b/CHANGES.md
new file mode 100644
index 000..df9f38c
--- /dev/null
+++ b/CHANGES.md
@@ -0,0 +1,437 @@
+ ===
+ ==CHANGES.txt
+ ===
+
+Current Development
+
+Release Report to go here
+
+Apache Gora 0.6.1 Release - 05/09/2015 (dd/mm/)
+Release Report - http://s.apache.org/l69
+
+* GORA-436 Improve Source Code as Java 7 Compatible (Furkan KAMACI via lewismc)
+
+* GORA-435 Clean Up Code and Fix Potential Bugs (Furkan KAMACI via lewismc)
+
+* GORA-433 Non-Final Public Static Fields Should Be Final (Furkan KAMACI via 
lewismc)
+
+* GORA-314 Implement TestDriver for AccumuloStoreTest e.g. TODO in class 
(lewismc)
+
+* GORA-417 Deploy Hadoop-1 compatible binaries for Apache Gora (lewismc)
+
+* GORA-432 Simplify if Statements (Furkan KAMACI via lewismc)
+
+* GORA-386 Gora Spark Backend Support (Furkan KAMACI, talat, lewismc)
+
+* GORA-429 Implement Maven forbidden-apis plugin in Gora (lewismc, rmarroquin)
+
+* GORA-228 java.util.ConcurrentModificationException when using MemStore for 
concurrent tests (Yasin Kılınç, cihad güzel, lewismc)
+
+* GORA-419: AccumuloStore.put deletes entire row when updating map/array field 
(gerhardgossen via lewismc)
+
+* GORA-420: AccumuloStore.createSchema fails when table already exists 
(gerhardgossen via lewismc)
+
+* GORA-427 Configure MongoDB ReadPreference and WriteConcern (drazzib)
+
+* GORA-426 MongoDB cursor timeout on long running parse job (Alexander 
Yastrebov via drazzib)
+
+* GORA-424 Cache cursor size to improve performance (Alexander Yastrebov via 
drazzib)
+
+* GORA-423 BSONDecorator returns empty string for null field value (Alexander 
Yastrebov via drazzib)
+
+* GORA-262 Add support for HTTPClient authentication in gora-solr (Furkan 
KAMACI via lewismc)
+
+* GORA-384 Provide documentation on Gora Shims layer (lewismc)
+
+* GORA-415 hadoop-client dependency should be optional in gora-core (hsaputra 
via lewismc)
+
+* GORA-410 Change logging behavior to pass exception object to LOG methods 
(Gerhard Gossen via lewismc)
+
+* GORA-330 Import Gora Gradle plugin (drazzib)
+
+
+Apache Gora 0.6 Release - 12/02/2015 (dd/mm/)
+Release Report - http://s.apache.org/gora-0.6
+
+* GORA-406 Upgrade Solr dependencies to 4.10.3 (lewismc)
+
+* GORA-407 Upgrade restlet dependencies to 2.3.1 for gora-solr (lewismc)
+
+* GORA-388 MongoStore: Fix handling of Utf8 in filters (drazzib)
+
+* GORA-375 Upgrade HBase to 0.98 (Talat UYARER via lewismc)
+
+* GORA-389 MongoStore: Document or List mapping change cause NPE in 
clearDirty() (drazzib)
+
+* GORA-390 Rework generated isXXXDirty methods. (drazzib)
+ 
+* GORA-381 Fix Guava dependency mismatch post GoraCI (lewismc)
+
+* GORA-374 Implement Rackspace Cloud Orchestration in GoraCI (lewismc)
+
+* GORA-371 Exception setXIncludeAware UnsupportedOperationException 
(Viacheslav Dobromyslov (dobromyslov) via lewismc)
+
+* GORA-378 Log error trace as well as error message in GoraRecordWriter 
(lewismc)
+
+* GORA-376 Gora Cassandra doesn't accept user credentials for connection (Viju 
Kothuvatiparambil via lewismc) 
+
+* GORA-372: Fixed runtime error with the slf4j-api version 

[2/2] gora git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/gora

2017-03-16 Thread lewismc
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/gora


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

Branch: refs/heads/master
Commit: d5593751fc8d05e502c15714d77ecd9310c834c8
Parents: 0a79360 d1347a5
Author: Lewis John McGibbney 
Authored: Thu Mar 16 18:02:26 2017 -0700
Committer: Lewis John McGibbney 
Committed: Thu Mar 16 18:02:26 2017 -0700

--
 gora-mongodb/pom.xml|  4 +--
 .../PLAIN_AuthenticationTest.java   |  2 +-
 .../SCRAM_SHA_1_AuthenticationTest.java |  2 +-
 .../gora/mongodb/store/TestMongoStore34.java| 31 
 4 files changed, 35 insertions(+), 4 deletions(-)
--




[1/2] gora git commit: GORA-506 Reduce time taken for TestHBaseStore

2017-03-13 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master aa01be9ce -> 3f3232112


GORA-506 Reduce time taken for TestHBaseStore


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

Branch: refs/heads/master
Commit: 2caa0ea3db494c6bb0e74d1f1fc8b8c86ddb5cf0
Parents: 560704c
Author: Kiyonari Harigae 
Authored: Mon Mar 6 19:27:51 2017 +0900
Committer: Kiyonari Harigae 
Committed: Mon Mar 6 19:44:41 2017 +0900

--
 .../java/org/apache/gora/hbase/util/HBaseClusterSingleton.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/2caa0ea3/gora-hbase/src/test/java/org/apache/gora/hbase/util/HBaseClusterSingleton.java
--
diff --git 
a/gora-hbase/src/test/java/org/apache/gora/hbase/util/HBaseClusterSingleton.java
 
b/gora-hbase/src/test/java/org/apache/gora/hbase/util/HBaseClusterSingleton.java
index 4110645..f31df2d 100644
--- 
a/gora-hbase/src/test/java/org/apache/gora/hbase/util/HBaseClusterSingleton.java
+++ 
b/gora-hbase/src/test/java/org/apache/gora/hbase/util/HBaseClusterSingleton.java
@@ -165,7 +165,7 @@ public final class HBaseClusterSingleton {
   public void truncateAllTables() throws Exception {
 HBaseAdmin admin = htu.getHBaseAdmin();
 for(HTableDescriptor table:admin.listTables()) {
-  HTable hTable = htu.truncateTable(table.getName());
+  HTable hTable = htu.deleteTableData(table.getName());
   hTable.close();
 }
   }



[2/2] gora git commit: Merge branch 'GORA-506' of https://github.com/cloudysunny14/gora

2017-03-13 Thread lewismc
Merge branch 'GORA-506' of https://github.com/cloudysunny14/gora


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

Branch: refs/heads/master
Commit: 3f3232112edb829647ae489bed664e585d0b7d5e
Parents: aa01be9 2caa0ea
Author: Lewis John McGibbney 
Authored: Mon Mar 13 18:27:50 2017 -0700
Committer: Lewis John McGibbney 
Committed: Mon Mar 13 18:27:50 2017 -0700

--
 .../java/org/apache/gora/hbase/util/HBaseClusterSingleton.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--




[1/2] gora git commit: Fixed issue GORA-472

2017-02-23 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 9a253e365 -> aa01be9ce


Fixed issue GORA-472


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

Branch: refs/heads/master
Commit: 76c86b960ea4e4d40e49b9c48fe865ca8e826e8e
Parents: 560704c
Author: Kiyonari Harigae 
Authored: Thu Feb 16 23:28:32 2017 +0900
Committer: Kiyonari Harigae 
Committed: Thu Feb 16 23:28:32 2017 +0900

--
 .../src/main/java/org/apache/gora/hbase/store/HBaseStore.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/76c86b96/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
--
diff --git 
a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java 
b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
index 7d9f527..b18787c 100644
--- a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
+++ b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
@@ -278,7 +278,7 @@ implements Configurable {
   delete.addFamily(hcol.getFamily());
 } else {
 //  delete.deleteColumn(hcol.getFamily(), qualifier);
-  delete.addColumn(hcol.getFamily(), qualifier);
+  delete.addColumns(hcol.getFamily(), qualifier);
 }
   } else {
 //int index = GenericData.get().resolveUnion(schema, o);
@@ -301,7 +301,7 @@ implements Configurable {
 delete.addFamily(hcol.getFamily());
   } else {
 //delete.deleteColumn(hcol.getFamily(), qualifier);
-delete.addColumn(hcol.getFamily(), qualifier);
+delete.addColumns(hcol.getFamily(), qualifier);
   }
   @SuppressWarnings({ "rawtypes", "unchecked" })
   Set set = ((Map) o).entrySet();
@@ -585,7 +585,7 @@ implements Configurable {
   delete.addFamily(col.family);
   break;
 default:
-  delete.addColumn(col.family, col.qualifier);
+  delete.addColumns(col.family, col.qualifier);
   break;
 }
   }



[2/2] gora git commit: Merge branch 'GORA-472' of https://github.com/cloudysunny14/gora into GORA-472

2017-02-23 Thread lewismc
Merge branch 'GORA-472' of https://github.com/cloudysunny14/gora into GORA-472


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

Branch: refs/heads/master
Commit: aa01be9cec54b9a83cf8ddb22a61395461ca0560
Parents: 9a253e3 76c86b9
Author: Lewis John McGibbney 
Authored: Thu Feb 23 08:49:58 2017 -0800
Committer: Lewis John McGibbney 
Committed: Thu Feb 23 08:49:58 2017 -0800

--
 .../src/main/java/org/apache/gora/hbase/store/HBaseStore.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/aa01be9c/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
--



[2/3] gora git commit: Fixed issue GORA-443

2017-02-23 Thread lewismc
Fixed issue GORA-443


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

Branch: refs/heads/master
Commit: b0cd1950c978181890213e1c85e437e44421405e
Parents: 5664dc6
Author: Kiyonari Harigae 
Authored: Wed Feb 22 18:53:14 2017 +0900
Committer: Kiyonari Harigae 
Committed: Wed Feb 22 18:53:14 2017 +0900

--
 .../main/java/org/apache/gora/hbase/store/HBaseStore.java | 10 --
 .../org/apache/gora/hbase/store/HBaseTableConnection.java |  5 +++--
 2 files changed, 11 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/b0cd1950/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
--
diff --git 
a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java 
b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
index 7d9f527..8176c91 100644
--- a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
+++ b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
@@ -88,6 +88,9 @@ implements Configurable {
 
   private static final String SCANNER_CACHING_PROPERTIES_KEY = 
"scanner.caching" ;
   private static final int SCANNER_CACHING_PROPERTIES_DEFAULT = 0 ;
+
+  private static final int PUTS_AND_DELETES_PUT_TS_OFFSET = 1;
+  private static final int PUTS_AND_DELETES_DELETE_TS_OFFSET = 2;
   
   private volatile Admin admin;
 
@@ -236,8 +239,11 @@ implements Configurable {
 try {
   Schema schema = persistent.getSchema();
   byte[] keyRaw = toBytes(key);
-  Put put = new Put(keyRaw);
-  Delete delete = new Delete(keyRaw);
+  long timeStamp = System.currentTimeMillis();
+  // Guarantee Put after Delete
+  Put put = new Put(keyRaw, timeStamp - PUTS_AND_DELETES_PUT_TS_OFFSET);
+  Delete delete = new Delete(keyRaw, timeStamp - 
PUTS_AND_DELETES_DELETE_TS_OFFSET);
+
   List fields = schema.getFields();
   for (int i = 0; i < fields.size(); i++) {
 if (!persistent.isDirty(i)) {

http://git-wip-us.apache.org/repos/asf/gora/blob/b0cd1950/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableConnection.java
--
diff --git 
a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableConnection.java
 
b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableConnection.java
index c3c7009..3901fd4 100644
--- 
a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableConnection.java
+++ 
b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableConnection.java
@@ -110,11 +110,12 @@ public class HBaseTableConnection {
   public void flushCommits() throws IOException {
 BufferedMutator bufMutator = connection.getBufferedMutator(this.tableName);
 for (ConcurrentLinkedQueue buffer : bPool) {
-  for (Mutation m: buffer) {
+  while (!buffer.isEmpty()) {
+Mutation m = buffer.poll();
 bufMutator.mutate(m);
-bufMutator.flush();
   }
 }
+bufMutator.flush();
 bufMutator.close();
   }
 



[1/3] gora git commit: Fixed issue GORA-443

2017-02-23 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master d1a12514f -> 9a253e365


Fixed issue GORA-443


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

Branch: refs/heads/master
Commit: 5664dc6791d97116f7613e9bb8407583b411b457
Parents: 560704c
Author: Kiyonari Harigae 
Authored: Thu Feb 16 23:24:40 2017 +0900
Committer: Kiyonari Harigae 
Committed: Thu Feb 16 23:24:40 2017 +0900

--
 .../java/org/apache/gora/store/DataStoreTestUtil.java  | 13 -
 .../apache/gora/hbase/store/HBaseTableConnection.java  |  2 +-
 2 files changed, 5 insertions(+), 10 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/5664dc67/gora-core/src/test/java/org/apache/gora/store/DataStoreTestUtil.java
--
diff --git 
a/gora-core/src/test/java/org/apache/gora/store/DataStoreTestUtil.java 
b/gora-core/src/test/java/org/apache/gora/store/DataStoreTestUtil.java
index 0b4fed4..30792cd 100644
--- a/gora-core/src/test/java/org/apache/gora/store/DataStoreTestUtil.java
+++ b/gora-core/src/test/java/org/apache/gora/store/DataStoreTestUtil.java
@@ -1039,11 +1039,9 @@ public class DataStoreTestUtil {
 
 assertNumResults(store.newQuery(), URLS.length);
 store.deleteByQuery(query);
-store.deleteByQuery(query);
-store.deleteByQuery(query);//don't you love that HBase sometimes does not 
delete arbitrarily
-
+
 store.flush();
-
+
 assertNumResults(store.newQuery(), URLS.length);
 
 //assert that data is deleted
@@ -1076,16 +1074,13 @@ public class DataStoreTestUtil {
 
 assertNumResults(store.newQuery(), URLS.length);
 store.deleteByQuery(query);
-store.deleteByQuery(query);
-store.deleteByQuery(query);//don't you love that HBase sometimes does not 
delete arbitrarily
-
-assertNumResults(store.newQuery(), URLS.length);
 
+store.flush();
 
+assertNumResults(store.newQuery(), URLS.length);
 
 //assert that data is deleted
 for (int i = 0; i < URLS.length; i++) {
-  store.flush();
   WebPage page = store.get(URLS[i]);
   assertNotNull(page);
   if( URLS[i].compareTo(startKey) < 0 || URLS[i].compareTo(endKey) >= 0) {

http://git-wip-us.apache.org/repos/asf/gora/blob/5664dc67/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableConnection.java
--
diff --git 
a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableConnection.java
 
b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableConnection.java
index 9f5b7c4..c3c7009 100644
--- 
a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableConnection.java
+++ 
b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableConnection.java
@@ -112,9 +112,9 @@ public class HBaseTableConnection {
 for (ConcurrentLinkedQueue buffer : bPool) {
   for (Mutation m: buffer) {
 bufMutator.mutate(m);
+bufMutator.flush();
   }
 }
-bufMutator.flush();
 bufMutator.close();
   }
 



[3/3] gora git commit: Merge branch 'GORA-443-fixed-issue-mutation' of https://github.com/cloudysunny14/gora into GORA-443

2017-02-23 Thread lewismc
Merge branch 'GORA-443-fixed-issue-mutation' of 
https://github.com/cloudysunny14/gora into GORA-443


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

Branch: refs/heads/master
Commit: 9a253e365d2d38b78e18c848627f0aab6f708a6f
Parents: d1a1251 b0cd195
Author: Lewis John McGibbney 
Authored: Thu Feb 23 08:18:58 2017 -0800
Committer: Lewis John McGibbney 
Committed: Thu Feb 23 08:18:58 2017 -0800

--
 .../java/org/apache/gora/store/DataStoreTestUtil.java  | 13 -
 .../java/org/apache/gora/hbase/store/HBaseStore.java   | 10 --
 .../apache/gora/hbase/store/HBaseTableConnection.java  |  3 ++-
 3 files changed, 14 insertions(+), 12 deletions(-)
--




gora git commit: GORA-505 Testcontainers is moved to test scope

2017-02-23 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 4bbf52ee7 -> d1a12514f


GORA-505 Testcontainers is moved to test scope


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

Branch: refs/heads/master
Commit: d1a12514f1b9a710368877dc7592fc0769a6abda
Parents: 4bbf52e
Author: cihad guzel 
Authored: Thu Feb 23 14:34:22 2017 +0300
Committer: cihad guzel 
Committed: Thu Feb 23 14:34:22 2017 +0300

--
 gora-couchdb/pom.xml | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/d1a12514/gora-couchdb/pom.xml
--
diff --git a/gora-couchdb/pom.xml b/gora-couchdb/pom.xml
index 15e29b7..8ad7786 100644
--- a/gora-couchdb/pom.xml
+++ b/gora-couchdb/pom.xml
@@ -218,6 +218,7 @@
   org.testcontainers
   testcontainers
   1.1.0
+  test
 
 
 



[4/4] gora git commit: Merge branch 'master' of https://github.com/vaibhavthapliyal/gora

2017-02-22 Thread lewismc
Merge branch 'master' of https://github.com/vaibhavthapliyal/gora

# Conflicts:
#   
gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java


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

Branch: refs/heads/master
Commit: 4bbf52ee709aefebc47adc54fea908d1b2fe576c
Parents: 1d38afc ce945da
Author: Vaibhav Thapliyal 
Authored: Sat Feb 18 13:34:05 2017 +0530
Committer: Vaibhav Thapliyal 
Committed: Sat Feb 18 13:34:05 2017 +0530

--
 .../gora/accumulo/store/AccumuloStore.java  | 2086 +-
 1 file changed, 1044 insertions(+), 1042 deletions(-)
--




[1/4] gora git commit: Switched Accumulo Dependency to 1.7.1 and ported AccumuloStore Class to work with accumulo 1.7.1

2017-02-22 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 560704c3a -> 4bbf52ee7


Switched Accumulo Dependency to 1.7.1 and ported AccumuloStore Class to
work with accumulo 1.7.1

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

Branch: refs/heads/master
Commit: ce945da33c42463567c40a2d35fc34a0e23618d6
Parents: 560704c
Author: Vaibhav Thapliyal 
Authored: Fri Feb 17 11:39:15 2017 +0530
Committer: vaibhavthapliyal 
Committed: Fri Feb 17 11:39:15 2017 +0530

--
 gora-accumulo/pom.xml   |2 +-
 .../gora/accumulo/store/AccumuloStore.java  | 1886 +-
 2 files changed, 956 insertions(+), 932 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/ce945da3/gora-accumulo/pom.xml
--
diff --git a/gora-accumulo/pom.xml b/gora-accumulo/pom.xml
index bc131fa..e13f7a7 100644
--- a/gora-accumulo/pom.xml
+++ b/gora-accumulo/pom.xml
@@ -50,7 +50,7 @@
   
 
   
-1.6.4
+1.7.1
 *
 
org.apache.gora.accumulo*;version="${project.version}";-noimport:=true
   

http://git-wip-us.apache.org/repos/asf/gora/blob/ce945da3/gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java
--
diff --git 
a/gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java 
b/gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java
index a68cdaa..a4cddce 100644
--- 
a/gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java
+++ 
b/gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java
@@ -50,25 +50,27 @@ import org.apache.accumulo.core.client.TableExistsException;
 import org.apache.accumulo.core.client.TableNotFoundException;
 import org.apache.accumulo.core.client.TableOfflineException;
 import org.apache.accumulo.core.client.ZooKeeperInstance;
+import org.apache.accumulo.core.client.impl.ClientContext;
 import org.apache.accumulo.core.client.impl.Tables;
 import org.apache.accumulo.core.client.impl.TabletLocator;
 import org.apache.accumulo.core.client.mock.MockConnector;
 import org.apache.accumulo.core.client.mock.MockInstance;
-import org.apache.accumulo.core.client.mock.MockTabletLocator;
+import org.apache.accumulo.core.client.mock.impl.MockTabletLocator;
 import org.apache.accumulo.core.client.security.tokens.AuthenticationToken;
 import org.apache.accumulo.core.client.security.tokens.PasswordToken;
+import org.apache.accumulo.core.conf.AccumuloConfiguration;
 import org.apache.accumulo.core.data.ByteSequence;
 import org.apache.accumulo.core.data.Key;
-import org.apache.accumulo.core.data.KeyExtent;
 import org.apache.accumulo.core.data.Mutation;
 import org.apache.accumulo.core.data.Range;
 import org.apache.accumulo.core.data.Value;
+import org.apache.accumulo.core.data.impl.KeyExtent;
 import org.apache.accumulo.core.iterators.SortedKeyIterator;
 import org.apache.accumulo.core.iterators.user.TimestampFilter;
 import org.apache.accumulo.core.master.state.tables.TableState;
 import org.apache.accumulo.core.security.Authorizations;
 import org.apache.accumulo.core.security.ColumnVisibility;
-import org.apache.accumulo.core.security.Credentials;
+import org.apache.accumulo.core.client.impl.Credentials;
 import org.apache.accumulo.core.util.Pair;
 import org.apache.accumulo.core.util.UtilWaitThread;
 import org.apache.avro.Schema;
@@ -108,933 +110,955 @@ import org.w3c.dom.NodeList;
 /**
  * Implementation of a Accumulo data store to be used by gora.
  *
- * @param  class to be used for the key
- * @param  class to be persisted within the store
+ * @param 
+ *class to be used for the key
+ * @param 
+ *class to be persisted within the store
  */
-public class AccumuloStore extends 
DataStoreBase {
-
-  protected static final String MOCK_PROPERTY = "accumulo.mock";
-  protected static final String INSTANCE_NAME_PROPERTY = "accumulo.instance";
-  protected static final String ZOOKEEPERS_NAME_PROPERTY = 
"accumulo.zookeepers";
-  protected static final String USERNAME_PROPERTY = "accumulo.user";
-  protected static final String PASSWORD_PROPERTY = "accumulo.password";
-  protected static final String DEFAULT_MAPPING_FILE = 
"gora-accumulo-mapping.xml";
-
-  private final static String UNKOWN = "Unknown type ";
-
-  private Connector conn;
-  private BatchWriter batchWriter;
-  private AccumuloMapping mapping;
-  private Credentials credentials;
-  private Encoder encoder;
-
-  public static final Logger LOG = 
LoggerFactory.getLogger(AccumuloStore.class);
-
-  public Object fromBy

[3/4] gora git commit: Merge branch 'master' of https://github.com/vaibhavthapliyal/gora

2017-02-22 Thread lewismc
http://git-wip-us.apache.org/repos/asf/gora/blob/4bbf52ee/gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java
--
diff --cc 
gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java
index c0cd026,a4cddce..bac354b
--- 
a/gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java
+++ 
b/gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java
@@@ -1,1042 -1,1064 +1,1044 @@@
--/**
-- * Licensed to the Apache Software Foundation (ASF) under one or more
-- * contributor license agreements.  See the NOTICE file distributed with
-- * this work for additional information regarding copyright ownership.
-- * The ASF licenses this file to You under the Apache License, Version 2.0
-- * (the "License"); you may not use this file except in compliance with
-- * the License.  You may obtain a copy of the License at
-- *
-- * http://www.apache.org/licenses/LICENSE-2.0
-- *
-- * Unless required by applicable law or agreed to in writing, software
-- * distributed under the License is distributed on an "AS IS" BASIS,
-- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- * See the License for the specific language governing permissions and
-- * limitations under the License.
-- */
--package org.apache.gora.accumulo.store;
--
--import java.io.ByteArrayOutputStream;
--import java.io.IOException;
--import java.net.InetAddress;
--import java.nio.ByteBuffer;
--import java.util.ArrayList;
--import java.util.Arrays;
--import java.util.Collections;
--import java.util.HashMap;
--import java.util.Iterator;
--import java.util.List;
--import java.util.Map;
--import java.util.Map.Entry;
--import java.util.Properties;
--import java.util.Set;
--import java.util.concurrent.TimeUnit;
--
--import javax.xml.parsers.DocumentBuilder;
--import javax.xml.parsers.DocumentBuilderFactory;
--
--import org.apache.accumulo.core.client.AccumuloException;
--import org.apache.accumulo.core.client.AccumuloSecurityException;
--import org.apache.accumulo.core.client.BatchWriter;
--import org.apache.accumulo.core.client.BatchWriterConfig;
--import org.apache.accumulo.core.client.Connector;
--import org.apache.accumulo.core.client.IsolatedScanner;
--import org.apache.accumulo.core.client.IteratorSetting;
--import org.apache.accumulo.core.client.MutationsRejectedException;
--import org.apache.accumulo.core.client.RowIterator;
--import org.apache.accumulo.core.client.Scanner;
--import org.apache.accumulo.core.client.TableDeletedException;
--import org.apache.accumulo.core.client.TableExistsException;
--import org.apache.accumulo.core.client.TableNotFoundException;
--import org.apache.accumulo.core.client.TableOfflineException;
--import org.apache.accumulo.core.client.ZooKeeperInstance;
 -import org.apache.accumulo.core.client.impl.ClientContext;
--import org.apache.accumulo.core.client.impl.Tables;
--import org.apache.accumulo.core.client.impl.TabletLocator;
--import org.apache.accumulo.core.client.mock.MockConnector;
--import org.apache.accumulo.core.client.mock.MockInstance;
--import org.apache.accumulo.core.client.mock.impl.MockTabletLocator;
--import org.apache.accumulo.core.client.security.tokens.AuthenticationToken;
--import org.apache.accumulo.core.client.security.tokens.PasswordToken;
--import org.apache.accumulo.core.conf.AccumuloConfiguration;
--import org.apache.accumulo.core.data.ByteSequence;
--import org.apache.accumulo.core.data.Key;
- import org.apache.accumulo.core.data.impl.KeyExtent;
--import org.apache.accumulo.core.data.Mutation;
--import org.apache.accumulo.core.data.Range;
--import org.apache.accumulo.core.data.Value;
 -import org.apache.accumulo.core.data.impl.KeyExtent;
--import org.apache.accumulo.core.iterators.SortedKeyIterator;
--import org.apache.accumulo.core.iterators.user.TimestampFilter;
--import org.apache.accumulo.core.master.state.tables.TableState;
--import org.apache.accumulo.core.security.Authorizations;
--import org.apache.accumulo.core.security.ColumnVisibility;
- import org.apache.accumulo.core.client.impl.ClientContext;
--import org.apache.accumulo.core.client.impl.Credentials;
--import org.apache.accumulo.core.util.Pair;
--import org.apache.accumulo.core.util.UtilWaitThread;
--import org.apache.avro.Schema;
--import org.apache.avro.Schema.Field;
--import org.apache.avro.Schema.Type;
--import org.apache.avro.generic.GenericData;
--import org.apache.avro.io.BinaryDecoder;
--import org.apache.avro.io.Decoder;
--import org.apache.avro.io.DecoderFactory;
--import org.apache.avro.io.EncoderFactory;
--import org.apache.avro.specific.SpecificDatumReader;
--import org.apache.avro.specific.SpecificDatumWriter;
--import org.apache.avro.util.Utf8;
--import org.apache.gora.accumulo.encoders.BinaryEncoder;
--import org.apache.gora.accumulo.encoders.Encoder;
--import org.apache.gora.accumulo.query.AccumuloQuery;
--import org.apache.gora.accumulo.query.Ac

[2/4] gora git commit: Switched Accumulo Dependency to 1.7.1 and ported AccumuloStore Class to work with 1.7.1

2017-02-22 Thread lewismc
Switched Accumulo Dependency to 1.7.1 and ported AccumuloStore Class to
work with 1.7.1 

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

Branch: refs/heads/master
Commit: 1d38afc472ba0fd0f67bdb555d1a790aa55ae60e
Parents: 560704c
Author: Vaibhav Thapliyal 
Authored: Sat Feb 18 13:26:17 2017 +0530
Committer: Vaibhav Thapliyal 
Committed: Sat Feb 18 13:26:17 2017 +0530

--
 gora-accumulo/pom.xml   |  2 +-
 .../org/apache/gora/accumulo/store/AccumuloStore.java   | 12 +++-
 2 files changed, 8 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/1d38afc4/gora-accumulo/pom.xml
--
diff --git a/gora-accumulo/pom.xml b/gora-accumulo/pom.xml
index bc131fa..e13f7a7 100644
--- a/gora-accumulo/pom.xml
+++ b/gora-accumulo/pom.xml
@@ -50,7 +50,7 @@
   
 
   
-1.6.4
+1.7.1
 *
 
org.apache.gora.accumulo*;version="${project.version}";-noimport:=true
   

http://git-wip-us.apache.org/repos/asf/gora/blob/1d38afc4/gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java
--
diff --git 
a/gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java 
b/gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java
index a68cdaa..c0cd026 100644
--- 
a/gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java
+++ 
b/gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java
@@ -54,12 +54,13 @@ import org.apache.accumulo.core.client.impl.Tables;
 import org.apache.accumulo.core.client.impl.TabletLocator;
 import org.apache.accumulo.core.client.mock.MockConnector;
 import org.apache.accumulo.core.client.mock.MockInstance;
-import org.apache.accumulo.core.client.mock.MockTabletLocator;
+import org.apache.accumulo.core.client.mock.impl.MockTabletLocator;
 import org.apache.accumulo.core.client.security.tokens.AuthenticationToken;
 import org.apache.accumulo.core.client.security.tokens.PasswordToken;
+import org.apache.accumulo.core.conf.AccumuloConfiguration;
 import org.apache.accumulo.core.data.ByteSequence;
 import org.apache.accumulo.core.data.Key;
-import org.apache.accumulo.core.data.KeyExtent;
+import org.apache.accumulo.core.data.impl.KeyExtent;
 import org.apache.accumulo.core.data.Mutation;
 import org.apache.accumulo.core.data.Range;
 import org.apache.accumulo.core.data.Value;
@@ -68,7 +69,8 @@ import 
org.apache.accumulo.core.iterators.user.TimestampFilter;
 import org.apache.accumulo.core.master.state.tables.TableState;
 import org.apache.accumulo.core.security.Authorizations;
 import org.apache.accumulo.core.security.ColumnVisibility;
-import org.apache.accumulo.core.security.Credentials;
+import org.apache.accumulo.core.client.impl.ClientContext;
+import org.apache.accumulo.core.client.impl.Credentials;
 import org.apache.accumulo.core.util.Pair;
 import org.apache.accumulo.core.util.UtilWaitThread;
 import org.apache.avro.Schema;
@@ -895,12 +897,12 @@ public class AccumuloStore 
extends DataStoreBase>> binnedRanges = new HashMap<>();
 
   tl.invalidateCache();
-  while (tl.binRanges(credentials, 
Collections.singletonList(createRange(query)), binnedRanges).size() > 0) {
+  while (tl.binRanges(new ClientContext(conn.getInstance(), credentials, 
AccumuloConfiguration.getTableConfiguration(conn, 
Tables.getTableId(conn.getInstance(), mapping.tableName))), 
Collections.singletonList(createRange(query)), binnedRanges).size() > 0) {
 // TODO log?
 if (!Tables.exists(conn.getInstance(), 
Tables.getTableId(conn.getInstance(), mapping.tableName)))
   throw new 
TableDeletedException(Tables.getTableId(conn.getInstance(), mapping.tableName));



[2/5] gora git commit: Merge branch 'master' into GORA-443

2017-02-03 Thread lewismc
Merge branch 'master' into GORA-443


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

Branch: refs/heads/master
Commit: b125b800187be7304461b6ed25a4288c3c58cd05
Parents: 01856b5 bb1a1ac
Author: Renato Marroquin 
Authored: Wed Aug 31 13:28:39 2016 +0200
Committer: Renato Marroquin 
Committed: Wed Aug 31 13:28:39 2016 +0200

--
 .../gora/accumulo/encoders/package-info.java|  20 +
 .../org/apache/gora/accumulo/package-info.java  |  20 +
 .../gora/accumulo/query/AccumuloQuery.java  |  13 +-
 .../gora/accumulo/query/AccumuloResult.java |  15 +-
 .../gora/accumulo/query/package-info.java   |  21 +
 .../gora/accumulo/store/AccumuloMapping.java|  12 +
 .../gora/accumulo/store/AccumuloStore.java  |  24 +-
 .../gora/accumulo/store/package-info.java   |  20 +
 .../util/FixedByteArrayOutputStream.java|   3 +
 .../apache/gora/accumulo/util/package-info.java |  20 +
 .../gora/accumulo/store/package-info.java   |  21 +
 .../apache/gora/accumulo/util/package-info.java |  20 +
 .../org/apache/gora/cassandra/package-info.java |  20 +
 .../gora/cassandra/query/CassandraQuery.java|  36 +-
 .../gora/cassandra/query/CassandraResult.java   |  27 +-
 .../gora/cassandra/query/package-info.java  |  21 +
 .../cassandra/serializers/package-info.java |  20 +
 .../gora/cassandra/store/CassandraClient.java   |  11 +-
 .../gora/cassandra/store/CassandraMapping.java  |   3 +
 .../store/CassandraMappingManager.java  |   3 +
 .../gora/cassandra/store/package-info.java  |  20 +
 .../org/apache/gora/cassandra/package-info.java |  21 +
 .../gora/cassandra/store/package-info.java  |  21 +
 .../org/apache/gora/compiler/GoraCompiler.java  |   3 +-
 .../gora/examples/generated/package-info.java   |  20 +
 .../gora/examples/mapreduce/package-info.java   |  20 +
 .../org/apache/gora/examples/package-info.java  |  21 +
 .../gora/examples/spark/package-info.java   |  20 +
 .../gora/avro/mapreduce/package-info.java   |  20 +
 .../java/org/apache/gora/avro/package-info.java |  21 +
 .../apache/gora/avro/query/package-info.java|  21 +
 .../apache/gora/avro/store/package-info.java|  21 +
 .../org/apache/gora/filter/package-info.java|  22 +
 .../org/apache/gora/mapreduce/package-info.java |  20 +
 .../apache/gora/memory/store/package-info.java  |  20 +
 .../main/java/org/apache/gora/package-info.java |  24 +
 .../gora/persistency/impl/package-info.java |  20 +
 .../apache/gora/persistency/package-info.java   |  20 +
 .../persistency/ws/impl/PersistentWSBase.java   |   2 +-
 .../gora/persistency/ws/impl/package-info.java  |  21 +
 .../apache/gora/query/impl/package-info.java|  20 +
 .../org/apache/gora/query/package-info.java |  20 +
 .../apache/gora/query/ws/impl/package-info.java |  20 +
 .../org/apache/gora/spark/package-info.java |  20 +
 .../apache/gora/store/impl/package-info.java|  21 +
 .../org/apache/gora/store/package-info.java |  20 +
 .../apache/gora/store/ws/impl/package-info.java |  20 +
 .../java/org/apache/gora/util/package-info.java |  20 +
 .../java/org/apache/gora/GoraTestDriver.java|   9 +-
 .../gora/avro/mapreduce/package-info.java   |  20 +
 .../apache/gora/avro/store/package-info.java|  20 +
 .../org/apache/gora/examples/package-info.java  |  20 +
 .../org/apache/gora/filter/package-info.java|  20 +
 .../org/apache/gora/mapreduce/package-info.java |  20 +
 .../apache/gora/memory/store/package-info.java  |  20 +
 .../java/org/apache/gora/mock/package-info.java |  20 +
 .../test/java/org/apache/gora/package-info.java |  22 +
 .../gora/persistency/impl/package-info.java |  20 +
 .../apache/gora/query/impl/package-info.java|  20 +
 .../org/apache/gora/store/package-info.java |  22 +
 .../java/org/apache/gora/util/TestIOUtils.java  |  12 +-
 .../java/org/apache/gora/util/package-info.java |  20 +
 gora-couchdb/pom.xml| 235 +++
 .../org/apache/gora/couchdb/package-info.java   |  20 +
 .../apache/gora/couchdb/query/CouchDBQuery.java |  43 ++
 .../gora/couchdb/query/CouchDBResult.java   |  90 +++
 .../apache/gora/couchdb/query/package-info.java |  21 +
 .../gora/couchdb/store/CouchDBMapping.java  |  56 ++
 .../couchdb/store/CouchDBMappingBuilder.java| 106 
 .../gora/couchdb/store/CouchDBParameters.java   |  82 +++
 .../apache/gora/couchdb/store/CouchDBStore.java | 628 +++
 .../apache/gora/couchdb/store/package-info.java |  20 +
 .../util/CouchDBObjectMapperFactory.java|  71 +++
 .../apache/gora/couchdb/util/package-info.java  |  20 +
 .../src/test/conf/gora-couchdb-mapping.xml  |  47 ++
 gora-couchdb/src/test/conf/gora.properties  |  19 +
 .../gora/couchdb/

[4/5] gora git commit: Updates to GORA-443 issue

2017-02-03 Thread lewismc
Updates to GORA-443 issue


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

Branch: refs/heads/master
Commit: f5503ef369f2193f6395e72cc1875a94c04b33a3
Parents: 163d91b
Author: Lewis John McGibbney 
Authored: Wed Sep 14 18:28:50 2016 -0700
Committer: Lewis John McGibbney 
Committed: Wed Sep 14 18:28:50 2016 -0700

--
 README.md   |  7 +++
 gora-couchdb/pom.xml|  8 ---
 .../org/apache/gora/hbase/store/HBaseStore.java | 34 +
 .../gora/hbase/store/HBaseTableConnection.java  | 52 ++--
 .../apache/gora/hbase/store/TestHBaseStore.java |  2 +-
 pom.xml |  4 +-
 6 files changed, 49 insertions(+), 58 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/f5503ef3/README.md
--
diff --git a/README.md b/README.md
index e9021b3..4171456 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,13 @@
 #Apache Gora Project
 
 http://gora.apache.org/resources/img/powered-by-gora.png"; 
align="right" width="300" />
+
+[![license](https://img.shields.io/github/license/apache/gora.svg?maxAge=2592000?style=plastic)](http://www.apache.org/licenses/LICENSE-2.0)
+[![Jenkins](https://img.shields.io/jenkins/s/https/builds.apache.org/gora-trunk.svg?maxAge=2592000?style=plastic)](https://builds.apache.org/job/gora-trunk/)
+[![Jenkins 
tests](https://img.shields.io/jenkins/t/https/builds.apache.org/gora-trunk.svg?maxAge=2592000?style=plastic)](https://builds.apache.org/job/gora-trunk)
+[![Maven 
Central](https://img.shields.io/maven-central/v/org.apache.gora/gora.svg?maxAge=2592000?style=plastic)](http://search.maven.org/#search|ga|1|g%3A%22org.apache.gora%22)
+[![SonarQube Tech 
Debt](https://img.shields.io/sonar/http/analysis.apache.org/org.apache.gora:gora/tech_debt.svg?maxAge=2592000?style=plastic)](https://analysis.apache.org/dashboard/index/76356)
+[![Twitter 
URL](https://img.shields.io/twitter/url/http/apachegora.svg?style=social&maxAge=2592000?style=plastic)](https://twitter.com/apachegora)
  
 The Apache Gora open source framework provides an in-memory data model 
 and persistence for big data. Gora supports persisting to column stores, 

http://git-wip-us.apache.org/repos/asf/gora/blob/f5503ef3/gora-couchdb/pom.xml
--
diff --git a/gora-couchdb/pom.xml b/gora-couchdb/pom.xml
index ab050cc..6f991e0 100644
--- a/gora-couchdb/pom.xml
+++ b/gora-couchdb/pom.xml
@@ -139,14 +139,6 @@
   test
 
 
-
-
-  org.apache.gora
-  gora-core
-  test-jar
-  test
-
-
 
 
 

http://git-wip-us.apache.org/repos/asf/gora/blob/f5503ef3/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
--
diff --git 
a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java 
b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
index 65c07d9..7d9f527 100644
--- a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
+++ b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
@@ -57,7 +57,14 @@ import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.HBaseConfiguration;
 import org.apache.hadoop.hbase.HConstants;
 import org.apache.hadoop.hbase.HTableDescriptor;
-import org.apache.hadoop.hbase.client.*;
+import org.apache.hadoop.hbase.client.Admin;
+import org.apache.hadoop.hbase.client.ConnectionFactory;
+import org.apache.hadoop.hbase.client.Delete;
+import org.apache.hadoop.hbase.client.Get;
+import org.apache.hadoop.hbase.client.Put;
+import org.apache.hadoop.hbase.client.Result;
+import org.apache.hadoop.hbase.client.ResultScanner;
+import org.apache.hadoop.hbase.client.Scan;
 import org.apache.hadoop.hbase.util.Bytes;
 import org.apache.hadoop.hbase.util.Pair;
 import org.jdom.Document;
@@ -133,7 +140,7 @@ implements Configurable {
   SCANNER_CACHING_PROPERTIES_KEY,
   String.valueOf(SCANNER_CACHING_PROPERTIES_DEFAULT ;
 }catch(Exception e){
-  LOG.error("Can not load " + SCANNER_CACHING_PROPERTIES_KEY + " from 
gora.properties. Setting to default value: " + 
SCANNER_CACHING_PROPERTIES_DEFAULT, e) ;
+  LOG.error("Can not load {} from gora.properties. Setting to default 
value: {}.", SCANNER_CACHING_PROPERTIES_KEY, 
SCANNER_CACHING_PROPERTIES_DEFAULT);
   this.setScannerCaching(SCANNER_CACHING_PROPERTIES_DEFAULT) ; // Default 
value if something is wrong
 }
 
@@ -146,6 +153,7 @@ implements Configurable {

[1/5] gora git commit: GORA-443

2017-02-03 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master c36a2c38b -> 560704c3a


GORA-443


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

Branch: refs/heads/master
Commit: 01856b565be8b6e890130dedc3bed89f63c96daa
Parents: 4192c87
Author: Renato Marroquin 
Authored: Wed Aug 31 13:26:51 2016 +0200
Committer: Renato Marroquin 
Committed: Wed Aug 31 13:26:51 2016 +0200

--
 .../apache/gora/store/DataStoreTestUtil.java|   5 +-
 .../org/apache/gora/hbase/store/HBaseStore.java |  47 ++-
 .../gora/hbase/store/HBaseTableConnection.java  | 351 ++-
 gora-hbase/src/test/conf/hbase-site.xml |   4 +
 .../apache/gora/hbase/store/TestHBaseStore.java |  31 +-
 5 files changed, 148 insertions(+), 290 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/01856b56/gora-core/src/test/java/org/apache/gora/store/DataStoreTestUtil.java
--
diff --git 
a/gora-core/src/test/java/org/apache/gora/store/DataStoreTestUtil.java 
b/gora-core/src/test/java/org/apache/gora/store/DataStoreTestUtil.java
index 551b90a..0b4fed4 100644
--- a/gora-core/src/test/java/org/apache/gora/store/DataStoreTestUtil.java
+++ b/gora-core/src/test/java/org/apache/gora/store/DataStoreTestUtil.java
@@ -1079,12 +1079,13 @@ public class DataStoreTestUtil {
 store.deleteByQuery(query);
 store.deleteByQuery(query);//don't you love that HBase sometimes does not 
delete arbitrarily
 
-store.flush();
-
 assertNumResults(store.newQuery(), URLS.length);
 
+
+
 //assert that data is deleted
 for (int i = 0; i < URLS.length; i++) {
+  store.flush();
   WebPage page = store.get(URLS[i]);
   assertNotNull(page);
   if( URLS[i].compareTo(startKey) < 0 || URLS[i].compareTo(endKey) >= 0) {

http://git-wip-us.apache.org/repos/asf/gora/blob/01856b56/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
--
diff --git 
a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java 
b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
index 00fe60b..51f33d0 100644
--- a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
+++ b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
@@ -57,13 +57,7 @@ import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.HBaseConfiguration;
 import org.apache.hadoop.hbase.HConstants;
 import org.apache.hadoop.hbase.HTableDescriptor;
-import org.apache.hadoop.hbase.client.Delete;
-import org.apache.hadoop.hbase.client.Get;
-import org.apache.hadoop.hbase.client.HBaseAdmin;
-import org.apache.hadoop.hbase.client.Put;
-import org.apache.hadoop.hbase.client.Result;
-import org.apache.hadoop.hbase.client.ResultScanner;
-import org.apache.hadoop.hbase.client.Scan;
+import org.apache.hadoop.hbase.client.*;
 import org.apache.hadoop.hbase.util.Bytes;
 import org.apache.hadoop.hbase.util.Pair;
 import org.jdom.Document;
@@ -88,7 +82,7 @@ implements Configurable {
   private static final String SCANNER_CACHING_PROPERTIES_KEY = 
"scanner.caching" ;
   private static final int SCANNER_CACHING_PROPERTIES_DEFAULT = 0 ;
   
-  private volatile HBaseAdmin admin;
+  private volatile Admin admin;
 
   private volatile HBaseTableConnection table;
 
@@ -110,10 +104,10 @@ implements Configurable {
   public void initialize(Class keyClass, Class persistentClass,
   Properties properties) {
 try {
-  
   super.initialize(keyClass, persistentClass, properties);
+
   this.conf = HBaseConfiguration.create(getConf());
-  admin = new HBaseAdmin(this.conf);
+  admin = ConnectionFactory.createConnection(getConf()).getAdmin();
   mapping = readMapping(getConf().get(PARSE_MAPPING_FILE_KEY, 
DEFAULT_MAPPING_FILE));
   filterUtil = new HBaseFilterUtil<>(this.conf);
 } catch (FileNotFoundException ex) {
@@ -175,8 +169,8 @@ implements Configurable {
   if(!schemaExists()) {
 return;
   }
-  admin.disableTable(getSchemaName());
-  admin.deleteTable(getSchemaName());
+  admin.disableTable(mapping.getTable().getTableName());
+  admin.deleteTable(mapping.getTable().getTableName());
 } catch(IOException ex2){
   LOG.error(ex2.getMessage(), ex2);
 }
@@ -185,7 +179,7 @@ implements Configurable {
   @Override
   public boolean schemaExists() {
 try{
-  return admin.tableExists(mapping.getTableName());
+  return admin.tableExists(mapping.getTable().getTableName());
 } catch(IOException ex2){
   LOG.error(ex2.getMessage(), ex2);
   return fal

[5/5] gora git commit: Merge GORA-443 from lewismc

2017-02-03 Thread lewismc
Merge GORA-443 from lewismc


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

Branch: refs/heads/master
Commit: 560704c3afeb76408367fbd37087e814f9a0e7fa
Parents: c36a2c3 f5503ef
Author: Lewis John McGibbney 
Authored: Fri Feb 3 12:25:19 2017 -0800
Committer: Lewis John McGibbney 
Committed: Fri Feb 3 12:25:19 2017 -0800

--
 README.md   |   7 +
 .../apache/gora/store/DataStoreTestUtil.java|   5 +-
 .../org/apache/gora/hbase/store/HBaseStore.java |  67 ++--
 .../gora/hbase/store/HBaseTableConnection.java  | 319 ---
 gora-hbase/src/test/conf/hbase-site.xml |   4 +
 .../apache/gora/hbase/store/TestHBaseStore.java |  33 +-
 pom.xml |   4 +-
 7 files changed, 148 insertions(+), 291 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/560704c3/pom.xml
--



[3/5] gora git commit: GORA-443

2017-02-03 Thread lewismc
GORA-443


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

Branch: refs/heads/master
Commit: 163d91bc284e5b5a53b9d314e9fd317964cef486
Parents: b125b80
Author: Renato Marroquin 
Authored: Wed Aug 31 13:33:13 2016 +0200
Committer: Renato Marroquin 
Committed: Wed Aug 31 13:33:13 2016 +0200

--
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/163d91bc/pom.xml
--
diff --git a/pom.xml b/pom.xml
index c39c7ce..062c7d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -685,8 +685,8 @@
 
 2.5.2
 2.5.2
-0.98.8-hadoop2
-0.98.8-hadoop2
+1.2.2
+1.2.2
 2.5.2
 
 1.10.55



[2/4] gora git commit: Upgrading mongodb java driver version

2017-02-03 Thread lewismc
Upgrading mongodb java driver version


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

Branch: refs/heads/master
Commit: 0380911fc29f2a229ee98e9d8639c748bcaca65a
Parents: 5846373
Author: madhawa 
Authored: Sun Dec 11 18:55:03 2016 +0530
Committer: madhawa 
Committed: Sun Dec 11 18:55:03 2016 +0530

--
 gora-mongodb/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/0380911f/gora-mongodb/pom.xml
--
diff --git a/gora-mongodb/pom.xml b/gora-mongodb/pom.xml
index f4b05ea..b3c348e 100644
--- a/gora-mongodb/pom.xml
+++ b/gora-mongodb/pom.xml
@@ -52,7 +52,7 @@
   
 *
 
org.apache.gora.mongodb*;version="${project.version}";-noimport:=true
-3.2.0
+3.4.0
 1.50.2
   
 



[4/4] gora git commit: Merge branch 'mongodb' of https://github.com/madhawa-gunasekara/gora

2017-02-03 Thread lewismc
Merge branch 'mongodb' of https://github.com/madhawa-gunasekara/gora


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

Branch: refs/heads/master
Commit: c36a2c38b370799bd48a0eb30b1cced4c11dde4b
Parents: f8706c9 84cde80
Author: Lewis John McGibbney 
Authored: Fri Feb 3 11:33:54 2017 -0800
Committer: Lewis John McGibbney 
Committed: Fri Feb 3 11:33:54 2017 -0800

--
 gora-mongodb/pom.xml|   2 +-
 .../apache/gora/mongodb/store/MongoStore.java   |  31 ++-
 .../mongodb/store/MongoStoreParameters.java |  20 +-
 .../GoraMongodbAuthenticationTestDriver.java| 234 +++
 .../PLAIN_AuthenticationTest.java   |  39 
 .../SCRAM_SHA_1_AuthenticationTest.java |  38 +++
 6 files changed, 360 insertions(+), 4 deletions(-)
--




[1/4] gora git commit: GORA-498 Adding mongodb authentications

2017-02-03 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master f8706c99c -> c36a2c38b


GORA-498 Adding mongodb authentications


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

Branch: refs/heads/master
Commit: 5846373ed25d32a37053853ae16265b7e560eeb1
Parents: 3796843
Author: madhawa 
Authored: Sun Dec 11 14:55:07 2016 +0530
Committer: madhawa 
Committed: Sun Dec 11 14:55:07 2016 +0530

--
 .../apache/gora/mongodb/store/MongoStore.java   | 24 ++--
 .../mongodb/store/MongoStoreParameters.java | 19 ++--
 2 files changed, 39 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/5846373e/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java
--
diff --git 
a/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java 
b/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java
index d4771df..183005b 100644
--- a/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java
+++ b/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java
@@ -17,6 +17,7 @@
  */
 package org.apache.gora.mongodb.store;
 
+import static com.mongodb.AuthenticationMechanism.*;
 import static org.apache.gora.mongodb.store.MongoMapping.DocumentFieldType;
 
 import java.io.IOException;
@@ -152,8 +153,8 @@ DataStoreBase {
 }
 // If configuration contains a login + secret, try to authenticated with DB
 List credentials = new ArrayList<>();
-if (params.getLogin() != null && params.getSecret() != null) {
-  credentials.add(MongoCredential.createCredential(params.getLogin(), 
params.getDbname(), params.getSecret().toCharArray()));
+if (params.getAuthenticationType() != null) {
+  credentials.add(createCredential(params.getAuthenticationType(), 
params.getLogin(), params.getDbname(), params.getSecret()));
 }
 // Build server address
 List addrs = new ArrayList<>();
@@ -179,6 +180,25 @@ DataStoreBase {
 return new MongoClient(addrs, credentials, optBuilder.build());
   }
 
+  private MongoCredential createCredential(String authenticationType, String 
username, String database, String password) {
+MongoCredential credential = null;
+if (authenticationType.equals(PLAIN.getMechanismName())) {
+  credential = MongoCredential.createPlainCredential(username, database, 
password.toCharArray());
+} else if (authenticationType.equals(SCRAM_SHA_1.getMechanismName())) {
+  credential = MongoCredential.createScramSha1Credential(username, 
database, password.toCharArray());
+} else if (authenticationType.equals(MONGODB_CR.getMechanismName())) {
+  credential = MongoCredential.createMongoCRCredential(username, database, 
password.toCharArray());
+} else if (authenticationType.equals(GSSAPI.getMechanismName())) {
+  credential = MongoCredential.createGSSAPICredential(username);
+} else if (authenticationType.equals(MONGODB_X509.getMechanismName())) {
+  credential = MongoCredential.createMongoX509Credential(username);
+} else {
+  LOG.error("Error while initializing MongoDB store: Invalid 
Authentication type.");
+  throw new RuntimeException("Error while initializing MongoDB store: 
Invalid Authentication type.");
+}
+return credential;
+  }
+
   /**
* Get reference to Mongo DB, using credentials if not null.
*/

http://git-wip-us.apache.org/repos/asf/gora/blob/5846373e/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStoreParameters.java
--
diff --git 
a/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStoreParameters.java
 
b/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStoreParameters.java
index 020dcf9..e69ec65 100644
--- 
a/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStoreParameters.java
+++ 
b/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStoreParameters.java
@@ -49,6 +49,12 @@ public class MongoStoreParameters {
*/
   public static final String PROP_MONGO_LOGIN = "gora.mongodb.login";
 
+
+  /**
+   * Property pointing to the authentication type to connect to the server
+   */
+  public static final String PROP_MONGO_AUTHENTICATION_TYPE = 
"gora.mongodb.authentication.type";
+
   /**
* Property pointing to the secret to connect to the server
*/
@@ -77,6 +83,7 @@ public class MongoStoreParameters {
 
   private final String mappingFile;
   private final String servers;
+  private final String authenticationType;
   private final String dbname;
   private fi

[3/4] gora git commit: Adding automation tests

2017-02-03 Thread lewismc
Adding automation tests


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

Branch: refs/heads/master
Commit: 84cde80693c5baf593b684c93bd6e8a650c2426f
Parents: 0380911
Author: madhawa 
Authored: Sun Jan 29 08:51:10 2017 +0530
Committer: madhawa 
Committed: Sun Jan 29 10:17:49 2017 +0530

--
 .../apache/gora/mongodb/store/MongoStore.java   |  25 +-
 .../mongodb/store/MongoStoreParameters.java |   1 +
 .../GoraMongodbAuthenticationTestDriver.java| 234 +++
 .../PLAIN_AuthenticationTest.java   |  39 
 .../SCRAM_SHA_1_AuthenticationTest.java |  38 +++
 5 files changed, 329 insertions(+), 8 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/84cde806/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java
--
diff --git 
a/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java 
b/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java
index 183005b..3b0d6a3 100644
--- a/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java
+++ b/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java
@@ -153,7 +153,7 @@ DataStoreBase {
 }
 // If configuration contains a login + secret, try to authenticated with DB
 List credentials = new ArrayList<>();
-if (params.getAuthenticationType() != null) {
+if (params.getLogin() != null && params.getSecret() != null) {
   credentials.add(createCredential(params.getAuthenticationType(), 
params.getLogin(), params.getDbname(), params.getSecret()));
 }
 // Build server address
@@ -180,21 +180,30 @@ DataStoreBase {
 return new MongoClient(addrs, credentials, optBuilder.build());
   }
 
+  /**
+   * This method creates credentials according to the Authentication type.
+   *
+   * @param authenticationType authentication Type (Authentication Mechanism)
+   * @param username   username
+   * @param database   database
+   * @param password   password
+   * @return Mongo Crendential
+   * @see http://api.mongodb.com/java/current/com/mongodb/AuthenticationMechanism.html";>AuthenticationMechanism
 in MongoDB Java Driver
+   */
   private MongoCredential createCredential(String authenticationType, String 
username, String database, String password) {
 MongoCredential credential = null;
-if (authenticationType.equals(PLAIN.getMechanismName())) {
+if (PLAIN.getMechanismName().equals(authenticationType)) {
   credential = MongoCredential.createPlainCredential(username, database, 
password.toCharArray());
-} else if (authenticationType.equals(SCRAM_SHA_1.getMechanismName())) {
+} else if (SCRAM_SHA_1.getMechanismName().equals(authenticationType)) {
   credential = MongoCredential.createScramSha1Credential(username, 
database, password.toCharArray());
-} else if (authenticationType.equals(MONGODB_CR.getMechanismName())) {
+} else if (MONGODB_CR.getMechanismName().equals(authenticationType)) {
   credential = MongoCredential.createMongoCRCredential(username, database, 
password.toCharArray());
-} else if (authenticationType.equals(GSSAPI.getMechanismName())) {
+} else if (GSSAPI.getMechanismName().equals(authenticationType)) {
   credential = MongoCredential.createGSSAPICredential(username);
-} else if (authenticationType.equals(MONGODB_X509.getMechanismName())) {
+} else if (MONGODB_X509.getMechanismName().equals(authenticationType)) {
   credential = MongoCredential.createMongoX509Credential(username);
 } else {
-  LOG.error("Error while initializing MongoDB store: Invalid 
Authentication type.");
-  throw new RuntimeException("Error while initializing MongoDB store: 
Invalid Authentication type.");
+  credential = MongoCredential.createCredential(username, database, 
password.toCharArray());
 }
 return credential;
   }

http://git-wip-us.apache.org/repos/asf/gora/blob/84cde806/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStoreParameters.java
--
diff --git 
a/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStoreParameters.java
 
b/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStoreParameters.java
index e69ec65..b278b89 100644
--- 
a/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStoreParameters.java
+++ 
b/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStoreParameters.java
@@ -52,6 +52,7 @@ public class MongoStoreParameters {
 
   /**
* Property pointing to the 

[2/2] gora git commit: Merge branch 'master' of https://github.com/lifove/gora

2017-01-30 Thread lewismc
Merge branch 'master' of https://github.com/lifove/gora


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

Branch: refs/heads/master
Commit: fbf5d58e78e89bf0a4e41c1406652ae7aa8a5f3d
Parents: fb7622f 33bab4a
Author: Lewis John McGibbney 
Authored: Mon Jan 30 10:03:02 2017 -0800
Committer: Lewis John McGibbney 
Committed: Mon Jan 30 10:03:02 2017 -0800

--
 .../java/org/apache/gora/cassandra/store/CassandraClient.java| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--




[1/2] gora git commit: GORA-499 Fix for a potential NPE

2017-01-30 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master fb7622fe7 -> fbf5d58e7


GORA-499 Fix for a potential NPE


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

Branch: refs/heads/master
Commit: 33bab4a3e4711028adc30766b0cc797dab4604ba
Parents: 1fe93b6
Author: JC 
Authored: Sat Jan 28 01:44:00 2017 -0500
Committer: JC 
Committed: Sat Jan 28 01:44:00 2017 -0500

--
 .../java/org/apache/gora/cassandra/store/CassandraClient.java| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/33bab4a3/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
--
diff --git 
a/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
 
b/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
index 46f86a6..1f9d614 100644
--- 
a/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
+++ 
b/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
@@ -208,10 +208,10 @@ public class CassandraClient 
{
   ccl.setReadCfConsistencyLevels(clmap);
   ccl.setWriteCfConsistencyLevels(clmap);
   // Operations consistency levels
-  String opConsisLvl = (readOpConsLvl!=null || 
!readOpConsLvl.isEmpty())?readOpConsLvl:DEFAULT_HECTOR_CONSIS_LEVEL;
+  String opConsisLvl = (readOpConsLvl!=null && 
!readOpConsLvl.isEmpty())?readOpConsLvl:DEFAULT_HECTOR_CONSIS_LEVEL;
   
ccl.setDefaultReadConsistencyLevel(HConsistencyLevel.valueOf(opConsisLvl));
   LOG.debug("Hector read consistency configured to '" + opConsisLvl + 
"'.");
-  opConsisLvl = (writeOpConsLvl!=null || 
!writeOpConsLvl.isEmpty())?writeOpConsLvl:DEFAULT_HECTOR_CONSIS_LEVEL;
+  opConsisLvl = (writeOpConsLvl!=null && 
!writeOpConsLvl.isEmpty())?writeOpConsLvl:DEFAULT_HECTOR_CONSIS_LEVEL;
   
ccl.setDefaultWriteConsistencyLevel(HConsistencyLevel.valueOf(opConsisLvl));
   LOG.debug("Hector write consistency configured to '" + opConsisLvl + 
"'.");
 



gora git commit: Remove duplicate gora-test dependency from gora-couchdb/pom.xml

2017-01-28 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 1fe93b6e0 -> fb7622fe7


Remove duplicate gora-test dependency from gora-couchdb/pom.xml


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

Branch: refs/heads/master
Commit: fb7622fe7c81623e80d6d13bc605a0e974b29190
Parents: 1fe93b6
Author: Lewis John McGibbney 
Authored: Sat Jan 28 00:24:33 2017 -0800
Committer: Lewis John McGibbney 
Committed: Sat Jan 28 00:24:33 2017 -0800

--
 gora-couchdb/pom.xml | 9 -
 1 file changed, 9 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/fb7622fe/gora-couchdb/pom.xml
--
diff --git a/gora-couchdb/pom.xml b/gora-couchdb/pom.xml
index ab050cc..15e29b7 100644
--- a/gora-couchdb/pom.xml
+++ b/gora-couchdb/pom.xml
@@ -138,15 +138,6 @@
   test-jar
   test
 
-
-
-
-  org.apache.gora
-  gora-core
-  test-jar
-  test
-
-
 
 
 



gora git commit: GORA-496 gora commands doesn't output results to console

2017-01-27 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 665863454 -> 1fe93b6e0


GORA-496 gora commands doesn't output results to console


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

Branch: refs/heads/master
Commit: 1fe93b6e00c706a862def239ccbbd0bc0821a017
Parents: 6658634
Author: Lewis John McGibbney 
Authored: Fri Jan 27 21:21:56 2017 -0800
Committer: Lewis John McGibbney 
Committed: Fri Jan 27 21:21:56 2017 -0800

--
 conf/log4j.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/1fe93b6e/conf/log4j.properties
--
diff --git a/conf/log4j.properties b/conf/log4j.properties
index 745d358..486c8e6 100644
--- a/conf/log4j.properties
+++ b/conf/log4j.properties
@@ -15,7 +15,7 @@
 
 # Define some default values that can be overridden by system properties
 # Logging Threshold
-gora.root.logger=INFO,DRFA
+gora.root.logger=INFO,DRFA,console
 gora.log.dir=.
 gora.log.file=gora.log
 log4j.threshhold=ALL



[2/2] gora git commit: Merge branch 'GORA-488' of https://github.com/cguzel/gora

2016-09-21 Thread lewismc
Merge branch 'GORA-488' of https://github.com/cguzel/gora


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

Branch: refs/heads/master
Commit: dd66172613c9450f7a3141ed87b288c59bd8f301
Parents: 882fac9 1339aad
Author: Lewis John McGibbney 
Authored: Wed Sep 21 08:55:01 2016 -0700
Committer: Lewis John McGibbney 
Committed: Wed Sep 21 08:55:01 2016 -0700

--
 .../gora/accumulo/GoraAccumuloTestDriver.java   |  8 +--
 .../gora/cassandra/GoraCassandraTestDriver.java |  6 +--
 .../java/org/apache/gora/GoraTestDriver.java| 52 +---
 .../gora/couchdb/GoraCouchDBTestDriver.java |  8 ++-
 .../gora/dynamodb/GoraDynamoDBTestDriver.java   |  5 +-
 .../apache/gora/hbase/GoraHBaseTestDriver.java  |  6 +--
 .../infinispan/GoraInfinispanTestDriver.java|  2 -
 .../gora/jcache/GoraHazelcastTestDriver.java|  6 +--
 .../gora/mongodb/GoraMongodbTestDriver.java |  9 ++--
 .../apache/gora/solr/GoraSolrTestDriver.java|  7 ---
 .../apache/gora/solr/GoraSolrTestDriver.java|  8 ---
 11 files changed, 57 insertions(+), 60 deletions(-)
--




[1/2] gora git commit: GORA-488 setProperties method contains no code. Removed unused code. Edited the releated test codes.

2016-09-21 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 882fac979 -> dd6617261


GORA-488 setProperties method contains no code. Removed unused code. Edited the 
releated test codes.


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

Branch: refs/heads/master
Commit: 1339aad4760ac9afb41a5e1f0eb42b71d0103e2b
Parents: bb1a1ac
Author: cihad guzel 
Authored: Mon Aug 29 00:38:23 2016 +0300
Committer: cihad guzel 
Committed: Wed Sep 21 16:58:52 2016 +0300

--
 .../gora/accumulo/GoraAccumuloTestDriver.java   |  8 +--
 .../gora/cassandra/GoraCassandraTestDriver.java |  6 +--
 .../java/org/apache/gora/GoraTestDriver.java| 52 +---
 .../gora/couchdb/GoraCouchDBTestDriver.java |  8 ++-
 .../gora/dynamodb/GoraDynamoDBTestDriver.java   |  5 +-
 .../apache/gora/hbase/GoraHBaseTestDriver.java  |  6 +--
 .../infinispan/GoraInfinispanTestDriver.java|  2 -
 .../gora/jcache/GoraHazelcastTestDriver.java|  6 +--
 .../gora/mongodb/GoraMongodbTestDriver.java |  9 ++--
 .../apache/gora/solr/GoraSolrTestDriver.java|  7 ---
 .../apache/gora/solr/GoraSolrTestDriver.java|  8 ---
 11 files changed, 57 insertions(+), 60 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/1339aad4/gora-accumulo/src/test/java/org/apache/gora/accumulo/GoraAccumuloTestDriver.java
--
diff --git 
a/gora-accumulo/src/test/java/org/apache/gora/accumulo/GoraAccumuloTestDriver.java
 
b/gora-accumulo/src/test/java/org/apache/gora/accumulo/GoraAccumuloTestDriver.java
index bd3b502..22dff6d 100644
--- 
a/gora-accumulo/src/test/java/org/apache/gora/accumulo/GoraAccumuloTestDriver.java
+++ 
b/gora-accumulo/src/test/java/org/apache/gora/accumulo/GoraAccumuloTestDriver.java
@@ -26,6 +26,8 @@ import org.junit.rules.TemporaryFolder;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+import java.io.IOException;
+
 /**
  * @author lmcgibbn
  *
@@ -44,8 +46,7 @@ public class GoraAccumuloTestDriver extends GoraTestDriver {
   }
 
   @Override
-  public void setUpClass() throws Exception {
-super.setUpClass();
+  public void setUpClass() throws IOException, InterruptedException {
 log.info("Starting Accumulo MiniAccumuloCluster...");
 try {
   tmpDir.create();
@@ -62,8 +63,7 @@ public class GoraAccumuloTestDriver extends GoraTestDriver {
   }
 
   @Override
-  public void tearDownClass() throws Exception {
-super.tearDownClass();
+  public void tearDownClass() throws IOException, InterruptedException {
 log.info("Shutting down Accumulo MiniAccumuloCluster...");
 if (cluster != null) {
   cluster.stop();

http://git-wip-us.apache.org/repos/asf/gora/blob/1339aad4/gora-cassandra/src/test/java/org/apache/gora/cassandra/GoraCassandraTestDriver.java
--
diff --git 
a/gora-cassandra/src/test/java/org/apache/gora/cassandra/GoraCassandraTestDriver.java
 
b/gora-cassandra/src/test/java/org/apache/gora/cassandra/GoraCassandraTestDriver.java
index ef9410e..0eb1619 100644
--- 
a/gora-cassandra/src/test/java/org/apache/gora/cassandra/GoraCassandraTestDriver.java
+++ 
b/gora-cassandra/src/test/java/org/apache/gora/cassandra/GoraCassandraTestDriver.java
@@ -72,8 +72,7 @@ public class GoraCassandraTestDriver extends GoraTestDriver {
*   if an error occurs
*/
   @Override
-  public void setUpClass() throws Exception {
-super.setUpClass();
+  public void setUpClass(){
 log.info("Starting embedded Cassandra Server...");
 try {
   cleanupDirectoriesFailover();
@@ -111,8 +110,7 @@ public class GoraCassandraTestDriver extends GoraTestDriver 
{
*   if an error occurs
*/
   @Override
-  public void tearDownClass() throws Exception {
-super.tearDownClass();
+  public void tearDownClass(){
 log.info("Shutting down Embedded Cassandra server...");
 if (cassandraThread != null) {
   cassandraDaemon.stop();

http://git-wip-us.apache.org/repos/asf/gora/blob/1339aad4/gora-core/src/test/java/org/apache/gora/GoraTestDriver.java
--
diff --git a/gora-core/src/test/java/org/apache/gora/GoraTestDriver.java 
b/gora-core/src/test/java/org/apache/gora/GoraTestDriver.java
index 5c2d071..11eabbc 100644
--- a/gora-core/src/test/java/org/apache/gora/GoraTestDriver.java
+++ b/gora-core/src/test/java/org/apache/gora/GoraTestDriver.java
@@ -35,7 +35,7 @@ import org.apache.hadoop.conf.Configuration;
  * or Cassandra cluster, local Hsqldb instance, etc) so that these 
  * details are abstracted away.
  */
-public class GoraTestDriver {
+public ab

gora git commit: GORA-494 Lack of synchronization accessing cacheManager in InfinispanClient#createSchema()

2016-09-16 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 854899e5d -> 882fac979


GORA-494 Lack of synchronization accessing cacheManager in 
InfinispanClient#createSchema()


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

Branch: refs/heads/master
Commit: 882fac9790e64183999cf6d3714d12d0e73da351
Parents: 854899e
Author: Lewis John McGibbney 
Authored: Fri Sep 16 12:03:23 2016 -0700
Committer: Lewis John McGibbney 
Committed: Fri Sep 16 12:03:23 2016 -0700

--
 .../java/org/apache/gora/infinispan/store/InfinispanClient.java| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/882fac97/gora-infinispan/src/main/java/org/apache/gora/infinispan/store/InfinispanClient.java
--
diff --git 
a/gora-infinispan/src/main/java/org/apache/gora/infinispan/store/InfinispanClient.java
 
b/gora-infinispan/src/main/java/org/apache/gora/infinispan/store/InfinispanClient.java
index ab0a64b..335c85b 100644
--- 
a/gora-infinispan/src/main/java/org/apache/gora/infinispan/store/InfinispanClient.java
+++ 
b/gora-infinispan/src/main/java/org/apache/gora/infinispan/store/InfinispanClient.java
@@ -93,7 +93,7 @@ public class InfinispanClient 
implements Configurab
 return cacheExists;
   }
 
-  public void createSchema() {
+  public synchronized void createSchema() {
 try {
   Support.registerSchema(cacheManager, 
persistentClass.newInstance().getSchema());
 } catch (InstantiationException | IllegalAccessException e) {



gora git commit: GORA-493 Unclosed DataInputBuffer in IOUtils#deserialize()

2016-09-16 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master bb1a1ac01 -> 854899e5d


GORA-493 Unclosed DataInputBuffer in IOUtils#deserialize()


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

Branch: refs/heads/master
Commit: 854899e5db38fa14e7be56c1f850c35387d4df06
Parents: bb1a1ac
Author: Lewis John McGibbney 
Authored: Fri Sep 16 12:01:58 2016 -0700
Committer: Lewis John McGibbney 
Committed: Fri Sep 16 12:01:58 2016 -0700

--
 gora-core/src/main/java/org/apache/gora/util/IOUtils.java | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/854899e5/gora-core/src/main/java/org/apache/gora/util/IOUtils.java
--
diff --git a/gora-core/src/main/java/org/apache/gora/util/IOUtils.java 
b/gora-core/src/main/java/org/apache/gora/util/IOUtils.java
index 1e81e8d..2dd2467 100644
--- a/gora-core/src/main/java/org/apache/gora/util/IOUtils.java
+++ b/gora-core/src/main/java/org/apache/gora/util/IOUtils.java
@@ -248,9 +248,10 @@ public class IOUtils {
* @throws ClassNotFoundException */
   public static T deserialize(Configuration conf, byte[] in
   , T obj) throws IOException, ClassNotFoundException {
-DataInputBuffer buffer = new DataInputBuffer();
-buffer.reset(in, in.length);
-return deserialize(conf, buffer, obj);
+try (DataInputBuffer buffer = new DataInputBuffer()) {
+  buffer.reset(in, in.length);
+  return deserialize(conf, buffer, obj);
+}
   }
 
   /**



[2/2] gora git commit: Merge branch 'GORA-492' of https://github.com/cguzel/gora

2016-08-29 Thread lewismc
Merge branch 'GORA-492' of https://github.com/cguzel/gora


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

Branch: refs/heads/master
Commit: bb1a1ac01b09d51018beaafbec5aedd19375f498
Parents: 239b796 4bd9db0
Author: Lewis John McGibbney 
Authored: Mon Aug 29 16:45:17 2016 -0700
Committer: Lewis John McGibbney 
Committed: Mon Aug 29 16:45:17 2016 -0700

--
 .../org/apache/gora/dynamodb/compiler/GoraDynamoDBCompiler.java| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--




[1/2] gora git commit: GORA-492 javadoc:jar build problem fix

2016-08-29 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 239b7967b -> bb1a1ac01


GORA-492 javadoc:jar build problem fix


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

Branch: refs/heads/master
Commit: 4bd9db01a4ca5629d24216f4710fdb550f593335
Parents: b536271
Author: cihad guzel 
Authored: Tue Aug 30 02:26:28 2016 +0300
Committer: cihad guzel 
Committed: Tue Aug 30 02:26:28 2016 +0300

--
 .../org/apache/gora/dynamodb/compiler/GoraDynamoDBCompiler.java| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/4bd9db01/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/compiler/GoraDynamoDBCompiler.java
--
diff --git 
a/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/compiler/GoraDynamoDBCompiler.java
 
b/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/compiler/GoraDynamoDBCompiler.java
index 07e3447..0a51c94 100644
--- 
a/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/compiler/GoraDynamoDBCompiler.java
+++ 
b/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/compiler/GoraDynamoDBCompiler.java
@@ -46,7 +46,7 @@ import com.amazonaws.services.dynamodbv2.model.KeyType;
 
 /** 
  * Generate specific Java classes for defined schemas. 
- * Different from the {@link org.apache.gora.compiler.GoraCompiler}, 
+ * Different from the @see org.apache.gora.compiler.GoraCompiler,
  * which uses an .avsc or .json schema definition, this compiler 
  * expects an XML schema file as input.
  */



gora git commit: GORA-466 avro version upgrade to 1.8.1

2016-08-29 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master b53627198 -> 239b7967b


GORA-466 avro version upgrade to 1.8.1


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

Branch: refs/heads/master
Commit: 239b7967b32128df30f67ed862cbdbdceb861dfa
Parents: b536271
Author: cihad guzel 
Authored: Mon Aug 29 01:10:06 2016 +0300
Committer: cihad guzel 
Committed: Mon Aug 29 01:10:06 2016 +0300

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/239b7967/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 51dc5b9..c39c7ce 100644
--- a/pom.xml
+++ b/pom.xml
@@ -680,7 +680,7 @@
 
 4.2.0
 
-1.7.6
+1.8.1
 
 
 2.5.2



[1/2] gora git commit: GORA-469 cassandra javadoc error is fixed

2016-08-28 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master b0735a714 -> b53627198


GORA-469 cassandra javadoc error is fixed


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

Branch: refs/heads/master
Commit: 29bab2e2cdec2f9e2a06bade4c56d970eba99fff
Parents: 97c488e
Author: cihad guzel 
Authored: Sun Aug 28 15:49:27 2016 +0300
Committer: cihad guzel 
Committed: Sun Aug 28 15:49:27 2016 +0300

--
 .../org/apache/gora/cassandra/query/CassandraQuery.java  |  2 +-
 .../org/apache/gora/cassandra/store/CassandraClient.java | 11 ---
 2 files changed, 9 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/29bab2e2/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraQuery.java
--
diff --git 
a/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraQuery.java
 
b/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraQuery.java
index 1e8d101..73e7c54 100644
--- 
a/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraQuery.java
+++ 
b/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraQuery.java
@@ -96,7 +96,7 @@ public class CassandraQuery 
extends QueryBase
 
   /**
*
-   * @return set a {@link org.apache.gora.cassandra.query.CassandraQuery}
+   * @param query set a {@link org.apache.gora.cassandra.query.CassandraQuery}
*/
   public void setQuery(Query query) {
 this.query = query;

http://git-wip-us.apache.org/repos/asf/gora/blob/29bab2e2/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
--
diff --git 
a/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
 
b/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
index 353a7c3..46f86a6 100644
--- 
a/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
+++ 
b/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
@@ -92,10 +92,13 @@ public class CassandraClient {
   
   /** Cassandra serializer to be used for serializing Gora's keys. */
   private Serializer keySerializer;
-  
+
   /**
-   * Method to maintain backward compatibility with earlier versions. 
-  */
+   * Method to maintain backward compatibility with earlier versions.
+   * @param keyClass
+   * @param persistentClass
+   * @throws Exception
+   */
   public void initialize(Class keyClass, Class persistentClass)
 throws Exception {
initialize(keyClass, persistentClass, null);
@@ -156,6 +159,8 @@ public class CassandraClient {
 
   /**
* Check if keyspace already exists.
+   *
+   * @return if keyspace already exists return true.
*/
   public boolean keyspaceExists() {
 KeyspaceDefinition keyspaceDefinition = 
this.cluster.describeKeyspace(this.cassandraMapping.getKeyspaceName());



[2/2] gora git commit: Merge branch 'GORA-469' of https://github.com/cguzel/gora-couchdb

2016-08-28 Thread lewismc
Merge branch 'GORA-469' of https://github.com/cguzel/gora-couchdb


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

Branch: refs/heads/master
Commit: b53627198eb15d648090310033cb04aa90a2ad24
Parents: b0735a7 29bab2e
Author: Lewis John McGibbney 
Authored: Sun Aug 28 09:55:22 2016 -0700
Committer: Lewis John McGibbney 
Committed: Sun Aug 28 09:55:22 2016 -0700

--
 .../org/apache/gora/cassandra/query/CassandraQuery.java  |  2 +-
 .../org/apache/gora/cassandra/store/CassandraClient.java | 11 ---
 2 files changed, 9 insertions(+), 4 deletions(-)
--




[1/2] gora git commit: GORA-469 fixing java docs issues for GoraCompiler and DistributedLogManager

2016-08-28 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master ad7b3074a -> b0735a714


GORA-469 fixing java docs issues for GoraCompiler and DistributedLogManager


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

Branch: refs/heads/master
Commit: 3fb6c131056e0eda326f993596a9d6381ba0f3d8
Parents: e943b5a
Author: Kevin 
Authored: Sun Aug 28 17:21:38 2016 +0530
Committer: Kevin 
Committed: Sun Aug 28 17:21:38 2016 +0530

--
 .../main/java/org/apache/gora/compiler/GoraCompiler.java  |  3 ++-
 .../apache/gora/tutorial/log/DistributedLogManager.java   | 10 +-
 2 files changed, 7 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/3fb6c131/gora-compiler/src/main/java/org/apache/gora/compiler/GoraCompiler.java
--
diff --git 
a/gora-compiler/src/main/java/org/apache/gora/compiler/GoraCompiler.java 
b/gora-compiler/src/main/java/org/apache/gora/compiler/GoraCompiler.java
index 6e8707c..469bec2 100644
--- a/gora-compiler/src/main/java/org/apache/gora/compiler/GoraCompiler.java
+++ b/gora-compiler/src/main/java/org/apache/gora/compiler/GoraCompiler.java
@@ -275,9 +275,10 @@ public class GoraCompiler extends SpecificCompiler {
   }
 
   /**
-   * Utility method by velocity templates to generate serialVersionUID on AVRO 
beans.
+   * Utility method used by velocity templates to generate serialVersionUID on 
AVRO beans.
*
* @param schema Data bean AVRO schema.
+   * @return serialVersionUID for Serializable AVRO databeans.
*/
   public static long fingerprint64(Schema schema) {
 return SchemaNormalization.parsingFingerprint64(schema);

http://git-wip-us.apache.org/repos/asf/gora/blob/3fb6c131/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/DistributedLogManager.java
--
diff --git 
a/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/DistributedLogManager.java
 
b/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/DistributedLogManager.java
index 87c9e8d..02f588a 100644
--- 
a/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/DistributedLogManager.java
+++ 
b/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/DistributedLogManager.java
@@ -98,13 +98,13 @@ import java.util.StringTokenizer;
  * 
  * 3. Now use CLIENT's command line console to forward cache queries to 
cluster.
  * 
- *  (a) -parse cache <-input_log_file-> - This will parse logs from 
logs file and put Pageview data beans to
+ *  (a) -parse cache #input_log_file - This will parse logs from logs 
file and put Pageview data beans to
  *  persistent store via the cache. Notice following logs
  *  INFO 19:46:34,833 Written data bean to persistent datastore on 
key 45.
  *  on SERVER instance of DistributedLogManager.
  *  Notice the persistent data bean writes are LOAD BALANCED among 
SERVER instances.
  * 
- *  (b) -parse persistent <-input_log_file-> - This will write parsed 
log data beans directly to persistent store.
+ *  (b) -parse persistent #input_log_file - This will write parsed log 
data beans directly to persistent store.
  *  NOT via cache.
  * 
  *  (c) Executing with (a) will create cache entry per each data bean key on 
each SERVER and CLIENT instances. Since
@@ -116,7 +116,7 @@ import java.util.StringTokenizer;
  *  (d) Executing with (b) will not create cache entries on keys since the 
data beans were directly put into
  *  to persistent store.
  *  Executing following command
- *  get <-lineNum->
+ *  -get #lineNum
  *  Data will be first loaded from persistent store to cache from one 
of SERVER instances. Then cache
  *  entry on given key will be created on all SERVER/CLIENT instances.
  *  Notice the persistent data bean load on SINGLE SERVER instance. Only 
one SERVER instance will handle this work.
@@ -126,7 +126,7 @@ import java.util.StringTokenizer;
  *  Once the cache entry is created, data bean is now available to be 
retrieved from cache without reaching the
  *  persistent store.
  *  Execute the above command consecutively for several times.
- *  -get <-lineNum->
+ *  -get #lineNum
  *  Notice there will be NO log entry similar to below
  *  INFO 17:13:22,652 Loaded data bean from persistent datastore on 
key 4.
  *  Since there will be no data bean load from persistent data store 
and the data bean is now loaded from
@@ -136,7 +136,7 @@ import java.util.StringTokenizer;
  *  dataStore - which call directly underline persistent data store.
  *  cacheStore - which call same persistent data store

[2/2] gora git commit: Merge branch 'GORA-469' of https://github.com/djkevincr/gora

2016-08-28 Thread lewismc
Merge branch 'GORA-469' of https://github.com/djkevincr/gora


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

Branch: refs/heads/master
Commit: b0735a7146191098476ded06044865e3ebbb0281
Parents: ad7b307 3fb6c13
Author: Lewis John McGibbney 
Authored: Sun Aug 28 09:54:40 2016 -0700
Committer: Lewis John McGibbney 
Committed: Sun Aug 28 09:54:40 2016 -0700

--
 .../main/java/org/apache/gora/compiler/GoraCompiler.java  |  3 ++-
 .../apache/gora/tutorial/log/DistributedLogManager.java   | 10 +-
 2 files changed, 7 insertions(+), 6 deletions(-)
--




[07/12] gora git commit: GORA-490 added missing package-info files for gora-dynamodb

2016-08-28 Thread lewismc
GORA-490 added missing package-info files for gora-dynamodb


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

Branch: refs/heads/master
Commit: 5c0cc79a1734a0ccdea2aabe22a312ba4a67ca48
Parents: cbd8ad0
Author: cihad guzel 
Authored: Sun Aug 28 13:53:54 2016 +0300
Committer: cihad guzel 
Committed: Sun Aug 28 13:53:54 2016 +0300

--
 .../example/generated/package-info.java | 20 
 .../org/apache/gora/dynamodb/package-info.java  | 20 
 .../org/apache/gora/dynamodb/package-info.java  |  2 ++
 3 files changed, 42 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/5c0cc79a/gora-dynamodb/src/examples/java/org/apache/gora/dynamodb/example/generated/package-info.java
--
diff --git 
a/gora-dynamodb/src/examples/java/org/apache/gora/dynamodb/example/generated/package-info.java
 
b/gora-dynamodb/src/examples/java/org/apache/gora/dynamodb/example/generated/package-info.java
new file mode 100644
index 000..fb54e4a
--- /dev/null
+++ 
b/gora-dynamodb/src/examples/java/org/apache/gora/dynamodb/example/generated/package-info.java
@@ -0,0 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains generated example persistent objects for dynamodb.
+ */
+package org.apache.gora.dynamodb.example.generated;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/5c0cc79a/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/package-info.java
--
diff --git 
a/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/package-info.java 
b/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/package-info.java
new file mode 100644
index 000..9471042
--- /dev/null
+++ b/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/package-info.java
@@ -0,0 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains DynamoDB datastore related all classes.
+ */
+package org.apache.gora.dynamodb;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/5c0cc79a/gora-dynamodb/src/test/java/org/apache/gora/dynamodb/package-info.java
--
diff --git 
a/gora-dynamodb/src/test/java/org/apache/gora/dynamodb/package-info.java 
b/gora-dynamodb/src/test/java/org/apache/gora/dynamodb/package-info.java
index 707876f..5aabfe2 100644
--- a/gora-dynamodb/src/test/java/org/apache/gora/dynamodb/package-info.java
+++ b/gora-dynamodb/src/test/java/org/apache/gora/dynamodb/package-info.java
@@ -17,5 +17,7 @@
 /**
  * Tests for gora-dynamodb including
  * the test driver for {@link org.apache.gora.dynamodb.GoraDynamoDBTestDriver}
+ * and all the unit tests for basic CRUD operations functionality of the
+ * DynamoDB dataStore.
  */
 package org.apache.gora.dynamodb;
\ No newline at end of file



[12/12] gora git commit: Merge branch 'GORA-490' of https://github.com/cguzel/gora-couchdb

2016-08-28 Thread lewismc
Merge branch 'GORA-490' of https://github.com/cguzel/gora-couchdb


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

Branch: refs/heads/master
Commit: ad7b3074ad2f0960f1c998d1fe745c2a98d9a550
Parents: 97c488e a73e419
Author: Lewis John McGibbney 
Authored: Sun Aug 28 09:51:01 2016 -0700
Committer: Lewis John McGibbney 
Committed: Sun Aug 28 09:51:01 2016 -0700

--
 .../org/apache/gora/accumulo/package-info.java  | 20 
 .../gora/accumulo/store/package-info.java   | 21 +
 .../apache/gora/accumulo/util/package-info.java | 20 
 .../org/apache/gora/cassandra/package-info.java | 20 
 .../gora/cassandra/store/package-info.java  | 21 +
 .../gora/examples/generated/package-info.java   | 20 
 .../gora/examples/mapreduce/package-info.java   | 20 
 .../org/apache/gora/examples/package-info.java  | 21 +
 .../gora/examples/spark/package-info.java   | 20 
 .../gora/avro/mapreduce/package-info.java   | 20 
 .../java/org/apache/gora/avro/package-info.java | 21 +
 .../apache/gora/avro/query/package-info.java| 21 +
 .../apache/gora/avro/store/package-info.java| 21 +
 .../org/apache/gora/filter/package-info.java| 22 ++
 .../org/apache/gora/mapreduce/package-info.java | 20 
 .../apache/gora/memory/store/package-info.java  | 20 
 .../main/java/org/apache/gora/package-info.java | 24 
 .../gora/persistency/impl/package-info.java | 20 
 .../apache/gora/persistency/package-info.java   | 20 
 .../persistency/ws/impl/PersistentWSBase.java   |  2 +-
 .../gora/persistency/ws/impl/package-info.java  | 21 +
 .../apache/gora/query/impl/package-info.java| 20 
 .../org/apache/gora/query/package-info.java | 20 
 .../apache/gora/query/ws/impl/package-info.java | 20 
 .../org/apache/gora/spark/package-info.java | 20 
 .../apache/gora/store/impl/package-info.java| 21 +
 .../org/apache/gora/store/package-info.java | 20 
 .../apache/gora/store/ws/impl/package-info.java | 20 
 .../java/org/apache/gora/util/package-info.java | 20 
 .../gora/avro/mapreduce/package-info.java   | 20 
 .../apache/gora/avro/store/package-info.java| 20 
 .../org/apache/gora/examples/package-info.java  | 20 
 .../org/apache/gora/filter/package-info.java| 20 
 .../org/apache/gora/mapreduce/package-info.java | 20 
 .../apache/gora/memory/store/package-info.java  | 20 
 .../java/org/apache/gora/mock/package-info.java | 20 
 .../test/java/org/apache/gora/package-info.java | 22 ++
 .../gora/persistency/impl/package-info.java | 20 
 .../apache/gora/query/impl/package-info.java| 20 
 .../org/apache/gora/store/package-info.java | 22 ++
 .../java/org/apache/gora/util/package-info.java | 20 
 .../org/apache/gora/couchdb/package-info.java   | 20 
 .../apache/gora/couchdb/store/package-info.java |  3 ++-
 .../example/generated/package-info.java | 20 
 .../org/apache/gora/dynamodb/package-info.java  | 20 
 .../org/apache/gora/dynamodb/package-info.java  |  2 ++
 .../gora/goraci/generated/package-info.java | 21 +
 .../org/apache/gora/goraci/package-info.java| 22 ++
 .../org/apache/gora/hbase/package-info.java | 20 
 .../gora/hbase/mapreduce/package-info.java  | 21 +
 .../apache/gora/hbase/store/package-info.java   | 21 +
 .../apache/gora/hbase/util/package-info.java| 20 
 .../apache/gora/infinispan/package-info.java| 20 
 .../gora/infinispan/mapreduce/package-info.java | 21 +
 .../gora/infinispan/store/package-info.java | 21 +
 .../org/apache/gora/jcache/package-info.java| 20 
 .../org/apache/gora/jcache/package-info.java| 21 +
 .../apache/gora/maven/plugin/package-info.java  | 21 +
 .../org/apache/gora/mongodb/package-info.java   | 20 
 .../gora/mongodb/mapreduce/package-info.java| 21 +
 .../apache/gora/mongodb/store/package-info.java | 21 +
 .../apache/gora/mongodb/utils/package-

[06/12] gora git commit: GORA-490 added missing package-info files for gora-couchdb

2016-08-28 Thread lewismc
GORA-490 added missing package-info files for gora-couchdb


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

Branch: refs/heads/master
Commit: cbd8ad0ed04a4f47f7a48f50c10f62507a0c725d
Parents: e97ecf1
Author: cihad guzel 
Authored: Sun Aug 28 13:53:20 2016 +0300
Committer: cihad guzel 
Committed: Sun Aug 28 13:53:20 2016 +0300

--
 .../org/apache/gora/couchdb/package-info.java   | 20 
 .../apache/gora/couchdb/store/package-info.java |  3 ++-
 2 files changed, 22 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/cbd8ad0e/gora-couchdb/src/main/java/org/apache/gora/couchdb/package-info.java
--
diff --git 
a/gora-couchdb/src/main/java/org/apache/gora/couchdb/package-info.java 
b/gora-couchdb/src/main/java/org/apache/gora/couchdb/package-info.java
new file mode 100644
index 000..df7f177
--- /dev/null
+++ b/gora-couchdb/src/main/java/org/apache/gora/couchdb/package-info.java
@@ -0,0 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains CouchDB datastore related all classes.
+ */
+package org.apache.gora.couchdb;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/cbd8ad0e/gora-couchdb/src/test/java/org/apache/gora/couchdb/store/package-info.java
--
diff --git 
a/gora-couchdb/src/test/java/org/apache/gora/couchdb/store/package-info.java 
b/gora-couchdb/src/test/java/org/apache/gora/couchdb/store/package-info.java
index 33b1b03..dafd7a3 100644
--- a/gora-couchdb/src/test/java/org/apache/gora/couchdb/store/package-info.java
+++ b/gora-couchdb/src/test/java/org/apache/gora/couchdb/store/package-info.java
@@ -15,6 +15,7 @@
  * limitations under the License.
  */
 /**
- * This package contains all the unit tests for basic CRUD operations 
functionality of the CouchDB dataStore.
+ * This package contains all the unit tests for basic CRUD operations
+ * functionality of the CouchDB dataStore.
  */
 package org.apache.gora.couchdb.store;
\ No newline at end of file



[02/12] gora git commit: GORA-490 added package-info files for gora-tutorial

2016-08-28 Thread lewismc
GORA-490 added package-info files for gora-tutorial


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

Branch: refs/heads/master
Commit: 2b1f4aaf31f56b914b5e8e5b89963895506eb760
Parents: c098f34
Author: cihad guzel 
Authored: Sun Aug 28 13:49:23 2016 +0300
Committer: cihad guzel 
Committed: Sun Aug 28 13:49:23 2016 +0300

--
 .../gora/goraci/generated/package-info.java | 21 +++
 .../org/apache/gora/goraci/package-info.java| 22 
 .../tutorial/log/generated/package-info.java| 20 ++
 .../apache/gora/tutorial/log/package-info.java  | 20 ++
 4 files changed, 83 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/2b1f4aaf/gora-goraci/src/main/java/org/apache/gora/goraci/generated/package-info.java
--
diff --git 
a/gora-goraci/src/main/java/org/apache/gora/goraci/generated/package-info.java 
b/gora-goraci/src/main/java/org/apache/gora/goraci/generated/package-info.java
new file mode 100644
index 000..1d4bcd9
--- /dev/null
+++ 
b/gora-goraci/src/main/java/org/apache/gora/goraci/generated/package-info.java
@@ -0,0 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains generated example persistent classes for use
+ * within GoraCI.
+ */
+package org.apache.gora.goraci.generated;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/2b1f4aaf/gora-goraci/src/main/java/org/apache/gora/goraci/package-info.java
--
diff --git a/gora-goraci/src/main/java/org/apache/gora/goraci/package-info.java 
b/gora-goraci/src/main/java/org/apache/gora/goraci/package-info.java
new file mode 100644
index 000..fe6115f
--- /dev/null
+++ b/gora-goraci/src/main/java/org/apache/gora/goraci/package-info.java
@@ -0,0 +1,22 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * A custom testing suite called GoraCI (Continuous Ingestion) which
+ * stress tests Gora functionality at scale. This package contains releated
+ * classes.
+ */
+package org.apache.gora.goraci;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/2b1f4aaf/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/package-info.java
--
diff --git 
a/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/package-info.java
 
b/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/package-info.java
new file mode 100644
index 000..41a18bb
--- /dev/null
+++ 
b/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/package-info.java
@@ -0,0 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in

[03/12] gora git commit: GORA-490 added package-info file for gora-maven-plugin

2016-08-28 Thread lewismc
GORA-490 added package-info file for gora-maven-plugin


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

Branch: refs/heads/master
Commit: d08020c67f86b01c810d25881df9ea62d4e94f62
Parents: 2b1f4aa
Author: cihad guzel 
Authored: Sun Aug 28 13:50:15 2016 +0300
Committer: cihad guzel 
Committed: Sun Aug 28 13:50:15 2016 +0300

--
 .../apache/gora/maven/plugin/package-info.java  | 21 
 1 file changed, 21 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/d08020c6/gora-maven-plugin/src/main/java/org/apache/gora/maven/plugin/package-info.java
--
diff --git 
a/gora-maven-plugin/src/main/java/org/apache/gora/maven/plugin/package-info.java
 
b/gora-maven-plugin/src/main/java/org/apache/gora/maven/plugin/package-info.java
new file mode 100644
index 000..6061f65
--- /dev/null
+++ 
b/gora-maven-plugin/src/main/java/org/apache/gora/maven/plugin/package-info.java
@@ -0,0 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains some classes that helps to generate Java code
+ * from Apache Avro *.json files using Apache Gora compiler.
+ */
+package org.apache.gora.maven.plugin;
\ No newline at end of file



[10/12] gora git commit: GORA-490 added missing package-info files for gora-solr-5

2016-08-28 Thread lewismc
GORA-490 added missing package-info files for gora-solr-5


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

Branch: refs/heads/master
Commit: 57256e131ee547c3ed8f5f17cfa1f4c1d4373caa
Parents: cf52935
Author: cihad guzel 
Authored: Sun Aug 28 13:55:30 2016 +0300
Committer: cihad guzel 
Committed: Sun Aug 28 13:55:30 2016 +0300

--
 .../java/org/apache/gora/solr/package-info.java | 20 +++
 .../apache/gora/solr/store/package-info.java| 21 
 2 files changed, 41 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/57256e13/gora-solr-5/src/main/java/org/apache/gora/solr/package-info.java
--
diff --git a/gora-solr-5/src/main/java/org/apache/gora/solr/package-info.java 
b/gora-solr-5/src/main/java/org/apache/gora/solr/package-info.java
new file mode 100644
index 000..e5531c1
--- /dev/null
+++ b/gora-solr-5/src/main/java/org/apache/gora/solr/package-info.java
@@ -0,0 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains Solr datastore related all classes.
+ */
+package org.apache.gora.solr;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/57256e13/gora-solr-5/src/test/java/org/apache/gora/solr/store/package-info.java
--
diff --git 
a/gora-solr-5/src/test/java/org/apache/gora/solr/store/package-info.java 
b/gora-solr-5/src/test/java/org/apache/gora/solr/store/package-info.java
new file mode 100644
index 000..2b49c8b
--- /dev/null
+++ b/gora-solr-5/src/test/java/org/apache/gora/solr/store/package-info.java
@@ -0,0 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains all the unit tests for basic CRUD operations
+ * functionality of the Solr dataStore.
+ */
+package org.apache.gora.solr.store;
\ No newline at end of file



[04/12] gora git commit: GORA-490 added missing package-info files for gora-accumulo

2016-08-28 Thread lewismc
GORA-490 added missing package-info files for gora-accumulo


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

Branch: refs/heads/master
Commit: 0eb2946c8289283d111eb65587dc76fd590b8a82
Parents: d08020c
Author: cihad guzel 
Authored: Sun Aug 28 13:51:55 2016 +0300
Committer: cihad guzel 
Committed: Sun Aug 28 13:51:55 2016 +0300

--
 .../org/apache/gora/accumulo/package-info.java  | 20 +++
 .../gora/accumulo/store/package-info.java   | 21 
 .../apache/gora/accumulo/util/package-info.java | 20 +++
 3 files changed, 61 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/0eb2946c/gora-accumulo/src/main/java/org/apache/gora/accumulo/package-info.java
--
diff --git 
a/gora-accumulo/src/main/java/org/apache/gora/accumulo/package-info.java 
b/gora-accumulo/src/main/java/org/apache/gora/accumulo/package-info.java
new file mode 100644
index 000..0cd7e84
--- /dev/null
+++ b/gora-accumulo/src/main/java/org/apache/gora/accumulo/package-info.java
@@ -0,0 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains Accumulo datastore related all classes.
+ */
+package org.apache.gora.accumulo;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/0eb2946c/gora-accumulo/src/test/java/org/apache/gora/accumulo/store/package-info.java
--
diff --git 
a/gora-accumulo/src/test/java/org/apache/gora/accumulo/store/package-info.java 
b/gora-accumulo/src/test/java/org/apache/gora/accumulo/store/package-info.java
new file mode 100644
index 000..0d0e818
--- /dev/null
+++ 
b/gora-accumulo/src/test/java/org/apache/gora/accumulo/store/package-info.java
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains all the unit tests for basic CRUD operations
+ * functionality of the Accumulo dataStore.
+ */
+package org.apache.gora.accumulo.store;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/0eb2946c/gora-accumulo/src/test/java/org/apache/gora/accumulo/util/package-info.java
--
diff --git 
a/gora-accumulo/src/test/java/org/apache/gora/accumulo/util/package-info.java 
b/gora-accumulo/src/test/java/org/apache/gora/accumulo/util/package-info.java
new file mode 100644
index 000..a4f40d6
--- /dev/null
+++ 
b/gora-accumulo/src/test/java/org/apache/gora/accumulo/util/package-info.java
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required 

[09/12] gora git commit: GORA-490 added missing package-info files for gora-infinispan

2016-08-28 Thread lewismc
GORA-490 added missing package-info files for gora-infinispan


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

Branch: refs/heads/master
Commit: cf52935d1cf71abf8ff49c40d4c867b149fc768f
Parents: 228c821
Author: cihad guzel 
Authored: Sun Aug 28 13:55:06 2016 +0300
Committer: cihad guzel 
Committed: Sun Aug 28 13:55:06 2016 +0300

--
 .../apache/gora/infinispan/package-info.java| 20 +++
 .../gora/infinispan/mapreduce/package-info.java | 21 
 .../gora/infinispan/store/package-info.java | 21 
 3 files changed, 62 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/cf52935d/gora-infinispan/src/main/java/org/apache/gora/infinispan/package-info.java
--
diff --git 
a/gora-infinispan/src/main/java/org/apache/gora/infinispan/package-info.java 
b/gora-infinispan/src/main/java/org/apache/gora/infinispan/package-info.java
new file mode 100644
index 000..d2fcac0
--- /dev/null
+++ b/gora-infinispan/src/main/java/org/apache/gora/infinispan/package-info.java
@@ -0,0 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains Infinispan datastore related all classes.
+ */
+package org.apache.gora.infinispan;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/cf52935d/gora-infinispan/src/test/java/org/apache/gora/infinispan/mapreduce/package-info.java
--
diff --git 
a/gora-infinispan/src/test/java/org/apache/gora/infinispan/mapreduce/package-info.java
 
b/gora-infinispan/src/test/java/org/apache/gora/infinispan/mapreduce/package-info.java
new file mode 100644
index 000..3e88f25
--- /dev/null
+++ 
b/gora-infinispan/src/test/java/org/apache/gora/infinispan/mapreduce/package-info.java
@@ -0,0 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains unit test for mapreduce jobs execution over
+ * {@link org.apache.gora.infinispan.store.InfinispanStore}.
+ */
+package org.apache.gora.infinispan.mapreduce;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/cf52935d/gora-infinispan/src/test/java/org/apache/gora/infinispan/store/package-info.java
--
diff --git 
a/gora-infinispan/src/test/java/org/apache/gora/infinispan/store/package-info.java
 
b/gora-infinispan/src/test/java/org/apache/gora/infinispan/store/package-info.java
new file mode 100644
index 000..f45e2a4
--- /dev/null
+++ 
b/gora-infinispan/src/test/java/org/apache/gora/infinispan/store/package-info.java
@@ -0,0 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a c

[11/12] gora git commit: GORA-490 added missing package-info files for gora-mongodb

2016-08-28 Thread lewismc
GORA-490 added missing package-info files for gora-mongodb


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

Branch: refs/heads/master
Commit: a73e4190df396b11caea16fddd714d6af44759f6
Parents: 57256e1
Author: cihad guzel 
Authored: Sun Aug 28 13:55:47 2016 +0300
Committer: cihad guzel 
Committed: Sun Aug 28 13:55:47 2016 +0300

--
 .../org/apache/gora/mongodb/package-info.java   | 20 +++
 .../gora/mongodb/mapreduce/package-info.java| 21 
 .../apache/gora/mongodb/store/package-info.java | 21 
 .../apache/gora/mongodb/utils/package-info.java | 20 +++
 4 files changed, 82 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/a73e4190/gora-mongodb/src/main/java/org/apache/gora/mongodb/package-info.java
--
diff --git 
a/gora-mongodb/src/main/java/org/apache/gora/mongodb/package-info.java 
b/gora-mongodb/src/main/java/org/apache/gora/mongodb/package-info.java
new file mode 100644
index 000..4523528
--- /dev/null
+++ b/gora-mongodb/src/main/java/org/apache/gora/mongodb/package-info.java
@@ -0,0 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains MongoDB datastore related all classes.
+ */
+package org.apache.gora.mongodb;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/a73e4190/gora-mongodb/src/test/java/org/apache/gora/mongodb/mapreduce/package-info.java
--
diff --git 
a/gora-mongodb/src/test/java/org/apache/gora/mongodb/mapreduce/package-info.java
 
b/gora-mongodb/src/test/java/org/apache/gora/mongodb/mapreduce/package-info.java
new file mode 100644
index 000..ab34866
--- /dev/null
+++ 
b/gora-mongodb/src/test/java/org/apache/gora/mongodb/mapreduce/package-info.java
@@ -0,0 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains unit test for mapreduce jobs execution over
+ * {@link org.apache.gora.mongodb.store.MongoStore}.
+ */
+package org.apache.gora.mongodb.mapreduce;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/a73e4190/gora-mongodb/src/test/java/org/apache/gora/mongodb/store/package-info.java
--
diff --git 
a/gora-mongodb/src/test/java/org/apache/gora/mongodb/store/package-info.java 
b/gora-mongodb/src/test/java/org/apache/gora/mongodb/store/package-info.java
new file mode 100644
index 000..d614d5f
--- /dev/null
+++ b/gora-mongodb/src/test/java/org/apache/gora/mongodb/store/package-info.java
@@ -0,0 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License a

[05/12] gora git commit: GORA-490 added missing package-info files for gora-jcache

2016-08-28 Thread lewismc
GORA-490 added missing package-info files for gora-jcache


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

Branch: refs/heads/master
Commit: e97ecf1ec420e7bb5054e601207d139b4fa292c8
Parents: 0eb2946
Author: cihad guzel 
Authored: Sun Aug 28 13:52:29 2016 +0300
Committer: cihad guzel 
Committed: Sun Aug 28 13:52:29 2016 +0300

--
 .../org/apache/gora/cassandra/package-info.java | 20 +++
 .../gora/cassandra/store/package-info.java  | 21 
 .../org/apache/gora/jcache/package-info.java| 20 +++
 .../org/apache/gora/jcache/package-info.java| 21 
 4 files changed, 82 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/e97ecf1e/gora-cassandra/src/main/java/org/apache/gora/cassandra/package-info.java
--
diff --git 
a/gora-cassandra/src/main/java/org/apache/gora/cassandra/package-info.java 
b/gora-cassandra/src/main/java/org/apache/gora/cassandra/package-info.java
new file mode 100644
index 000..5247ecc
--- /dev/null
+++ b/gora-cassandra/src/main/java/org/apache/gora/cassandra/package-info.java
@@ -0,0 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains Casandra datastore related all classes.
+ */
+package org.apache.gora.cassandra;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/e97ecf1e/gora-cassandra/src/test/java/org/apache/gora/cassandra/store/package-info.java
--
diff --git 
a/gora-cassandra/src/test/java/org/apache/gora/cassandra/store/package-info.java
 
b/gora-cassandra/src/test/java/org/apache/gora/cassandra/store/package-info.java
new file mode 100644
index 000..6e1c6b8
--- /dev/null
+++ 
b/gora-cassandra/src/test/java/org/apache/gora/cassandra/store/package-info.java
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains all the unit tests for basic CRUD operations
+ * functionality of the Cassandra dataStore.
+ */
+package org.apache.gora.cassandra.store;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/e97ecf1e/gora-jcache/src/main/java/org/apache/gora/jcache/package-info.java
--
diff --git a/gora-jcache/src/main/java/org/apache/gora/jcache/package-info.java 
b/gora-jcache/src/main/java/org/apache/gora/jcache/package-info.java
new file mode 100644
index 000..b3b6f14
--- /dev/null
+++ b/gora-jcache/src/main/java/org/apache/gora/jcache/package-info.java
@@ -0,0 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.

[08/12] gora git commit: GORA-490 added missing package-info files for gora-hbase

2016-08-28 Thread lewismc
GORA-490 added missing package-info files for gora-hbase


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

Branch: refs/heads/master
Commit: 228c821e1f0edb31333cafb1d9dfd92eb0bc9c2c
Parents: 5c0cc79
Author: cihad guzel 
Authored: Sun Aug 28 13:54:23 2016 +0300
Committer: cihad guzel 
Committed: Sun Aug 28 13:54:23 2016 +0300

--
 .../org/apache/gora/hbase/package-info.java | 20 +++
 .../gora/hbase/mapreduce/package-info.java  | 21 
 .../apache/gora/hbase/store/package-info.java   | 21 
 .../apache/gora/hbase/util/package-info.java| 20 +++
 4 files changed, 82 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/228c821e/gora-hbase/src/main/java/org/apache/gora/hbase/package-info.java
--
diff --git a/gora-hbase/src/main/java/org/apache/gora/hbase/package-info.java 
b/gora-hbase/src/main/java/org/apache/gora/hbase/package-info.java
new file mode 100644
index 000..3eb256d
--- /dev/null
+++ b/gora-hbase/src/main/java/org/apache/gora/hbase/package-info.java
@@ -0,0 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains HBase datastore related all classes.
+ */
+package org.apache.gora.hbase;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/228c821e/gora-hbase/src/test/java/org/apache/gora/hbase/mapreduce/package-info.java
--
diff --git 
a/gora-hbase/src/test/java/org/apache/gora/hbase/mapreduce/package-info.java 
b/gora-hbase/src/test/java/org/apache/gora/hbase/mapreduce/package-info.java
new file mode 100644
index 000..5d66e68
--- /dev/null
+++ b/gora-hbase/src/test/java/org/apache/gora/hbase/mapreduce/package-info.java
@@ -0,0 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains unit test for mapreduce jobs execution over
+ * {@link org.apache.gora.hbase.store.HBaseStore}.
+ */
+package org.apache.gora.hbase.mapreduce;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/228c821e/gora-hbase/src/test/java/org/apache/gora/hbase/store/package-info.java
--
diff --git 
a/gora-hbase/src/test/java/org/apache/gora/hbase/store/package-info.java 
b/gora-hbase/src/test/java/org/apache/gora/hbase/store/package-info.java
new file mode 100644
index 000..3feca6c
--- /dev/null
+++ b/gora-hbase/src/test/java/org/apache/gora/hbase/store/package-info.java
@@ -0,0 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *

[01/12] gora git commit: GORA-490 added package-info files for gora-core

2016-08-28 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 97c488e7f -> ad7b3074a


GORA-490 added package-info files for gora-core


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

Branch: refs/heads/master
Commit: c098f3486f4710d2f162b0bcac2bbc8149defada
Parents: 259f163
Author: cihad guzel 
Authored: Sun Aug 28 04:58:23 2016 +0300
Committer: cihad guzel 
Committed: Sun Aug 28 13:48:10 2016 +0300

--
 .../gora/examples/generated/package-info.java   | 20 
 .../gora/examples/mapreduce/package-info.java   | 20 
 .../org/apache/gora/examples/package-info.java  | 21 +
 .../gora/examples/spark/package-info.java   | 20 
 .../gora/avro/mapreduce/package-info.java   | 20 
 .../java/org/apache/gora/avro/package-info.java | 21 +
 .../apache/gora/avro/query/package-info.java| 21 +
 .../apache/gora/avro/store/package-info.java| 21 +
 .../org/apache/gora/filter/package-info.java| 22 ++
 .../org/apache/gora/mapreduce/package-info.java | 20 
 .../apache/gora/memory/store/package-info.java  | 20 
 .../main/java/org/apache/gora/package-info.java | 24 
 .../gora/persistency/impl/package-info.java | 20 
 .../apache/gora/persistency/package-info.java   | 20 
 .../persistency/ws/impl/PersistentWSBase.java   |  2 +-
 .../gora/persistency/ws/impl/package-info.java  | 21 +
 .../apache/gora/query/impl/package-info.java| 20 
 .../org/apache/gora/query/package-info.java | 20 
 .../apache/gora/query/ws/impl/package-info.java | 20 
 .../org/apache/gora/spark/package-info.java | 20 
 .../apache/gora/store/impl/package-info.java| 21 +
 .../org/apache/gora/store/package-info.java | 20 
 .../apache/gora/store/ws/impl/package-info.java | 20 
 .../java/org/apache/gora/util/package-info.java | 20 
 .../gora/avro/mapreduce/package-info.java   | 20 
 .../apache/gora/avro/store/package-info.java| 20 
 .../org/apache/gora/examples/package-info.java  | 20 
 .../org/apache/gora/filter/package-info.java| 20 
 .../org/apache/gora/mapreduce/package-info.java | 20 
 .../apache/gora/memory/store/package-info.java  | 20 
 .../java/org/apache/gora/mock/package-info.java | 20 
 .../test/java/org/apache/gora/package-info.java | 22 ++
 .../gora/persistency/impl/package-info.java | 20 
 .../apache/gora/query/impl/package-info.java| 20 
 .../org/apache/gora/store/package-info.java | 22 ++
 .../java/org/apache/gora/util/package-info.java | 20 
 36 files changed, 717 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/c098f348/gora-core/src/examples/java/org/apache/gora/examples/generated/package-info.java
--
diff --git 
a/gora-core/src/examples/java/org/apache/gora/examples/generated/package-info.java
 
b/gora-core/src/examples/java/org/apache/gora/examples/generated/package-info.java
new file mode 100644
index 000..07bf58b
--- /dev/null
+++ 
b/gora-core/src/examples/java/org/apache/gora/examples/generated/package-info.java
@@ -0,0 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains generated example persistent classes.
+ */
+package org.apache.gora.examples.generated;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/c098f348/gora-core/src/examples/java/org/apache/gora/examples/mapreduc

gora git commit: Upgrade javac to 1.8

2016-08-28 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master e5ca31b64 -> 97c488e7f


Upgrade javac to 1.8


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

Branch: refs/heads/master
Commit: 97c488e7f50500f7383380209661ab2fc321f6a5
Parents: e5ca31b
Author: Lewis John McGibbney 
Authored: Sun Aug 28 01:09:55 2016 -0700
Committer: Lewis John McGibbney 
Committed: Sun Aug 28 01:09:55 2016 -0700

--
 pom.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/97c488e7/pom.xml
--
diff --git a/pom.xml b/pom.xml
index e705894..51dc5b9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -744,9 +744,9 @@
 
 
 ${scmBranch}@r${buildNumber}
-1.7
-1.7
-1.7
+1.8
+1.8
+1.8
 -MM-dd 
HH:mm:ssZ
 false
 apache-${project.build.finalName}



[1/2] gora git commit: GORA-469 gora-core build problem is solved under jdk1.8

2016-08-27 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 259f16353 -> 498c783eb


GORA-469 gora-core build problem is solved under jdk1.8


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

Branch: refs/heads/master
Commit: 2a3ecfbc951e3d2032b2df7e9fb9198a3ae8ebf7
Parents: 259f163
Author: cihad guzel 
Authored: Sat Aug 27 19:37:29 2016 +0300
Committer: cihad guzel 
Committed: Sat Aug 27 20:05:57 2016 +0300

--
 .../src/test/java/org/apache/gora/util/TestIOUtils.java | 12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/2a3ecfbc/gora-core/src/test/java/org/apache/gora/util/TestIOUtils.java
--
diff --git a/gora-core/src/test/java/org/apache/gora/util/TestIOUtils.java 
b/gora-core/src/test/java/org/apache/gora/util/TestIOUtils.java
index ba1b44e..d0f3e1c 100644
--- a/gora-core/src/test/java/org/apache/gora/util/TestIOUtils.java
+++ b/gora-core/src/test/java/org/apache/gora/util/TestIOUtils.java
@@ -138,13 +138,11 @@ public class TestIOUtils {
   }
   
   //assert that the end of input is reached
-  try {
-long skipped = dis.skip(1);
-assertEquals(0, skipped);
-  }catch (EOFException expected) {
-//either should throw exception or return 0 as skipped
-  }
-}finally {
+  long skipped = dis.skip(1);
+  assertEquals(0, skipped);
+} catch (EOFException expected) {
+  //either should throw exception or return 0 as skipped
+} finally {
   org.apache.hadoop.io.IOUtils.closeStream(dos);
   org.apache.hadoop.io.IOUtils.closeStream(os);
   org.apache.hadoop.io.IOUtils.closeStream(dis);



[1/2] gora git commit: GORA-491 adding fix

2016-08-27 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 498c783eb -> e5ca31b64


GORA-491 adding fix


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

Branch: refs/heads/master
Commit: e943b5a036644c850227d8de8d665eed45510f59
Parents: 6406e12
Author: Kevin 
Authored: Sun Aug 28 07:54:03 2016 +0530
Committer: Kevin 
Committed: Sun Aug 28 07:54:03 2016 +0530

--
 .../src/main/java/org/apache/gora/jcache/store/JCacheStore.java | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/e943b5a0/gora-jcache/src/main/java/org/apache/gora/jcache/store/JCacheStore.java
--
diff --git 
a/gora-jcache/src/main/java/org/apache/gora/jcache/store/JCacheStore.java 
b/gora-jcache/src/main/java/org/apache/gora/jcache/store/JCacheStore.java
index d39c67c..e6b8feb 100644
--- a/gora-jcache/src/main/java/org/apache/gora/jcache/store/JCacheStore.java
+++ b/gora-jcache/src/main/java/org/apache/gora/jcache/store/JCacheStore.java
@@ -410,6 +410,7 @@ public class JCacheStore 
extends DataStoreBase partition = new PartitionQueryImpl<>(
 query, memberOwnedCacheEntries.first(),
 memberOwnedCacheEntries.last(), 
member.getSocketAddress().getHostString());
+partition.setConf(this.getConf());
 partitions.add(partition);
   }
 } catch (java.lang.Exception ex) {



[2/2] gora git commit: Merge branch 'GORA-491' of https://github.com/djkevincr/gora

2016-08-27 Thread lewismc
Merge branch 'GORA-491' of https://github.com/djkevincr/gora


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

Branch: refs/heads/master
Commit: e5ca31b642570d6ec94e3df5dab752de082019c8
Parents: 498c783 e943b5a
Author: Lewis John McGibbney 
Authored: Sat Aug 27 20:27:08 2016 -0700
Committer: Lewis John McGibbney 
Committed: Sat Aug 27 20:27:08 2016 -0700

--
 .../src/main/java/org/apache/gora/jcache/store/JCacheStore.java | 1 +
 1 file changed, 1 insertion(+)
--




[2/2] gora git commit: GORA-469 gora-couchdb build problem is solved under jdk1.8

2016-08-27 Thread lewismc
GORA-469 gora-couchdb build problem is solved under jdk1.8


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

Branch: refs/heads/master
Commit: 498c783eb56b2ba3476f4e93f2f27149b63f6e41
Parents: 2a3ecfb
Author: cihad guzel 
Authored: Sat Aug 27 23:14:07 2016 +0300
Committer: cihad guzel 
Committed: Sat Aug 27 23:14:07 2016 +0300

--
 .../src/main/java/org/apache/gora/couchdb/store/CouchDBStore.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/498c783e/gora-couchdb/src/main/java/org/apache/gora/couchdb/store/CouchDBStore.java
--
diff --git 
a/gora-couchdb/src/main/java/org/apache/gora/couchdb/store/CouchDBStore.java 
b/gora-couchdb/src/main/java/org/apache/gora/couchdb/store/CouchDBStore.java
index 5ca8af7..889d78f 100644
--- a/gora-couchdb/src/main/java/org/apache/gora/couchdb/store/CouchDBStore.java
+++ b/gora-couchdb/src/main/java/org/apache/gora/couchdb/store/CouchDBStore.java
@@ -198,7 +198,7 @@ public class CouchDBStore 
extends DataStoreBase  result;
 try {
   result = db.get(Map.class, key.toString());
   return newInstance(result, getFieldsToQuery(fields));



svn commit: r995868 - /websites/production/gora/content/

2016-08-25 Thread lewismc
Author: lewismc
Date: Thu Aug 25 07:14:01 2016
New Revision: 995868

Log:
Formatting

Added:
websites/production/gora/content/
  - copied from r995867, websites/staging/gora/trunk/content/



svn commit: r995866 - /websites/production/gora/content/

2016-08-25 Thread lewismc
Author: lewismc
Date: Thu Aug 25 07:13:45 2016
New Revision: 995866

Log:
Formatting

Added:
websites/production/gora/content/
  - copied from r995865, websites/staging/gora/trunk/content/



svn commit: r1757617 - /gora/site/trunk/content/current/gora-jcache.md

2016-08-25 Thread lewismc
Author: lewismc
Date: Thu Aug 25 07:13:38 2016
New Revision: 1757617

URL: http://svn.apache.org/viewvc?rev=1757617&view=rev
Log:
Formatting

Modified:
gora/site/trunk/content/current/gora-jcache.md

Modified: gora/site/trunk/content/current/gora-jcache.md
URL: 
http://svn.apache.org/viewvc/gora/site/trunk/content/current/gora-jcache.md?rev=1757617&r1=1757616&r2=1757617&view=diff
==
--- gora/site/trunk/content/current/gora-jcache.md (original)
+++ gora/site/trunk/content/current/gora-jcache.md Thu Aug 25 07:13:38 2016
@@ -10,22 +10,22 @@ persistent Apache Gora persistent dataSt
 
 ##gora.properties
 
-* gora.cache.datastore.default - Caching dataStore to be used 
with persistent dataStore. If JCache dataStore is used as caching store
-assigned value should be org.apache.gora.jcache.store.JCacheStore 
( Mandatory )
+* gora.cache.datastore.default ( Mandatory ) - 
Caching dataStore to be used with persistent dataStore. If JCache dataStore is 
used as caching store
+assigned value should be org.apache.gora.jcache.store.JCacheStore
 
-* gora.datastore.default - Persistent back-end dataStore to be 
used with JCache caching dataStore. ( Mandatory )
+* gora.datastore.default ( Mandatory ) - Persistent 
back-end dataStore to be used with JCache caching dataStore.
 
-* gora.datastore.jcache.provider - Two possible values, whether 
to start JCache dataStore in Server mode or Client mode,
-  1. Server Mode
+* gora.datastore.jcache.provider ( Mandatory ) - Two 
possible values, whether to start JCache dataStore in Server mode or Client 
mode,
+  * Server Mode
  com.hazelcast.cache.impl.HazelcastServerCachingProvider
-  2. Client Mode
- com.hazelcast.client.cache.impl.HazelcastClientCachingProvider  
( Mandatory )
+  * Client Mode
+ com.hazelcast.client.cache.impl.HazelcastClientCachingProvider
 
 * gora.datastore.jcache.hazelcast.config - If JCache datastore is 
started in,
-  1. Server Mode
- This property to should point s to Hazelcast Cluster member network 
configuration file related to
+  * Server Mode
+ This property to should point to Hazelcast Cluster member network 
configuration file related to
  forming Hazelcast cluster using members. Please see http://docs.hazelcast.org/docs/3.5/manual/html/networkconfiguration.html";>Network
 configuration.
-  2. Client Mode
+  * Client Mode
  This property to should point s to Hazelcast client configuration file 
related to connecting related to already formed Hazelcast cluster.
  Please see http://docs.hazelcast.org/docs/3.5/manual/html/javaclientconfiguration.html#java-client-configuration";>Client
 configuration  ( Mandatory )
 




svn commit: r995864 - /websites/production/gora/content/

2016-08-25 Thread lewismc
Author: lewismc
Date: Thu Aug 25 07:10:19 2016
New Revision: 995864

Log:
Remove duplicate code

Added:
websites/production/gora/content/
  - copied from r995863, websites/staging/gora/trunk/content/



svn commit: r995862 - /websites/production/gora/content/

2016-08-25 Thread lewismc
Author: lewismc
Date: Thu Aug 25 07:09:58 2016
New Revision: 995862

Log:
Remove duplicate code

Added:
websites/production/gora/content/
  - copied from r995861, websites/staging/gora/trunk/content/



svn commit: r1757615 - /gora/site/trunk/content/current/gora-jcache.md

2016-08-25 Thread lewismc
Author: lewismc
Date: Thu Aug 25 07:09:49 2016
New Revision: 1757615

URL: http://svn.apache.org/viewvc?rev=1757615&view=rev
Log:
Remove duplicate code

Modified:
gora/site/trunk/content/current/gora-jcache.md

Modified: gora/site/trunk/content/current/gora-jcache.md
URL: 
http://svn.apache.org/viewvc/gora/site/trunk/content/current/gora-jcache.md?rev=1757615&r1=1757614&r2=1757615&view=diff
==
--- gora/site/trunk/content/current/gora-jcache.md (original)
+++ gora/site/trunk/content/current/gora-jcache.md Thu Aug 25 07:09:49 2016
@@ -60,67 +60,4 @@ Default is set to false. Default JMX por
 * jcache.eviction.max.size.policy - Measure of maximum cache size 
to apply eviction policy. 
ENTRY_COUNT, USED_NATIVE_MEMORY_SIZE, USED_NATIVE_MEMORY_PERCENTAGE, 
FREE_NATIVE_MEMORY_SIZE, FREE_NATIVE_MEMORY_PERCENTAGE 
   
-* jcache.eviction.size - Maximum size as integer as a measure of 
max size policy criteria.
-Title: Gora JCache Module
-
-##Overview
-This is the main documentation for the gora-jcache module. gora-jcache
-module enables [Hazelcast 
JCache](https://hazelcast.com/use-cases/caching/jcache-provider) caching 
support for Gora.
-This implementation is based on Hazelcast JCache provider. This dataStore can 
act as wrapped caching layer for any other 
-persistent Apache Gora persistent dataStore.
-
-[TOC]
-
-##gora.properties
-
-* gora.cache.datastore.default - Caching dataStore to be used 
with persistent dataStore. If JCache dataStore is used as caching store
-assigned value should be org.apache.gora.jcache.store.JCacheStore 
( Mandatory )
-
-* gora.datastore.default - Persistent back-end dataStore to be 
used with JCache caching dataStore. ( Mandatory )
-
-* gora.datastore.jcache.provider - Two possible values, whether 
to start JCache dataStore in Server mode or Client mode,
-  1. Server Mode
- com.hazelcast.cache.impl.HazelcastServerCachingProvider
-  2. Client Mode
- com.hazelcast.client.cache.impl.HazelcastClientCachingProvider  
( Mandatory )
-
-* gora.datastore.jcache.hazelcast.config - If JCache datastore is 
started in,
-  1. Server Mode
- This property to should point s to Hazelcast Cluster member network 
configuration file related to
- forming Hazelcast cluster using members. Please see http://docs.hazelcast.org/docs/3.5/manual/html/networkconfiguration.html";>Network
 configuration.
-  2. Client Mode
- This property to should point s to Hazelcast client configuration file 
related to connecting related to already formed Hazelcast cluster.
- Please see http://docs.hazelcast.org/docs/3.5/manual/html/javaclientconfiguration.html#java-client-configuration";>Client
 configuration  ( Mandatory )
-
-* jcache.auto.create.cache - Whether force creating the cache at 
time JCache dataStore creation. Default is set to false.
-
-* jcache.cache.inmemory.format - In memory for format for 
persistent bean resides in cache. Possible values,
-  BINARY, OBJECT, NATIVE [In memory 
format](http://docs.hazelcast.org/docs/3.5/manual/html/map-inmemoryformat.html).
-
-* jcache.read.through.enable - Whether to fetch a missing cache 
entry from backend persistent dataStore. Default value is true.
-
-* jcache.write.through.enable - Whether to push change of a cache 
entry to backend persistent dataStore. Default value is true.
-
-* jcache.statistics.enable - Statistics like cache hits and 
misses are collected. Default value is false.
-
-* jcache.management.enable - JMX beans are enabled and collected 
statistics are exposed over the beans.It doesn't automatically enables 
statistics collection.
-Default is set to false. Default JMX port opens on .
-
-* jcache.store.by.value.enable - Whether to store key and values 
of data beans in means of store by value or store by reference. Default is 
true that means store by value.
-
-* jcache.cache.namespace - Cache manager scope URI. This will 
allow different cache manager instances to share data among them if they are 
aligned with same scope.
-  On opposite having two different scopes means such that each cache manager 
can isolate each other’s owned caches without any conflict. 
-  Please see http://docs.hazelcast.org/docs/3.5/manual/html/jcache-icache.html";>Scopes 
and Namespaces
-
-* jcache.expire.policy - Cache entry expiry policy. Possible 
values  ACCESSED, CREATED, MODIFIED, TOUCHED 
-  Please see http://docs.hazelcast.org/docs/3.5/manual/html/jcache-expirepolicy.html";>JCache
 expiry policy
-
-* jcache.expire.policy.duration - Cache entry expiry timeout in 
seconds.
-
-* jcache.eviction.policy - Cache entry eviction policy. Possible 
values  LRU, LFU, NONE, RANDOM 
-  Please see http://docs.hazelcast.org/docs/3.5/manual/html/jcache-eviction.html";>Hazelcast
 eviction policy
-
-* jcache.eviction.max.size.policy - Measure of maximum cache size 
to app

svn commit: r995861 - /websites/production/gora/content/

2016-08-25 Thread lewismc
Author: lewismc
Date: Thu Aug 25 07:08:36 2016
New Revision: 995861

Log:
Update hyperlinks

Added:
websites/production/gora/content/
  - copied from r995860, websites/staging/gora/trunk/content/



svn commit: r1757613 - /gora/site/trunk/content/current/gora-jcache.md

2016-08-25 Thread lewismc
Author: lewismc
Date: Thu Aug 25 07:08:07 2016
New Revision: 1757613

URL: http://svn.apache.org/viewvc?rev=1757613&view=rev
Log:
Update hyperlinks

Modified:
gora/site/trunk/content/current/gora-jcache.md

Modified: gora/site/trunk/content/current/gora-jcache.md
URL: 
http://svn.apache.org/viewvc/gora/site/trunk/content/current/gora-jcache.md?rev=1757613&r1=1757612&r2=1757613&view=diff
==
--- gora/site/trunk/content/current/gora-jcache.md (original)
+++ gora/site/trunk/content/current/gora-jcache.md Thu Aug 25 07:08:07 2016
@@ -32,7 +32,7 @@ assigned value should be org.apache.g
 * jcache.auto.create.cache - Whether force creating the cache at 
time JCache dataStore creation. Default is set to false.
 
 * jcache.cache.inmemory.format - In memory for format for 
persistent bean resides in cache. Possible values,
-  BINARY, OBJECT, NATIVE Please see http://docs.hazelcast.org/docs/3.5/manual/html/map-inmemoryformat.html";>In
 memory format/a>.
+  BINARY, OBJECT, NATIVE Please see [In memory 
format](http://docs.hazelcast.org/docs/3.5/manual/html/map-inmemoryformat.html).
 
 * jcache.read.through.enable - Whether to fetch a missing cache 
entry from backend persistent dataStore. Default value is true.
 
@@ -95,7 +95,7 @@ assigned value should be org.apache.g
 * jcache.auto.create.cache - Whether force creating the cache at 
time JCache dataStore creation. Default is set to false.
 
 * jcache.cache.inmemory.format - In memory for format for 
persistent bean resides in cache. Possible values,
-  BINARY, OBJECT, NATIVE Please see http://docs.hazelcast.org/docs/3.5/manual/html/map-inmemoryformat.html";>In
 memory format/a>.
+  BINARY, OBJECT, NATIVE [In memory 
format](http://docs.hazelcast.org/docs/3.5/manual/html/map-inmemoryformat.html).
 
 * jcache.read.through.enable - Whether to fetch a missing cache 
entry from backend persistent dataStore. Default value is true.
 




svn commit: r995860 - /websites/production/gora/content/

2016-08-25 Thread lewismc
Author: lewismc
Date: Thu Aug 25 07:08:15 2016
New Revision: 995860

Log:
Update hyperlinks

Added:
websites/production/gora/content/
  - copied from r995858, websites/staging/gora/trunk/content/



svn commit: r995858 - /websites/production/gora/content/

2016-08-25 Thread lewismc
Author: lewismc
Date: Thu Aug 25 07:05:26 2016
New Revision: 995858

Log:
Publishing svnmucc operation to gora site by lewismc

Added:
websites/production/gora/content/
  - copied from r995857, websites/staging/gora/trunk/content/



svn commit: r1757612 - in /gora/site/trunk/content/current: gora-jcache.md index.md tutorial.md

2016-08-25 Thread lewismc
Author: lewismc
Date: Thu Aug 25 07:04:00 2016
New Revision: 1757612

URL: http://svn.apache.org/viewvc?rev=1757612&view=rev
Log:
GORA-484 Add documentation to JCache Datastore

Added:
gora/site/trunk/content/current/gora-jcache.md
Modified:
gora/site/trunk/content/current/index.md
gora/site/trunk/content/current/tutorial.md

Added: gora/site/trunk/content/current/gora-jcache.md
URL: 
http://svn.apache.org/viewvc/gora/site/trunk/content/current/gora-jcache.md?rev=1757612&view=auto
==
--- gora/site/trunk/content/current/gora-jcache.md (added)
+++ gora/site/trunk/content/current/gora-jcache.md Thu Aug 25 07:04:00 2016
@@ -0,0 +1,126 @@
+Title: Gora JCache Module
+
+##Overview
+This is the main documentation for the gora-jcache module. gora-jcache
+module enables [Hazelcast 
JCache](https://hazelcast.com/use-cases/caching/jcache-provider) caching 
support for Gora.
+This implementation is based on Hazelcast JCache provider. This dataStore can 
act as wrapped caching layer for any other 
+persistent Apache Gora persistent dataStore.
+
+[TOC]
+
+##gora.properties
+
+* gora.cache.datastore.default - Caching dataStore to be used 
with persistent dataStore. If JCache dataStore is used as caching store
+assigned value should be org.apache.gora.jcache.store.JCacheStore 
( Mandatory )
+
+* gora.datastore.default - Persistent back-end dataStore to be 
used with JCache caching dataStore. ( Mandatory )
+
+* gora.datastore.jcache.provider - Two possible values, whether 
to start JCache dataStore in Server mode or Client mode,
+  1. Server Mode
+ com.hazelcast.cache.impl.HazelcastServerCachingProvider
+  2. Client Mode
+ com.hazelcast.client.cache.impl.HazelcastClientCachingProvider  
( Mandatory )
+
+* gora.datastore.jcache.hazelcast.config - If JCache datastore is 
started in,
+  1. Server Mode
+ This property to should point s to Hazelcast Cluster member network 
configuration file related to
+ forming Hazelcast cluster using members. Please see http://docs.hazelcast.org/docs/3.5/manual/html/networkconfiguration.html";>Network
 configuration.
+  2. Client Mode
+ This property to should point s to Hazelcast client configuration file 
related to connecting related to already formed Hazelcast cluster.
+ Please see http://docs.hazelcast.org/docs/3.5/manual/html/javaclientconfiguration.html#java-client-configuration";>Client
 configuration  ( Mandatory )
+
+* jcache.auto.create.cache - Whether force creating the cache at 
time JCache dataStore creation. Default is set to false.
+
+* jcache.cache.inmemory.format - In memory for format for 
persistent bean resides in cache. Possible values,
+  BINARY, OBJECT, NATIVE Please see http://docs.hazelcast.org/docs/3.5/manual/html/map-inmemoryformat.html";>In
 memory format/a>.
+
+* jcache.read.through.enable - Whether to fetch a missing cache 
entry from backend persistent dataStore. Default value is true.
+
+* jcache.write.through.enable - Whether to push change of a cache 
entry to backend persistent dataStore. Default value is true.
+
+* jcache.statistics.enable - Statistics like cache hits and 
misses are collected. Default value is false.
+
+* jcache.management.enable - JMX beans are enabled and collected 
statistics are exposed over the beans.It doesn't automatically enables 
statistics collection.
+Default is set to false. Default JMX port opens on .
+
+* jcache.store.by.value.enable - Whether to store key and values 
of data beans in means of store by value or store by reference. Default is 
true that means store by value.
+
+* jcache.cache.namespace - Cache manager scope URI. This will 
allow different cache manager instances to share data among them if they are 
aligned with same scope.
+  On opposite having two different scopes means such that each cache manager 
can isolate each other’s owned caches without any conflict. 
+  Please see http://docs.hazelcast.org/docs/3.5/manual/html/jcache-icache.html";>Scopes 
and Namespaces
+
+* jcache.expire.policy - Cache entry expiry policy. Possible 
values  ACCESSED, CREATED, MODIFIED, TOUCHED 
+  Please see http://docs.hazelcast.org/docs/3.5/manual/html/jcache-expirepolicy.html";>JCache
 expiry policy
+
+* jcache.expire.policy.duration - Cache entry expiry timeout in 
seconds.
+
+* jcache.eviction.policy - Cache entry eviction policy. Possible 
values  LRU, LFU, NONE, RANDOM 
+  Please see http://docs.hazelcast.org/docs/3.5/manual/html/jcache-eviction.html";>Hazelcast
 eviction policy
+
+* jcache.eviction.max.size.policy - Measure of maximum cache size 
to apply eviction policy. 
+   ENTRY_COUNT, USED_NATIVE_MEMORY_SIZE, USED_NATIVE_MEMORY_PERCENTAGE, 
FREE_NATIVE_MEMORY_SIZE, FREE_NATIVE_MEMORY_PERCENTAGE 
+  
+* jcache.eviction.size - Maximum size as integer as a measure of 
max size policy criteria.
+Title: 

[4/8] gora git commit: GORA-490 added package-info files and javadocs for gora-cassandra

2016-08-24 Thread lewismc
GORA-490 added package-info files and javadocs for gora-cassandra


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

Branch: refs/heads/master
Commit: f6b00394db9f958add41f8aa4f00499e05f0ae87
Parents: 0cb1aee
Author: cihad guzel 
Authored: Thu Aug 25 00:12:12 2016 +0300
Committer: cihad guzel 
Committed: Thu Aug 25 01:37:57 2016 +0300

--
 .../gora/cassandra/query/CassandraQuery.java| 36 +++-
 .../gora/cassandra/query/CassandraResult.java   | 27 ++-
 .../gora/cassandra/query/package-info.java  | 21 
 .../cassandra/serializers/package-info.java | 20 +++
 .../gora/cassandra/store/CassandraMapping.java  |  3 ++
 .../store/CassandraMappingManager.java  |  3 ++
 .../gora/cassandra/store/package-info.java  | 20 +++
 .../org/apache/gora/cassandra/package-info.java | 21 
 8 files changed, 149 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/f6b00394/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraQuery.java
--
diff --git 
a/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraQuery.java
 
b/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraQuery.java
index e51cf2a..1e8d101 100644
--- 
a/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraQuery.java
+++ 
b/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraQuery.java
@@ -26,24 +26,48 @@ import org.apache.gora.query.Query;
 import org.apache.gora.query.impl.QueryBase;
 import org.apache.gora.store.DataStore;
 
+/**
+ * Cassandra specific implementation of the {@link Query} interface.
+ */
 public class CassandraQuery extends QueryBase {
 
+  /**
+   * Cassandra specific implementation of the {@link Query} interface.
+   */
   private Query query;
   
   /**
* Maps Avro fields to Cassandra columns.
*/
   private Map> familyMap;
-  
+
+  /**
+   * Constructor for the query
+   */
   public CassandraQuery() {
 super(null);
   }
+
+  /**
+   * Constructor for the query
+   *
+   * @param dataStore Data store used
+   *
+   */
   public CassandraQuery(DataStore dataStore) {
 super(dataStore);
   }
+
+  /**
+   * Setter of familyMap.
+   */
   public void setFamilyMap(Map> familyMap) {
 this.familyMap = familyMap;
   }
+
+  /**
+   * Getter of familyMap.
+   */
   public Map> getFamilyMap() {
 return familyMap;
   }
@@ -61,9 +85,19 @@ public class CassandraQuery 
extends QueryBase
 }
 return columns;
   }
+
+  /**
+   *
+   * @return get {@link org.apache.gora.cassandra.query.CassandraQuery}
+   */
   public Query getQuery() {
 return query;
   }
+
+  /**
+   *
+   * @return set a {@link org.apache.gora.cassandra.query.CassandraQuery}
+   */
   public void setQuery(Query query) {
 this.query = query;
   }

http://git-wip-us.apache.org/repos/asf/gora/blob/f6b00394/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraResult.java
--
diff --git 
a/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraResult.java
 
b/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraResult.java
index dc99258..a89c97c 100644
--- 
a/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraResult.java
+++ 
b/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraResult.java
@@ -35,11 +35,18 @@ import org.apache.gora.store.DataStore;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+/**
+ * CassandraResult specific implementation of the {@link 
org.apache.gora.query.Result}
+ * interface.
+ */
 public class CassandraResult extends 
ResultBase {
   public static final Logger LOG = 
LoggerFactory.getLogger(CassandraResult.class);
   
   private int rowNumber;
 
+  /**
+   * Result set containing query results
+   */
   private CassandraResultSet cassandraResultSet;
   
   /**
@@ -47,10 +54,20 @@ public class CassandraResult 
extends ResultBase reverseMap;
 
+
+  /**
+   * Constructor for the result set
+   *
+   * @param dataStore Data store used
+   * @param query Query used
+   */
   public CassandraResult(DataStore dataStore, Query query) {
 super(dataStore, query);
   }
 
+  /**
+   * Gets the next item
+   */
   @Override
   protected boolean nextInner() throws IOException {
 if (this.rowNumber < this.cassandraResultSet.size()) {
@@ -153,15 +170,23 @@ public class CassandraResult 
extends ResultBase cassandraResultSet) {
 this.cassandraResultSet = cassandraResu

[6/8] gora git commit: GORA-490 added package-info files and edited javadocs for gora-dynamodb

2016-08-24 Thread lewismc
GORA-490 added package-info files and edited javadocs for gora-dynamodb


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

Branch: refs/heads/master
Commit: 7bfbdd06dca8d8b3afa110b21d9a014fc1c5bf5c
Parents: f6b0039
Author: cihad guzel 
Authored: Thu Aug 25 00:24:03 2016 +0300
Committer: cihad guzel 
Committed: Thu Aug 25 01:37:57 2016 +0300

--
 .../dynamodb/compiler/GoraDynamoDBCompiler.java | 60 
 .../gora/dynamodb/compiler/package-info.java| 20 +++
 .../gora/dynamodb/query/package-info.java   | 21 +++
 .../gora/dynamodb/store/DynamoDBStore.java  | 13 -
 .../gora/dynamodb/store/package-info.java   | 20 +++
 .../org/apache/gora/dynamodb/package-info.java  | 21 +++
 6 files changed, 117 insertions(+), 38 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/7bfbdd06/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/compiler/GoraDynamoDBCompiler.java
--
diff --git 
a/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/compiler/GoraDynamoDBCompiler.java
 
b/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/compiler/GoraDynamoDBCompiler.java
index 6a0e51d..07e3447 100644
--- 
a/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/compiler/GoraDynamoDBCompiler.java
+++ 
b/gora-dynamodb/src/main/java/org/apache/gora/dynamodb/compiler/GoraDynamoDBCompiler.java
@@ -59,8 +59,7 @@ public class GoraDynamoDBCompiler {
   /**
* GoraDynamoDBCompiler
* 
-   * @param File
-   *  where the data bean will be written.
+   * @param dest where the data bean will be written.
*/
   private GoraDynamoDBCompiler(File dest) {
 this.dest = dest;
@@ -82,15 +81,12 @@ public class GoraDynamoDBCompiler {
   }
 
   /**
-   * Method in charge of compiling a specific table using a key schema and a 
set 
+   * Method in charge of compiling a specific table using a key schema and a 
set
* of attributes
-   * @param dest2 
-   * @param pTableNameTable 
-   *  name
-   * @param pKeySchemaKey 
-   *  schema used
-   * @param pItemsList 
-   *  of items belonging to a specific table
+   *
+   * @param pTableName
+   * @param arrayList
+   * @param map
*/
   private void compile(String pTableName, ArrayList 
arrayList, Map map){
 try {
@@ -117,10 +113,9 @@ public class GoraDynamoDBCompiler {
 
   /**
* Receives a list of all items and creates getters and setters for them
-   * @param pItemsThe 
-   *  items belonging to the table
-   * @param pIdenThe 
-   *  number of spaces used for identation
+   *
+   * @param pItems The items belonging to the table
+   * @param pIden  The number of spaces used for identation
* @throws IOException
*/
   private void setItems(Map pItems, int pIden)
@@ -141,12 +136,10 @@ public class GoraDynamoDBCompiler {
 
   /**
* Creates item getters and setters
-   * @param pItemNameItem
-   *  's name
-   * @param pItemTypeItem
-   *  's type
-   * @param pIdenNumber 
-   *  of spaces used for indentation
+   *
+   * @param pItemName Item's name
+   * @param pItemType Item's type
+   * @param pIden Number of spaces used for indentation
* @throws IOException
*/
   private void setItemMethods(String pItemName, String pItemType, int pIden)
@@ -162,11 +155,10 @@ public class GoraDynamoDBCompiler {
   }
 
   /**
-   * Creates key getters and setters 
-   * @param pKeySchemaThe 
-   *  key schema for a specific table
-   * @param pIdenNumber 
-   *  of spaces used for indentation
+   * Creates key getters and setters
+   *
+   * @param pKeySchema The key schema for a specific table
+   * @param pIden  Number of spaces used for indentation
* @throws IOException
*/
   private void setKeyMethods(KeySchemaElement pKeySchema, String attType,
@@ -228,8 +220,8 @@ public class GoraDynamoDBCompiler {
 
   /**
* Returns camel case version of a string
-   * @param sString 
-   *  to be camelcasified
+   *
+   * @param s String to be camelcasified
* @return
*/
   private static String camelCasify(String s) {
@@ -238,10 +230,9 @@ public class GoraDynamoDBCompiler {
 
   /**
* Starts the java generated class file
-   * @param nameClass 
-   *  name
-   * @param space
-   *  spacing
+   *
+   * @param name  Class name
+   * @param space spacing
* @throws IOException
*/
   private void startFile(String name, String space) throws IOException {
@@ -320,10 +311,9 @@ public class GoraDynamoDBCompiler {
 
   /**
* Writes a line within the output stream
-   * @param i

[1/8] gora git commit: GORA-490 added package-info files for gora-couchdb

2016-08-24 Thread lewismc
Repository: gora
Updated Branches:
  refs/heads/master 72ce897f9 -> 259f16353


GORA-490 added package-info files for gora-couchdb


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

Branch: refs/heads/master
Commit: a0249c07592f3f0932cdbb2b2f89cf3d85530705
Parents: 72ce897
Author: cihad guzel 
Authored: Wed Aug 24 01:19:38 2016 +0300
Committer: cihad guzel 
Committed: Thu Aug 25 01:37:56 2016 +0300

--
 .../apache/gora/couchdb/query/package-info.java | 21 
 .../apache/gora/couchdb/store/package-info.java | 20 +++
 .../util/CouchDBObjectMapperFactory.java|  4 +++-
 .../apache/gora/couchdb/util/package-info.java  | 20 +++
 .../apache/gora/couchdb/store/package-info.java | 20 +++
 5 files changed, 84 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/a0249c07/gora-couchdb/src/main/java/org/apache/gora/couchdb/query/package-info.java
--
diff --git 
a/gora-couchdb/src/main/java/org/apache/gora/couchdb/query/package-info.java 
b/gora-couchdb/src/main/java/org/apache/gora/couchdb/query/package-info.java
new file mode 100644
index 000..e684d41
--- /dev/null
+++ b/gora-couchdb/src/main/java/org/apache/gora/couchdb/query/package-info.java
@@ -0,0 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains all the CouchDB store query representation class as 
well as Result set representing class
+ * when query is executed over the CouchDB dataStore.
+ */
+package org.apache.gora.couchdb.query;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/a0249c07/gora-couchdb/src/main/java/org/apache/gora/couchdb/store/package-info.java
--
diff --git 
a/gora-couchdb/src/main/java/org/apache/gora/couchdb/store/package-info.java 
b/gora-couchdb/src/main/java/org/apache/gora/couchdb/store/package-info.java
new file mode 100644
index 000..d0ec5e0
--- /dev/null
+++ b/gora-couchdb/src/main/java/org/apache/gora/couchdb/store/package-info.java
@@ -0,0 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains all the CouchDB store related classes.
+ */
+package org.apache.gora.couchdb.store;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/a0249c07/gora-couchdb/src/main/java/org/apache/gora/couchdb/util/CouchDBObjectMapperFactory.java
--
diff --git 
a/gora-couchdb/src/main/java/org/apache/gora/couchdb/util/CouchDBObjectMapperFactory.java
 
b/gora-couchdb/src/main/java/org/apache/gora/couchdb/util/CouchDBObjectMapperFactory.java
index 1e447d9..0fd3efa 100644
--- 
a/gora-couchdb/src/main/java/org/apache/gora/couchdb/util/CouchDBObjectMapperFactory.java
+++ 
b/gora-couchdb/src/main/java/org/apache/gora/couchdb/util/CouchDBObjectMapperFactory.java
@@ -25,7 +25,8 @@ import org.ektorp.impl.ObjectMapperFactory;
 import org.ektorp.impl.jackson.EktorpJacksonModule;
 
 /**

[2/8] gora git commit: GORA-490 added package-info files for gora-infinispan

2016-08-24 Thread lewismc
GORA-490 added package-info files for gora-infinispan


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

Branch: refs/heads/master
Commit: a6cb1dafb5fdfe866a8b18a7e1bc8425d647e356
Parents: 35d9e99
Author: cihad guzel 
Authored: Thu Aug 25 00:35:23 2016 +0300
Committer: cihad guzel 
Committed: Thu Aug 25 01:37:57 2016 +0300

--
 .../gora/infinispan/query/InfinispanQuery.java  |  4 +++-
 .../gora/infinispan/query/package-info.java | 21 
 .../gora/infinispan/store/InfinispanStore.java  | 12 +++
 .../gora/infinispan/store/package-info.java | 20 +++
 .../apache/gora/infinispan/package-info.java| 21 
 5 files changed, 77 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/a6cb1daf/gora-infinispan/src/main/java/org/apache/gora/infinispan/query/InfinispanQuery.java
--
diff --git 
a/gora-infinispan/src/main/java/org/apache/gora/infinispan/query/InfinispanQuery.java
 
b/gora-infinispan/src/main/java/org/apache/gora/infinispan/query/InfinispanQuery.java
index 9e0b62f..332cceb 100644
--- 
a/gora-infinispan/src/main/java/org/apache/gora/infinispan/query/InfinispanQuery.java
+++ 
b/gora-infinispan/src/main/java/org/apache/gora/infinispan/query/InfinispanQuery.java
@@ -24,6 +24,7 @@ import org.apache.gora.filter.SingleFieldValueFilter;
 import org.apache.gora.infinispan.store.InfinispanStore;
 import org.apache.gora.persistency.impl.PersistentBase;
 import org.apache.gora.query.PartitionQuery;
+import org.apache.gora.query.Query;
 import org.apache.gora.query.impl.QueryBase;
 import org.apache.hadoop.io.WritableUtils;
 import org.infinispan.avro.client.Support;
@@ -43,7 +44,8 @@ import java.util.Arrays;
 import java.util.Collection;
 import java.util.List;
 
-/*
+/**
+ * Infinispan specific implementation of the {@link Query} interface.
  * * @author Pierre Sutra
  */
 public class InfinispanQuery

http://git-wip-us.apache.org/repos/asf/gora/blob/a6cb1daf/gora-infinispan/src/main/java/org/apache/gora/infinispan/query/package-info.java
--
diff --git 
a/gora-infinispan/src/main/java/org/apache/gora/infinispan/query/package-info.java
 
b/gora-infinispan/src/main/java/org/apache/gora/infinispan/query/package-info.java
new file mode 100644
index 000..8a73643
--- /dev/null
+++ 
b/gora-infinispan/src/main/java/org/apache/gora/infinispan/query/package-info.java
@@ -0,0 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains all the Infinispan store query representation class 
as well as Result set representing class
+ * when query is executed over the Infinispan dataStore.
+ */
+package org.apache.gora.infinispan.query;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/a6cb1daf/gora-infinispan/src/main/java/org/apache/gora/infinispan/store/InfinispanStore.java
--
diff --git 
a/gora-infinispan/src/main/java/org/apache/gora/infinispan/store/InfinispanStore.java
 
b/gora-infinispan/src/main/java/org/apache/gora/infinispan/store/InfinispanStore.java
index cb198ff..a6f9708 100644
--- 
a/gora-infinispan/src/main/java/org/apache/gora/infinispan/store/InfinispanStore.java
+++ 
b/gora-infinispan/src/main/java/org/apache/gora/infinispan/store/InfinispanStore.java
@@ -61,6 +61,15 @@ public class InfinispanStore 
extends DataStoreBase<
 //Empty default constructor
   }
 
+  /**
+   * Initialize the data store by reading the credentials, setting the 
client's properties up and
+   * reading the mapping file. Initialize is called when then the call to
+   * {@link org.apache.gora.store.DataStoreFactory#createDataStore} is made.
+   *
+   * @param keyClass
+   * @param persistentC

[5/8] gora git commit: GORA-490 added package-info and editted javadocs for gora-hbase

2016-08-24 Thread lewismc
GORA-490 added package-info and editted javadocs for gora-hbase


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

Branch: refs/heads/master
Commit: 35d9e99b6a08008bf8f1318cfc364f188d3334f0
Parents: 7bfbdd0
Author: cihad guzel 
Authored: Thu Aug 25 00:27:43 2016 +0300
Committer: cihad guzel 
Committed: Thu Aug 25 01:37:57 2016 +0300

--
 .../apache/gora/hbase/query/package-info.java   | 21 
 .../org/apache/gora/hbase/store/HBaseStore.java |  9 +
 .../apache/gora/hbase/store/package-info.java   | 20 +++
 .../apache/gora/hbase/util/package-info.java| 20 +++
 .../org/apache/gora/hbase/package-info.java | 21 
 5 files changed, 91 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/35d9e99b/gora-hbase/src/main/java/org/apache/gora/hbase/query/package-info.java
--
diff --git 
a/gora-hbase/src/main/java/org/apache/gora/hbase/query/package-info.java 
b/gora-hbase/src/main/java/org/apache/gora/hbase/query/package-info.java
new file mode 100644
index 000..31e888f
--- /dev/null
+++ b/gora-hbase/src/main/java/org/apache/gora/hbase/query/package-info.java
@@ -0,0 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains all the HBase store query representation class as 
well as Result set representing class
+ * when query is executed over the HBase dataStore.
+ */
+package org.apache.gora.hbase.query;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/35d9e99b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
--
diff --git 
a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java 
b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
index 00fe60b..ab7b2a5 100644
--- a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
+++ b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseStore.java
@@ -106,6 +106,15 @@ implements Configurable {
   public HBaseStore() {//Empty Constrctor
   }
 
+  /**
+   * Initialize the data store by reading the credentials, setting the 
client's properties up and
+   * reading the mapping file. Initialize is called when then the call to
+   * {@link org.apache.gora.store.DataStoreFactory#createDataStore} is made.
+   *
+   * @param keyClass
+   * @param persistentClass
+   * @param properties
+   */
   @Override
   public void initialize(Class keyClass, Class persistentClass,
   Properties properties) {

http://git-wip-us.apache.org/repos/asf/gora/blob/35d9e99b/gora-hbase/src/main/java/org/apache/gora/hbase/store/package-info.java
--
diff --git 
a/gora-hbase/src/main/java/org/apache/gora/hbase/store/package-info.java 
b/gora-hbase/src/main/java/org/apache/gora/hbase/store/package-info.java
new file mode 100644
index 000..ae0bd39
--- /dev/null
+++ b/gora-hbase/src/main/java/org/apache/gora/hbase/store/package-info.java
@@ -0,0 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specif

[8/8] gora git commit: GORA-490 added package-info files for gora-mongodb

2016-08-24 Thread lewismc
GORA-490 added package-info files for gora-mongodb


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

Branch: refs/heads/master
Commit: 75243c6a4713d3fb7958538cd2f3994620c094f8
Parents: a6cb1da
Author: cihad guzel 
Authored: Thu Aug 25 00:45:48 2016 +0300
Committer: cihad guzel 
Committed: Thu Aug 25 01:37:57 2016 +0300

--
 .../gora/mongodb/filters/package-info.java  | 20 +++
 .../apache/gora/mongodb/query/package-info.java | 21 
 .../apache/gora/mongodb/store/MongoStore.java   |  6 ++
 .../mongodb/store/MongoStoreParameters.java |  4 ++--
 .../apache/gora/mongodb/store/package-info.java | 20 +++
 .../gora/mongodb/utils/GoraDBEncoder.java   |  3 +++
 .../apache/gora/mongodb/utils/package-info.java | 20 +++
 .../org/apache/gora/mongodb/package-info.java   | 21 
 8 files changed, 109 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/gora/blob/75243c6a/gora-mongodb/src/main/java/org/apache/gora/mongodb/filters/package-info.java
--
diff --git 
a/gora-mongodb/src/main/java/org/apache/gora/mongodb/filters/package-info.java 
b/gora-mongodb/src/main/java/org/apache/gora/mongodb/filters/package-info.java
new file mode 100644
index 000..83ba0e9
--- /dev/null
+++ 
b/gora-mongodb/src/main/java/org/apache/gora/mongodb/filters/package-info.java
@@ -0,0 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains MongoDB store related util classes.
+ */
+package org.apache.gora.mongodb.filters;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/75243c6a/gora-mongodb/src/main/java/org/apache/gora/mongodb/query/package-info.java
--
diff --git 
a/gora-mongodb/src/main/java/org/apache/gora/mongodb/query/package-info.java 
b/gora-mongodb/src/main/java/org/apache/gora/mongodb/query/package-info.java
new file mode 100644
index 000..997886e
--- /dev/null
+++ b/gora-mongodb/src/main/java/org/apache/gora/mongodb/query/package-info.java
@@ -0,0 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains all the MongoDB store query representation class as 
well as Result set representing class
+ * when query is executed over the MongoDB dataStore.
+ */
+package org.apache.gora.mongodb.query;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/gora/blob/75243c6a/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java
--
diff --git 
a/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java 
b/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java
index c0a1d25..d4771df 100644
--- a/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java
+++ b/gora-mongodb/src/main/java/org/apache/gora/mongodb/store/MongoStore.java
@@ -134,10 +134,8 @@ DataStoreBase {
   /**
* Retrieve a client connecte

<    1   2   3   4   5   6   7   8   9   10   >