eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject eagle git commit: [EAGLE-934] eagle 0.5 assembly update
Date Sat, 18 Mar 2017 16:42:52 GMT
Repository: eagle
Updated Branches:
  refs/heads/master 4e8d8c205 -> 95a506b44


[EAGLE-934] eagle 0.5 assembly update

Author: Jay <jhsonline@gmail.com>

Closes #849 from jhsenjaliya/EAGLE-934.


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

Branch: refs/heads/master
Commit: 95a506b441829a617d0a0740fafa02b9ce0a9cab
Parents: 4e8d8c2
Author: Jay <jhsonline@gmail.com>
Authored: Sun Mar 19 00:42:38 2017 +0800
Committer: Hao Chen <hao@apache.org>
Committed: Sun Mar 19 00:42:38 2017 +0800

----------------------------------------------------------------------
 .gitignore                                      |   3 +-
 eagle-assembly/pom.xml                          |  75 ++++++++
 eagle-assembly/src/assembly/eagle-bin.xml       | 110 ++++++++++++
 eagle-assembly/src/main/bin/eagle-env.sh        |  44 +++++
 eagle-assembly/src/main/bin/eagle-server.sh     | 136 +++++++++++++++
 eagle-assembly/src/main/conf/eagle.conf         | 170 ++++++++++++++++++
 eagle-assembly/src/main/conf/server.yml         |  97 +++++++++++
 eagle-assembly/src/main/doc/README.md           |  99 +++++++++++
 eagle-assembly/src/main/doc/metadata-ddl.sql    | 173 +++++++++++++++++++
 eagle-server-assembly/pom.xml                   |  75 --------
 .../src/assembly/eagle-bin.xml                  | 102 -----------
 eagle-server-assembly/src/main/README.md        |  99 -----------
 eagle-server-assembly/src/main/bin/eagle-env.sh |  44 -----
 .../src/main/bin/eagle-server.sh                | 136 ---------------
 .../src/main/bin/metadata-ddl.sql               | 173 -------------------
 eagle-server-assembly/src/main/conf/eagle.conf  | 150 ----------------
 eagle-server-assembly/src/main/conf/server.yml  | 100 -----------
 .../src/main/resources/configuration.yml        | 170 ++++++++++--------
 pom.xml                                         |   2 +-
 19 files changed, 1002 insertions(+), 956 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index cfff821..b7bff37 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,7 +41,6 @@ target/
 target/*
 */target/*
 **/target/*
-**/bin/*
 pom.xml.tag
 pom.xml.releaseBackup
 pom.xml.versionsBackup
@@ -83,4 +82,4 @@ logs/
 *.orig
 **/*.pyc
 
