eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject [54/55] [abbrv] incubator-eagle git commit: [EAGLE-46] Resolve Apache License and enable apache-rat-plugin
Date Thu, 19 Nov 2015 10:48:01 GMT
[EAGLE-46] Resolve Apache License and enable  apache-rat-plugin


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

Branch: refs/heads/master
Commit: 37e44290d629dc726440ca3576a48994a726e4d9
Parents: e05fac6
Author: Hao Chen <hao@apache.org>
Authored: Thu Nov 19 18:08:35 2015 +0800
Committer: Hao Chen <hao@apache.org>
Committed: Thu Nov 19 18:08:35 2015 +0800

----------------------------------------------------------------------
 .travis.yml                                     |   9 --
 CONTRIBUTING.md                                 |  19 +++
 .../sandbox-hbaseSecurityLog-application.conf   |  15 ++
 .../conf/sandbox-hdfsAuditLog-application.conf  |  15 ++
 .../sandbox-hdfsSecurityLog-application.conf    |  15 ++
 .../conf/sandbox-hiveQueryLog-application.conf  |  15 ++
 .../eagle/alert/notification/UrlBuilder.java    |  17 ++
 .../src/main/resources/ALERT_DEFAULT.vm         |  16 ++
 ....alert.policy.PolicyEvaluatorServiceProvider |  15 ++
 .../src/main/resources/table-create.script      |  15 ++
 .../src/test/resources/application.conf         |  15 ++
 .../src/test/resources/log4j.properties         |  15 ++
 .../src/test/resources/unittest.conf            |  15 ++
 ...le.service.alert.AlertPolicyValidateProvider |  15 ++
 ...le.service.alert.AlertPolicyValidateProvider |  15 ++
 .../src/test/resources/log4j.properties         |  15 ++
 .../src/main/resources/log4j.properties         |  15 ++
 .../src/test/resources/hive-jobrunning.conf     |  15 ++
 .../src/test/resources/log4j.properties         |  15 ++
 .../eagle-stream-process-api/pom.xml            |  16 ++
 .../src/test/resources/application.conf         |  15 ++
 .../src/test/resources/event-metadata-init.sh   |  17 +-
 .../src/test/resources/log4j.properties         |  15 ++
 eagle-core/eagle-data-process/pom.xml           |   3 +-
 .../eagle-embed-server/runEmbeddedServer.sh     |  15 ++
 ....alert.policy.PolicyEvaluatorServiceProvider |  15 ++
 ....alert.policy.PolicyEvaluatorServiceProvider |  15 ++
 .../src/test/resources/application.conf         |  15 ++
 .../src/test/resources/log4j.properties         |  15 ++
 .../test/resources/ml-policyDef-UserProfile.txt |  17 ++
 .../src/test/resources/log4j.properties         |  15 ++
 .../src/test/resources/booleanExp.txt           |   1 -
 .../client/security/SecurityConstants.java      |  16 ++
 .../jackson/TestJacksonUnmashalling.java        | 149 -----------------
 .../src/test/resources/arrayJson.txt            |   6 -
 .../src/test/resources/complexPojoJson.txt      |  14 --
 .../src/test/resources/log4j.properties         |  15 ++
 .../src/test/resources/mapJson.txt              |   6 -
 .../src/test/resources/pojoArrayJson.txt        |  10 --
 .../src/test/resources/pojoJson.txt             |   4 -
 .../eagle-common/src/main/resources/footer.vm   |  23 ++-
 .../eagle-common/src/main/resources/header.vm   |  21 ++-
 .../src/main/resources/templates/tec_alert.vm   |  21 ++-
 .../eagle-common/src/test/resources/footer.vm   |  21 ++-
 .../eagle-common/src/test/resources/header.vm   |  21 ++-
 .../src/test/resources/log4j.properties         |  17 +-
 .../src/test/resources/templates/tec_alert.vm   |  21 ++-
 .../resources/templates/test_anomaly_alert.vm   |  21 ++-
 .../src/test/resources/test-service-config.conf |  17 +-
 .../src/test/resources/application.conf         |  15 ++
 .../src/test/resources/log4j.properties         |  15 ++
 .../src/main/webapp/META-INF/MANIFEST.MF        |   3 -
 .../src/main/webapp/WEB-INF/web.xml             |  21 ++-
 .../eagle-query/eagle-storage-base/pom.xml      |   1 -
 ...eagle.storage.spi.DataStorageServiceProvider |   1 -
 ...eagle.storage.spi.DataStorageServiceProvider |  16 ++
 ...eagle.storage.spi.DataStorageServiceProvider |  15 ++
 .../src/test/resources/application.conf         |  15 ++
 .../src/test/resources/log4j.properties         |  15 ++
 .../src/assembly/hbase-coprocessor.xml          |  17 ++
 .../src/main/protobuf/AggregateProtocol.proto   |  15 ++
 ...eagle.storage.spi.DataStorageServiceProvider |  15 ++
 .../src/test/resources/application.conf         |  15 ++
 .../src/test/resources/log4j.properties         |  15 ++
 ...eagle.storage.spi.DataStorageServiceProvider |  15 ++
 .../src/test/resources/application.conf         |  15 ++
 .../resources/ddl/unittest_testtsentity.sql     |  30 ++--
 .../src/test/resources/log4j.properties         |  15 ++
 .../lib/EAGLE/configuration/application.conf    |  15 ++
 .../lib/EAGLE/configuration/log4j.properties    |  15 ++
 .../src/main/resources/application.conf         |  15 ++
 .../src/main/resources/application.conf         |  15 ++
 .../src/main/resources/log4j.properties         |  15 ++
 .../src/main/resources/application.conf         |  15 ++
 .../create-hdfs-resource-access-config.sh       |  19 ++-
 .../src/main/resources/sample_site.conf         |  15 ++
 .../main/resources/application-hive-ranger.conf |  15 ++
 .../src/main/resources/application.conf         |  15 ++
 .../src/main/resources/log4j.properties         |  15 ++
 .../common/run_mltraining_topology.sh           |  17 ++
 .../common/src/main/resources/UserList.txt      | 161 -------------------
 .../common/src/main/resources/log4j.properties  |  15 ++
 .../common/src/main/resources/storm.yaml.1      |  15 ++
 .../common/src/test/resources/log4j.properties  |  15 ++
 .../common/src/test/resources/storm.yaml.2      |  15 ++
 ....alert.policy.PolicyEvaluatorServiceProvider |  15 ++
 .../src/main/resources/application-batch.conf   |  15 ++
 .../src/main/resources/application-stream.conf  |  15 ++
 .../src/main/resources/log4j.properties         |  15 ++
 ....alert.policy.PolicyEvaluatorServiceProvider |  17 +-
 .../detection/src/test/resources/storm.yaml.1   |  15 ++
 .../src/main/resources/application.conf         |  15 ++
 .../src/main/resources/log4j.properties         |  15 ++
 eagle-webservice/pom.xml                        |   2 +-
 pom.xml                                         |  10 ++
 95 files changed, 1263 insertions(+), 410 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index b482404..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-language: java
