eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject [53/55] [abbrv] incubator-eagle git commit: [EAGLE-46] Resolve Apache License and enable apache-rat-plugin
Date Thu, 19 Nov 2015 10:48:00 GMT
http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-storage-base/src/test/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-base/src/test/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider b/eagle-core/eagle-query/eagle-storage-base/src/test/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider
index e601ad4..991484a 100644
--- a/eagle-core/eagle-query/eagle-storage-base/src/test/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider
+++ b/eagle-core/eagle-query/eagle-storage-base/src/test/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider
@@ -1 +1,16 @@
+# 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.
+
 org.apache.eagle.storage.spi.TestDataStorageServiceProvider
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-storage-base/src/test/resources/application.conf
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-base/src/test/resources/application.conf b/eagle-core/eagle-query/eagle-storage-base/src/test/resources/application.conf
index b26943f..dbaac1d 100644
--- a/eagle-core/eagle-query/eagle-storage-base/src/test/resources/application.conf
+++ b/eagle-core/eagle-query/eagle-storage-base/src/test/resources/application.conf
@@ -1,3 +1,18 @@
+# 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.
+
 eagle{
 	service{
 		env="dev"

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-storage-base/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-base/src/test/resources/log4j.properties b/eagle-core/eagle-query/eagle-storage-base/src/test/resources/log4j.properties
index 044d15f..d59ded6 100644
--- a/eagle-core/eagle-query/eagle-storage-base/src/test/resources/log4j.properties
+++ b/eagle-core/eagle-query/eagle-storage-base/src/test/resources/log4j.properties
@@ -1,3 +1,18 @@
+# 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.
+
 log4j.rootLogger=INFO, stdout
 
 # standard output

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-storage-hbase/src/assembly/hbase-coprocessor.xml
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-hbase/src/assembly/hbase-coprocessor.xml b/eagle-core/eagle-query/eagle-storage-hbase/src/assembly/hbase-coprocessor.xml
index d6bd722..fa80c64 100644
--- a/eagle-core/eagle-query/eagle-storage-hbase/src/assembly/hbase-coprocessor.xml
+++ b/eagle-core/eagle-query/eagle-storage-hbase/src/assembly/hbase-coprocessor.xml
@@ -1,3 +1,20 @@
+<?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.
+  -->
 <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">

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-storage-hbase/src/main/protobuf/AggregateProtocol.proto
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-hbase/src/main/protobuf/AggregateProtocol.proto b/eagle-core/eagle-query/eagle-storage-hbase/src/main/protobuf/AggregateProtocol.proto
index aa3a391..c3385a1 100644
--- a/eagle-core/eagle-query/eagle-storage-hbase/src/main/protobuf/AggregateProtocol.proto
+++ b/eagle-core/eagle-query/eagle-storage-hbase/src/main/protobuf/AggregateProtocol.proto
@@ -1,4 +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.
+ *
  * Compile: protoc -I ~/Workspace/hbase/hbase-protocol/src/main/protobuf/ -I src/main/protobuf --java_out=src/main/java src/main/protobuf/AggregateProtocol.proto
  */
 option java_package = "org.apache.eagle.storage.hbase.query.coprocessor.generated";

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-storage-hbase/src/main/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-hbase/src/main/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider b/eagle-core/eagle-query/eagle-storage-hbase/src/main/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider
index d413c09..97758b7 100644
--- a/eagle-core/eagle-query/eagle-storage-hbase/src/main/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider
+++ b/eagle-core/eagle-query/eagle-storage-hbase/src/main/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider
@@ -1 +1,16 @@
+# 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.
+
 org.apache.eagle.storage.hbase.spi.HBaseStorageServiceProvider
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-storage-hbase/src/test/resources/application.conf
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-hbase/src/test/resources/application.conf b/eagle-core/eagle-query/eagle-storage-hbase/src/test/resources/application.conf
index 708f544..25257c5 100644
--- a/eagle-core/eagle-query/eagle-storage-hbase/src/test/resources/application.conf
+++ b/eagle-core/eagle-query/eagle-storage-hbase/src/test/resources/application.conf
@@ -1,3 +1,18 @@
+# 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.
+
 eagle{
 	service{
 		env="dev"

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-storage-hbase/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-hbase/src/test/resources/log4j.properties b/eagle-core/eagle-query/eagle-storage-hbase/src/test/resources/log4j.properties
index 044d15f..d59ded6 100644
--- a/eagle-core/eagle-query/eagle-storage-hbase/src/test/resources/log4j.properties
+++ b/eagle-core/eagle-query/eagle-storage-hbase/src/test/resources/log4j.properties
@@ -1,3 +1,18 @@
+# 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.
+
 log4j.rootLogger=INFO, stdout
 
 # standard output

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-storage-jdbc/src/main/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-jdbc/src/main/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider b/eagle-core/eagle-query/eagle-storage-jdbc/src/main/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider
index 9b449da..61601a2 100644
--- a/eagle-core/eagle-query/eagle-storage-jdbc/src/main/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider
+++ b/eagle-core/eagle-query/eagle-storage-jdbc/src/main/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider
@@ -1 +1,16 @@
+# 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.
+
 org.apache.eagle.storage.jdbc.spi.JdbcStorageServiceProvider
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-storage-jdbc/src/test/resources/application.conf
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-jdbc/src/test/resources/application.conf b/eagle-core/eagle-query/eagle-storage-jdbc/src/test/resources/application.conf
index d558aa0..61a899f 100644
--- a/eagle-core/eagle-query/eagle-storage-jdbc/src/test/resources/application.conf
+++ b/eagle-core/eagle-query/eagle-storage-jdbc/src/test/resources/application.conf
@@ -1,3 +1,18 @@
+# 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.
+
 eagle {
 	service {
 		storage-type="jdbc"

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-storage-jdbc/src/test/resources/ddl/unittest_testtsentity.sql
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-jdbc/src/test/resources/ddl/unittest_testtsentity.sql b/eagle-core/eagle-query/eagle-storage-jdbc/src/test/resources/ddl/unittest_testtsentity.sql
index cdd4c33..48bc367 100644
--- a/eagle-core/eagle-query/eagle-storage-jdbc/src/test/resources/ddl/unittest_testtsentity.sql
+++ b/eagle-core/eagle-query/eagle-storage-jdbc/src/test/resources/ddl/unittest_testtsentity.sql
@@ -1,18 +1,20 @@
 /*
- Navicat MySQL Data Transfer
-
- Source Server         : localhost
- Source Server Type    : MySQL
- Source Server Version : 50623
- Source Host           : localhost
- Source Database       : eagle
-
- Target Server Type    : MySQL
- Target Server Version : 50623
- File Encoding         : utf-8
-
- Date: 03/29/2015 01:49:47 AM
-*/
+ * 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.
+ *
+ */
 
 SET NAMES utf8;
 SET FOREIGN_KEY_CHECKS = 0;

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-storage-jdbc/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-jdbc/src/test/resources/log4j.properties b/eagle-core/eagle-query/eagle-storage-jdbc/src/test/resources/log4j.properties
index 044d15f..d59ded6 100644
--- a/eagle-core/eagle-query/eagle-storage-jdbc/src/test/resources/log4j.properties
+++ b/eagle-core/eagle-query/eagle-storage-jdbc/src/test/resources/log4j.properties
@@ -1,3 +1,18 @@
+# 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.
+
 log4j.rootLogger=INFO, stdout
 
 # standard output

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-external/eagle-ambari/lib/EAGLE/configuration/application.conf
----------------------------------------------------------------------
diff --git a/eagle-external/eagle-ambari/lib/EAGLE/configuration/application.conf b/eagle-external/eagle-ambari/lib/EAGLE/configuration/application.conf
index 3bd0abc..9caef36 100644
--- a/eagle-external/eagle-ambari/lib/EAGLE/configuration/application.conf
+++ b/eagle-external/eagle-ambari/lib/EAGLE/configuration/application.conf
@@ -1,3 +1,18 @@
+# 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.
+
 {
   "deployInstanceIdentifier" : {
     "programId": "hdfsAuditLogMonitoring"

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-external/eagle-ambari/lib/EAGLE/configuration/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-external/eagle-ambari/lib/EAGLE/configuration/log4j.properties b/eagle-external/eagle-ambari/lib/EAGLE/configuration/log4j.properties
index ee7daf9..25331ab 100644
--- a/eagle-external/eagle-ambari/lib/EAGLE/configuration/log4j.properties
+++ b/eagle-external/eagle-ambari/lib/EAGLE/configuration/log4j.properties
@@ -1,3 +1,18 @@
+# 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.
+
 log4j.rootLogger=INFO, stdout
 
  eagle.log.dir=../logs

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-hbase-securitylog/src/main/resources/application.conf
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-hbase-securitylog/src/main/resources/application.conf b/eagle-security/eagle-security-hbase-securitylog/src/main/resources/application.conf
index 9b8d122..4c5efae 100644
--- a/eagle-security/eagle-security-hbase-securitylog/src/main/resources/application.conf
+++ b/eagle-security/eagle-security-hbase-securitylog/src/main/resources/application.conf
@@ -1,3 +1,18 @@
+# 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.
+
 {
   "envContextConfig" : {
     "env" : "storm",

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-hdfs-auditlog/src/main/resources/application.conf
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-hdfs-auditlog/src/main/resources/application.conf b/eagle-security/eagle-security-hdfs-auditlog/src/main/resources/application.conf
index 4337674..de146f2 100644
--- a/eagle-security/eagle-security-hdfs-auditlog/src/main/resources/application.conf
+++ b/eagle-security/eagle-security-hdfs-auditlog/src/main/resources/application.conf
@@ -1,3 +1,18 @@
+# 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.
+
 {
   "envContextConfig" : {
     "env" : "storm",

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-hdfs-auditlog/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-hdfs-auditlog/src/main/resources/log4j.properties b/eagle-security/eagle-security-hdfs-auditlog/src/main/resources/log4j.properties
index 83838a5..8a0919a 100644
--- a/eagle-security/eagle-security-hdfs-auditlog/src/main/resources/log4j.properties
+++ b/eagle-security/eagle-security-hdfs-auditlog/src/main/resources/log4j.properties
@@ -1,3 +1,18 @@
+# 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.
+
 log4j.rootLogger=INFO, stdout, DRFA
 
 eagle.log.dir=./logs

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-hdfs-securitylog/src/main/resources/application.conf
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-hdfs-securitylog/src/main/resources/application.conf b/eagle-security/eagle-security-hdfs-securitylog/src/main/resources/application.conf
index 9672685..fa970d1 100644
--- a/eagle-security/eagle-security-hdfs-securitylog/src/main/resources/application.conf
+++ b/eagle-security/eagle-security-hdfs-securitylog/src/main/resources/application.conf
@@ -1,3 +1,18 @@
+# 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.
+
 {
   "envContextConfig" : {
     "env" : "storm",

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-hdfs-web/src/main/resources/create-hdfs-resource-access-config.sh
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-hdfs-web/src/main/resources/create-hdfs-resource-access-config.sh b/eagle-security/eagle-security-hdfs-web/src/main/resources/create-hdfs-resource-access-config.sh
index 882e5c5..2151fe4 100644
--- a/eagle-security/eagle-security-hdfs-web/src/main/resources/create-hdfs-resource-access-config.sh
+++ b/eagle-security/eagle-security-hdfs-web/src/main/resources/create-hdfs-resource-access-config.sh
@@ -1,3 +1,20 @@
-# HDFS Resource Access Config 
+#!/bin/bash
+
+# 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.
+
+# HDFS Resource Access Config
 curl -X POST -H 'Content-Type:application/json' "http://localhost:8080/eagle-service/rest/entities?serviceName=AlertDataSourceService" -d '[{"prefix":"alertDataSource","tags":{"site":"cluster1-dc1","dataSource":"hdfsAuditLog"},"config":"{\"hdfsEndpoint\":\"hdfs://sandbox.hortonworks.com:8020\"}" }]'
 

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-hdfs-web/src/main/resources/sample_site.conf
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-hdfs-web/src/main/resources/sample_site.conf b/eagle-security/eagle-security-hdfs-web/src/main/resources/sample_site.conf
index c5b375f..ce28774 100644
--- a/eagle-security/eagle-security-hdfs-web/src/main/resources/sample_site.conf
+++ b/eagle-security/eagle-security-hdfs-web/src/main/resources/sample_site.conf
@@ -1,3 +1,18 @@
+# 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.
+
 {
   "siteId":"cluster1-dc1",
   "dataSource":"hdfsAuditLog",

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-hive/src/main/resources/application-hive-ranger.conf
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-hive/src/main/resources/application-hive-ranger.conf b/eagle-security/eagle-security-hive/src/main/resources/application-hive-ranger.conf
index f316f82..250ad51 100644
--- a/eagle-security/eagle-security-hive/src/main/resources/application-hive-ranger.conf
+++ b/eagle-security/eagle-security-hive/src/main/resources/application-hive-ranger.conf
@@ -1,3 +1,18 @@
+# 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.
+
 {
   "envContextConfig" : {
     "env" : "storm",

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-hive/src/main/resources/application.conf
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-hive/src/main/resources/application.conf b/eagle-security/eagle-security-hive/src/main/resources/application.conf
index e395d57..a1ca076 100644
--- a/eagle-security/eagle-security-hive/src/main/resources/application.conf
+++ b/eagle-security/eagle-security-hive/src/main/resources/application.conf
@@ -1,3 +1,18 @@
+# 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.
+
 {
   "envContextConfig" : {
     "env" : "storm",

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-hive/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-hive/src/main/resources/log4j.properties b/eagle-security/eagle-security-hive/src/main/resources/log4j.properties
index 0c93b68..6db2286 100644
--- a/eagle-security/eagle-security-hive/src/main/resources/log4j.properties
+++ b/eagle-security/eagle-security-hive/src/main/resources/log4j.properties
@@ -1,3 +1,18 @@
+# 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.
+
 log4j.rootLogger=INFO, stdout, DRFA
 
 eagle.log.dir=./logs

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-userprofile/common/run_mltraining_topology.sh
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-userprofile/common/run_mltraining_topology.sh b/eagle-security/eagle-security-userprofile/common/run_mltraining_topology.sh
index f6a1668..dfab19d 100755
--- a/eagle-security/eagle-security-userprofile/common/run_mltraining_topology.sh
+++ b/eagle-security/eagle-security-userprofile/common/run_mltraining_topology.sh
@@ -1,2 +1,19 @@
+#!/usr/bin/env bash
+
+# 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.
+
 export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home
 mvn -X exec:java -Dexec.mainClass="eagle.auditlog.userprofile.training.AuditLogUserProfileMain"

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-userprofile/common/src/main/resources/UserList.txt
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-userprofile/common/src/main/resources/UserList.txt b/eagle-security/eagle-security-userprofile/common/src/main/resources/UserList.txt
deleted file mode 100644
index affaa40..0000000
--- a/eagle-security/eagle-security-userprofile/common/src/main/resources/UserList.txt
+++ /dev/null
@@ -1,161 +0,0 @@
-aakkinapalli
-aakkinapalli@xyz.com
-abarco@xyz.com
-abergeot@xyz.com
-abhinsinha@xyz.com
-aclare@xyz.com
-acozzi@xyz.com
-ajgovindu@xyz.com
-ajkale@xyz.com
-ajmathews@xyz.com
-akokarski@xyz.com
-akroskin@xyz.com
-alkhizgilov@xyz.com
-amaliakkalpadman
-amaliakkalpadman@xyz.com
-amjaiswal@xyz.com
-anidutta@xyz.com
-anikhanna@xyz.com
-anjsharma
-ankujain@xyz.com
-anusinha@xyz.com
-anxzhang
-anxzhang@xyz.com
-appmon@APD.xyz.com
-appmon@xyz.com
-aragipindi@xyz.com
-ardagan
-ardagan@xyz.com
-ares_uc4_ice
-ares_uc4_ice@xyz.com
-arestificar@xyz.com
-arnanavati@xyz.com
-arramachandran
-arramachandran@xyz.com
-arunkr@xyz.com
-aschwerin@xyz.com
-asinghai
-assundaram
-assundaram@xyz.com
-asudhi@xyz.com
-atislam@xyz.com
-avmukherjee
-avmukherjee@xyz.com
-azhicharevich@xyz.com
-b_acct
-b_ads@xyz.com
-b_apdpds@xyz.com
-b_app_buyer
-b_app_buyer@xyz.com
-b_app_cbt
-b_app_cbt@xyz.com
-b_app_cstmr
-b_app_cstmr@xyz.com
-b_app_exl_sas
-b_app_exl_sas@xyz.com
-b_app_exl@xyz.com
-b_app_mdo
-b_app_mdo@xyz.com
-b_apt@xyz.com
-b_aries@xyz.com
-b_attr
-b_bid
-user2
-user2@APD.xyz.com
-user2@xyz.com
-b_buyer
-b_buyer@xyz.com
-b_capman@xyz.com
-b_cart
-b_cart@xyz.com
-b_ck
-b_clsfd
-b_clsfd@xyz.com
-b_crawler@xyz.com
-b_cs
-b_cs@xyz.com
-b_cstmr
-b_cstmr@xyz.com
-b_ctlg
-b_ctlg@xyz.com
-b_cx_trafficreports@xyz.com
-b_dealfinder@xyz.com
-b_des
-b_des@APD.xyz.com
-b_des@xyz.com
-b_dpms@xyz.com
-b_dqportal@xyz.com
-b_dw_adm_inf@APD.xyz.com
-b_dw_adm_prod@APD.xyz.com
-b_dw_adm_qa@APD.xyz.com
-b_eagle@xyz.com
-b_company1advertising@xyz.com
-b_ecn_ds@xyz.com
-b_ecn_dw@xyz.com
-b_fdbk
-b_find
-b_gatewayapps@xyz.com
-b_gisubramanya@xyz.com
-b_globalview@xyz.com
-b_hd_seller
-b_hd_seller@xyz.com
-b_ima
-b_ima@APD.xyz.com
-b_ima@xyz.com
-b_inbound_traffic@xyz.com
-b_inc_3rdprty_rw
-b_inc_3rdprty_rw@xyz.com
-b_inc_b4f_rw
-b_inc_b4f_rw@xyz.com
-b_inc_company1_rw
-b_inc_company1_rw@xyz.com
-b_inc_milo_rw@xyz.com
-b_inc_paypal_rw
-b_inc_paypal_rw@xyz.com
-b_inc_redlaser_rw
-b_inc_redlaser_rw@xyz.com
-b_inc_stubhub_rw
-b_inc_stubhub_rw@xyz.com
-b_incdata_rw
-b_incdata_rw@xyz.com
-b_incdata_seg_rw@xyz.com
-b_integrationsdo@xyz.com
-b_inv_dev_qa@xyz.com
-b_invinsights@xyz.com
-user1@APD.xyz.com
-user1@xyz.com
-b_lkp
-b_lstg
-b_mantis@xyz.com
-b_mao
-b_merch_comp@xyz.com
-b_merch@xyz.com
-b_merchant_monitor@APD.xyz.com
-b_merchant_monitor@xyz.com
-b_mobile_dev@xyz.com
-b_mrktng_hlth@xyz.com
-b_mt@xyz.com
-b_mycompany1
-b_ngdf
-b_ocs@xyz.com
-b_odr
-b_olympia
-b_otam_merch_algo@xyz.com
-b_p_prs_event
-b_p13n@xyz.com
-b_pandaren_kwdm
-b_pandaren_kwdm@APD.xyz.com
-b_pandaren_kwdm@xyz.com
-b_pcatalogs@xyz.com
-b_pcee_lmar@xyz.com
-b_pdxmobile@xyz.com
-b_pptracking@xyz.com
-b_pulsar_coe@APD.xyz.com
-b_pulsar_coe@xyz.com
-b_pymt
-b_qa_company1advertising@xyz.com
-b_qe_coe@APD.xyz.com
-b_qe_coe@xyz.com
-b_risk_infra_user@xyz.com
-b_riskmgmt_insights@xyz.com
-b_rrt@xyz.com
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-userprofile/common/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-userprofile/common/src/main/resources/log4j.properties b/eagle-security/eagle-security-userprofile/common/src/main/resources/log4j.properties
index 7a5c411..3499c46 100644
--- a/eagle-security/eagle-security-userprofile/common/src/main/resources/log4j.properties
+++ b/eagle-security/eagle-security-userprofile/common/src/main/resources/log4j.properties
@@ -1,3 +1,18 @@
+# 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.
+
 log4j.rootLogger=INFO, stdout
 
  eagle.log.dir=./logs

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-userprofile/common/src/main/resources/storm.yaml.1
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-userprofile/common/src/main/resources/storm.yaml.1 b/eagle-security/eagle-security-userprofile/common/src/main/resources/storm.yaml.1
index b1995d9..2ea7262 100644
--- a/eagle-security/eagle-security-userprofile/common/src/main/resources/storm.yaml.1
+++ b/eagle-security/eagle-security-userprofile/common/src/main/resources/storm.yaml.1
@@ -1,3 +1,18 @@
+# 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.
+
 ### topology.* configs are for specific executing storms
 topology.enable.message.timeouts: true
 topology.debug: false

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-userprofile/common/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-userprofile/common/src/test/resources/log4j.properties b/eagle-security/eagle-security-userprofile/common/src/test/resources/log4j.properties
index 7a5c411..3499c46 100644
--- a/eagle-security/eagle-security-userprofile/common/src/test/resources/log4j.properties
+++ b/eagle-security/eagle-security-userprofile/common/src/test/resources/log4j.properties
@@ -1,3 +1,18 @@
+# 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.
+
 log4j.rootLogger=INFO, stdout
 
  eagle.log.dir=./logs

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-userprofile/common/src/test/resources/storm.yaml.2
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-userprofile/common/src/test/resources/storm.yaml.2 b/eagle-security/eagle-security-userprofile/common/src/test/resources/storm.yaml.2
index b1995d9..2ea7262 100644
--- a/eagle-security/eagle-security-userprofile/common/src/test/resources/storm.yaml.2
+++ b/eagle-security/eagle-security-userprofile/common/src/test/resources/storm.yaml.2
@@ -1,3 +1,18 @@
+# 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.
+
 ### topology.* configs are for specific executing storms
 topology.enable.message.timeouts: true
 topology.debug: false

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-userprofile/detection/src/main/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-userprofile/detection/src/main/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider b/eagle-security/eagle-security-userprofile/detection/src/main/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
index 292115d..d7a2754 100644
--- a/eagle-security/eagle-security-userprofile/detection/src/main/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
+++ b/eagle-security/eagle-security-userprofile/detection/src/main/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
@@ -1 +1,16 @@
+# 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.
+
 org.apache.eagle.ml.impl.MLPolicyEvaluatorServiceProviderImpl
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-userprofile/detection/src/main/resources/application-batch.conf
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-userprofile/detection/src/main/resources/application-batch.conf b/eagle-security/eagle-security-userprofile/detection/src/main/resources/application-batch.conf
index f65a0c2..3a464b3 100644
--- a/eagle-security/eagle-security-userprofile/detection/src/main/resources/application-batch.conf
+++ b/eagle-security/eagle-security-userprofile/detection/src/main/resources/application-batch.conf
@@ -1,3 +1,18 @@
+# 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.
+
 {
 	"deployInstanceIdentifier" : {
 		"programId" : "mlProgramId"

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-userprofile/detection/src/main/resources/application-stream.conf
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-userprofile/detection/src/main/resources/application-stream.conf b/eagle-security/eagle-security-userprofile/detection/src/main/resources/application-stream.conf
index 283c717..03fcbe2 100644
--- a/eagle-security/eagle-security-userprofile/detection/src/main/resources/application-stream.conf
+++ b/eagle-security/eagle-security-userprofile/detection/src/main/resources/application-stream.conf
@@ -1,3 +1,18 @@
+# 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.
+
 {
 	"deployInstanceIdentifier" : {
 		"programId" : "mlProgramId"

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-userprofile/detection/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-userprofile/detection/src/main/resources/log4j.properties b/eagle-security/eagle-security-userprofile/detection/src/main/resources/log4j.properties
index 7a5c411..3499c46 100644
--- a/eagle-security/eagle-security-userprofile/detection/src/main/resources/log4j.properties
+++ b/eagle-security/eagle-security-userprofile/detection/src/main/resources/log4j.properties
@@ -1,3 +1,18 @@
+# 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.
+
 log4j.rootLogger=INFO, stdout
 
  eagle.log.dir=./logs

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-userprofile/detection/src/test/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-userprofile/detection/src/test/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider b/eagle-security/eagle-security-userprofile/detection/src/test/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
index 756741e..e363e67 100644
--- a/eagle-security/eagle-security-userprofile/detection/src/test/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
+++ b/eagle-security/eagle-security-userprofile/detection/src/test/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
@@ -1 +1,16 @@
-eagle.ml.legacy.MachineLearningPolicyEvaluatorServiceProviderImpl
\ No newline at end of file
+# 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.
+
+# org.apache.eagle.ml.legacy.MachineLearningPolicyEvaluatorServiceProviderImpl
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-userprofile/detection/src/test/resources/storm.yaml.1
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-userprofile/detection/src/test/resources/storm.yaml.1 b/eagle-security/eagle-security-userprofile/detection/src/test/resources/storm.yaml.1
index b1995d9..2ea7262 100644
--- a/eagle-security/eagle-security-userprofile/detection/src/test/resources/storm.yaml.1
+++ b/eagle-security/eagle-security-userprofile/detection/src/test/resources/storm.yaml.1
@@ -1,3 +1,18 @@
+# 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.
+
 ### topology.* configs are for specific executing storms
 topology.enable.message.timeouts: true
 topology.debug: false

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-userprofile/training/src/main/resources/application.conf
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-userprofile/training/src/main/resources/application.conf b/eagle-security/eagle-security-userprofile/training/src/main/resources/application.conf
index ce63a30..db896d0 100644
--- a/eagle-security/eagle-security-userprofile/training/src/main/resources/application.conf
+++ b/eagle-security/eagle-security-userprofile/training/src/main/resources/application.conf
@@ -1,3 +1,18 @@
+# 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.
+
 eagle{
 	site = "sandbox"
 

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-security/eagle-security-userprofile/training/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-security/eagle-security-userprofile/training/src/main/resources/log4j.properties b/eagle-security/eagle-security-userprofile/training/src/main/resources/log4j.properties
index ca89e5e..aff248b 100644
--- a/eagle-security/eagle-security-userprofile/training/src/main/resources/log4j.properties
+++ b/eagle-security/eagle-security-userprofile/training/src/main/resources/log4j.properties
@@ -1,3 +1,18 @@
+# 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.
+
 log4j.rootLogger=DEBUG, stdout
 
  eagle.log.dir=./logs

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-webservice/pom.xml
----------------------------------------------------------------------
diff --git a/eagle-webservice/pom.xml b/eagle-webservice/pom.xml
index 5c82809..1acce45 100644
--- a/eagle-webservice/pom.xml
+++ b/eagle-webservice/pom.xml
@@ -27,7 +27,7 @@
     </parent>
     <artifactId>eagle-webservice</artifactId>
 	<packaging>war</packaging>
-	<name>eagle-service</name>
+	<name>eagle-webservice</name>
 
 	<dependencies>
         <dependency>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 268d600..a6b1189 100755
--- a/pom.xml
+++ b/pom.xml
@@ -61,6 +61,7 @@
         <maven-scala.version>2.15.0</maven-scala.version>
         <maven-scalatest.version>1.0</maven-scalatest.version>
         <maven-tomcat7.version>2.2</maven-tomcat7.version>
+        <maven-apache-rat.version>0.11</maven-apache-rat.version>
 
         <!-- Environment Versions-->
         <hadoop.version>2.6.0.2.2.5.1-3</hadoop.version>
@@ -679,6 +680,15 @@
         <pluginManagement>
             <plugins>
                 <plugin>
+                    <groupId>org.apache.rat</groupId>
+                    <artifactId>apache-rat-plugin</artifactId>
+                    <version>${maven-apache-rat.version}</version>
+                    <configuration>
+                        <useDefaultExcludes>true</useDefaultExcludes>
+                    </configuration>
+                </plugin>
+
+                <plugin>
                     <groupId>org.apache.tomcat.maven</groupId>
                     <artifactId>tomcat7-maven-plugin</artifactId>
                     <version>${maven-tomcat7.version}</version>


Mime
View raw message