-**/*.db
\ No newline at end of file
+**/*.db

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-assembly/pom.xml
----------------------------------------------------------------------
diff --git a/eagle-assembly/pom.xml b/eagle-assembly/pom.xml
new file mode 100644
index 0000000..c236c4d
--- /dev/null
+++ b/eagle-assembly/pom.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.eagle</groupId>
+        <artifactId>eagle-parent</artifactId>
+        <version>0.5.0-SNAPSHOT</version>
+    </parent>
+    <artifactId>eagle-assembly</artifactId>
+    <name>Eagle::Assembly</name>
+    <url>http://maven.apache.org</url>
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.eagle</groupId>
+            <artifactId>eagle-server</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>copy-dependencies</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>${project.build.directory}/dependencies</outputDirectory>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <configuration>
+                    <descriptor>src/assembly/eagle-bin.xml</descriptor>
+                    <finalName>eagle-${project.version}</finalName>
+                </configuration>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                        <configuration>
+                            <tarLongFileMode>posix</tarLongFileMode>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-assembly/src/assembly/eagle-bin.xml
----------------------------------------------------------------------
diff --git a/eagle-assembly/src/assembly/eagle-bin.xml b/eagle-assembly/src/assembly/eagle-bin.xml
new file mode 100644
index 0000000..86758ec
--- /dev/null
+++ b/eagle-assembly/src/assembly/eagle-bin.xml
@@ -0,0 +1,110 @@
+<!--
+  ~ /*
+  ~  * Licensed to the Apache Software Foundation (ASF) under one or more
+  ~  * contributor license agreements.  See the NOTICE file distributed with
+  ~  * this work for additional information regarding copyright ownership.
+  ~  * The ASF licenses this file to You under the Apache License, Version 2.0
+  ~  * (the "License"); you may not use this file except in compliance with
+  ~  * the License.  You may obtain a copy of the License at
+  ~  * <p/>
+  ~  * http://www.apache.org/licenses/LICENSE-2.0
+  ~  * <p/>
+  ~  * Unless required by applicable law or agreed to in writing, software
+  ~  * distributed under the License is distributed on an "AS IS" BASIS,
+  ~  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~  * See the License for the specific language governing permissions and
+  ~  * limitations under the License.
+  ~  */
+  -->
+
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+    <id>bin</id>
+    <formats>
+        <format>dir</format>
+        <format>tar.gz</format>
+    </formats>
+    <includeBaseDirectory>true</includeBaseDirectory>
+    <fileSets>
+        <fileSet>
+            <directory>${project.basedir}/src/main/bin</directory>
+            <outputDirectory>bin/</outputDirectory>
+            <includes>
+                <include>*.sh</include>
+            </includes>
+            <fileMode>0755</fileMode>
+            <directoryMode>0755</directoryMode>
+            <lineEnding>unix</lineEnding>
+        </fileSet>
+        <fileSet>
+            <directory>${project.basedir}/src/main/bin</directory>
+            <outputDirectory>bin/</outputDirectory>
+            <includes>
+                <include>*</include>
+            </includes>
+            <lineEnding>unix</lineEnding>
+        </fileSet>
+        <fileSet>
+            <directory>${project.basedir}/src/main/conf</directory>
+            <outputDirectory>conf/</outputDirectory>
+            <includes>
+                <include>*</include>
+            </includes>
+            <lineEnding>unix</lineEnding>
+        </fileSet>
+        <fileSet>
+            <directory>${project.basedir}/src/main/doc</directory>
+            <outputDirectory>doc/</outputDirectory>
+            <includes>
+                <include>*</include>
+            </includes>
+            <lineEnding>unix</lineEnding>
+        </fileSet>
+        <fileSet>
+            <directory>${project.basedir}/src/main</directory>
+            <outputDirectory>.</outputDirectory>
+            <includes>
+                <include>README.md</include>
+            </includes>
+            <lineEnding>unix</lineEnding>
+        </fileSet>
+        <fileSet>
+            <directory>${project.basedir}/src/main/lib</directory>
+            <outputDirectory>lib</outputDirectory>
+            <includes>
+                <include>*.sh</include>
+            </includes>
+            <fileMode>0755</fileMode>
+            <lineEnding>unix</lineEnding>
+        </fileSet>
+
+        <fileSet>
+            <directory>${project.basedir}/../eagle-topology-assembly/target</directory>
+            <outputDirectory>lib/</outputDirectory>
+            <includes>
+                <include>eagle-topology-*-assembly.jar</include>
+            </includes>
+        </fileSet>
+
+        <!-- copy dependent jars into /lib -->
+        <fileSet>
+            <directory>${project.build.directory}/dependencies</directory>
+            <outputDirectory>lib</outputDirectory>
+            <includes>
+                <include>dropwizard-*.jar</include>
+                <include>storm-core-*.jar</include>
+                <include>slf4j-api-*.jar</include>
+                <include>jersey-*.jar</include>
+                <include>eagle-storage-hbase-*.jar</include>
+                <include>eagle-storage-jdbc-*.jar</include>
+            </includes>
+        </fileSet>
+
+        <!-- copy collector scripts into /lib/scripts -->
+        <fileSet>
+            <directory>${project.basedir}/../eagle-external/hadoop_jmx_collector</directory>
+            <outputDirectory>lib/scripts/hadoop_jmx_collector</outputDirectory>
+        </fileSet>
+    </fileSets>
+</assembly>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-assembly/src/main/bin/eagle-env.sh
----------------------------------------------------------------------
diff --git a/eagle-assembly/src/main/bin/eagle-env.sh b/eagle-assembly/src/main/bin/eagle-env.sh
new file mode 100644
index 0000000..892978b
--- /dev/null
+++ b/eagle-assembly/src/main/bin/eagle-env.sh
@@ -0,0 +1,44 @@
+#!/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_SERVER_JMX_PORT=9999
+
+# EAGLE Environment Variables
+export EAGLE_HOME=$(dirname $0)/..
+export EAGLE_CLASSPATH=$EAGLE_HOME/conf
+
+# System Environment Variables
+export OS_TYPE="linux"
+export CLASSPATH_DELIMITER=":"
+
+case `which uname >/dev/null && uname -s` in
+    CYGWIN_NT-* | MINGW64_NT-*)
+        OS_TYPE="windows"
+        CLASSPATH_DELIMITER=";"
+        ;;
+    Linux)
+        OS_TYPE="linux"
+        ;;
+   *)
+        OS_TYPE="unknown"
+        ;;
+esac
+
+# Add eagle shared library jars
+for file in `ls ${EAGLE_HOME}/lib`; do
+	EAGLE_CLASSPATH=${EAGLE_CLASSPATH}${CLASSPATH_DELIMITER}${EAGLE_HOME}/lib/$file
+done
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-assembly/src/main/bin/eagle-server.sh
----------------------------------------------------------------------
diff --git a/eagle-assembly/src/main/bin/eagle-server.sh b/eagle-assembly/src/main/bin/eagle-server.sh
new file mode 100644
index 0000000..4199234
--- /dev/null
+++ b/eagle-assembly/src/main/bin/eagle-server.sh
@@ -0,0 +1,136 @@
+#!/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.
+
+function print_help() {
+	echo "Usage: $0 {start | stop | restart | status}"
+	exit 1
+}
+
+if [ $# != 1 ]
+then
+	print_help
+fi
+
+DIR=$(dirname $0)
+
+
+source ${DIR}/eagle-env.sh
+
+JVM_OPTS="-server -Xms1024m -Xmx1024m -XX:MaxPermSize=1024m"
+
+GC_OPTS="-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:${DIR}/../log/eagle-server-gc.log"
+
+if [ ! -z "$EAGLE_SERVER_JMX_PORT" ]; then
+    JMX_HOST=`hostname -f`
+    JVM_OPTS="-Dcom.sun.management.jmxremote \
+    -Dcom.sun.management.jmxremote.port=$EAGLE_SERVER_JMX_PORT \
+    -Dcom.sun.management.jmxremote.authenticate=false \
+    -Dcom.sun.management.jmxremote.ssl=false \
+    -Dcom.sun.management.jmxremote.local.only=false \
+    -Djava.rmi.server.hostname=$JMX_HOST \
+    -Dcom.sun.management.jmxremote.rmi.port=$EAGLE_SERVER_JMX_PORT \
+    $JVM_OPTS"
+fi
+
+JVM_OPTS="-Dconfig.resource=eagle.conf $JVM_OPTS $GC_OPTS"
+
+PIDFILE="${DIR}/../run/eagle-server.pid"
+
+CONFIGURATION_YML="${DIR}/../conf/server.yml"
+
+DEBUG_OPTIONS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"
+
+PROGRAM="java $JVM_OPTS -cp $EAGLE_CLASSPATH org.apache.eagle.server.ServerMain server ${CONFIGURATION_YML}"
+
+cd $DIR/../
+
+if [ ! -e ${DIR}/../run ]; then
+    mkdir ${DIR}/../run
+fi
+
+if [ ! -e ${DIR}/../log ]; then
+    mkdir ${DIR}/../log
+fi
+
+start() {
+    echo "Starting eagle service ..."
+	echo ${PROGRAM}
+	nohup ${PROGRAM} 1> ${DIR}/../log/eagle-server.out 2>&1 & echo $! > $PIDFILE
+	if [ $? != 0 ];then
+		echo "Error: failed starting"
+		exit 1
+	fi
+}
+
+stop() {
+    echo "Stopping eagle service ..."
+	if [[ ! -f $PIDFILE ]];then
+	    echo "Eagle service is not running"
+    	exit 1
+    fi
+
+    PID=`cat $PIDFILE`
+	kill $PID
+	if [ $? != 0 ];then
+		echo "Error: failed stopping"
+		rm -rf ${PIDFILE}
+		exit 1
+	fi
+
+	rm ${PIDFILE}
+	echo "Stopping is completed"
+}
+
+case $1 in
+"start")
+    start;
+	;;
+"stop")
+    stop;
+	;;
+"restart")
+	echo "Restarting eagle service ..."
+    stop; sleep 1; start;
+	echo "Restarting is completed "
+	;;
+"status")
+	echo "Checking eagle service status ..."
+	if [[ -e ${PIDFILE} ]]; then
+	    PID=`cat $PIDFILE`
+	fi
+	if [[ -z ${PID} ]];then
+	    echo "Error: Eagle service is not running (missing PID)"
+	    exit 0
+	elif ps -p ${PID} > /dev/null; then
+	    echo "Eagle service is running with PID $PID"
+	    exit 0
+    else
+        echo "Eagle service is not running (tested PID: ${PID})"
+        exit 0
+    fi
+	;;
+*)
+	print_help
+	;;
+esac
+
+if [ $? != 0 ]; then
+	echo "Error: start failure"
+	exit 1
+fi
+
+exit 0

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-assembly/src/main/conf/eagle.conf
----------------------------------------------------------------------
diff --git a/eagle-assembly/src/main/conf/eagle.conf b/eagle-assembly/src/main/conf/eagle.conf
new file mode 100644
index 0000000..2912682
--- /dev/null
+++ b/eagle-assembly/src/main/conf/eagle.conf
@@ -0,0 +1,170 @@
+# 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 REST Web Service Configuration
+# ---------------------------------------------
+service {
+  env = "testing"
+  host = "localhost"
+  port = 9090
+  username = "admin"
+  password = "secret"
+  readTimeOutSeconds = 60
+  context = "/rest"
+  timezone = "UTC"
+}
+
+zookeeper {
+  zkQuorum = "localhost:2181"
+  zkSessionTimeoutMs : 15000
+  zkRetryTimes : 3
+  zkRetryInterval : 20000
+}
+
+# ---------------------------------------------
+# Eagle Deep Storage Configuration
+# ---------------------------------------------
+
+storage {
+  # storage type: ["hbase","jdbc"]
+  # default is "hbase"
+  type = "hbase"
+
+  hbase {
+    autoCreateTable = true
+
+    # hbase configuration: hbase.zookeeper.quorum
+    # default is "localhost"
+    zookeeperQuorum = "localhost"
+
+    # hbase configuration: hbase.zookeeper.property.clientPort
+    # default is 2181
+    zookeeperPropertyClientPort = 2181
+
+    # hbase configuration: zookeeper.znode.parent
+    # default is "/hbase"
+    zookeeperZnodeParent = "/hbase-unsecure"
+
+    # eagle web login profile: [sandbox, default]
+    # default is sandbox
+    tableNamePrefixedWithEnvironment = false
+
+    # eagle coprocessor enabled or not: [true, false]
+    # default is false
+    coprocessorEnabled = false
+  }
+}
+
+# ---------------------------------------------
+# Eagle Metadata Store Configuration
+# ---------------------------------------------
+metadata {
+  store = org.apache.eagle.metadata.service.memory.MemoryMetadataStore
+  jdbc {
+    username = "root"
+    password = ""
+    driverClassName = com.mysql.jdbc.Driver
+    database = "eagle"
+    connection = "jdbc:mysql://server.eagle.apache.org:3306/eagle"
+  }
+}
+
+# ---------------------------------------------
+# Eagle Application Configuration
+# ---------------------------------------------
+application {
+  stream {
+    provider = org.apache.eagle.app.messaging.KafkaStreamProvider
+  }
+  storm {
+    nimbusHost = "server.eagle.apache.org"
+    nimbusThriftPort = 6627
+  }
+  updateStatus: {
+    initialDelay: 10
+    period: 10
+  }
+  healthCheck {
+    initialDelay = 30
+    period = 60
+    publisher {
+      publisherImpl = org.apache.eagle.app.service.impl.ApplicationHealthCheckEmailPublisher
+      dailySendHour = 11
+      mail.smtp.host = "mail.host.com"
+      mail.smtp.port = 25
+      mail.smtp.recipients = "someone@email.com"
+      mail.smtp.subject = "Eagle Application Health Check"
+      mail.smtp.template = "HealthCheckTemplate.vm"
+    }
+  }
+  mailService {
+    mailSmtpServer = "",
+    mailSmtpPort = 25,
+    mailSmtpAuth = "false"
+    //mailSmtpConn = "plaintext",
+    //mailSmtpUsername = ""
+    //mailSmtpPassword = ""
+    //mailSmtpDebug = false
+  }
+  dailyJobReport {
+    reportHourTime: 1
+    reportPeriodInHour: 12
+    numTopUsers : 10
+    jobOvertimeLimitInHour: 6
+    subject: "Job Report For 12 hours"
+    recipients: "nobody@abc.com"
+    template: "JobReportTemplate.vm"
+  }
+  analyzerReport {
+    sender: "nobody@abc.com"
+    recipients: "nobody@abc.com"
+    template: "AnalyzerReportTemplate.vm"
+    cc: "nobody@abc.com"
+  }
+}
+
+# ---------------------------------------------
+# Eagle Alert Engine Configuration
+# ---------------------------------------------
+
+# Coordinator Configuration
+coordinator {
+  policiesPerBolt = 5
+  boltParallelism = 5
+  policyDefaultParallelism = 5
+  boltLoadUpbound = 0.8
+  topologyLoadUpbound = 0.8
+  numOfAlertBoltsPerTopology = 5
+  zkConfig {
+    zkQuorum = "server.eagle.apache.org:2181"
+    zkRoot = "/alert"
+    zkSessionTimeoutMs = 10000
+    connectionTimeoutMs = 10000
+    zkRetryTimes = 3
+    zkRetryInterval = 3000
+  }
+  metadataService {
+    host = "localhost",
+    port = 9090,
+    context = "/rest"
+  }
+  metadataDynamicCheck {
+    initDelayMillis = 1000
+    delayMillis = 30000
+    stateClearPeriodMin = 1440
+    stateReservedCapacity = 100
+  }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-assembly/src/main/conf/server.yml
----------------------------------------------------------------------
diff --git a/eagle-assembly/src/main/conf/server.yml b/eagle-assembly/src/main/conf/server.yml
new file mode 100644
index 0000000..b557ffa
--- /dev/null
+++ b/eagle-assembly/src/main/conf/server.yml
@@ -0,0 +1,97 @@
+# 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.
+
+server:
+  applicationConnectors:
+    - type: http
+      port: 9090
+  adminConnectors:
+    - type: http
+      port: 9091
+  requestLog:
+    appenders:
+      - type: file
+        currentLogFilename: log/eagle-server-access.log
+        threshold: ALL
+        archive: true
+        archivedLogFilenamePattern: log/eagle-server-access-%d.log
+        archivedFileCount: 5
+        timeZone: UTC
+
+logging:
+  level: INFO
+  loggers:
+      org.apache.eagle: INFO
+  appenders:
+    - type: file
+      currentLogFilename: log/eagle-server.log
+      threshold: ALL
+      archive: true
+      archivedLogFilenamePattern: log/eagle-server-%d.log
+      archivedFileCount: 5
+      timeZone: UTC
+
+# ---------------------------------------------
+# Eagle Authentication Configuration
+# ---------------------------------------------
+auth:
+  # indicating if authentication is enabled, true for enabled, false for disabled
+  enabled: false
+
+  # indicating authentication mode, "simple" or "ldap"
+  mode: simple
+
+  # indicating whether to use cache: cache is usually used for authentications that may
+  # not handle high throughput (an RDBMS or LDAP server, for example)
+  caching: false
+
+  # indicating the cache policy, containing maximumSize and expireAfterWrite, e.g. maximumSize=10000, expireAfterWrite=10m
+  cachePolicy: maximumSize=10000, expireAfterWrite=1m
+
+  # for basic authentication, effective only when auth.mode=simple
+  simple:
+    accounts:
+      - name: admin
+        password: rWV/cdTCr01wTLBQ/rUilkExd2TJKrifXuCCTEwig1o08K8Mi0b1qQAgVXpPqflb
+        roles: ADMINISTRATOR
+        firstName: Admin
+        lastName: Admin
+        email: unknown-admin@eagle.apache.org
+
+  # for ldap authentication, effective only when auth.mode=ldap
+  ldap:
+    # url providing ldap service. By convention, the port for typical ldap service is 389, and ldap service over ssl
+    # uses port 636 with protocol "ldaps", which requires certificates pre-installed.
+    providerUrl: ldap://server.address.or.domain:port
+
+    # template string containing ${USERNAME} placeholder. This is designed for some orgs who don't use plain usernames
+    # to authenticate, e.g. they may use its members' email address as the name: ${USERNAME}@some.org. When name
+    # is supposed to be recognized originally, just configure this parameter as ${USERNAME}
+    principalTemplate: ${USERNAME}@maybe.email.suffix
+
+    # string of strategy used by ldap service. "simple" is usually supported in most circumstances, we can use it by
+    # default or leave it a blank string.
+    strategy: simple
+
+    # the absolute path of ssl certificate file. This attribute is required conditional only when the auth -> mode is set
+    # as "ldap" and providerUrl starting with "ldaps://".
+    certificateAbsolutePath: /certificate/absolute/path
+
+    # timeout expression for connecting to ldap service endpoint
+    connectingTimeout: 500ms
+
+    # timeout expression for reading from ldap service
+    readingTimeout: 500ms
+

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-assembly/src/main/doc/README.md
----------------------------------------------------------------------
diff --git a/eagle-assembly/src/main/doc/README.md b/eagle-assembly/src/main/doc/README.md
new file mode 100644
index 0000000..d9ee25f
--- /dev/null
+++ b/eagle-assembly/src/main/doc/README.md
@@ -0,0 +1,99 @@
+<!--
+{% 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 %}
+-->
+
+Eagle User Guide
+========================
+
+Prerequisites
+-------------
+* Hadoop
+* HBase
+* Storm
+* Spark
+* Kafka
+
+Eagle requires you to have access on Hadoop CLI, where you have full permissions to HDFS, Storm, HBase and Kafka. To make things easier, we strongly recommend you to start Eagle on a hadoop sandbox such as http://hortonworks.com/products/hortonworks-sandbox/
+
+
+Build
+-----
+
+* Download the latest version of Eagle source code.
+
+		git clone git@github.xyz.com:eagle/eagle.git
+
+
+* Build the source code, and a tar.gz package will be generated under eagle-assembly/target.
+
+		mvn clean compile install -DskipTests
+
+Installation
+-----------
+* Copy this package onto the sandbox.
+
+		scp -P 2222 eagle/eagle-assembly/target/eagle-0.1.0-bin.tar.gz root@127.0.0.1:/usr/hdp/current/.
+
+* Run Eagle patch installation at the first time, and restart HDFS namenode.
+
+		bin/eagle-patch-install.sh
+
+
+* Start Storm, HBase, and Kafka via Ambari Web UI. Make sure the user has the privilege to run Storm, HBase, and Kafka cmd in shell, and with full permissions to access HBase, such as creating tables. Check the installation & running status of the required services.
+
+		bin/eagle-check-env.sh
+
+
+* Create necessary HBase tables for Eagle.
+
+		bin/eagle-service-init.sh
+
+
+* Start Eagle service.
+
+		bin/eagle-service.sh start
+		
+
+* Create Kafka topics and topology metadata for Eagle.
+
+		bin/eagle-topology-init.sh
+
+
+* Start Eagle topology, which will submit the topology to Storm via the Storm CLI tools. You can check it with storm UI.
+
+		bin/eagle-topology.sh [--jar <jarName>] [--main <mainClass>] [--topology <topologyName>] start
+
+
+Now you can let Eagle to monitor by creating your own policy!
+
+
+Sandbox Starter
+---------------
+
+* startup Eagle service & topology
+
+		examples/eagle-sandbox-starter.sh
+		
+* check eagle UI <http://127.0.0.1:9099/eagle-service>
+
+  * If you get a 404 Error when trying to access the UI, add port 9099 to "Settings->Network->Advanced->Port Forwarding" in VirtualBox. (See step 4 in "Setup Hadoop Environment" section in <https://eagle.incubator.apache.org/docs/quick-start.html>)
+
+* Take the following actions which will violate and obey the sample policy.
+     * Violation Action: hdfs dfs -ls unknown
+     * Violation Action: hdfs dfs -touchz /tmp/private
+     * Obey Action: hdfs dfs -cat /tmp/private

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-assembly/src/main/doc/metadata-ddl.sql
----------------------------------------------------------------------
diff --git a/eagle-assembly/src/main/doc/metadata-ddl.sql b/eagle-assembly/src/main/doc/metadata-ddl.sql
new file mode 100644
index 0000000..0334623
--- /dev/null
+++ b/eagle-assembly/src/main/doc/metadata-ddl.sql
@@ -0,0 +1,173 @@
+-- /*
+--  * 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.
+--  *
+--  */
+
+-- application framework metadata
+
+CREATE TABLE IF NOT EXISTS applications (
+  uuid varchar(50) PRIMARY KEY,
+  appid varchar(100) NOT NULL,
+  siteid varchar(100) DEFAULT NULL,
+  apptype varchar(30) DEFAULT NULL,
+  appmode varchar(10) DEFAULT NULL,
+  jarpath varchar(255) DEFAULT NULL,
+  appstatus  varchar(20) DEFAULT NULL,
+  configuration mediumtext DEFAULT NULL,
+  context mediumtext DEFAULT NULL,
+  createdtime bigint(20) NOT NULL,
+  modifiedtime  bigint(20) NOT NULL,
+  UNIQUE INDEX `appid_UNIQUE` (`appid` ASC))
+COMMENT = 'eagle application metadata';
+
+CREATE TABLE IF NOT EXISTS sites (
+  uuid varchar(50) PRIMARY KEY,
+  siteid varchar(100) NOT NULL,
+  sitename varchar(100) NOT NULL,
+  description varchar(255) DEFAULT NULL,
+  createdtime bigint(20) NOT NULL,
+  modifiedtime  bigint(20) NOT NULL,
+  UNIQUE INDEX `siteid_UNIQUE` (`siteid` ASC))
+COMMENT = 'eagle site metadata';
+
+CREATE TABLE IF NOT EXISTS `dashboards` (
+  `uuid` VARCHAR(50) NOT NULL,
+  `name` VARCHAR(200) NOT NULL,
+  `description` VARCHAR(500) NOT NULL,
+  `settings` mediumtext NULL,
+  `charts` longtext NULL,
+  `modifiedtime` BIGINT(20) NOT NULL,
+  `createdtime` BIGINT(20) NOT NULL,
+  `author` VARCHAR(50) NOT NULL,
+  PRIMARY KEY (`uuid`),
+  UNIQUE INDEX `uuid_UNIQUE` (`uuid` ASC),
+  UNIQUE INDEX `name_UNIQUE` (`name` ASC))
+COMMENT = 'eagle dashboard metadata';
+
+-- eagle security module metadata
+
+CREATE TABLE IF NOT EXISTS hdfs_sensitivity_entity (
+  site varchar(20) NOT NULL,
+  filedir varchar(100) NOT NULL,
+  sensitivity_type varchar(20) DEFAULT NULL,
+  primary key (site, filedir)
+);
+
+CREATE TABLE IF NOT EXISTS ip_securityzone (
+  iphost varchar(100) NOT NULL,
+  security_zone varchar(100) DEFAULT NULL,
+  primary key (iphost)
+);
+
+CREATE TABLE IF NOT EXISTS hbase_sensitivity_entity (
+  site varchar(20) NOT NULL,
+  hbase_resource varchar(100) NOT NULL,
+  sensitivity_type varchar(20) DEFAULT NULL,
+  primary key (site, hbase_resource)
+);
+
+-- alert engine metadata
+
+CREATE TABLE IF NOT EXISTS stream_cluster (
+  id VARCHAR (50) PRIMARY KEY,
+  content longtext DEFAULT NULL
+);
+
+CREATE TABLE IF NOT EXISTS stream_definition (
+  id VARCHAR (50) PRIMARY KEY,
+  content longtext DEFAULT NULL
+);
+
+CREATE TABLE IF NOT EXISTS kafka_tuple_metadata (
+  id VARCHAR (50) PRIMARY KEY,
+  content longtext DEFAULT NULL
+);
+
+CREATE TABLE IF NOT EXISTS policy_definition (
+  id VARCHAR (50) PRIMARY KEY,
+  content longtext DEFAULT NULL
+);
+
+CREATE TABLE IF NOT EXISTS publishment (
+  id VARCHAR (50) PRIMARY KEY,
+  content longtext DEFAULT NULL
+);
+
+CREATE TABLE IF NOT EXISTS schedule_state (
+  id VARCHAR (50) PRIMARY KEY,
+  content longtext DEFAULT NULL
+);
+
+CREATE TABLE IF NOT EXISTS policy_assignment (
+  id VARCHAR (50) PRIMARY KEY,
+  content longtext DEFAULT NULL
+);
+
+CREATE TABLE IF NOT EXISTS topology (
+  id VARCHAR (50) PRIMARY KEY,
+  content longtext DEFAULT NULL
+);
+
+CREATE TABLE IF NOT EXISTS publishment_type (
+  id VARCHAR (50) PRIMARY KEY,
+  content longtext DEFAULT NULL
+);
+
+CREATE TABLE IF NOT EXISTS policy_publishment (
+  policyId VARCHAR(50),
+  publishmentName VARCHAR(50),
+  PRIMARY KEY(policyId, publishmentName),
+  CONSTRAINT `policy_id_fk` FOREIGN KEY (`policyId`) REFERENCES `policy_definition` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
+  CONSTRAINT `publishment_id_fk` FOREIGN KEY (`publishmentName`) REFERENCES `publishment` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+);
+
+CREATE TABLE IF NOT EXISTS alert_event (
+  alertId VARCHAR (50) PRIMARY KEY,
+  siteId VARCHAR (50) DEFAULT NULL,
+  appIds VARCHAR (255) DEFAULT NULL,
+  policyId VARCHAR (50) DEFAULT NULL,
+  alertTimestamp bigint(20) DEFAULT NULL,
+  policyValue mediumtext DEFAULT NULL,
+  alertData mediumtext DEFAULT NULL
+);
+
+CREATE TABLE IF NOT EXISTS analysis_jobs (
+  uuid varchar(50) PRIMARY KEY,
+  jobDefId varchar(100) NOT NULL,
+  siteId varchar(50) NOT NULL,
+  configuration mediumtext NOT NULL,
+  evaluators mediumtext NOT NULL,
+  createdtime bigint(20) DEFAULT NULL,
+  modifiedtime  bigint(20) DEFAULT NULL,
+  UNIQUE (siteId, jobDefId)
+);
+
+CREATE TABLE IF NOT EXISTS analysis_email (
+  uuid varchar(50) PRIMARY KEY,
+  userId varchar(100) NOT NULL,
+  siteId varchar(50) NOT NULL,
+  mailAddress mediumtext NOT NULL,
+  createdtime bigint(20) DEFAULT NULL,
+  modifiedtime  bigint(20) DEFAULT NULL,
+  UNIQUE (siteId, userId)
+);
+
+INSERT INTO publishment_type(id, content) VALUES
+('Kafka', '{"name":"Kafka","type":"org.apache.eagle.alert.engine.publisher.impl.AlertKafkaPublisher","description":null,"fields":[{"name":"kafka_broker","value":"sandbox.hortonworks.com:6667"},{"name":"topic"}]}'),
+('Email', '{"name":"Email","type":"org.apache.eagle.alert.engine.publisher.impl.AlertEmailPublisher","description":null,"fields":[{"name":"subject"},{"name":"sender"}, {"name":"recipients"}]}'),
+('Slack', '{"name":"Slack","type":"org.apache.eagle.alert.engine.publisher.impl.AlertSlackPublisher","description":null,"fields":[{"name":"token"},{"name":"channels"}, {"name":"severitys"}, {"name":"urltemplate"}]}'),
+('HBaseStorage', '{"name":"HBaseStorage","type":"org.apache.eagle.alert.app.AlertEagleStorePlugin","description":null,"fields":[]}'),
+('JDBCStorage', '{"name":"JDBCStorage","type":"org.apache.eagle.alert.engine.publisher.impl.AlertEagleStorePlugin","description":null,"fields":[]}');

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-server-assembly/pom.xml
----------------------------------------------------------------------
diff --git a/eagle-server-assembly/pom.xml b/eagle-server-assembly/pom.xml
deleted file mode 100644
index 56cff82..0000000
--- a/eagle-server-assembly/pom.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <parent>
-        <groupId>org.apache.eagle</groupId>
-        <artifactId>eagle-parent</artifactId>
-        <version>0.5.0-SNAPSHOT</version>
-    </parent>
-    <artifactId>eagle-server-assembly</artifactId>
-    <name>Eagle::Server::Assembly</name>
-    <url>http://maven.apache.org</url>
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.eagle</groupId>
-            <artifactId>eagle-server</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${project.build.directory}/dependencies</outputDirectory>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <artifactId>maven-assembly-plugin</artifactId>
-                <configuration>
-                    <descriptor>src/assembly/eagle-bin.xml</descriptor>
-                    <finalName>eagle-${project.version}</finalName>
-                </configuration>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>single</goal>
-                        </goals>
-                        <configuration>
-                            <tarLongFileMode>posix</tarLongFileMode>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-
-        </plugins>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-server-assembly/src/assembly/eagle-bin.xml
----------------------------------------------------------------------
diff --git a/eagle-server-assembly/src/assembly/eagle-bin.xml b/eagle-server-assembly/src/assembly/eagle-bin.xml
deleted file mode 100644
index 3092eb8..0000000
--- a/eagle-server-assembly/src/assembly/eagle-bin.xml
+++ /dev/null
@@ -1,102 +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
-  ~  * <p/>
-  ~  * http://www.apache.org/licenses/LICENSE-2.0
-  ~  * <p/>
-  ~  * Unless required by applicable law or agreed to in writing, software
-  ~  * distributed under the License is distributed on an "AS IS" BASIS,
-  ~  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~  * See the License for the specific language governing permissions and
-  ~  * limitations under the License.
-  ~  */
-  -->
-
-<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
-          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
-    <id>bin</id>
-    <formats>
-        <format>dir</format>
-        <format>tar.gz</format>
-    </formats>
-    <includeBaseDirectory>true</includeBaseDirectory>
-    <fileSets>
-        <fileSet>
-            <directory>${project.basedir}/src/main/bin</directory>
-            <outputDirectory>bin/</outputDirectory>
-            <includes>
-                <include>*.sh</include>
-            </includes>
-            <fileMode>0755</fileMode>
-            <directoryMode>0755</directoryMode>
-            <lineEnding>unix</lineEnding>
-        </fileSet>
-        <fileSet>
-            <directory>${project.basedir}/src/main/bin</directory>
-            <outputDirectory>bin/</outputDirectory>
-            <includes>
-                <include>*</include>
-            </includes>
-            <lineEnding>unix</lineEnding>
-        </fileSet>
-        <fileSet>
-            <directory>${project.basedir}/src/main/conf</directory>
-            <outputDirectory>conf/</outputDirectory>
-            <includes>
-                <include>*</include>
-            </includes>
-            <lineEnding>unix</lineEnding>
-        </fileSet>
-        <fileSet>
-            <directory>${project.basedir}/src/main</directory>
-            <outputDirectory>.</outputDirectory>
-            <includes>
-                <include>README.md</include>
-            </includes>
-            <lineEnding>unix</lineEnding>
-        </fileSet>
-        <fileSet>
-            <directory>${project.basedir}/src/main/lib</directory>
-            <outputDirectory>lib</outputDirectory>
-            <includes>
-                <include>*.sh</include>
-            </includes>
-            <fileMode>0755</fileMode>
-            <lineEnding>unix</lineEnding>
-        </fileSet>
-
-        <fileSet>
-            <directory>${project.basedir}/../eagle-topology-assembly/target</directory>
-            <outputDirectory>lib/</outputDirectory>
-            <includes>
-                <include>eagle-topology-*-assembly.jar</include>
-            </includes>
-        </fileSet>
-
-        <!-- copy dependent jars into /lib -->
-        <fileSet>
-            <directory>${project.build.directory}/dependencies</directory>
-            <outputDirectory>lib</outputDirectory>
-            <includes>
-                <include>dropwizard-*.jar</include>
-                <include>storm-core-*.jar</include>
-                <include>slf4j-api-*.jar</include>
-                <include>jersey-*.jar</include>
-                <include>eagle-storage-hbase-*.jar</include>
-                <include>eagle-storage-jdbc-*.jar</include>
-            </includes>
-        </fileSet>
-
-        <!-- copy collector scripts into /lib/scripts -->
-        <fileSet>
-            <directory>${project.basedir}/../eagle-external/hadoop_jmx_collector</directory>
-            <outputDirectory>lib/scripts/hadoop_jmx_collector</outputDirectory>
-        </fileSet>
-    </fileSets>
-</assembly>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-server-assembly/src/main/README.md
----------------------------------------------------------------------
diff --git a/eagle-server-assembly/src/main/README.md b/eagle-server-assembly/src/main/README.md
deleted file mode 100644
index d9ee25f..0000000
--- a/eagle-server-assembly/src/main/README.md
+++ /dev/null
@@ -1,99 +0,0 @@
-<!--
-{% 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 %}
--->
-
-Eagle User Guide
-========================
-
-Prerequisites
--------------
-* Hadoop
-* HBase
-* Storm
-* Spark
-* Kafka
-
-Eagle requires you to have access on Hadoop CLI, where you have full permissions to HDFS, Storm, HBase and Kafka. To make things easier, we strongly recommend you to start Eagle on a hadoop sandbox such as http://hortonworks.com/products/hortonworks-sandbox/
-
-
-Build
------
-
-* Download the latest version of Eagle source code.
-
-		git clone git@github.xyz.com:eagle/eagle.git
-
-
-* Build the source code, and a tar.gz package will be generated under eagle-assembly/target.
-
-		mvn clean compile install -DskipTests
-
-Installation
------------
-* Copy this package onto the sandbox.
-
-		scp -P 2222 eagle/eagle-assembly/target/eagle-0.1.0-bin.tar.gz root@127.0.0.1:/usr/hdp/current/.
-
-* Run Eagle patch installation at the first time, and restart HDFS namenode.
-
-		bin/eagle-patch-install.sh
-
-
-* Start Storm, HBase, and Kafka via Ambari Web UI. Make sure the user has the privilege to run Storm, HBase, and Kafka cmd in shell, and with full permissions to access HBase, such as creating tables. Check the installation & running status of the required services.
-
-		bin/eagle-check-env.sh
-
-
-* Create necessary HBase tables for Eagle.
-
-		bin/eagle-service-init.sh
-
-
-* Start Eagle service.
-
-		bin/eagle-service.sh start
-		
-
-* Create Kafka topics and topology metadata for Eagle.
-
-		bin/eagle-topology-init.sh
-
-
-* Start Eagle topology, which will submit the topology to Storm via the Storm CLI tools. You can check it with storm UI.
-
-		bin/eagle-topology.sh [--jar <jarName>] [--main <mainClass>] [--topology <topologyName>] start
-
-
-Now you can let Eagle to monitor by creating your own policy!
-
-
-Sandbox Starter
----------------
-
-* startup Eagle service & topology
-
-		examples/eagle-sandbox-starter.sh
-		
-* check eagle UI <http://127.0.0.1:9099/eagle-service>
-
-  * If you get a 404 Error when trying to access the UI, add port 9099 to "Settings->Network->Advanced->Port Forwarding" in VirtualBox. (See step 4 in "Setup Hadoop Environment" section in <https://eagle.incubator.apache.org/docs/quick-start.html>)
-
-* Take the following actions which will violate and obey the sample policy.
-     * Violation Action: hdfs dfs -ls unknown
-     * Violation Action: hdfs dfs -touchz /tmp/private
-     * Obey Action: hdfs dfs -cat /tmp/private

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-server-assembly/src/main/bin/eagle-env.sh
----------------------------------------------------------------------
diff --git a/eagle-server-assembly/src/main/bin/eagle-env.sh b/eagle-server-assembly/src/main/bin/eagle-env.sh
deleted file mode 100644
index 892978b..0000000
--- a/eagle-server-assembly/src/main/bin/eagle-env.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/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_SERVER_JMX_PORT=9999
-
-# EAGLE Environment Variables
-export EAGLE_HOME=$(dirname $0)/..
-export EAGLE_CLASSPATH=$EAGLE_HOME/conf
-
-# System Environment Variables
-export OS_TYPE="linux"
-export CLASSPATH_DELIMITER=":"
-
-case `which uname >/dev/null && uname -s` in
-    CYGWIN_NT-* | MINGW64_NT-*)
-        OS_TYPE="windows"
-        CLASSPATH_DELIMITER=";"
-        ;;
-    Linux)
-        OS_TYPE="linux"
-        ;;
-   *)
-        OS_TYPE="unknown"
-        ;;
-esac
-
-# Add eagle shared library jars
-for file in `ls ${EAGLE_HOME}/lib`; do
-	EAGLE_CLASSPATH=${EAGLE_CLASSPATH}${CLASSPATH_DELIMITER}${EAGLE_HOME}/lib/$file
-done
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-server-assembly/src/main/bin/eagle-server.sh
----------------------------------------------------------------------
diff --git a/eagle-server-assembly/src/main/bin/eagle-server.sh b/eagle-server-assembly/src/main/bin/eagle-server.sh
deleted file mode 100644
index 4199234..0000000
--- a/eagle-server-assembly/src/main/bin/eagle-server.sh
+++ /dev/null
@@ -1,136 +0,0 @@
-#!/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.
-
-function print_help() {
-	echo "Usage: $0 {start | stop | restart | status}"
-	exit 1
-}
-
-if [ $# != 1 ]
-then
-	print_help
-fi
-
-DIR=$(dirname $0)
-
-
-source ${DIR}/eagle-env.sh
-
-JVM_OPTS="-server -Xms1024m -Xmx1024m -XX:MaxPermSize=1024m"
-
-GC_OPTS="-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:${DIR}/../log/eagle-server-gc.log"
-
-if [ ! -z "$EAGLE_SERVER_JMX_PORT" ]; then
-    JMX_HOST=`hostname -f`
-    JVM_OPTS="-Dcom.sun.management.jmxremote \
-    -Dcom.sun.management.jmxremote.port=$EAGLE_SERVER_JMX_PORT \
-    -Dcom.sun.management.jmxremote.authenticate=false \
-    -Dcom.sun.management.jmxremote.ssl=false \
-    -Dcom.sun.management.jmxremote.local.only=false \
-    -Djava.rmi.server.hostname=$JMX_HOST \
-    -Dcom.sun.management.jmxremote.rmi.port=$EAGLE_SERVER_JMX_PORT \
-    $JVM_OPTS"
-fi
-
-JVM_OPTS="-Dconfig.resource=eagle.conf $JVM_OPTS $GC_OPTS"
-
-PIDFILE="${DIR}/../run/eagle-server.pid"
-
-CONFIGURATION_YML="${DIR}/../conf/server.yml"
-
-DEBUG_OPTIONS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"
-
-PROGRAM="java $JVM_OPTS -cp $EAGLE_CLASSPATH org.apache.eagle.server.ServerMain server ${CONFIGURATION_YML}"
-
-cd $DIR/../
-
-if [ ! -e ${DIR}/../run ]; then
-    mkdir ${DIR}/../run
-fi
-
-if [ ! -e ${DIR}/../log ]; then
-    mkdir ${DIR}/../log
-fi
-
-start() {
-    echo "Starting eagle service ..."
-	echo ${PROGRAM}
-	nohup ${PROGRAM} 1> ${DIR}/../log/eagle-server.out 2>&1 & echo $! > $PIDFILE
-	if [ $? != 0 ];then
-		echo "Error: failed starting"
-		exit 1
-	fi
-}
-
-stop() {
-    echo "Stopping eagle service ..."
-	if [[ ! -f $PIDFILE ]];then
-	    echo "Eagle service is not running"
-    	exit 1
-    fi
-
-    PID=`cat $PIDFILE`
-	kill $PID
-	if [ $? != 0 ];then
-		echo "Error: failed stopping"
-		rm -rf ${PIDFILE}
-		exit 1
-	fi
-
-	rm ${PIDFILE}
-	echo "Stopping is completed"
-}
-
-case $1 in
-"start")
-    start;
-	;;
-"stop")
-    stop;
-	;;
-"restart")
-	echo "Restarting eagle service ..."
-    stop; sleep 1; start;
-	echo "Restarting is completed "
-	;;
-"status")
-	echo "Checking eagle service status ..."
-	if [[ -e ${PIDFILE} ]]; then
-	    PID=`cat $PIDFILE`
-	fi
-	if [[ -z ${PID} ]];then
-	    echo "Error: Eagle service is not running (missing PID)"
-	    exit 0
-	elif ps -p ${PID} > /dev/null; then
-	    echo "Eagle service is running with PID $PID"
-	    exit 0
-    else
-        echo "Eagle service is not running (tested PID: ${PID})"
-        exit 0
-    fi
-	;;
-*)
-	print_help
-	;;
-esac
-
-if [ $? != 0 ]; then
-	echo "Error: start failure"
-	exit 1
-fi
-
-exit 0

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-server-assembly/src/main/bin/metadata-ddl.sql
----------------------------------------------------------------------
diff --git a/eagle-server-assembly/src/main/bin/metadata-ddl.sql b/eagle-server-assembly/src/main/bin/metadata-ddl.sql
deleted file mode 100644
index 0334623..0000000
--- a/eagle-server-assembly/src/main/bin/metadata-ddl.sql
+++ /dev/null
@@ -1,173 +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.
---  *
---  */
-
--- application framework metadata
-
-CREATE TABLE IF NOT EXISTS applications (
-  uuid varchar(50) PRIMARY KEY,
-  appid varchar(100) NOT NULL,
-  siteid varchar(100) DEFAULT NULL,
-  apptype varchar(30) DEFAULT NULL,
-  appmode varchar(10) DEFAULT NULL,
-  jarpath varchar(255) DEFAULT NULL,
-  appstatus  varchar(20) DEFAULT NULL,
-  configuration mediumtext DEFAULT NULL,
-  context mediumtext DEFAULT NULL,
-  createdtime bigint(20) NOT NULL,
-  modifiedtime  bigint(20) NOT NULL,
-  UNIQUE INDEX `appid_UNIQUE` (`appid` ASC))
-COMMENT = 'eagle application metadata';
-
-CREATE TABLE IF NOT EXISTS sites (
-  uuid varchar(50) PRIMARY KEY,
-  siteid varchar(100) NOT NULL,
-  sitename varchar(100) NOT NULL,
-  description varchar(255) DEFAULT NULL,
-  createdtime bigint(20) NOT NULL,
-  modifiedtime  bigint(20) NOT NULL,
-  UNIQUE INDEX `siteid_UNIQUE` (`siteid` ASC))
-COMMENT = 'eagle site metadata';
-
-CREATE TABLE IF NOT EXISTS `dashboards` (
-  `uuid` VARCHAR(50) NOT NULL,
-  `name` VARCHAR(200) NOT NULL,
-  `description` VARCHAR(500) NOT NULL,
-  `settings` mediumtext NULL,
-  `charts` longtext NULL,
-  `modifiedtime` BIGINT(20) NOT NULL,
-  `createdtime` BIGINT(20) NOT NULL,
-  `author` VARCHAR(50) NOT NULL,
-  PRIMARY KEY (`uuid`),
-  UNIQUE INDEX `uuid_UNIQUE` (`uuid` ASC),
-  UNIQUE INDEX `name_UNIQUE` (`name` ASC))
-COMMENT = 'eagle dashboard metadata';
-
--- eagle security module metadata
-
-CREATE TABLE IF NOT EXISTS hdfs_sensitivity_entity (
-  site varchar(20) NOT NULL,
-  filedir varchar(100) NOT NULL,
-  sensitivity_type varchar(20) DEFAULT NULL,
-  primary key (site, filedir)
-);
-
-CREATE TABLE IF NOT EXISTS ip_securityzone (
-  iphost varchar(100) NOT NULL,
-  security_zone varchar(100) DEFAULT NULL,
-  primary key (iphost)
-);
-
-CREATE TABLE IF NOT EXISTS hbase_sensitivity_entity (
-  site varchar(20) NOT NULL,
-  hbase_resource varchar(100) NOT NULL,
-  sensitivity_type varchar(20) DEFAULT NULL,
-  primary key (site, hbase_resource)
-);
-
--- alert engine metadata
-
-CREATE TABLE IF NOT EXISTS stream_cluster (
-  id VARCHAR (50) PRIMARY KEY,
-  content longtext DEFAULT NULL
-);
-
-CREATE TABLE IF NOT EXISTS stream_definition (
-  id VARCHAR (50) PRIMARY KEY,
-  content longtext DEFAULT NULL
-);
-
-CREATE TABLE IF NOT EXISTS kafka_tuple_metadata (
-  id VARCHAR (50) PRIMARY KEY,
-  content longtext DEFAULT NULL
-);
-
-CREATE TABLE IF NOT EXISTS policy_definition (
-  id VARCHAR (50) PRIMARY KEY,
-  content longtext DEFAULT NULL
-);
-
-CREATE TABLE IF NOT EXISTS publishment (
-  id VARCHAR (50) PRIMARY KEY,
-  content longtext DEFAULT NULL
-);
-
-CREATE TABLE IF NOT EXISTS schedule_state (
-  id VARCHAR (50) PRIMARY KEY,
-  content longtext DEFAULT NULL
-);
-
-CREATE TABLE IF NOT EXISTS policy_assignment (
-  id VARCHAR (50) PRIMARY KEY,
-  content longtext DEFAULT NULL
-);
-
-CREATE TABLE IF NOT EXISTS topology (
-  id VARCHAR (50) PRIMARY KEY,
-  content longtext DEFAULT NULL
-);
-
-CREATE TABLE IF NOT EXISTS publishment_type (
-  id VARCHAR (50) PRIMARY KEY,
-  content longtext DEFAULT NULL
-);
-
-CREATE TABLE IF NOT EXISTS policy_publishment (
-  policyId VARCHAR(50),
-  publishmentName VARCHAR(50),
-  PRIMARY KEY(policyId, publishmentName),
-  CONSTRAINT `policy_id_fk` FOREIGN KEY (`policyId`) REFERENCES `policy_definition` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
-  CONSTRAINT `publishment_id_fk` FOREIGN KEY (`publishmentName`) REFERENCES `publishment` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS alert_event (
-  alertId VARCHAR (50) PRIMARY KEY,
-  siteId VARCHAR (50) DEFAULT NULL,
-  appIds VARCHAR (255) DEFAULT NULL,
-  policyId VARCHAR (50) DEFAULT NULL,
-  alertTimestamp bigint(20) DEFAULT NULL,
-  policyValue mediumtext DEFAULT NULL,
-  alertData mediumtext DEFAULT NULL
-);
-
-CREATE TABLE IF NOT EXISTS analysis_jobs (
-  uuid varchar(50) PRIMARY KEY,
-  jobDefId varchar(100) NOT NULL,
-  siteId varchar(50) NOT NULL,
-  configuration mediumtext NOT NULL,
-  evaluators mediumtext NOT NULL,
-  createdtime bigint(20) DEFAULT NULL,
-  modifiedtime  bigint(20) DEFAULT NULL,
-  UNIQUE (siteId, jobDefId)
-);
-
-CREATE TABLE IF NOT EXISTS analysis_email (
-  uuid varchar(50) PRIMARY KEY,
-  userId varchar(100) NOT NULL,
-  siteId varchar(50) NOT NULL,
-  mailAddress mediumtext NOT NULL,
-  createdtime bigint(20) DEFAULT NULL,
-  modifiedtime  bigint(20) DEFAULT NULL,
-  UNIQUE (siteId, userId)
-);
-
-INSERT INTO publishment_type(id, content) VALUES
-('Kafka', '{"name":"Kafka","type":"org.apache.eagle.alert.engine.publisher.impl.AlertKafkaPublisher","description":null,"fields":[{"name":"kafka_broker","value":"sandbox.hortonworks.com:6667"},{"name":"topic"}]}'),
-('Email', '{"name":"Email","type":"org.apache.eagle.alert.engine.publisher.impl.AlertEmailPublisher","description":null,"fields":[{"name":"subject"},{"name":"sender"}, {"name":"recipients"}]}'),
-('Slack', '{"name":"Slack","type":"org.apache.eagle.alert.engine.publisher.impl.AlertSlackPublisher","description":null,"fields":[{"name":"token"},{"name":"channels"}, {"name":"severitys"}, {"name":"urltemplate"}]}'),
-('HBaseStorage', '{"name":"HBaseStorage","type":"org.apache.eagle.alert.app.AlertEagleStorePlugin","description":null,"fields":[]}'),
-('JDBCStorage', '{"name":"JDBCStorage","type":"org.apache.eagle.alert.engine.publisher.impl.AlertEagleStorePlugin","description":null,"fields":[]}');

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-server-assembly/src/main/conf/eagle.conf
----------------------------------------------------------------------
diff --git a/eagle-server-assembly/src/main/conf/eagle.conf b/eagle-server-assembly/src/main/conf/eagle.conf
deleted file mode 100644
index a889914..0000000
--- a/eagle-server-assembly/src/main/conf/eagle.conf
+++ /dev/null
@@ -1,150 +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.
-
-# ---------------------------------------------
-# Eagle REST Web Service Configuration
-# ---------------------------------------------
-service {
-  env = "testing"
-  host = "localhost"
-  port = 9090
-  username = "admin"
-  password = "secret"
-  readTimeOutSeconds = 60
-  context = "/rest"
-  timezone = "UTC"
-}
-
-zookeeper {
-  zkQuorum = "localhost:2181"
-  zkSessionTimeoutMs : 15000
-  zkRetryTimes : 3
-  zkRetryInterval : 20000
-}
-
-# ---------------------------------------------
-# Eagle Deep Storage Configuration
-# ---------------------------------------------
-
-storage {
-  # storage type: ["hbase","jdbc"]
-  # default is "hbase"
-  type = "hbase"
-
-  hbase {
-    # hbase configuration: hbase.zookeeper.quorum
-    # default is "localhost"
-    zookeeperQuorum = "localhost"
-
-    # hbase configuration: hbase.zookeeper.property.clientPort
-    # default is 2181
-    zookeeperPropertyClientPort = 2181
-
-    # hbase configuration: zookeeper.znode.parent
-    # default is "/hbase"
-    zookeeperZnodeParent = "/hbase-unsecure"
-
-    # eagle web login profile: [sandbox, default]
-    # default is sandbox
-    tableNamePrefixedWithEnvironment = false
-
-    # eagle coprocessor enabled or not: [true, false]
-    # default is false
-    coprocessorEnabled = false
-  }
-}
-
-# ---------------------------------------------
-# Eagle Metadata Store Configuration
-# ---------------------------------------------
-metadata {
-  store = org.apache.eagle.metadata.service.memory.MemoryMetadataStore
-  jdbc {
-    username = "root"
-    password = ""
-    driverClassName = com.mysql.jdbc.Driver
-    url = "jdbc:mysql://server.eagle.apache.org:3306/eagle"
-  }
-}
-
-# ---------------------------------------------
-# Eagle Application Configuration
-# ---------------------------------------------
-application {
-  stream {
-    provider = org.apache.eagle.app.messaging.KafkaStreamProvider
-  }
-  storm {
-    nimbusHost = "server.eagle.apache.org"
-    nimbusThriftPort = 6627
-  }
-  mailService {
-    mailSmtpServer = "",
-    mailSmtpPort = 25,
-    mailSmtpAuth = "false"
-    //mailSmtpConn = "plaintext",
-    //mailSmtpUsername = ""
-    //mailSmtpPassword = ""
-    //mailSmtpDebug = false
-  }
-  dailyJobReport {
-    reportHourTime: 1
-    reportPeriodInHour: 12
-    numTopUsers : 10
-    jobOvertimeLimitInHour: 6
-    subject: "Job Report For 12 hours"
-    recipients: "nobody@abc.com"
-    template: "JobReportTemplate.vm"
-  }
-  analyzerReport {
-    sender: "nobody@abc.com"
-    recipients: "nobody@abc.com"
-    template: "AnalyzerReportTemplate.vm"
-    cc: "nobody@abc.com"
-  }
-}
-
-# ---------------------------------------------
-# Eagle Alert Engine Configuration
-# ---------------------------------------------
-
-# Coordinator Configuration
-coordinator {
-  policiesPerBolt = 5
-  boltParallelism = 5
-  policyDefaultParallelism = 5
-  boltLoadUpbound = 0.8
-  topologyLoadUpbound = 0.8
-  numOfAlertBoltsPerTopology = 5
-  zkConfig {
-    zkQuorum = "server.eagle.apache.org:2181"
-    zkRoot = "/alert"
-    zkSessionTimeoutMs = 10000
-    connectionTimeoutMs = 10000
-    zkRetryTimes = 3
-    zkRetryInterval = 3000
-  }
-  metadataService {
-    host = "localhost",
-    port = 9090,
-    context = "/rest"
-  }
-  metadataDynamicCheck {
-    initDelayMillis = 1000
-    delayMillis = 30000
-    stateClearPeriodMin = 1440
-    stateReservedCapacity = 100
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-server-assembly/src/main/conf/server.yml
----------------------------------------------------------------------
diff --git a/eagle-server-assembly/src/main/conf/server.yml b/eagle-server-assembly/src/main/conf/server.yml
deleted file mode 100644
index 501d941..0000000
--- a/eagle-server-assembly/src/main/conf/server.yml
+++ /dev/null
@@ -1,100 +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.
-
-# Dropwizard Configuration:
-# http://www.dropwizard.io/0.7.1/docs/manual/configuration.html
-
-server:
-  applicationConnectors:
-    - type: http
-      port: 9090
-  adminConnectors:
-    - type: http
-      port: 9091
-  requestLog:
-    appenders:
-      - type: file
-        currentLogFilename: log/eagle-server-access.log
-        threshold: ALL
-        archive: true
-        archivedLogFilenamePattern: log/eagle-server-access-%d.log
-        archivedFileCount: 5
-        timeZone: UTC
-
-logging:
-  level: INFO
-  appenders:
-    - type: file
-      currentLogFilename: log/eagle-server.log
-      threshold: ALL
-      archive: true
-      archivedLogFilenamePattern: log/eagle-server-%d.log
-      archivedFileCount: 5
-      timeZone: UTC
-
-# ---------------------------------------------
-# Eagle Authentication Configuration
-# ---------------------------------------------
-auth:
-  # indicating if authentication is enabled, true for enabled, false for disabled
-  enabled: false
-
-  # indicating authentication mode, "simple" or "ldap"
-  mode: simple
-
-  # indicating whether to use cache: cache is usually used for authentications that may
-  # not handle high throughput (an RDBMS or LDAP server, for example)
-  caching: false
-
-  # indicating the cache policy, containing maximumSize and expireAfterWrite, e.g. maximumSize=10000, expireAfterWrite=10m
-  cachePolicy: maximumSize=10000, expireAfterWrite=1m
-
-  # indicating whether authorization is needed
-  authorization: false
-
-  # indicating whether @Auth annotation on parameters is needed
-  annotated: true
-
-  # for basic authentication, effective only when auth.mode=simple
-  simple:
-    # username for basic authentication, effective only when auth.mode=simple
-    username: admin
-    # password for basic authentication, effective only when auth.mode=simple
-    password: secret
-
-  # for ldap authentication, effective only when auth.mode=ldap
-  ldap:
-    # url providing ldap service. By convention, the port for typical ldap service is 389, and ldap service over ssl
-    # uses port 636 with protocol "ldaps", which requires certificates pre-installed.
-    providerUrl: ldap://server.address.or.domain:port
-
-    # template string containing ${USERNAME} placeholder. This is designed for some orgs who don't use plain usernames
-    # to authenticate, e.g. they may use its members' email address as the username: ${USERNAME}@some.org. When username
-    # is supposed to be recognized originally, just configure this parameter as ${USERNAME}
-    principalTemplate: ${USERNAME}@maybe.email.suffix
-
-    # string of strategy used by ldap service. "simple" is usually supported in most circumstances, we can use it by
-    # default or leave it a blank string.
-    strategy: simple
-
-    # the absolute path of ssl certificate file. This attribute is required conditional only when the auth -> mode is set
-    # as "ldap" and providerUrl starting with "ldaps://".
-    certificateAbsolutePath: /certificate/absolute/path
-
-    # timeout expression for connecting to ldap service endpoint
-    connectingTimeout: 500ms
-
-    # timeout expression for reading from ldap service
-    readingTimeout: 500ms

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/eagle-server/src/main/resources/configuration.yml
----------------------------------------------------------------------
diff --git a/eagle-server/src/main/resources/configuration.yml b/eagle-server/src/main/resources/configuration.yml
index a208f57..387941e 100644
--- a/eagle-server/src/main/resources/configuration.yml
+++ b/eagle-server/src/main/resources/configuration.yml
@@ -1,74 +1,96 @@
-# 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.
-
-server:
-  applicationConnectors:
-    - type: http
-      port: 9090
-  adminConnectors:
-    - type: http
-      port: 9091
-
-# ---------------------------------------------
-# Eagle Authentication Configuration
-# ---------------------------------------------
-auth:
-  # indicating if authentication is enabled, true for enabled, false for disabled
-  enabled: false
-
-  # indicating authentication mode, "simple" or "ldap"
-  mode: simple
-
-  # indicating whether to use cache: cache is usually used for authentications that may
-  # not handle high throughput (an RDBMS or LDAP server, for example)
-  caching: false
-
-  # indicating the cache policy, containing maximumSize and expireAfterWrite, e.g. maximumSize=10000, expireAfterWrite=10m
-  cachePolicy: maximumSize=10000, expireAfterWrite=1m
-
-  # for basic authentication, effective only when auth.mode=simple
-  simple:
-    accounts:
-      - name: admin
-        password: rWV/cdTCr01wTLBQ/rUilkExd2TJKrifXuCCTEwig1o08K8Mi0b1qQAgVXpPqflb
-        roles: ADMINISTRATOR
-        firstName: Admin
-        lastName: Admin
-        email: unknown-admin@eagle.apache.org
-
-  # for ldap authentication, effective only when auth.mode=ldap
-  ldap:
-    # url providing ldap service. By convention, the port for typical ldap service is 389, and ldap service over ssl
-    # uses port 636 with protocol "ldaps", which requires certificates pre-installed.
-    providerUrl: ldap://server.address.or.domain:port
-
-    # template string containing ${USERNAME} placeholder. This is designed for some orgs who don't use plain usernames
-    # to authenticate, e.g. they may use its members' email address as the name: ${USERNAME}@some.org. When name
-    # is supposed to be recognized originally, just configure this parameter as ${USERNAME}
-    principalTemplate: ${USERNAME}@maybe.email.suffix
-
-    # string of strategy used by ldap service. "simple" is usually supported in most circumstances, we can use it by
-    # default or leave it a blank string.
-    strategy: simple
-
-    # the absolute path of ssl certificate file. This attribute is required conditional only when the auth -> mode is set
-    # as "ldap" and providerUrl starting with "ldaps://".
-    certificateAbsolutePath: /certificate/absolute/path
-
-    # timeout expression for connecting to ldap service endpoint
-    connectingTimeout: 500ms
-
-    # timeout expression for reading from ldap service
-    readingTimeout: 500ms
+# 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.
+
+server:
+  applicationConnectors:
+    - type: http
+      port: 9090
+  adminConnectors:
+    - type: http
+      port: 9091
+  requestLog:
+    appenders:
+      - type: file
+        currentLogFilename: log/eagle-server-access.log
+        threshold: ALL
+        archive: true
+        archivedLogFilenamePattern: log/eagle-server-access-%d.log
+        archivedFileCount: 5
+        timeZone: UTC
+
+logging:
+  level: INFO
+  loggers:
+      org.apache.eagle: INFO
+  appenders:
+    - type: file
+      currentLogFilename: log/eagle-server.log
+      threshold: ALL
+      archive: true
+      archivedLogFilenamePattern: log/eagle-server-%d.log
+      archivedFileCount: 5
+      timeZone: UTC
+
+# ---------------------------------------------
+# Eagle Authentication Configuration
+# ---------------------------------------------
+auth:
+  # indicating if authentication is enabled, true for enabled, false for disabled
+  enabled: false
+
+  # indicating authentication mode, "simple" or "ldap"
+  mode: simple
+
+  # indicating whether to use cache: cache is usually used for authentications that may
+  # not handle high throughput (an RDBMS or LDAP server, for example)
+  caching: false
+
+  # indicating the cache policy, containing maximumSize and expireAfterWrite, e.g. maximumSize=10000, expireAfterWrite=10m
+  cachePolicy: maximumSize=10000, expireAfterWrite=1m
+
+  # for basic authentication, effective only when auth.mode=simple
+  simple:
+    accounts:
+      - name: admin
+        password: rWV/cdTCr01wTLBQ/rUilkExd2TJKrifXuCCTEwig1o08K8Mi0b1qQAgVXpPqflb
+        roles: ADMINISTRATOR
+        firstName: Admin
+        lastName: Admin
+        email: unknown-admin@eagle.apache.org
+
+  # for ldap authentication, effective only when auth.mode=ldap
+  ldap:
+    # url providing ldap service. By convention, the port for typical ldap service is 389, and ldap service over ssl
+    # uses port 636 with protocol "ldaps", which requires certificates pre-installed.
+    providerUrl: ldap://server.address.or.domain:port
+
+    # template string containing ${USERNAME} placeholder. This is designed for some orgs who don't use plain usernames
+    # to authenticate, e.g. they may use its members' email address as the name: ${USERNAME}@some.org. When name
+    # is supposed to be recognized originally, just configure this parameter as ${USERNAME}
+    principalTemplate: ${USERNAME}@maybe.email.suffix
+
+    # string of strategy used by ldap service. "simple" is usually supported in most circumstances, we can use it by
+    # default or leave it a blank string.
+    strategy: simple
+
+    # the absolute path of ssl certificate file. This attribute is required conditional only when the auth -> mode is set
+    # as "ldap" and providerUrl starting with "ldaps://".
+    certificateAbsolutePath: /certificate/absolute/path
+
+    # timeout expression for connecting to ldap service endpoint
+    connectingTimeout: 500ms
+
+    # timeout expression for reading from ldap service
+    readingTimeout: 500ms

http://git-wip-us.apache.org/repos/asf/eagle/blob/95a506b4/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 34f73ef..ddfeb96 100755
--- a/pom.xml
+++ b/pom.xml
@@ -134,7 +134,7 @@
         <module>eagle-metric</module>
         <module>eagle-server</module>
         <module>eagle-jpm</module>
-        <module>eagle-server-assembly</module>
+        <module>eagle-assembly</module>
         <module>eagle-topology-check</module>
     </modules>
     <properties>


Mime
View raw message