-jdk:
-    - oraclejdk7
-script:
-    - mvn clean compile -DskipTests=true -Dmaven.javadoc.skip=true
-cache:
-  directories:
-    - $HOME/.m2
-    - $HOME/.ivy2

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/CONTRIBUTING.md
----------------------------------------------------------------------
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4d8e2ea..2cbcdb9 100755
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,3 +1,22 @@
+<!--
+{% comment %}
+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.
+{% endcomment %}
+-->
+
 ## Contributing to Eagle
 
 Contributions via GitHub pull requests are gladly accepted from their original

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-assembly/src/main/conf/sandbox-hbaseSecurityLog-application.conf
----------------------------------------------------------------------
diff --git a/eagle-assembly/src/main/conf/sandbox-hbaseSecurityLog-application.conf b/eagle-assembly/src/main/conf/sandbox-hbaseSecurityLog-application.conf
index dfab25a..7fe2866 100644
--- a/eagle-assembly/src/main/conf/sandbox-hbaseSecurityLog-application.conf
+++ b/eagle-assembly/src/main/conf/sandbox-hbaseSecurityLog-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-assembly/src/main/conf/sandbox-hdfsAuditLog-application.conf
----------------------------------------------------------------------
diff --git a/eagle-assembly/src/main/conf/sandbox-hdfsAuditLog-application.conf b/eagle-assembly/src/main/conf/sandbox-hdfsAuditLog-application.conf
index 1d15007..cffec42 100644
--- a/eagle-assembly/src/main/conf/sandbox-hdfsAuditLog-application.conf
+++ b/eagle-assembly/src/main/conf/sandbox-hdfsAuditLog-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-assembly/src/main/conf/sandbox-hdfsSecurityLog-application.conf
----------------------------------------------------------------------
diff --git a/eagle-assembly/src/main/conf/sandbox-hdfsSecurityLog-application.conf b/eagle-assembly/src/main/conf/sandbox-hdfsSecurityLog-application.conf
index cc72459..bc2baf8 100644
--- a/eagle-assembly/src/main/conf/sandbox-hdfsSecurityLog-application.conf
+++ b/eagle-assembly/src/main/conf/sandbox-hdfsSecurityLog-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-assembly/src/main/conf/sandbox-hiveQueryLog-application.conf
----------------------------------------------------------------------
diff --git a/eagle-assembly/src/main/conf/sandbox-hiveQueryLog-application.conf b/eagle-assembly/src/main/conf/sandbox-hiveQueryLog-application.conf
index 86dcde7..08aed6f 100644
--- a/eagle-assembly/src/main/conf/sandbox-hiveQueryLog-application.conf
+++ b/eagle-assembly/src/main/conf/sandbox-hiveQueryLog-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-core/eagle-alert/eagle-alert-process/src/main/java/org/apache/eagle/alert/notification/UrlBuilder.java
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-alert/eagle-alert-process/src/main/java/org/apache/eagle/alert/notification/UrlBuilder.java b/eagle-core/eagle-alert/eagle-alert-process/src/main/java/org/apache/eagle/alert/notification/UrlBuilder.java
index f4e248f..3c7de31 100644
--- a/eagle-core/eagle-alert/eagle-alert-process/src/main/java/org/apache/eagle/alert/notification/UrlBuilder.java
+++ b/eagle-core/eagle-alert/eagle-alert-process/src/main/java/org/apache/eagle/alert/notification/UrlBuilder.java
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.eagle.alert.notification;
 
 import org.apache.eagle.alert.common.AlertConstants;

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-alert/eagle-alert-process/src/main/resources/ALERT_DEFAULT.vm
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-alert/eagle-alert-process/src/main/resources/ALERT_DEFAULT.vm b/eagle-core/eagle-alert/eagle-alert-process/src/main/resources/ALERT_DEFAULT.vm
index 1a8c754..4ceabad 100644
--- a/eagle-core/eagle-alert/eagle-alert-process/src/main/resources/ALERT_DEFAULT.vm
+++ b/eagle-core/eagle-alert/eagle-alert-process/src/main/resources/ALERT_DEFAULT.vm
@@ -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.
+  -->
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 	<head>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-alert/eagle-alert-process/src/main/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-alert/eagle-alert-process/src/main/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider b/eagle-core/eagle-alert/eagle-alert-process/src/main/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
index c683983..dc4e0a1 100644
--- a/eagle-core/eagle-alert/eagle-alert-process/src/main/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
+++ b/eagle-core/eagle-alert/eagle-alert-process/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.alert.siddhi.SiddhiPolicyEvaluatorServiceProviderImpl
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-alert/eagle-alert-process/src/main/resources/table-create.script
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-alert/eagle-alert-process/src/main/resources/table-create.script b/eagle-core/eagle-alert/eagle-alert-process/src/main/resources/table-create.script
index aec3eab..d4d3795 100644
--- a/eagle-core/eagle-alert/eagle-alert-process/src/main/resources/table-create.script
+++ b/eagle-core/eagle-alert/eagle-alert-process/src/main/resources/table-create.script
@@ -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.
+
 ##### create alert related tables
 create 'eagle_metric', {NAME => 'f', VERSIONS => '3', BLOOMFILTER => 'ROW', COMPRESSION => 'SNAPPY'}
 create 'alertdetail', {NAME => 'f', VERSIONS => '3', BLOOMFILTER => 'ROW', COMPRESSION => 'SNAPPY'}

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-alert/eagle-alert-process/src/test/resources/application.conf
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-alert/eagle-alert-process/src/test/resources/application.conf b/eagle-core/eagle-alert/eagle-alert-process/src/test/resources/application.conf
index ad6cb7b..c4f261d 100644
--- a/eagle-core/eagle-alert/eagle-alert-process/src/test/resources/application.conf
+++ b/eagle-core/eagle-alert/eagle-alert-process/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.
+
 {
   "eagleProps" : {
     "site" : "sandbox",

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-alert/eagle-alert-process/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-alert/eagle-alert-process/src/test/resources/log4j.properties b/eagle-core/eagle-alert/eagle-alert-process/src/test/resources/log4j.properties
index c92f73d..71a5dac 100644
--- a/eagle-core/eagle-alert/eagle-alert-process/src/test/resources/log4j.properties
+++ b/eagle-core/eagle-alert/eagle-alert-process/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, DRFA, stdout
 eagle.log.dir=./logs
 eagle.log.file=eagle.log

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-alert/eagle-alert-process/src/test/resources/unittest.conf
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-alert/eagle-alert-process/src/test/resources/unittest.conf b/eagle-core/eagle-alert/eagle-alert-process/src/test/resources/unittest.conf
index 12a55fe..0148d45 100644
--- a/eagle-core/eagle-alert/eagle-alert-process/src/test/resources/unittest.conf
+++ b/eagle-core/eagle-alert/eagle-alert-process/src/test/resources/unittest.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-core/eagle-alert/eagle-alert-service/src/main/resources/META-INF/services/org.apache.eagle.service.alert.AlertPolicyValidateProvider
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-alert/eagle-alert-service/src/main/resources/META-INF/services/org.apache.eagle.service.alert.AlertPolicyValidateProvider b/eagle-core/eagle-alert/eagle-alert-service/src/main/resources/META-INF/services/org.apache.eagle.service.alert.AlertPolicyValidateProvider
index 1f92d71..3833f47 100644
--- a/eagle-core/eagle-alert/eagle-alert-service/src/main/resources/META-INF/services/org.apache.eagle.service.alert.AlertPolicyValidateProvider
+++ b/eagle-core/eagle-alert/eagle-alert-service/src/main/resources/META-INF/services/org.apache.eagle.service.alert.AlertPolicyValidateProvider
@@ -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.service.alert.SiddhiAlertPolicyValidateProvider
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-alert/eagle-alert-service/src/test/resources/META-INF/services/org.apache.eagle.service.alert.AlertPolicyValidateProvider
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-alert/eagle-alert-service/src/test/resources/META-INF/services/org.apache.eagle.service.alert.AlertPolicyValidateProvider b/eagle-core/eagle-alert/eagle-alert-service/src/test/resources/META-INF/services/org.apache.eagle.service.alert.AlertPolicyValidateProvider
index 1f92d71..3833f47 100644
--- a/eagle-core/eagle-alert/eagle-alert-service/src/test/resources/META-INF/services/org.apache.eagle.service.alert.AlertPolicyValidateProvider
+++ b/eagle-core/eagle-alert/eagle-alert-service/src/test/resources/META-INF/services/org.apache.eagle.service.alert.AlertPolicyValidateProvider
@@ -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.service.alert.SiddhiAlertPolicyValidateProvider
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-alert/eagle-alert-service/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-alert/eagle-alert-service/src/test/resources/log4j.properties b/eagle-core/eagle-alert/eagle-alert-service/src/test/resources/log4j.properties
index 7a5c411..3499c46 100644
--- a/eagle-core/eagle-alert/eagle-alert-service/src/test/resources/log4j.properties
+++ b/eagle-core/eagle-alert/eagle-alert-service/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-core/eagle-data-process/eagle-storm-jobrunning-spout/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-data-process/eagle-storm-jobrunning-spout/src/main/resources/log4j.properties b/eagle-core/eagle-data-process/eagle-storm-jobrunning-spout/src/main/resources/log4j.properties
index c92f73d..71a5dac 100644
--- a/eagle-core/eagle-data-process/eagle-storm-jobrunning-spout/src/main/resources/log4j.properties
+++ b/eagle-core/eagle-data-process/eagle-storm-jobrunning-spout/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, DRFA, stdout
 eagle.log.dir=./logs
 eagle.log.file=eagle.log

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-data-process/eagle-storm-jobrunning-spout/src/test/resources/hive-jobrunning.conf
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-data-process/eagle-storm-jobrunning-spout/src/test/resources/hive-jobrunning.conf b/eagle-core/eagle-data-process/eagle-storm-jobrunning-spout/src/test/resources/hive-jobrunning.conf
index 9a44f89..63ce446 100644
--- a/eagle-core/eagle-data-process/eagle-storm-jobrunning-spout/src/test/resources/hive-jobrunning.conf
+++ b/eagle-core/eagle-data-process/eagle-storm-jobrunning-spout/src/test/resources/hive-jobrunning.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-core/eagle-data-process/eagle-storm-jobrunning-spout/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-data-process/eagle-storm-jobrunning-spout/src/test/resources/log4j.properties b/eagle-core/eagle-data-process/eagle-storm-jobrunning-spout/src/test/resources/log4j.properties
index c92f73d..71a5dac 100644
--- a/eagle-core/eagle-data-process/eagle-storm-jobrunning-spout/src/test/resources/log4j.properties
+++ b/eagle-core/eagle-data-process/eagle-storm-jobrunning-spout/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, DRFA, stdout
 eagle.log.dir=./logs
 eagle.log.file=eagle.log

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-data-process/eagle-stream-process-api/pom.xml
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-data-process/eagle-stream-process-api/pom.xml b/eagle-core/eagle-data-process/eagle-stream-process-api/pom.xml
index 7dbede7..489fc34 100644
--- a/eagle-core/eagle-data-process/eagle-stream-process-api/pom.xml
+++ b/eagle-core/eagle-data-process/eagle-stream-process-api/pom.xml
@@ -1,4 +1,20 @@
 <?xml version="1.0"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <modelVersion>4.0.0</modelVersion>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-data-process/eagle-stream-process-api/src/test/resources/application.conf
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-data-process/eagle-stream-process-api/src/test/resources/application.conf b/eagle-core/eagle-data-process/eagle-stream-process-api/src/test/resources/application.conf
index 0262d62..c098a7a 100644
--- a/eagle-core/eagle-data-process/eagle-stream-process-api/src/test/resources/application.conf
+++ b/eagle-core/eagle-data-process/eagle-stream-process-api/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.
+
 {
 	"envContextConfig" : {
 		"env" : "storm",

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-data-process/eagle-stream-process-api/src/test/resources/event-metadata-init.sh
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-data-process/eagle-stream-process-api/src/test/resources/event-metadata-init.sh b/eagle-core/eagle-data-process/eagle-stream-process-api/src/test/resources/event-metadata-init.sh
index 03593e5..3e57b6c 100644
--- a/eagle-core/eagle-data-process/eagle-stream-process-api/src/test/resources/event-metadata-init.sh
+++ b/eagle-core/eagle-data-process/eagle-stream-process-api/src/test/resources/event-metadata-init.sh
@@ -1,4 +1,19 @@
-#!/usr/bin/env bash
+#!/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.
 
 export EAGLE_SERVICE_USER="admin"
 export EAGLE_SERVICE_PASSWD="secret"

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-data-process/eagle-stream-process-api/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-data-process/eagle-stream-process-api/src/test/resources/log4j.properties b/eagle-core/eagle-data-process/eagle-stream-process-api/src/test/resources/log4j.properties
index 7a5c411..3499c46 100644
--- a/eagle-core/eagle-data-process/eagle-stream-process-api/src/test/resources/log4j.properties
+++ b/eagle-core/eagle-data-process/eagle-stream-process-api/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-core/eagle-data-process/pom.xml
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-data-process/pom.xml b/eagle-core/eagle-data-process/pom.xml
index cf2b524..1b9fb57 100644
--- a/eagle-core/eagle-data-process/pom.xml
+++ b/eagle-core/eagle-data-process/pom.xml
@@ -14,7 +14,8 @@
   ~ 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">
+  -->
+<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>
         <groupId>eagle</groupId>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-embed/eagle-embed-server/runEmbeddedServer.sh
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-embed/eagle-embed-server/runEmbeddedServer.sh b/eagle-core/eagle-embed/eagle-embed-server/runEmbeddedServer.sh
index c3192c2..a1ac537 100755
--- a/eagle-core/eagle-embed/eagle-embed-server/runEmbeddedServer.sh
+++ b/eagle-core/eagle-embed/eagle-embed-server/runEmbeddedServer.sh
@@ -1,4 +1,19 @@
 #!/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.
+
 export JAVA_HOME=$(/usr/libexec/java_home -v 1.7)
 mvn -X exec:java -Dexec.mainClass="org.apache.eagle.service.embedded.tomcat.EmbeddedServer" -Dexec.args="../../../eagle-security/eagle-security-webservice/target/eagle-service 38080"
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/main/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/main/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider b/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/main/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
index 292115d..d7a2754 100644
--- a/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/main/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
+++ b/eagle-core/eagle-machinelearning/eagle-machinelearning-base/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-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider b/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
index 292115d..d7a2754 100644
--- a/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/META-INF/services/org.apache.eagle.alert.policy.PolicyEvaluatorServiceProvider
+++ b/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/test/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-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/application.conf
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/application.conf b/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/application.conf
index 4553cd7..4d8f08c 100644
--- a/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/application.conf
+++ b/eagle-core/eagle-machinelearning/eagle-machinelearning-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.
+
 {
   "envContextConfig" : {
     "env" : "storm",

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/log4j.properties b/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/log4j.properties
index c92f73d..71a5dac 100644
--- a/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/log4j.properties
+++ b/eagle-core/eagle-machinelearning/eagle-machinelearning-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, DRFA, stdout
 eagle.log.dir=./logs
 eagle.log.file=eagle.log

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/ml-policyDef-UserProfile.txt
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/ml-policyDef-UserProfile.txt b/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/ml-policyDef-UserProfile.txt
index ef0038a..2f4bcb1 100644
--- a/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/ml-policyDef-UserProfile.txt
+++ b/eagle-core/eagle-machinelearning/eagle-machinelearning-base/src/test/resources/ml-policyDef-UserProfile.txt
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 {
    "type":"MachineLearning",
    "fileTypes":[

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-metric/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-metric/src/test/resources/log4j.properties b/eagle-core/eagle-metric/src/test/resources/log4j.properties
index 06c8b85..dccbc70 100644
--- a/eagle-core/eagle-metric/src/test/resources/log4j.properties
+++ b/eagle-core/eagle-metric/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
 #eagle.log.file=eagle.log

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-antlr/src/test/resources/booleanExp.txt
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-antlr/src/test/resources/booleanExp.txt b/eagle-core/eagle-query/eagle-antlr/src/test/resources/booleanExp.txt
deleted file mode 100644
index 6b60596..0000000
--- a/eagle-core/eagle-query/eagle-antlr/src/test/resources/booleanExp.txt
+++ /dev/null
@@ -1 +0,0 @@
-cluster="a" AND status="live" OR cluster="b"
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-client-base/src/main/java/org/apache/eagle/service/client/security/SecurityConstants.java
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-client-base/src/main/java/org/apache/eagle/service/client/security/SecurityConstants.java b/eagle-core/eagle-query/eagle-client-base/src/main/java/org/apache/eagle/service/client/security/SecurityConstants.java
index 634e2b7..9c5e85b 100644
--- a/eagle-core/eagle-query/eagle-client-base/src/main/java/org/apache/eagle/service/client/security/SecurityConstants.java
+++ b/eagle-core/eagle-query/eagle-client-base/src/main/java/org/apache/eagle/service/client/security/SecurityConstants.java
@@ -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.
+ */
 package org.apache.eagle.service.client.security;
 
 public class SecurityConstants {

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-client-base/src/test/java/org/apache/eagle/service/jackson/TestJacksonUnmashalling.java
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-client-base/src/test/java/org/apache/eagle/service/jackson/TestJacksonUnmashalling.java b/eagle-core/eagle-query/eagle-client-base/src/test/java/org/apache/eagle/service/jackson/TestJacksonUnmashalling.java
deleted file mode 100644
index 09e04ac..0000000
--- a/eagle-core/eagle-query/eagle-client-base/src/test/java/org/apache/eagle/service/jackson/TestJacksonUnmashalling.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.eagle.service.jackson;
-
-import java.io.File;
-import java.util.Map;
-
-import junit.framework.Assert;
-
-import org.codehaus.jackson.JsonFactory;
-import org.codehaus.jackson.map.ObjectMapper;
-import org.codehaus.jackson.type.TypeReference;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class TestJacksonUnmashalling {
-	private static Logger LOG = LoggerFactory.getLogger(TestJacksonUnmashalling.class);
-	private static File arrayJson;
-	private static File mapJson;
-	private static File pojoJson;
-	private static File pojoArrayJson;
-	@SuppressWarnings("unused")
-	private static File complexPojoJson;
-	
-	@BeforeClass
-	public static void prepare(){ 
-		try{
-			arrayJson = new File(TestJacksonUnmashalling.class.getResource("/arrayJson.txt").getPath());
-			mapJson = new File(TestJacksonUnmashalling.class.getResource("/mapJson.txt").getPath());
-			pojoJson = new File(TestJacksonUnmashalling.class.getResource("/pojoJson.txt").getPath());
-			pojoArrayJson = new File(TestJacksonUnmashalling.class.getResource("/pojoArrayJson.txt").getPath());
-			complexPojoJson = new File(TestJacksonUnmashalling.class.getResource("/complexPojoJson.txt").getPath());
-		}catch(Exception ex){
-			LOG.error("Cannot read json files", ex);
-			Assert.fail("Cannot read json files");
-		}
-	}
-	
-	@AfterClass
-	public static void end(){
-	}
-	
-	@Test
-	public void testArrayJsonUnmashalling(){
-		try{
-			JsonFactory factory = new JsonFactory(); 
-			ObjectMapper mapper = new ObjectMapper(factory);
-			TypeReference<String[]> type = new TypeReference<String[]>() {};
-			String[] array = mapper.readValue(arrayJson, type);
-			StringBuffer sb = new StringBuffer();
-			for(String str : array){
-				sb.append(str);
-				sb.append(",");
-			}
-			LOG.info(sb.toString());
-		}catch(Exception ex){
-			LOG.error("Cannot unmashall an array json file", ex);
-			Assert.fail("Cannot unmashall an array json file arrayJson.txt");
-		}
-	}
-	
-	@Test
-	public void testMapJsonUnmashalling(){
-		try{
-			JsonFactory factory = new JsonFactory(); 
-			ObjectMapper mapper = new ObjectMapper(factory);
-			TypeReference<Map<String, String>> type = new TypeReference<Map<String, String>>() {};
-			Map<String, String> map = mapper.readValue(mapJson, type);
-			StringBuffer sb = new StringBuffer();
-			for(Map.Entry<String, String> entry : map.entrySet()){
-				sb.append(entry.getKey());
-				sb.append(":");
-				sb.append(entry.getValue());
-				sb.append(",");
-			}
-			LOG.info(sb.toString());
-		}catch(Exception ex){
-			LOG.error("Cannot unmashall a map json file", ex);
-			Assert.fail("Cannot unmashall a map json file arrayJson.txt");
-		}
-	}
-	
-	static class Pojo{
-		private String field1;
-		private String field2;
-		public String getField1() {
-			return field1;
-		}
-		public void setField1(String field1) {
-			this.field1 = field1;
-		}
-		public String getField2() {
-			return field2;
-		}
-		public void setField2(String field2) {
-			this.field2 = field2;
-		}
-	}
-	
-	@Test
-	public void testPojoJsonUnmashalling(){
-		try{
-			JsonFactory factory = new JsonFactory(); 
-			ObjectMapper mapper = new ObjectMapper(factory);
-			TypeReference<Pojo> type = new TypeReference<Pojo>() {};
-			Pojo p = mapper.readValue(pojoJson, type);
-			LOG.info(p.getField1() + "," + p.getField2());
-		}catch(Exception ex){
-			LOG.error("Cannot unmashall a map json file", ex);
-			Assert.fail("Cannot unmashall a map json file arrayJson.txt");
-		}
-	}
-	
-	@Test
-	public void testPojoArrayJsonUnmashalling(){
-		try{
-			JsonFactory factory = new JsonFactory(); 
-			ObjectMapper mapper = new ObjectMapper(factory);
-			TypeReference<Pojo[]> type = new TypeReference<Pojo[]>() {};
-			Pojo[] ps = mapper.readValue(pojoArrayJson, type);
-			for(Pojo p : ps){
-				LOG.info(p.getField1() + "," + p.getField2());
-			}
-		}catch(Exception ex){
-			LOG.error("Cannot unmashall a map json file", ex);
-			Assert.fail("Cannot unmashall a map json file arrayJson.txt");
-		}
-	}
-	
-}
-
-

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-client-base/src/test/resources/arrayJson.txt
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-client-base/src/test/resources/arrayJson.txt b/eagle-core/eagle-query/eagle-client-base/src/test/resources/arrayJson.txt
deleted file mode 100644
index 4bf8f41..0000000
--- a/eagle-core/eagle-query/eagle-client-base/src/test/resources/arrayJson.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-[
-   "cluster",
-   "datacenter",
-   "rack",
-   "hostname"
-]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-client-base/src/test/resources/complexPojoJson.txt
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-client-base/src/test/resources/complexPojoJson.txt b/eagle-core/eagle-query/eagle-client-base/src/test/resources/complexPojoJson.txt
deleted file mode 100644
index 0f7f72d..0000000
--- a/eagle-core/eagle-query/eagle-client-base/src/test/resources/complexPojoJson.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-   "description": "description for unit test",
-   "remediationID": "thisisremediationID",
-   "remediationCallback": null,
-   "timestamp": 0,
-   "domain": "hadoop",
-   "tags": {
-      "hostname": "123.xyz.com",
-      "datacenter": "dc1",
-      "cluster": "cluster1",
-      "rack": "rack123"
-   },
-   "encodedRowkey": "thisisencodedrowkey"
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-client-base/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-client-base/src/test/resources/log4j.properties b/eagle-core/eagle-query/eagle-client-base/src/test/resources/log4j.properties
index 044d15f..d59ded6 100644
--- a/eagle-core/eagle-query/eagle-client-base/src/test/resources/log4j.properties
+++ b/eagle-core/eagle-query/eagle-client-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-client-base/src/test/resources/mapJson.txt
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-client-base/src/test/resources/mapJson.txt b/eagle-core/eagle-query/eagle-client-base/src/test/resources/mapJson.txt
deleted file mode 100644
index 966e435..0000000
--- a/eagle-core/eagle-query/eagle-client-base/src/test/resources/mapJson.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-{
-   "hostname": "123.xyz.com",
-   "datacenter": "dc1",
-   "cluster": "cluster1",
-   "rack": "rack123"
-}

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-client-base/src/test/resources/pojoArrayJson.txt
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-client-base/src/test/resources/pojoArrayJson.txt b/eagle-core/eagle-query/eagle-client-base/src/test/resources/pojoArrayJson.txt
deleted file mode 100644
index ad1d657..0000000
--- a/eagle-core/eagle-query/eagle-client-base/src/test/resources/pojoArrayJson.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-[
-   {
-      "field1": "0_field1",
-      "field2": "0_field2"
-   },
-   {
-      "field1": "1_field1",
-      "field2": "1_field2"
-   }
-]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-client-base/src/test/resources/pojoJson.txt
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-client-base/src/test/resources/pojoJson.txt b/eagle-core/eagle-query/eagle-client-base/src/test/resources/pojoJson.txt
deleted file mode 100644
index 4060bb7..0000000
--- a/eagle-core/eagle-query/eagle-client-base/src/test/resources/pojoJson.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-   "field1": "field1",
-   "field2": "field2"
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-common/src/main/resources/footer.vm
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-common/src/main/resources/footer.vm b/eagle-core/eagle-query/eagle-common/src/main/resources/footer.vm
index 7cf9c12..89cf245 100755
--- a/eagle-core/eagle-query/eagle-common/src/main/resources/footer.vm
+++ b/eagle-core/eagle-query/eagle-common/src/main/resources/footer.vm
@@ -1,7 +1,22 @@
-#**
-@version 0.3.0
-*#
-    </td>
+#*
+ * 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.
+ *
+ * @version 0.3.0
+ *#
+	</td>
   </tr>
   </tr>
 </table>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-common/src/main/resources/header.vm
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-common/src/main/resources/header.vm b/eagle-core/eagle-query/eagle-common/src/main/resources/header.vm
index 3410e86..6731aee 100755
--- a/eagle-core/eagle-query/eagle-common/src/main/resources/header.vm
+++ b/eagle-core/eagle-query/eagle-common/src/main/resources/header.vm
@@ -1,6 +1,21 @@
-#**
-@version 0.3.0
-*#
+#*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @version 0.3.0
+ *#
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-common/src/main/resources/templates/tec_alert.vm
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-common/src/main/resources/templates/tec_alert.vm b/eagle-core/eagle-query/eagle-common/src/main/resources/templates/tec_alert.vm
index fec05c8..75c47d1 100755
--- a/eagle-core/eagle-query/eagle-common/src/main/resources/templates/tec_alert.vm
+++ b/eagle-core/eagle-query/eagle-common/src/main/resources/templates/tec_alert.vm
@@ -1,6 +1,21 @@
-#**
-@version 0.3.0
-*#
+#*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @version 0.3.0
+ *#
 #parse("header.vm")
 <table cellpadding="0" cellspacing="0" border="0" align="left" width="800" style="">
   <tr>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-common/src/test/resources/footer.vm
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-common/src/test/resources/footer.vm b/eagle-core/eagle-query/eagle-common/src/test/resources/footer.vm
index 36cf012..8df4b06 100755
--- a/eagle-core/eagle-query/eagle-common/src/test/resources/footer.vm
+++ b/eagle-core/eagle-query/eagle-common/src/test/resources/footer.vm
@@ -1,6 +1,21 @@
-#**
-@version 1
-*#
+#*
+ * 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.
+ *
+ * @version 0.3.0
+ *#
     </td>
   </tr>
   </tr>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-common/src/test/resources/header.vm
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-common/src/test/resources/header.vm b/eagle-core/eagle-query/eagle-common/src/test/resources/header.vm
index 8d5f8b2..8bd4388 100755
--- a/eagle-core/eagle-query/eagle-common/src/test/resources/header.vm
+++ b/eagle-core/eagle-query/eagle-common/src/test/resources/header.vm
@@ -1,6 +1,21 @@
-#**
-@version 1
-*#
+#*
+ * 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.
+ *
+ * @version 0.3.0
+ *#
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-common/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-common/src/test/resources/log4j.properties b/eagle-core/eagle-query/eagle-common/src/test/resources/log4j.properties
index c92f73d..5a5709e 100644
--- a/eagle-core/eagle-query/eagle-common/src/test/resources/log4j.properties
+++ b/eagle-core/eagle-query/eagle-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, DRFA, stdout
 eagle.log.dir=./logs
 eagle.log.file=eagle.log
@@ -16,4 +31,4 @@ log4j.appender.DRFA.DatePattern=.yyyy-MM-dd
 log4j.appender.DRFA.layout=org.apache.log4j.PatternLayout
 
 # Pattern format: Date LogLevel LoggerName LogMessage
-log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %p [%t] %c{2}[%L]: %m%n
\ No newline at end of file
+log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %p [%t] %c{2}[%L]: %m%n

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-common/src/test/resources/templates/tec_alert.vm
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-common/src/test/resources/templates/tec_alert.vm b/eagle-core/eagle-query/eagle-common/src/test/resources/templates/tec_alert.vm
index 192e88f..b2cf35b 100755
--- a/eagle-core/eagle-query/eagle-common/src/test/resources/templates/tec_alert.vm
+++ b/eagle-core/eagle-query/eagle-common/src/test/resources/templates/tec_alert.vm
@@ -1,6 +1,21 @@
-#**
-@version 1
-*#
+#*
+ * 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.
+ *
+ * @version 0.3.0
+ *#
 #parse("header.vm")
 <table cellpadding="0" cellspacing="0" border="0" align="left" width="800" style="">
   <tr>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-common/src/test/resources/templates/test_anomaly_alert.vm
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-common/src/test/resources/templates/test_anomaly_alert.vm b/eagle-core/eagle-query/eagle-common/src/test/resources/templates/test_anomaly_alert.vm
index 3d8d61c..5db76b2 100644
--- a/eagle-core/eagle-query/eagle-common/src/test/resources/templates/test_anomaly_alert.vm
+++ b/eagle-core/eagle-query/eagle-common/src/test/resources/templates/test_anomaly_alert.vm
@@ -1,6 +1,21 @@
-#**
-@version 1
-*#
+#*
+ * 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.
+ *
+ * @version 0.3.0
+ *#
 #parse("header.vm")
 <table cellpadding="0" cellspacing="0" border="0" align="left" width="800" style="">
   <tr>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-common/src/test/resources/test-service-config.conf
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-common/src/test/resources/test-service-config.conf b/eagle-core/eagle-query/eagle-common/src/test/resources/test-service-config.conf
index 3b5befe..848391d 100644
--- a/eagle-core/eagle-query/eagle-common/src/test/resources/test-service-config.conf
+++ b/eagle-core/eagle-query/eagle-common/src/test/resources/test-service-config.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 {
 	timezone = "UTC"
 
@@ -12,4 +27,4 @@ eagle {
 		zookeeper-znode-parent = "/hbase-unsecure"
 		coprocessor-enabled = false
 	}
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-entity-base/src/test/resources/application.conf
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-entity-base/src/test/resources/application.conf b/eagle-core/eagle-query/eagle-entity-base/src/test/resources/application.conf
index 708f544..25257c5 100644
--- a/eagle-core/eagle-query/eagle-entity-base/src/test/resources/application.conf
+++ b/eagle-core/eagle-query/eagle-entity-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-entity-base/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-entity-base/src/test/resources/log4j.properties b/eagle-core/eagle-query/eagle-entity-base/src/test/resources/log4j.properties
index 06c8b85..dccbc70 100644
--- a/eagle-core/eagle-query/eagle-entity-base/src/test/resources/log4j.properties
+++ b/eagle-core/eagle-query/eagle-entity-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
 #eagle.log.dir=./logs
 #eagle.log.file=eagle.log

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-service-base/src/main/webapp/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-service-base/src/main/webapp/META-INF/MANIFEST.MF b/eagle-core/eagle-query/eagle-service-base/src/main/webapp/META-INF/MANIFEST.MF
deleted file mode 100644
index 254272e..0000000
--- a/eagle-core/eagle-query/eagle-service-base/src/main/webapp/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,3 +0,0 @@
-Manifest-Version: 1.0
-Class-Path: 
-

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-service-base/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-service-base/src/main/webapp/WEB-INF/web.xml b/eagle-core/eagle-query/eagle-service-base/src/main/webapp/WEB-INF/web.xml
index 690693b..c6c7a8e 100644
--- a/eagle-core/eagle-query/eagle-service-base/src/main/webapp/WEB-INF/web.xml
+++ b/eagle-core/eagle-query/eagle-service-base/src/main/webapp/WEB-INF/web.xml
@@ -1,6 +1,23 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- This web.xml file is not required when using Servlet 3.0 container,
-     see implementation details http://jersey.java.net/nonav/documentation/latest/jax-rs.html -->
+<!--
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+~ This web.xml file is not required when using Servlet 3.0 container,
+~ see implementation details http://jersey.java.net/nonav/documentation/latest/jax-rs.html
+-->
 <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
     <servlet>
         <servlet-name>Jersey Web Application</servlet-name>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-storage-base/pom.xml
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-base/pom.xml b/eagle-core/eagle-query/eagle-storage-base/pom.xml
index 775d180..12b9316 100644
--- a/eagle-core/eagle-query/eagle-storage-base/pom.xml
+++ b/eagle-core/eagle-query/eagle-storage-base/pom.xml
@@ -15,7 +15,6 @@
   ~ 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">

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/37e44290/eagle-core/eagle-query/eagle-storage-base/src/main/resources/META-INF/services/eagle.storage.spi.DataStorageServiceProvider
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-base/src/main/resources/META-INF/services/eagle.storage.spi.DataStorageServiceProvider b/eagle-core/eagle-query/eagle-storage-base/src/main/resources/META-INF/services/eagle.storage.spi.DataStorageServiceProvider
deleted file mode 100644
index 348801b..0000000
--- a/eagle-core/eagle-query/eagle-storage-base/src/main/resources/META-INF/services/eagle.storage.spi.DataStorageServiceProvider
+++ /dev/null
@@ -1 +0,0 @@
-# eagle.storage.spi.DataStorageServiceProvider
\ 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/main/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-base/src/main/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider b/eagle-core/eagle-query/eagle-storage-base/src/main/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider
new file mode 100644
index 0000000..9f19f5f
--- /dev/null
+++ b/eagle-core/eagle-query/eagle-storage-base/src/main/resources/META-INF/services/org.apache.eagle.storage.spi.DataStorageServiceProvider
@@ -0,0 +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.DataStorageServiceProvider
\ No newline at end of file



Mime
View raw message