You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gora.apache.org by dr...@apache.org on 2020/03/23 15:22:54 UTC

[gora] branch GORA-647-test-containers-mongo updated: GORA-647 Add apache licence headers

This is an automated email from the ASF dual-hosted git repository.

drazzib pushed a commit to branch GORA-647-test-containers-mongo
in repository https://gitbox.apache.org/repos/asf/gora.git


The following commit(s) were added to refs/heads/GORA-647-test-containers-mongo by this push:
     new 9c511f0  GORA-647 Add apache licence headers
9c511f0 is described below

commit 9c511f091683549edf7ceeeee60f0fad282daf15
Author: Damien Raude-Morvan <dr...@drazzib.com>
AuthorDate: Mon Mar 23 16:22:46 2020 +0100

    GORA-647 Add apache licence headers
---
 .../org/apache/gora/mongodb/MongoContainer.java    | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gora-mongodb/src/test/java/org/apache/gora/mongodb/MongoContainer.java b/gora-mongodb/src/test/java/org/apache/gora/mongodb/MongoContainer.java
index 9890377..9abf2a9 100644
--- a/gora-mongodb/src/test/java/org/apache/gora/mongodb/MongoContainer.java
+++ b/gora-mongodb/src/test/java/org/apache/gora/mongodb/MongoContainer.java
@@ -1,8 +1,30 @@
+/**
+ * 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
+ * <p/>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p/>
+ * 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.mongodb;
 
 import com.mongodb.ServerAddress;
 import org.testcontainers.containers.FixedHostPortGenericContainer;
 
+/**
+ * Use {@link FixedHostPortGenericContainer}
+ * from <a href="https://www.testcontainers.org/">Testcontainers.org</a> project
+ * to handle a MongoDB docker container.
+ */
 public class MongoContainer extends FixedHostPortGenericContainer<MongoContainer> {
 
     public static final int MONGO_PORT = 27017;