diff --git a/common/src/main/java/org/apache/hadoop/metadata/bridge/AEntityBean.java b/common/src/main/java/org/apache/hadoop/metadata/bridge/AEntityBean.java index c4f7f5a..ec856dd 100644 --- a/common/src/main/java/org/apache/hadoop/metadata/bridge/AEntityBean.java +++ b/common/src/main/java/org/apache/hadoop/metadata/bridge/AEntityBean.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.bridge; public abstract class AEntityBean { diff --git a/docs/pom.xml b/docs/pom.xml index 39c26d0..177f873 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> + <!-- ~ Licensed to the Apache Software Foundation (ASF) under one ~ or more contributor license agreements. See the NOTICE file diff --git a/docs/src/site/site.xml b/docs/src/site/site.xml index be4465f..e4cc63c 100644 --- a/docs/src/site/site.xml +++ b/docs/src/site/site.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> + <!-- ~ Licensed to the Apache Software Foundation (ASF) under one ~ or more contributor license agreements. See the NOTICE file diff --git a/hivetypes/pom.xml b/hivetypes/pom.xml index f6a433c..f492ad3 100644 --- a/hivetypes/pom.xml +++ b/hivetypes/pom.xml @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ 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. + --> + <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> diff --git a/hivetypes/src/main/resources/hive-site.xml b/hivetypes/src/main/resources/hive-site.xml index 4b82b8e..f746df6 100644 --- a/hivetypes/src/main/resources/hive-site.xml +++ b/hivetypes/src/main/resources/hive-site.xml @@ -1,3 +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. + --> + <!--Mon Apr 21 07:04:34 2014--> <configuration> diff --git a/hivetypes/src/main/resources/log4j.properties b/hivetypes/src/main/resources/log4j.properties index b9c595c..502983a 100644 --- a/hivetypes/src/main/resources/log4j.properties +++ b/hivetypes/src/main/resources/log4j.properties @@ -7,7 +7,7 @@ # "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 +# 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, diff --git a/hivetypes/src/test/resources/graph.properties b/hivetypes/src/test/resources/graph.properties index 07a98d3..00b8edc 100644 --- a/hivetypes/src/test/resources/graph.properties +++ b/hivetypes/src/test/resources/graph.properties @@ -1,3 +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. +# + storage.backend=inmemory # Graph Search Index diff --git a/metadata-bridge-parent/metadata-bridge-core/pom.xml b/metadata-bridge-parent/metadata-bridge-core/pom.xml index 8501686..92a684d 100644 --- a/metadata-bridge-parent/metadata-bridge-core/pom.xml +++ b/metadata-bridge-parent/metadata-bridge-core/pom.xml @@ -1,3 +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. + --> + <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> diff --git a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/ABridge.java b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/ABridge.java index d15a8a7..7cbdb09 100644 --- a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/ABridge.java +++ b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/ABridge.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.bridge; import java.lang.reflect.Field; diff --git a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/BridgeException.java b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/BridgeException.java index db3bfee..e0112d0 100644 --- a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/BridgeException.java +++ b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/BridgeException.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.bridge; import org.apache.hadoop.hive.metastore.api.MetaException; diff --git a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/BridgeManager.java b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/BridgeManager.java index 2ddbb16..f3c587f 100644 --- a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/BridgeManager.java +++ b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/BridgeManager.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.bridge; //TODO - Create Index Annotation Framework for BeanConverter diff --git a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/IBridge.java b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/IBridge.java index 37e163d..abbe9f7 100644 --- a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/IBridge.java +++ b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/IBridge.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.bridge; public interface IBridge { diff --git a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/HiveLineageBridge.java b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/HiveLineageBridge.java index 6bd2ea8..598ba48 100644 --- a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/HiveLineageBridge.java +++ b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/HiveLineageBridge.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.bridge.hivelineage; import javax.inject.Inject; diff --git a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineage.java b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineage.java index c602b1d..26dc3f3 100644 --- a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineage.java +++ b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineage.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.bridge.hivelineage.hook; diff --git a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivestructure/HiveMetaImporter.java b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivestructure/HiveMetaImporter.java index 1015825..06b6918 100644 --- a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivestructure/HiveMetaImporter.java +++ b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivestructure/HiveMetaImporter.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.bridge.hivestructure; import org.apache.hadoop.hive.conf.HiveConf; diff --git a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivestructure/HiveStructureBridge.java b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivestructure/HiveStructureBridge.java index 85a1dfc..b5e054c 100644 --- a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivestructure/HiveStructureBridge.java +++ b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/bridge/hivestructure/HiveStructureBridge.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.bridge.hivestructure; import java.util.ArrayList; diff --git a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/web/resources/HiveLineageResource.java b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/web/resources/HiveLineageResource.java index 9f9db78..923637d 100644 --- a/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/web/resources/HiveLineageResource.java +++ b/metadata-bridge-parent/metadata-bridge-core/src/main/java/org/apache/hadoop/metadata/web/resources/HiveLineageResource.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.web.resources; import com.google.gson.Gson; diff --git a/metadata-bridge-parent/metadata-bridge-core/src/main/resources/bridge-manager.properties b/metadata-bridge-parent/metadata-bridge-core/src/main/resources/bridge-manager.properties index 0b87758..0d2bd74 100644 --- a/metadata-bridge-parent/metadata-bridge-core/src/main/resources/bridge-manager.properties +++ b/metadata-bridge-parent/metadata-bridge-core/src/main/resources/bridge-manager.properties @@ -1,4 +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. +# + #BridgeManager.activebridges denotes which bridge defintions to load from the classpath (Comma seperated list of fully qualified class paths) # BridgeManager.activeBridges=org.apache.hadoop.metadata.bridge.hivelineage.HiveLineageBridge \ No newline at end of file diff --git a/metadata-bridge-parent/metadata-bridge-core/src/test/java/org/apache/hadoop/metadata/bridge/BridgeManagerTest.java b/metadata-bridge-parent/metadata-bridge-core/src/test/java/org/apache/hadoop/metadata/bridge/BridgeManagerTest.java index 97182f0..d33fd5c 100644 --- a/metadata-bridge-parent/metadata-bridge-core/src/test/java/org/apache/hadoop/metadata/bridge/BridgeManagerTest.java +++ b/metadata-bridge-parent/metadata-bridge-core/src/test/java/org/apache/hadoop/metadata/bridge/BridgeManagerTest.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.bridge; import javax.inject.Inject; diff --git a/metadata-bridge-parent/metadata-bridge-core/src/test/java/org/apache/hadoop/metadata/bridge/TestGenericBridges.java b/metadata-bridge-parent/metadata-bridge-core/src/test/java/org/apache/hadoop/metadata/bridge/TestGenericBridges.java index 2fbab68..65a09ab 100644 --- a/metadata-bridge-parent/metadata-bridge-core/src/test/java/org/apache/hadoop/metadata/bridge/TestGenericBridges.java +++ b/metadata-bridge-parent/metadata-bridge-core/src/test/java/org/apache/hadoop/metadata/bridge/TestGenericBridges.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.bridge; public class TestGenericBridges { diff --git a/metadata-bridge-parent/metadata-bridge-core/src/test/java/org/apache/hadoop/metadata/bridge/hivelineage/TestHiveLineageBridge.java b/metadata-bridge-parent/metadata-bridge-core/src/test/java/org/apache/hadoop/metadata/bridge/hivelineage/TestHiveLineageBridge.java index c09b183..cbafc07 100644 --- a/metadata-bridge-parent/metadata-bridge-core/src/test/java/org/apache/hadoop/metadata/bridge/hivelineage/TestHiveLineageBridge.java +++ b/metadata-bridge-parent/metadata-bridge-core/src/test/java/org/apache/hadoop/metadata/bridge/hivelineage/TestHiveLineageBridge.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.bridge.hivelineage; import java.io.FileInputStream; diff --git a/metadata-bridge-parent/metadata-bridge-core/src/test/resources/bridge-manager.properties b/metadata-bridge-parent/metadata-bridge-core/src/test/resources/bridge-manager.properties index 0b87758..0d2bd74 100644 --- a/metadata-bridge-parent/metadata-bridge-core/src/test/resources/bridge-manager.properties +++ b/metadata-bridge-parent/metadata-bridge-core/src/test/resources/bridge-manager.properties @@ -1,4 +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. +# + #BridgeManager.activebridges denotes which bridge defintions to load from the classpath (Comma seperated list of fully qualified class paths) # BridgeManager.activeBridges=org.apache.hadoop.metadata.bridge.hivelineage.HiveLineageBridge \ No newline at end of file diff --git a/metadata-bridge-parent/metadata-bridge-core/src/test/resources/graph.properties b/metadata-bridge-parent/metadata-bridge-core/src/test/resources/graph.properties index 07a98d3..00b8edc 100644 --- a/metadata-bridge-parent/metadata-bridge-core/src/test/resources/graph.properties +++ b/metadata-bridge-parent/metadata-bridge-core/src/test/resources/graph.properties @@ -1,3 +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. +# + storage.backend=inmemory # Graph Search Index diff --git a/metadata-bridge-parent/metadata-bridge-core/src/test/resources/test-bridge-manager.properties b/metadata-bridge-parent/metadata-bridge-core/src/test/resources/test-bridge-manager.properties index 00ac0e4..f977057 100644 --- a/metadata-bridge-parent/metadata-bridge-core/src/test/resources/test-bridge-manager.properties +++ b/metadata-bridge-parent/metadata-bridge-core/src/test/resources/test-bridge-manager.properties @@ -1,4 +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. +# + #BridgeManager.activebridges denotes which bridge defintions to load from the classpath (Comma seperated list of fully qualified class paths) # BridgeManager.activeBridges=org.apache.hadoop.metadata.bridge.HiveLineage \ No newline at end of file diff --git a/metadata-bridge-parent/metadata-bridge-hive/pom.xml b/metadata-bridge-parent/metadata-bridge-hive/pom.xml index 62eda5c..d9555d4 100644 --- a/metadata-bridge-parent/metadata-bridge-hive/pom.xml +++ b/metadata-bridge-parent/metadata-bridge-hive/pom.xml @@ -1,3 +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. + --> + <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> diff --git a/metadata-bridge-parent/metadata-bridge-hive/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineage.java b/metadata-bridge-parent/metadata-bridge-hive/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineage.java index 5d8703b..8b74c0f 100644 --- a/metadata-bridge-parent/metadata-bridge-hive/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineage.java +++ b/metadata-bridge-parent/metadata-bridge-hive/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineage.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.bridge.hivelineage.hook; import java.io.Serializable; diff --git a/metadata-bridge-parent/metadata-bridge-hive/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineageInfo.java b/metadata-bridge-parent/metadata-bridge-hive/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineageInfo.java index 8ce223b..b5ab04b 100644 --- a/metadata-bridge-parent/metadata-bridge-hive/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineageInfo.java +++ b/metadata-bridge-parent/metadata-bridge-hive/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineageInfo.java @@ -1,5 +1,3 @@ -package org.apache.hadoop.metadata.bridge.hivelineage.hook; - /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file @@ -18,6 +16,7 @@ package org.apache.hadoop.metadata.bridge.hivelineage.hook; * limitations under the License. */ +package org.apache.hadoop.metadata.bridge.hivelineage.hook; import java.io.IOException; import java.util.ArrayList; diff --git a/metadata-bridge-parent/metadata-bridge-hive/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/Hook.java b/metadata-bridge-parent/metadata-bridge-hive/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/Hook.java index d414b3d..87f0e25 100644 --- a/metadata-bridge-parent/metadata-bridge-hive/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/Hook.java +++ b/metadata-bridge-parent/metadata-bridge-hive/src/main/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/Hook.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.bridge.hivelineage.hook; diff --git a/metadata-bridge-parent/metadata-bridge-hive/src/test/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineageInfoTest.java b/metadata-bridge-parent/metadata-bridge-hive/src/test/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineageInfoTest.java index 9b6fc5b..839cb61 100644 --- a/metadata-bridge-parent/metadata-bridge-hive/src/test/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineageInfoTest.java +++ b/metadata-bridge-parent/metadata-bridge-hive/src/test/java/org/apache/hadoop/metadata/bridge/hivelineage/hook/HiveLineageInfoTest.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.bridge.hivelineage.hook; import org.apache.hadoop.hive.ql.parse.ParseException; diff --git a/metadata-bridge-parent/metadata-bridge/pom.xml b/metadata-bridge-parent/metadata-bridge/pom.xml index 399200b..401501e 100644 --- a/metadata-bridge-parent/metadata-bridge/pom.xml +++ b/metadata-bridge-parent/metadata-bridge/pom.xml @@ -1,3 +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. + --> + <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> diff --git a/metadata-bridge-parent/pom.xml b/metadata-bridge-parent/pom.xml index 77e4f82..afddd9a 100644 --- a/metadata-bridge-parent/pom.xml +++ b/metadata-bridge-parent/pom.xml @@ -1,3 +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. + --> + <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> diff --git a/pom.xml b/pom.xml index 078fe8b..86247f5 100644 --- a/pom.xml +++ b/pom.xml @@ -218,9 +218,12 @@ <exclude>*.txt</exclude> <exclude>**/*.txt</exclude> <exclude>.git/**</exclude> + <exclude>.gitignore</exclude> <exclude>**/.idea/**</exclude> <exclude>**/*.twiki</exclude> <exclude>**/*.iml</exclude> + <exclude>**/*.json</exclude> + <exclude>**/*.uml</exclude> <exclude>**/target/**</exclude> <exclude>**/activemq-data/**</exclude> <exclude>**/build/**</exclude> @@ -250,15 +253,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> -<!-- - <dependencies> - <dependency> - <groupId>org.apache.hadoop.metadata</groupId> - <artifactId>checkstyle</artifactId> - <version>${project.version}</version> - </dependency> - </dependencies> ---> <executions> <execution> <id>checkstyle-check</id> @@ -269,9 +263,9 @@ <configuration> <consoleOutput>true</consoleOutput> <includeTestSourceDirectory>true</includeTestSourceDirectory> - <configLocation>build/checkstyle.xml</configLocation> - <headerLocation>build/checkstyle-java-header.txt</headerLocation> - <failOnViolation>true</failOnViolation> + <configLocation>src/build/checkstyle.xml</configLocation> + <headerLocation>src/build/checkstyle-java-header.txt</headerLocation> + <failOnViolation>false</failOnViolation> </configuration> </execution> </executions> @@ -283,8 +277,8 @@ <configuration> <!--debug>true</debug --> <xmlOutput>true</xmlOutput> - <excludeFilterFile>${basedir}/../build/checkstyle/findbugs-exclude.xml</excludeFilterFile> - <failOnError>true</failOnError> + <excludeFilterFile>${basedir}/../src/build/findbugs-exclude.xml</excludeFilterFile> + <failOnError>false</failOnError> </configuration> <executions> <execution> @@ -296,6 +290,7 @@ </execution> </executions> </plugin> + <!-- Source code metrics: mvn javancss:report or mvn site --> <plugin> <groupId>org.codehaus.mojo</groupId> diff --git a/repository/pom.xml b/repository/pom.xml index 3f839aa..551ee26 100644 --- a/repository/pom.xml +++ b/repository/pom.xml @@ -1,16 +1,22 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- ~ 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. --> +<!-- + ~ 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. + --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> diff --git a/repository/src/main/java/org/apache/hadoop/metadata/discovery/GraphBackedDiscoveryService.java b/repository/src/main/java/org/apache/hadoop/metadata/discovery/GraphBackedDiscoveryService.java index 299de2d..f84e588 100644 --- a/repository/src/main/java/org/apache/hadoop/metadata/discovery/GraphBackedDiscoveryService.java +++ b/repository/src/main/java/org/apache/hadoop/metadata/discovery/GraphBackedDiscoveryService.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.discovery; import com.google.common.base.Preconditions; diff --git a/repository/src/main/java/org/apache/hadoop/metadata/repository/graph/GraphProvider.java b/repository/src/main/java/org/apache/hadoop/metadata/repository/graph/GraphProvider.java index 3bdc621..a041a50 100644 --- a/repository/src/main/java/org/apache/hadoop/metadata/repository/graph/GraphProvider.java +++ b/repository/src/main/java/org/apache/hadoop/metadata/repository/graph/GraphProvider.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.repository.graph; import org.apache.commons.configuration.ConfigurationException; diff --git a/repository/src/main/java/org/apache/hadoop/metadata/repository/graph/GraphServiceConfigurator.java b/repository/src/main/java/org/apache/hadoop/metadata/repository/graph/GraphServiceConfigurator.java index ab8989c..4c79bd0 100644 --- a/repository/src/main/java/org/apache/hadoop/metadata/repository/graph/GraphServiceConfigurator.java +++ b/repository/src/main/java/org/apache/hadoop/metadata/repository/graph/GraphServiceConfigurator.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.repository.graph; public class GraphServiceConfigurator extends PropertyBasedConfigurator<GraphService> { diff --git a/repository/src/main/java/org/apache/hadoop/metadata/repository/graph/PropertyBasedConfigurator.java b/repository/src/main/java/org/apache/hadoop/metadata/repository/graph/PropertyBasedConfigurator.java index 745645c..55a44c9 100644 --- a/repository/src/main/java/org/apache/hadoop/metadata/repository/graph/PropertyBasedConfigurator.java +++ b/repository/src/main/java/org/apache/hadoop/metadata/repository/graph/PropertyBasedConfigurator.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.repository.graph; import java.util.Properties; diff --git a/repository/src/main/java/org/apache/hadoop/metadata/repository/graph/TitanGraphProvider.java b/repository/src/main/java/org/apache/hadoop/metadata/repository/graph/TitanGraphProvider.java index 9c2366d..6af875c 100644 --- a/repository/src/main/java/org/apache/hadoop/metadata/repository/graph/TitanGraphProvider.java +++ b/repository/src/main/java/org/apache/hadoop/metadata/repository/graph/TitanGraphProvider.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.repository.graph; import javax.inject.Singleton; diff --git a/repository/src/test/java/org/apache/hadoop/metadata/RepositoryServiceLoadingTest.java b/repository/src/test/java/org/apache/hadoop/metadata/RepositoryServiceLoadingTest.java index 8972de9..0924abc 100644 --- a/repository/src/test/java/org/apache/hadoop/metadata/RepositoryServiceLoadingTest.java +++ b/repository/src/test/java/org/apache/hadoop/metadata/RepositoryServiceLoadingTest.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata; import javax.inject.Inject; diff --git a/repository/src/test/java/org/apache/hadoop/metadata/services/TitanGraphServiceTest.java b/repository/src/test/java/org/apache/hadoop/metadata/services/TitanGraphServiceTest.java index 5c9de48..8f4ddce 100644 --- a/repository/src/test/java/org/apache/hadoop/metadata/services/TitanGraphServiceTest.java +++ b/repository/src/test/java/org/apache/hadoop/metadata/services/TitanGraphServiceTest.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.services; import javax.inject.Inject; diff --git a/repository/src/test/resources/graph.properties b/repository/src/test/resources/graph.properties index 07a98d3..00b8edc 100644 --- a/repository/src/test/resources/graph.properties +++ b/repository/src/test/resources/graph.properties @@ -1,3 +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. +# + storage.backend=inmemory # Graph Search Index diff --git a/src/conf/graph.properties b/src/conf/graph.properties index dd1e215..7d49e7b 100644 --- a/src/conf/graph.properties +++ b/src/conf/graph.properties @@ -1,3 +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. +# + # Graph Storage storage.backend=berkeleyje storage.directory=./data/berkeley diff --git a/src/conf/log4j.xml b/src/conf/log4j.xml index 057e8e8..c9fa1d8 100644 --- a/src/conf/log4j.xml +++ b/src/conf/log4j.xml @@ -51,15 +51,24 @@ <appender-ref ref="FILE"/> </logger> + + <logger name="com.thinkaurelius.titan" additivity="false"> + <level value="info"/> + <appender-ref ref="FILE"/> + </logger> + + <logger name="org.elasticsearch" additivity="false"> + <level value="info"/> + <appender-ref ref="FILE"/> + </logger> + <logger name="AUDIT"> <level value="info"/> - <appender-ref ref="console"/> <appender-ref ref="AUDIT"/> </logger> <root> <priority value="info"/> - <appender-ref ref="console"/> <appender-ref ref="FILE"/> </root> diff --git a/src/main/assemblies/src-package.xml b/src/main/assemblies/src-package.xml index 8603438..190ec39 100644 --- a/src/main/assemblies/src-package.xml +++ b/src/main/assemblies/src-package.xml @@ -1,21 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - 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. ---> + ~ 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. + --> <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> diff --git a/src/main/assemblies/standalone-package.xml b/src/main/assemblies/standalone-package.xml index d542805..61d5a32 100644 --- a/src/main/assemblies/standalone-package.xml +++ b/src/main/assemblies/standalone-package.xml @@ -1,21 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - 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. ---> + ~ 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. + --> <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> diff --git a/typesystem/.gitignore b/typesystem/.gitignore index 71a7a3a..c7029f8 100644 --- a/typesystem/.gitignore +++ b/typesystem/.gitignore @@ -1,3 +1,19 @@ +# 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. + # Eclipse .classpath .project diff --git a/typesystem/doc/notes.MD b/typesystem/doc/notes.MD index 32888e5..977d46c 100644 --- a/typesystem/doc/notes.MD +++ b/typesystem/doc/notes.MD @@ -1,3 +1,19 @@ +# 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. + ## Call with Harish on the initial typesystem naming conventions and intentions ### Structs are like C structs - they don't have an identity diff --git a/typesystem/src/main/java/org/apache/hadoop/metadata/MetadataException.java b/typesystem/src/main/java/org/apache/hadoop/metadata/MetadataException.java index 930c9cc..41dbc3c 100644 --- a/typesystem/src/main/java/org/apache/hadoop/metadata/MetadataException.java +++ b/typesystem/src/main/java/org/apache/hadoop/metadata/MetadataException.java @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.apache.hadoop.metadata; public class MetadataException extends Exception { diff --git a/typesystem/src/main/java/org/apache/hadoop/metadata/storage/IRepository.java b/typesystem/src/main/java/org/apache/hadoop/metadata/storage/IRepository.java index 18cbf64..f69314b 100644 --- a/typesystem/src/main/java/org/apache/hadoop/metadata/storage/IRepository.java +++ b/typesystem/src/main/java/org/apache/hadoop/metadata/storage/IRepository.java @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.apache.hadoop.metadata.storage; import org.apache.hadoop.metadata.IReferenceableInstance; diff --git a/typesystem/src/main/java/org/apache/hadoop/metadata/storage/RepositoryException.java b/typesystem/src/main/java/org/apache/hadoop/metadata/storage/RepositoryException.java index 9247c35..084be4c 100644 --- a/typesystem/src/main/java/org/apache/hadoop/metadata/storage/RepositoryException.java +++ b/typesystem/src/main/java/org/apache/hadoop/metadata/storage/RepositoryException.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.storage; import org.apache.hadoop.metadata.MetadataException; diff --git a/typesystem/src/main/java/org/apache/hadoop/metadata/storage/StructInstance.java b/typesystem/src/main/java/org/apache/hadoop/metadata/storage/StructInstance.java index 87b7422..003bda2 100644 --- a/typesystem/src/main/java/org/apache/hadoop/metadata/storage/StructInstance.java +++ b/typesystem/src/main/java/org/apache/hadoop/metadata/storage/StructInstance.java @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.apache.hadoop.metadata.storage; import com.google.common.collect.ImmutableList; diff --git a/typesystem/src/main/java/org/apache/hadoop/metadata/types/FieldMapping.java b/typesystem/src/main/java/org/apache/hadoop/metadata/types/FieldMapping.java index 4f5b8df..eeb94bd 100644 --- a/typesystem/src/main/java/org/apache/hadoop/metadata/types/FieldMapping.java +++ b/typesystem/src/main/java/org/apache/hadoop/metadata/types/FieldMapping.java @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.apache.hadoop.metadata.types; import org.apache.hadoop.metadata.IReferenceableInstance; diff --git a/typesystem/src/main/java/org/apache/hadoop/metadata/types/IConstructableType.java b/typesystem/src/main/java/org/apache/hadoop/metadata/types/IConstructableType.java index f8b2e43..31418a6 100644 --- a/typesystem/src/main/java/org/apache/hadoop/metadata/types/IConstructableType.java +++ b/typesystem/src/main/java/org/apache/hadoop/metadata/types/IConstructableType.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.types; diff --git a/typesystem/src/main/java/org/apache/hadoop/metadata/types/IDataType.java b/typesystem/src/main/java/org/apache/hadoop/metadata/types/IDataType.java index a15c8cf..405a52a 100644 --- a/typesystem/src/main/java/org/apache/hadoop/metadata/types/IDataType.java +++ b/typesystem/src/main/java/org/apache/hadoop/metadata/types/IDataType.java @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.apache.hadoop.metadata.types; import org.apache.hadoop.metadata.MetadataException; diff --git a/typesystem/src/main/java/org/apache/hadoop/metadata/types/Multiplicity.java b/typesystem/src/main/java/org/apache/hadoop/metadata/types/Multiplicity.java index f06099f..1f5a8f7 100644 --- a/typesystem/src/main/java/org/apache/hadoop/metadata/types/Multiplicity.java +++ b/typesystem/src/main/java/org/apache/hadoop/metadata/types/Multiplicity.java @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.apache.hadoop.metadata.types; public final class Multiplicity { diff --git a/typesystem/src/main/java/org/apache/hadoop/metadata/types/ObjectGraphWalker.java b/typesystem/src/main/java/org/apache/hadoop/metadata/types/ObjectGraphWalker.java index 269c307..c6871b5 100644 --- a/typesystem/src/main/java/org/apache/hadoop/metadata/types/ObjectGraphWalker.java +++ b/typesystem/src/main/java/org/apache/hadoop/metadata/types/ObjectGraphWalker.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.types; import com.google.common.collect.ImmutableList; diff --git a/typesystem/src/main/java/org/apache/hadoop/metadata/types/StructType.java b/typesystem/src/main/java/org/apache/hadoop/metadata/types/StructType.java index 3de1d69..0c48c3d 100644 --- a/typesystem/src/main/java/org/apache/hadoop/metadata/types/StructType.java +++ b/typesystem/src/main/java/org/apache/hadoop/metadata/types/StructType.java @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.apache.hadoop.metadata.types; import com.google.common.collect.ImmutableList; diff --git a/typesystem/src/main/java/org/apache/hadoop/metadata/types/TypeUtils.java b/typesystem/src/main/java/org/apache/hadoop/metadata/types/TypeUtils.java index 83f041b..4579911 100644 --- a/typesystem/src/main/java/org/apache/hadoop/metadata/types/TypeUtils.java +++ b/typesystem/src/main/java/org/apache/hadoop/metadata/types/TypeUtils.java @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.apache.hadoop.metadata.types; import com.google.common.collect.ImmutableMap; diff --git a/typesystem/src/main/java/org/apache/hadoop/metadata/types/ValueConversionException.java b/typesystem/src/main/java/org/apache/hadoop/metadata/types/ValueConversionException.java index 5c648ad..d0496df 100644 --- a/typesystem/src/main/java/org/apache/hadoop/metadata/types/ValueConversionException.java +++ b/typesystem/src/main/java/org/apache/hadoop/metadata/types/ValueConversionException.java @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.apache.hadoop.metadata.types; import org.apache.hadoop.metadata.MetadataException; diff --git a/typesystem/src/main/java/org/apache/hadoop/metadata/types/package-info.java b/typesystem/src/main/java/org/apache/hadoop/metadata/types/package-info.java index 5841ec2..189b198 100644 --- a/typesystem/src/main/java/org/apache/hadoop/metadata/types/package-info.java +++ b/typesystem/src/main/java/org/apache/hadoop/metadata/types/package-info.java @@ -1,4 +1,4 @@ -/* +/** * 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 diff --git a/typesystem/src/main/resources/application.conf b/typesystem/src/main/resources/application.conf index 2c23cd6..393d7db 100644 --- a/typesystem/src/main/resources/application.conf +++ b/typesystem/src/main/resources/application.conf @@ -1,3 +1,19 @@ +# 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. + akka { loglevel = DEBUG stdout-loglevel = DEBUG diff --git a/typesystem/src/main/scala/org/apache/hadoop/metadata/TypesDef.scala b/typesystem/src/main/scala/org/apache/hadoop/metadata/TypesDef.scala index 88dfcf7..7a1c2fd 100644 --- a/typesystem/src/main/scala/org/apache/hadoop/metadata/TypesDef.scala +++ b/typesystem/src/main/scala/org/apache/hadoop/metadata/TypesDef.scala @@ -1,4 +1,4 @@ -/** +/* * 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 @@ -7,7 +7,7 @@ * "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 + * 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, diff --git a/typesystem/src/main/scala/org/apache/hadoop/metadata/cli/Console.scala b/typesystem/src/main/scala/org/apache/hadoop/metadata/cli/Console.scala index 6963c38..a4be88c 100644 --- a/typesystem/src/main/scala/org/apache/hadoop/metadata/cli/Console.scala +++ b/typesystem/src/main/scala/org/apache/hadoop/metadata/cli/Console.scala @@ -1,4 +1,4 @@ -/** +/* * 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 diff --git a/typesystem/src/main/scala/org/apache/hadoop/metadata/dsl/DynamicTypedStruct.scala b/typesystem/src/main/scala/org/apache/hadoop/metadata/dsl/DynamicTypedStruct.scala index a6843ca..b6515d4 100644 --- a/typesystem/src/main/scala/org/apache/hadoop/metadata/dsl/DynamicTypedStruct.scala +++ b/typesystem/src/main/scala/org/apache/hadoop/metadata/dsl/DynamicTypedStruct.scala @@ -1,4 +1,4 @@ -/** +/* * 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 diff --git a/typesystem/src/main/scala/org/apache/hadoop/metadata/dsl/package.scala b/typesystem/src/main/scala/org/apache/hadoop/metadata/dsl/package.scala index aff6bbd..b4565e3 100644 --- a/typesystem/src/main/scala/org/apache/hadoop/metadata/dsl/package.scala +++ b/typesystem/src/main/scala/org/apache/hadoop/metadata/dsl/package.scala @@ -1,4 +1,4 @@ -/** +/* * 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 diff --git a/typesystem/src/main/scala/org/apache/hadoop/metadata/json/Serialization.scala b/typesystem/src/main/scala/org/apache/hadoop/metadata/json/Serialization.scala index c00b16c..1c88c43 100644 --- a/typesystem/src/main/scala/org/apache/hadoop/metadata/json/Serialization.scala +++ b/typesystem/src/main/scala/org/apache/hadoop/metadata/json/Serialization.scala @@ -1,4 +1,4 @@ -/** +/* * 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 diff --git a/typesystem/src/main/scala/org/apache/hadoop/metadata/json/TypesSerialization.scala b/typesystem/src/main/scala/org/apache/hadoop/metadata/json/TypesSerialization.scala index 33f7192..b1cd587 100644 --- a/typesystem/src/main/scala/org/apache/hadoop/metadata/json/TypesSerialization.scala +++ b/typesystem/src/main/scala/org/apache/hadoop/metadata/json/TypesSerialization.scala @@ -1,4 +1,4 @@ -/** +/* * 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 @@ -7,7 +7,7 @@ * "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 + * 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, diff --git a/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/simpleserver/Main.scala b/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/simpleserver/Main.scala index 93ad141..ba0421d 100644 --- a/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/simpleserver/Main.scala +++ b/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/simpleserver/Main.scala @@ -1,4 +1,4 @@ -/** +/* * 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 diff --git a/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/simpleserver/MetadataActor.scala b/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/simpleserver/MetadataActor.scala index ea41aa9..ccef904 100644 --- a/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/simpleserver/MetadataActor.scala +++ b/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/simpleserver/MetadataActor.scala @@ -1,4 +1,4 @@ -/** +/* * 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 diff --git a/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/simpleserver/RestInterface.scala b/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/simpleserver/RestInterface.scala index 71f7803..4eec47f 100644 --- a/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/simpleserver/RestInterface.scala +++ b/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/simpleserver/RestInterface.scala @@ -1,4 +1,4 @@ -/** +/* * 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 diff --git a/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/thrift/ThriftParser.scala b/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/thrift/ThriftParser.scala index fe0b469..e5618b6 100644 --- a/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/thrift/ThriftParser.scala +++ b/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/thrift/ThriftParser.scala @@ -1,4 +1,4 @@ -/** +/* * 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 diff --git a/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/thrift/ThriftTypesGen.scala b/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/thrift/ThriftTypesGen.scala index 52ecf5a..c0e2a53 100644 --- a/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/thrift/ThriftTypesGen.scala +++ b/typesystem/src/main/scala/org/apache/hadoop/metadata/tools/thrift/ThriftTypesGen.scala @@ -1,4 +1,4 @@ -/** +/* * 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 diff --git a/typesystem/src/test/java/org/apache/hadoop/metadata/ClassTest.java b/typesystem/src/test/java/org/apache/hadoop/metadata/ClassTest.java index 2e35bdb..bc42737 100644 --- a/typesystem/src/test/java/org/apache/hadoop/metadata/ClassTest.java +++ b/typesystem/src/test/java/org/apache/hadoop/metadata/ClassTest.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata; import org.apache.hadoop.metadata.types.ClassType; diff --git a/typesystem/src/test/java/org/apache/hadoop/metadata/EnumTest.java b/typesystem/src/test/java/org/apache/hadoop/metadata/EnumTest.java index 8c283bc..77144ed 100644 --- a/typesystem/src/test/java/org/apache/hadoop/metadata/EnumTest.java +++ b/typesystem/src/test/java/org/apache/hadoop/metadata/EnumTest.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata; import com.google.common.collect.ImmutableList; diff --git a/typesystem/src/test/java/org/apache/hadoop/metadata/StorageTest.java b/typesystem/src/test/java/org/apache/hadoop/metadata/StorageTest.java index cf626b6..a618578 100644 --- a/typesystem/src/test/java/org/apache/hadoop/metadata/StorageTest.java +++ b/typesystem/src/test/java/org/apache/hadoop/metadata/StorageTest.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata; import com.google.common.collect.ImmutableList; diff --git a/typesystem/src/test/java/org/apache/hadoop/metadata/TraitTest.java b/typesystem/src/test/java/org/apache/hadoop/metadata/TraitTest.java index f5258ad..2f9b466 100644 --- a/typesystem/src/test/java/org/apache/hadoop/metadata/TraitTest.java +++ b/typesystem/src/test/java/org/apache/hadoop/metadata/TraitTest.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata; import com.google.common.collect.ImmutableList; diff --git a/typesystem/src/test/java/org/apache/hadoop/metadata/VenkateshTest.java b/typesystem/src/test/java/org/apache/hadoop/metadata/VenkateshTest.java index 735c829..98d9f7b 100644 --- a/typesystem/src/test/java/org/apache/hadoop/metadata/VenkateshTest.java +++ b/typesystem/src/test/java/org/apache/hadoop/metadata/VenkateshTest.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata; import com.google.common.collect.ImmutableList; diff --git a/typesystem/src/test/scala/org/apache/hadoop/metadata/dsl/DSLTest.scala b/typesystem/src/test/scala/org/apache/hadoop/metadata/dsl/DSLTest.scala index 1bed03e..6a97c44 100644 --- a/typesystem/src/test/scala/org/apache/hadoop/metadata/dsl/DSLTest.scala +++ b/typesystem/src/test/scala/org/apache/hadoop/metadata/dsl/DSLTest.scala @@ -1,4 +1,4 @@ -/** +/* * 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 diff --git a/typesystem/src/test/scala/org/apache/hadoop/metadata/hive/HiveMockMetadataService.scala b/typesystem/src/test/scala/org/apache/hadoop/metadata/hive/HiveMockMetadataService.scala index 9d77588..87a200a 100644 --- a/typesystem/src/test/scala/org/apache/hadoop/metadata/hive/HiveMockMetadataService.scala +++ b/typesystem/src/test/scala/org/apache/hadoop/metadata/hive/HiveMockMetadataService.scala @@ -1,4 +1,4 @@ -/** +/* * 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 diff --git a/typesystem/src/test/scala/org/apache/hadoop/metadata/json/SerializationTest.scala b/typesystem/src/test/scala/org/apache/hadoop/metadata/json/SerializationTest.scala index cca034c..1118de1 100644 --- a/typesystem/src/test/scala/org/apache/hadoop/metadata/json/SerializationTest.scala +++ b/typesystem/src/test/scala/org/apache/hadoop/metadata/json/SerializationTest.scala @@ -1,4 +1,4 @@ -/** +/* * 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 diff --git a/typesystem/src/test/scala/org/apache/hadoop/metadata/json/TypesSerializationTest.scala b/typesystem/src/test/scala/org/apache/hadoop/metadata/json/TypesSerializationTest.scala index 7ed5a68..a944443 100644 --- a/typesystem/src/test/scala/org/apache/hadoop/metadata/json/TypesSerializationTest.scala +++ b/typesystem/src/test/scala/org/apache/hadoop/metadata/json/TypesSerializationTest.scala @@ -1,4 +1,4 @@ -/** +/* * 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 @@ -7,7 +7,7 @@ * "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 + * 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, diff --git a/typesystem/src/test/scala/org/apache/hadoop/metadata/tools/thrift/ThriftLexerTest.scala b/typesystem/src/test/scala/org/apache/hadoop/metadata/tools/thrift/ThriftLexerTest.scala index 540686a..c3b0570 100644 --- a/typesystem/src/test/scala/org/apache/hadoop/metadata/tools/thrift/ThriftLexerTest.scala +++ b/typesystem/src/test/scala/org/apache/hadoop/metadata/tools/thrift/ThriftLexerTest.scala @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.tools.thrift import org.junit.Test diff --git a/typesystem/src/test/scala/org/apache/hadoop/metadata/tools/thrift/ThriftParserTest.scala b/typesystem/src/test/scala/org/apache/hadoop/metadata/tools/thrift/ThriftParserTest.scala index beab6fb..b765d6c 100644 --- a/typesystem/src/test/scala/org/apache/hadoop/metadata/tools/thrift/ThriftParserTest.scala +++ b/typesystem/src/test/scala/org/apache/hadoop/metadata/tools/thrift/ThriftParserTest.scala @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.tools.thrift import org.json4s.NoTypeHints diff --git a/webapp/pom.xml b/webapp/pom.xml index c1a53d7..a689224 100644 --- a/webapp/pom.xml +++ b/webapp/pom.xml @@ -1,16 +1,22 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- ~ 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. --> +<!-- + ~ 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. + --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> diff --git a/webapp/src/main/java/org/apache/hadoop/metadata/web/listeners/GuiceServletConfig.java b/webapp/src/main/java/org/apache/hadoop/metadata/web/listeners/GuiceServletConfig.java index 2380a78..e144cb6 100644 --- a/webapp/src/main/java/org/apache/hadoop/metadata/web/listeners/GuiceServletConfig.java +++ b/webapp/src/main/java/org/apache/hadoop/metadata/web/listeners/GuiceServletConfig.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.web.listeners; import java.util.HashMap; diff --git a/webapp/src/main/resources/graph.properties b/webapp/src/main/resources/graph.properties index b5759aa..ff41047 100644 --- a/webapp/src/main/resources/graph.properties +++ b/webapp/src/main/resources/graph.properties @@ -1,3 +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. +# + storage.backend=inmemory # Graph Search Index diff --git a/webapp/src/main/resources/log4j.xml b/webapp/src/main/resources/log4j.xml index 19fd864..5ef3bd9 100644 --- a/webapp/src/main/resources/log4j.xml +++ b/webapp/src/main/resources/log4j.xml @@ -51,6 +51,16 @@ <appender-ref ref="FILE"/> </logger> + <logger name="com.thinkaurelius.titan" additivity="false"> + <level value="info"/> + <appender-ref ref="FILE"/> + </logger> + + <logger name="org.elasticsearch" additivity="false"> + <level value="info"/> + <appender-ref ref="FILE"/> + </logger> + <logger name="AUDIT"> <level value="info"/> <appender-ref ref="console"/> @@ -59,7 +69,6 @@ <root> <priority value="info"/> - <appender-ref ref="console"/> <appender-ref ref="FILE"/> </root> diff --git a/webapp/src/main/webapp/WEB-INF/web.xml b/webapp/src/main/webapp/WEB-INF/web.xml index 06f9c95..2c067fb 100644 --- a/webapp/src/main/webapp/WEB-INF/web.xml +++ b/webapp/src/main/webapp/WEB-INF/web.xml @@ -1,15 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- ~ 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. --> +<!-- + ~ 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. + --> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> diff --git a/webapp/src/main/webapp/index.html b/webapp/src/main/webapp/index.html index 7579ced..0182695 100644 --- a/webapp/src/main/webapp/index.html +++ b/webapp/src/main/webapp/index.html @@ -15,6 +15,7 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License. --> + <!DOCTYPE HTML> <html lang="en"> <head> diff --git a/webapp/src/test/java/org/apache/hadoop/metadata/web/resources/BaseResourceIT.java b/webapp/src/test/java/org/apache/hadoop/metadata/web/resources/BaseResourceIT.java index a527e5d..c4506b6 100644 --- a/webapp/src/test/java/org/apache/hadoop/metadata/web/resources/BaseResourceIT.java +++ b/webapp/src/test/java/org/apache/hadoop/metadata/web/resources/BaseResourceIT.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.web.resources; import com.google.common.collect.ImmutableList; diff --git a/webapp/src/test/java/org/apache/hadoop/metadata/web/resources/RexsterGraphJerseyResourceIT.java b/webapp/src/test/java/org/apache/hadoop/metadata/web/resources/RexsterGraphJerseyResourceIT.java index 56f1d9f..f7dee45 100644 --- a/webapp/src/test/java/org/apache/hadoop/metadata/web/resources/RexsterGraphJerseyResourceIT.java +++ b/webapp/src/test/java/org/apache/hadoop/metadata/web/resources/RexsterGraphJerseyResourceIT.java @@ -1,3 +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. + */ + package org.apache.hadoop.metadata.web.resources; import com.sun.jersey.api.client.ClientResponse;