http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-jpm/eagle-jpm-spark-history/src/main/resources/META-INF/providers/org.apache.eagle.jpm.spark.history.SparkHistoryJobAppProvider.xml ---------------------------------------------------------------------- diff --git a/eagle-jpm/eagle-jpm-spark-history/src/main/resources/META-INF/providers/org.apache.eagle.jpm.spark.history.SparkHistoryJobAppProvider.xml b/eagle-jpm/eagle-jpm-spark-history/src/main/resources/META-INF/providers/org.apache.eagle.jpm.spark.history.SparkHistoryJobAppProvider.xml index 8c0d472..ef958cc 100644 --- a/eagle-jpm/eagle-jpm-spark-history/src/main/resources/META-INF/providers/org.apache.eagle.jpm.spark.history.SparkHistoryJobAppProvider.xml +++ b/eagle-jpm/eagle-jpm-spark-history/src/main/resources/META-INF/providers/org.apache.eagle.jpm.spark.history.SparkHistoryJobAppProvider.xml @@ -19,7 +19,6 @@ <application> <type>SPARK_HISTORY_JOB_APP</type> <name>Spark History Job Monitor</name> - <version>0.5.0-incubating</version> <appClass>org.apache.eagle.jpm.spark.history.SparkHistoryJobApp</appClass> <configuration> <!-- topology config -->
http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-jpm/eagle-jpm-spark-running/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-jpm/eagle-jpm-spark-running/pom.xml b/eagle-jpm/eagle-jpm-spark-running/pom.xml index 9ff8410..61704d4 100644 --- a/eagle-jpm/eagle-jpm-spark-running/pom.xml +++ b/eagle-jpm/eagle-jpm-spark-running/pom.xml @@ -16,14 +16,12 @@ ~ 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"> +<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-jpm-parent</artifactId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>eagle-jpm-spark-running</artifactId> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-jpm/eagle-jpm-spark-running/src/main/resources/META-INF/providers/org.apache.eagle.jpm.spark.running.SparkRunningJobAppProvider.xml ---------------------------------------------------------------------- diff --git a/eagle-jpm/eagle-jpm-spark-running/src/main/resources/META-INF/providers/org.apache.eagle.jpm.spark.running.SparkRunningJobAppProvider.xml b/eagle-jpm/eagle-jpm-spark-running/src/main/resources/META-INF/providers/org.apache.eagle.jpm.spark.running.SparkRunningJobAppProvider.xml index 0503d74..8c192fe 100644 --- a/eagle-jpm/eagle-jpm-spark-running/src/main/resources/META-INF/providers/org.apache.eagle.jpm.spark.running.SparkRunningJobAppProvider.xml +++ b/eagle-jpm/eagle-jpm-spark-running/src/main/resources/META-INF/providers/org.apache.eagle.jpm.spark.running.SparkRunningJobAppProvider.xml @@ -19,7 +19,6 @@ <application> <type>SPARK_RUNNING_JOB_APP</type> <name>Spark Running Job Monitoring</name> - <version>0.5.0-incubating</version> <appClass>org.apache.eagle.jpm.spark.running.SparkRunningJobApp</appClass> <configuration> <!-- org.apache.eagle.jpm.spark.running.SparkRunningJobAppConfig --> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-jpm/eagle-jpm-util/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-jpm/eagle-jpm-util/pom.xml b/eagle-jpm/eagle-jpm-util/pom.xml index 198def3..73d5c5c 100644 --- a/eagle-jpm/eagle-jpm-util/pom.xml +++ b/eagle-jpm/eagle-jpm-util/pom.xml @@ -16,14 +16,12 @@ ~ 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"> +<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-jpm-parent</artifactId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>eagle-jpm-util</artifactId> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-jpm/eagle-jpm-web/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-jpm/eagle-jpm-web/pom.xml b/eagle-jpm/eagle-jpm-web/pom.xml index 9b8e4ba..6f223ca 100644 --- a/eagle-jpm/eagle-jpm-web/pom.xml +++ b/eagle-jpm/eagle-jpm-web/pom.xml @@ -15,13 +15,11 @@ ~ 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"> <parent> <artifactId>eagle-jpm-parent</artifactId> <groupId>org.apache.eagle</groupId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>eagle-jpm-web</artifactId> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-jpm/eagle-jpm-web/src/main/resources/META-INF/providers/org.apache.eagle.app.jpm.JPMWebApplicationProvider.xml ---------------------------------------------------------------------- diff --git a/eagle-jpm/eagle-jpm-web/src/main/resources/META-INF/providers/org.apache.eagle.app.jpm.JPMWebApplicationProvider.xml b/eagle-jpm/eagle-jpm-web/src/main/resources/META-INF/providers/org.apache.eagle.app.jpm.JPMWebApplicationProvider.xml index 222e306..5f59130 100644 --- a/eagle-jpm/eagle-jpm-web/src/main/resources/META-INF/providers/org.apache.eagle.app.jpm.JPMWebApplicationProvider.xml +++ b/eagle-jpm/eagle-jpm-web/src/main/resources/META-INF/providers/org.apache.eagle.app.jpm.JPMWebApplicationProvider.xml @@ -19,7 +19,6 @@ <application> <type>JPM_WEB_APP</type> <name>Job Performance Monitoring Web </name> - <version>0.5.0-incubating</version> <viewPath>/apps/jpm</viewPath> <description>Job Performance Monitoring Web</description> <dependencies> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-jpm/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-jpm/pom.xml b/eagle-jpm/pom.xml index be82acb..1ffdb03 100644 --- a/eagle-jpm/pom.xml +++ b/eagle-jpm/pom.xml @@ -18,13 +18,12 @@ ~ */ --> -<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" - 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>org.apache.eagle</groupId> <artifactId>eagle-parent</artifactId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>eagle-jpm-parent</artifactId> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-metric-collection/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-metric-collection/pom.xml b/eagle-security/eagle-metric-collection/pom.xml index a74f51c..4283c41 100644 --- a/eagle-security/eagle-metric-collection/pom.xml +++ b/eagle-security/eagle-metric-collection/pom.xml @@ -21,7 +21,7 @@ <parent> <groupId>org.apache.eagle</groupId> <artifactId>eagle-security-parent</artifactId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>eagle-metric-collection</artifactId> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-common/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-common/pom.xml b/eagle-security/eagle-security-common/pom.xml index 7910d3c..c2df42c 100644 --- a/eagle-security/eagle-security-common/pom.xml +++ b/eagle-security/eagle-security-common/pom.xml @@ -21,7 +21,7 @@ <parent> <groupId>org.apache.eagle</groupId> <artifactId>eagle-security-parent</artifactId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> </parent> <artifactId>eagle-security-common</artifactId> <name>Eagle::App::Security::Common</name> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-hbase-auditlog/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-hbase-auditlog/pom.xml b/eagle-security/eagle-security-hbase-auditlog/pom.xml index 27a217e..6ee724d 100644 --- a/eagle-security/eagle-security-hbase-auditlog/pom.xml +++ b/eagle-security/eagle-security-hbase-auditlog/pom.xml @@ -18,12 +18,11 @@ ~ */ --> -<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"> <parent> <artifactId>eagle-security-parent</artifactId> <groupId>org.apache.eagle</groupId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-hbase-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.hbase.HBaseAuditLogAppProvider.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-hbase-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.hbase.HBaseAuditLogAppProvider.xml b/eagle-security/eagle-security-hbase-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.hbase.HBaseAuditLogAppProvider.xml index 403518a..18b2ed3 100644 --- a/eagle-security/eagle-security-hbase-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.hbase.HBaseAuditLogAppProvider.xml +++ b/eagle-security/eagle-security-hbase-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.hbase.HBaseAuditLogAppProvider.xml @@ -19,7 +19,6 @@ <application> <type>HBASE_AUDIT_LOG_MONITOR</type> <name>Hbase Audit Log Monitor</name> - <version>0.5.0-incubating</version> <appClass>org.apache.eagle.security.hbase.HBaseAuditLogApplication</appClass> <configuration> <property> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-hbase-web/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-hbase-web/pom.xml b/eagle-security/eagle-security-hbase-web/pom.xml index 6bddb0b..56aa2bc 100644 --- a/eagle-security/eagle-security-hbase-web/pom.xml +++ b/eagle-security/eagle-security-hbase-web/pom.xml @@ -18,12 +18,11 @@ ~ */ --> -<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"> <parent> <artifactId>eagle-security-parent</artifactId> <groupId>org.apache.eagle</groupId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-hdfs-auditlog/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-hdfs-auditlog/pom.xml b/eagle-security/eagle-security-hdfs-auditlog/pom.xml index 8a2e096..280b077 100644 --- a/eagle-security/eagle-security-hdfs-auditlog/pom.xml +++ b/eagle-security/eagle-security-hdfs-auditlog/pom.xml @@ -21,7 +21,7 @@ <parent> <groupId>org.apache.eagle</groupId> <artifactId>eagle-security-parent</artifactId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> </parent> <artifactId>eagle-security-hdfs-auditlog</artifactId> <packaging>jar</packaging> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-hdfs-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.auditlog.HdfsAuditLogAppProvider.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-hdfs-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.auditlog.HdfsAuditLogAppProvider.xml b/eagle-security/eagle-security-hdfs-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.auditlog.HdfsAuditLogAppProvider.xml index 90f9e5b..f82f8b3 100644 --- a/eagle-security/eagle-security-hdfs-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.auditlog.HdfsAuditLogAppProvider.xml +++ b/eagle-security/eagle-security-hdfs-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.auditlog.HdfsAuditLogAppProvider.xml @@ -23,7 +23,6 @@ <application> <type>HDFS_AUDIT_LOG_MONITOR_APP</type> <name>Hdfs Audit Log Monitor</name> - <version>0.5.0-incubating</version> <configuration> <!-- topology related configurations --> <property> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-hdfs-authlog/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-hdfs-authlog/pom.xml b/eagle-security/eagle-security-hdfs-authlog/pom.xml index 36d9b57..4b45504 100644 --- a/eagle-security/eagle-security-hdfs-authlog/pom.xml +++ b/eagle-security/eagle-security-hdfs-authlog/pom.xml @@ -17,12 +17,11 @@ ~ --> -<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"> <parent> <artifactId>eagle-security-parent</artifactId> <groupId>org.apache.eagle</groupId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-hdfs-web/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-hdfs-web/pom.xml b/eagle-security/eagle-security-hdfs-web/pom.xml index 4cf29d9..672f6dd 100644 --- a/eagle-security/eagle-security-hdfs-web/pom.xml +++ b/eagle-security/eagle-security-hdfs-web/pom.xml @@ -16,13 +16,12 @@ ~ 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>org.apache.eagle</groupId> <artifactId>eagle-security-parent</artifactId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> </parent> <artifactId>eagle-security-hdfs-web</artifactId> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-hive-web/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-hive-web/pom.xml b/eagle-security/eagle-security-hive-web/pom.xml index 3764280..7bae503 100644 --- a/eagle-security/eagle-security-hive-web/pom.xml +++ b/eagle-security/eagle-security-hive-web/pom.xml @@ -16,13 +16,12 @@ ~ 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>org.apache.eagle</groupId> <artifactId>eagle-security-parent</artifactId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> </parent> <artifactId>eagle-security-hive-web</artifactId> <name>Eagle::App::Security::HiveService</name> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-hive/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-hive/pom.xml b/eagle-security/eagle-security-hive/pom.xml index fbe0034..18114f3 100644 --- a/eagle-security/eagle-security-hive/pom.xml +++ b/eagle-security/eagle-security-hive/pom.xml @@ -21,7 +21,7 @@ <parent> <groupId>org.apache.eagle</groupId> <artifactId>eagle-security-parent</artifactId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> </parent> <artifactId>eagle-security-hive</artifactId> <name>Eagle::App::Security::HiveSecurity</name> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-hive/src/main/resources/META-INF/providers/org.apache.eagle.security.auditlog.HiveQueryMonitoringAppProvider.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-hive/src/main/resources/META-INF/providers/org.apache.eagle.security.auditlog.HiveQueryMonitoringAppProvider.xml b/eagle-security/eagle-security-hive/src/main/resources/META-INF/providers/org.apache.eagle.security.auditlog.HiveQueryMonitoringAppProvider.xml index 1f61881..89fbfbd 100644 --- a/eagle-security/eagle-security-hive/src/main/resources/META-INF/providers/org.apache.eagle.security.auditlog.HiveQueryMonitoringAppProvider.xml +++ b/eagle-security/eagle-security-hive/src/main/resources/META-INF/providers/org.apache.eagle.security.auditlog.HiveQueryMonitoringAppProvider.xml @@ -18,7 +18,6 @@ <application> <type>HiveQueryMonitoringApplication</type> <name>Hdfs Audit Log Monitoring Application</name> - <version>0.5.0-incubating</version> <appClass>org.apache.eagle.security.auditlog.HdfsAuditLogApplication</appClass> <viewPath>/apps/example</viewPath> <configuration> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-maprfs-auditlog/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-maprfs-auditlog/pom.xml b/eagle-security/eagle-security-maprfs-auditlog/pom.xml index c349cd5..27a1608 100644 --- a/eagle-security/eagle-security-maprfs-auditlog/pom.xml +++ b/eagle-security/eagle-security-maprfs-auditlog/pom.xml @@ -16,13 +16,12 @@ ~ limitations under the License. --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.eagle</groupId> <artifactId>eagle-security-parent</artifactId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> </parent> <artifactId>eagle-security-maprfs-auditlog</artifactId> <packaging>jar</packaging> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-maprfs-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.auditlog.MapRFSAuditLogAppProvider.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-maprfs-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.auditlog.MapRFSAuditLogAppProvider.xml b/eagle-security/eagle-security-maprfs-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.auditlog.MapRFSAuditLogAppProvider.xml index 074b828..768588e 100644 --- a/eagle-security/eagle-security-maprfs-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.auditlog.MapRFSAuditLogAppProvider.xml +++ b/eagle-security/eagle-security-maprfs-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.auditlog.MapRFSAuditLogAppProvider.xml @@ -23,8 +23,7 @@ <application> <type>MAPR_HDFS_AUDIT_LOG_MONITOR_APP</type> <name>MapRFS Audit Log Monitoring Application</name> - <version>0.5.0-incubating</version> - <viewPath>/apps/example</viewPath> + <appClass>org.apache.eagle.security.auditlog.MapRFSAuditLogApplication</appClass> <configuration> <!-- topology related configurations --> <property> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-maprfs-web/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-maprfs-web/pom.xml b/eagle-security/eagle-security-maprfs-web/pom.xml index af6d6ad..db6d7c1 100644 --- a/eagle-security/eagle-security-maprfs-web/pom.xml +++ b/eagle-security/eagle-security-maprfs-web/pom.xml @@ -16,13 +16,12 @@ ~ 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>org.apache.eagle</groupId> <artifactId>eagle-security-parent</artifactId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> </parent> <artifactId>eagle-security-maprfs-web</artifactId> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-oozie-auditlog/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-oozie-auditlog/pom.xml b/eagle-security/eagle-security-oozie-auditlog/pom.xml index 24412a6..2619783 100644 --- a/eagle-security/eagle-security-oozie-auditlog/pom.xml +++ b/eagle-security/eagle-security-oozie-auditlog/pom.xml @@ -18,12 +18,11 @@ ~ */ --> -<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"> <parent> <artifactId>eagle-security-parent</artifactId> <groupId>org.apache.eagle</groupId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-oozie-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.oozie.parse.OozieAuditLogAppProvider.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-oozie-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.oozie.parse.OozieAuditLogAppProvider.xml b/eagle-security/eagle-security-oozie-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.oozie.parse.OozieAuditLogAppProvider.xml index 6ebe4a2..ee1715c 100644 --- a/eagle-security/eagle-security-oozie-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.oozie.parse.OozieAuditLogAppProvider.xml +++ b/eagle-security/eagle-security-oozie-auditlog/src/main/resources/META-INF/providers/org.apache.eagle.security.oozie.parse.OozieAuditLogAppProvider.xml @@ -19,7 +19,6 @@ <application> <type>OOZIE_AUDIT_LOG_MONITOR</type> <name>Oozie Audit Log Monitor</name> - <version>0.5.0-incubating</version> <appClass>org.apache.eagle.security.oozie.parse.OozieAuditLogApplication</appClass> <configuration> <!-- topology related configurations --> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/eagle-security-oozie-web/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-security/eagle-security-oozie-web/pom.xml b/eagle-security/eagle-security-oozie-web/pom.xml index f76ee0d..18897b3 100644 --- a/eagle-security/eagle-security-oozie-web/pom.xml +++ b/eagle-security/eagle-security-oozie-web/pom.xml @@ -16,13 +16,12 @@ ~ 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>org.apache.eagle</groupId> <artifactId>eagle-security-parent</artifactId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> </parent> <artifactId>eagle-security-oozie-web</artifactId> <name>Eagle::App::Security::OozieService</name> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-security/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-security/pom.xml b/eagle-security/pom.xml index 29174f5..ed431af 100644 --- a/eagle-security/pom.xml +++ b/eagle-security/pom.xml @@ -18,13 +18,12 @@ ~ */ --> -<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>org.apache.eagle</groupId> <artifactId>eagle-parent</artifactId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>eagle-security-parent</artifactId> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-server-assembly/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-server-assembly/pom.xml b/eagle-server-assembly/pom.xml index 717f86e..56cff82 100644 --- a/eagle-server-assembly/pom.xml +++ b/eagle-server-assembly/pom.xml @@ -16,14 +16,12 @@ ~ 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"> +<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-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> </parent> <artifactId>eagle-server-assembly</artifactId> <name>Eagle::Server::Assembly</name> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-server/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-server/pom.xml b/eagle-server/pom.xml index 9a78b54..6bb9fbd 100644 --- a/eagle-server/pom.xml +++ b/eagle-server/pom.xml @@ -17,13 +17,11 @@ ~ --> -<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"> <parent> <artifactId>eagle-parent</artifactId> <groupId>org.apache.eagle</groupId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>eagle-server</artifactId> @@ -228,14 +226,12 @@ ========================================================================================================= --> <dependencies> - <!-- App: Example Application --> <dependency> <groupId>org.apache.eagle</groupId> <artifactId>eagle-app-example</artifactId> <version>${project.version}</version> </dependency> - <!-- App: HBase Security Monitoring --> <dependency> <groupId>org.apache.eagle</groupId> <artifactId>eagle-security-hbase-auditlog</artifactId> @@ -253,7 +249,6 @@ <version>${project.version}</version> </dependency> - <!-- App: Oozie Auditlog monitoring --> <dependency> <groupId>org.apache.eagle</groupId> <artifactId>eagle-security-oozie-auditlog</artifactId> @@ -275,7 +270,6 @@ </exclusions> </dependency> - <!-- App: hdfs audit log monitoring --> <dependency> <groupId>org.apache.eagle</groupId> <artifactId>eagle-security-hdfs-auditlog</artifactId> @@ -287,14 +281,12 @@ <version>${project.version}</version> </dependency> - <!-- App: GC log monitoring --> <dependency> <groupId>org.apache.eagle</groupId> <artifactId>eagle-gc</artifactId> <version>${project.version}</version> </dependency> - <!--App: Job Performance Monitoring --> <dependency> <groupId>org.apache.eagle</groupId> <artifactId>eagle-jpm-web</artifactId> @@ -326,13 +318,12 @@ <version>${project.version}</version> </dependency> - <!-- App: Hadoop Queue Running Monitoring--> <dependency> <groupId>org.apache.eagle</groupId> <artifactId>eagle-hadoop-queue</artifactId> <version>${project.version}</version> </dependency> - + <!-- add topology health check--> <dependency> <groupId>org.apache.eagle</groupId> @@ -340,7 +331,6 @@ <version>${project.version}</version> </dependency> - <!--- App: HadoopMetricMonitorApp --> <dependency> <groupId>org.apache.eagle</groupId> <artifactId>eagle-hadoop-metric</artifactId> @@ -370,4 +360,4 @@ </resource> </resources> </build> -</project> \ No newline at end of file +</project> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-topology-assembly/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-topology-assembly/pom.xml b/eagle-topology-assembly/pom.xml index 126e4f0..7699936 100644 --- a/eagle-topology-assembly/pom.xml +++ b/eagle-topology-assembly/pom.xml @@ -23,13 +23,12 @@ ~ like mvn clean install -Phadoop-2.7 --> -<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>org.apache.eagle</groupId> <artifactId>eagle-parent</artifactId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> </parent> <artifactId>eagle-topology-assembly</artifactId> <name>Eagle::App::Assembly</name> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-topology-check/eagle-topology-app/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-topology-check/eagle-topology-app/pom.xml b/eagle-topology-check/eagle-topology-app/pom.xml index 966ac85..913003d 100644 --- a/eagle-topology-check/eagle-topology-app/pom.xml +++ b/eagle-topology-check/eagle-topology-app/pom.xml @@ -17,13 +17,11 @@ ~ --> -<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"> <parent> <artifactId>eagle-topology-check</artifactId> <groupId>org.apache.eagle</groupId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> <relativePath>../pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-topology-check/eagle-topology-app/src/main/resources/META-INF/providers/org.apache.eagle.topology.TopologyCheckAppProvider.xml ---------------------------------------------------------------------- diff --git a/eagle-topology-check/eagle-topology-app/src/main/resources/META-INF/providers/org.apache.eagle.topology.TopologyCheckAppProvider.xml b/eagle-topology-check/eagle-topology-app/src/main/resources/META-INF/providers/org.apache.eagle.topology.TopologyCheckAppProvider.xml index b4e3695..c5a0e84 100644 --- a/eagle-topology-check/eagle-topology-app/src/main/resources/META-INF/providers/org.apache.eagle.topology.TopologyCheckAppProvider.xml +++ b/eagle-topology-check/eagle-topology-app/src/main/resources/META-INF/providers/org.apache.eagle.topology.TopologyCheckAppProvider.xml @@ -20,7 +20,6 @@ <application> <type>TOPOLOGY_HEALTH_CHECK_APP</type> <name>Topology Health Check</name> - <version>0.5.0-incubating</version> <configuration> <!-- org.apache.eagle.topology.TopologyCheckApp --> <property> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-topology-check/eagle-topology-entity/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-topology-check/eagle-topology-entity/pom.xml b/eagle-topology-check/eagle-topology-entity/pom.xml index 4f692e9..d2762c8 100644 --- a/eagle-topology-check/eagle-topology-entity/pom.xml +++ b/eagle-topology-check/eagle-topology-entity/pom.xml @@ -17,13 +17,11 @@ ~ --> -<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"> <parent> <artifactId>eagle-topology-check</artifactId> <groupId>org.apache.eagle</groupId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> <relativePath>../pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-topology-check/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-topology-check/pom.xml b/eagle-topology-check/pom.xml index c7d8bdf..46923db 100644 --- a/eagle-topology-check/pom.xml +++ b/eagle-topology-check/pom.xml @@ -17,13 +17,11 @@ ~ --> -<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"> <parent> <artifactId>eagle-parent</artifactId> <groupId>org.apache.eagle</groupId> - <version>0.5.0-incubating-SNAPSHOT</version> + <version>0.5.0-SNAPSHOT</version> <relativePath>../pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/.gitignore ---------------------------------------------------------------------- diff --git a/eagle-webservice/.gitignore b/eagle-webservice/.gitignore deleted file mode 100644 index b875523..0000000 --- a/eagle-webservice/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/bin/ -/target/ -node_modules -ui -tmp \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/WebContent/META-INF/MANIFEST.MF ---------------------------------------------------------------------- diff --git a/eagle-webservice/WebContent/META-INF/MANIFEST.MF b/eagle-webservice/WebContent/META-INF/MANIFEST.MF deleted file mode 100644 index 5e94951..0000000 --- a/eagle-webservice/WebContent/META-INF/MANIFEST.MF +++ /dev/null @@ -1,3 +0,0 @@ -Manifest-Version: 1.0 -Class-Path: - http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/pom.xml ---------------------------------------------------------------------- diff --git a/eagle-webservice/pom.xml b/eagle-webservice/pom.xml deleted file mode 100644 index e591bc6..0000000 --- a/eagle-webservice/pom.xml +++ /dev/null @@ -1,419 +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/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.eagle</groupId> - <artifactId>eagle-parent</artifactId> - <version>0.5.0-incubating-SNAPSHOT</version> - <relativePath>../pom.xml</relativePath> - </parent> - <artifactId>eagle-webservice</artifactId> - <packaging>war</packaging> - <name>eagle-webservice</name> - - <dependencies> - <dependency> - <groupId>org.apache.eagle</groupId> - <artifactId>eagle-service-base</artifactId> - <version>${project.version}</version> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>log4j-over-slf4j</artifactId> - </exclusion> - <exclusion> - <artifactId>servlet-api</artifactId> - <groupId>javax.servlet</groupId> - </exclusion> - <exclusion> - <artifactId>servlet-api</artifactId> - <groupId>org.mortbay.jetty</groupId> - </exclusion> - </exclusions> - </dependency> - - <dependency> - <groupId>org.apache.eagle</groupId> - <artifactId>eagle-storage-hbase</artifactId> - <version>${project.version}</version> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>log4j-over-slf4j</artifactId> - </exclusion> - <exclusion> - <artifactId>servlet-api</artifactId> - <groupId>javax.servlet</groupId> - </exclusion> - <exclusion> - <artifactId>servlet-api-2.5</artifactId> - <groupId>org.mortbay.jetty</groupId> - </exclusion> - </exclusions> - </dependency> - - <dependency> - <groupId>org.apache.eagle</groupId> - <artifactId>eagle-storage-jdbc</artifactId> - <version>${project.version}</version> - </dependency> - - <!-- jersey needs asm3, so use extcos 0.3b --> - <dependency> - <groupId>net.sf.extcos</groupId> - <artifactId>extcos</artifactId> - <!--<version>${extcos3.version}</version>--> - <version>${extcos4.version}</version> - <exclusions> - <exclusion> - <groupId>org.ow2.asm</groupId> - <artifactId>asm-all</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.ow2.asm</groupId> - <artifactId>asm-all</artifactId> - </dependency> - <dependency> - <groupId>org.apache.eagle</groupId> - <artifactId>eagle-security-hbase-web</artifactId> - <version>${project.version}</version> - <exclusions> - <exclusion> - <groupId>org.ow2.asm</groupId> - <artifactId>asm-all</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm-all</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm-commons</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm-tree</artifactId> - </exclusion> - <exclusion> - <artifactId>servlet-api</artifactId> - <groupId>javax.servlet</groupId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.eagle</groupId> - <artifactId>eagle-security-hive-web</artifactId> - <version>${project.version}</version> - <exclusions> - <exclusion> - <groupId>org.ow2.asm</groupId> - <artifactId>asm-all</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm-all</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm-commons</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm-tree</artifactId> - </exclusion> - <exclusion> - <artifactId>servlet-api</artifactId> - <groupId>javax.servlet</groupId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.eagle</groupId> - <artifactId>eagle-security-oozie-web</artifactId> - <version>${project.version}</version> - <exclusions> - <exclusion> - <groupId>org.ow2.asm</groupId> - <artifactId>asm-all</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm-all</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm-commons</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm-tree</artifactId> - </exclusion> - <exclusion> - <artifactId>servlet-api</artifactId> - <groupId>javax.servlet</groupId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.eagle</groupId> - <artifactId>eagle-security-hdfs-web</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.eagle</groupId> - <artifactId>eagle-security-maprfs-web</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.eagle</groupId> - <artifactId>eagle-topology-assembly</artifactId> - <version>${project.version}</version> - <exclusions> - <exclusion> - <groupId>org.quartz-scheduler</groupId> - <artifactId>quartz</artifactId> - </exclusion> - </exclusions> - </dependency> - - <!-- eagle user profile common dependency --> - <dependency> - <groupId>org.apache.tomcat</groupId> - <artifactId>tomcat-catalina</artifactId> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.eagle</groupId> - <artifactId>eagle-alert-service</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.wso2.siddhi</groupId> - <artifactId>siddhi-core</artifactId> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-simple</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.wso2.siddhi</groupId> - <artifactId>siddhi-extension-string</artifactId> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - - <!-- Spring framework --> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-beans</artifactId> - <version>${spring.framework.version}</version> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-webmvc</artifactId> - <version>${spring.framework.version}</version> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-jdbc</artifactId> - <version>${spring.framework.version}</version> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-web</artifactId> - <version>${spring.framework.version}</version> - <type>jar</type> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-core</artifactId> - <version>${spring.framework.version}</version> - <type>jar</type> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-aop</artifactId> - <version>${spring.framework.version}</version> - <type>jar</type> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-test</artifactId> - <version>${spring.framework.version}</version> - </dependency> - - <!-- Spring Security --> - <dependency> - <groupId>org.springframework.security</groupId> - <artifactId>spring-security-core</artifactId> - <version>${spring.framework.version}</version> - </dependency> - <dependency> - <groupId>org.springframework.security</groupId> - <artifactId>spring-security-web</artifactId> - <version>${spring.framework.version}</version> - </dependency> - <dependency> - <groupId>org.springframework.security</groupId> - <artifactId>spring-security-config</artifactId> - <version>${spring.framework.version}</version> - </dependency> - <dependency> - <groupId>org.springframework.security</groupId> - <artifactId>spring-security-acl</artifactId> - <version>${spring.framework.version}</version> - </dependency> - <dependency> - <groupId>org.springframework.security</groupId> - <artifactId>spring-security-ldap</artifactId> - <version>${spring.framework.version}</version> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> - <version>${servlet-api.version}</version> - <scope>provided</scope> - </dependency> - - <!-- Integrate next generation alert engine service --> - <dependency> - <groupId>org.apache.eagle</groupId> - <artifactId>alert-coordinator</artifactId> - <version>${project.version}</version> - <exclusions> - <exclusion> - <groupId>org.ow2.asm</groupId> - <artifactId>asm-all</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm-all</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm-commons</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm-tree</artifactId> - </exclusion> - <exclusion> - <artifactId>servlet-api</artifactId> - <groupId>javax.servlet</groupId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.eagle</groupId> - <artifactId>alert-metadata-service</artifactId> - <version>${project.version}</version> - <exclusions> - <exclusion> - <groupId>org.ow2.asm</groupId> - <artifactId>asm-all</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm-all</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm-commons</artifactId> - </exclusion> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm-tree</artifactId> - </exclusion> - <exclusion> - <artifactId>servlet-api</artifactId> - <groupId>javax.servlet</groupId> - </exclusion> - </exclusions> - </dependency> - </dependencies> - <build> - <finalName>eagle-service</finalName> - <plugins> - <plugin> - <groupId>org.apache.tomcat.maven</groupId> - <artifactId>tomcat7-maven-plugin</artifactId> - <configuration> - <path>eagle-service</path> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <executions> - <execution> - <id>exec-ui-install</id> - <phase>generate-sources</phase> - <goals> - <goal>exec</goal> - </goals> - <configuration> - <executable>bash</executable> - <arguments> - <argument>${basedir}/ui-build.sh</argument> - </arguments> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-war-plugin</artifactId> - <version>2.6</version> - <configuration> - <packagingExcludes> - app/, - node_modules/, - grunt.json, - Gruntfile.js, - package.json - </packagingExcludes> - </configuration> - </plugin> - </plugins> - </build> -</project> http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/AuthenticationResource.java ---------------------------------------------------------------------- diff --git a/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/AuthenticationResource.java b/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/AuthenticationResource.java deleted file mode 100644 index 773c1cb..0000000 --- a/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/AuthenticationResource.java +++ /dev/null @@ -1,54 +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.security.auth; - -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.security.core.Authentication; -import org.springframework.security.core.context.SecurityContextHolder; - -import javax.ws.rs.GET; -import javax.ws.rs.POST; -import javax.ws.rs.Path; -import javax.ws.rs.Produces; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; - -/** - * @since 10/5/15 - */ -@Path("authentication") -public class AuthenticationResource { - private final static Logger LOG = LoggerFactory.getLogger(AuthenticationResource.class); - - @GET - @Produces({MediaType.APPLICATION_JSON}) - public Response authenticate() { - Authentication authentication = SecurityContextHolder.getContext().getAuthentication(); - if (authentication == null) { - LOG.warn("Authentication is null, forbidden"); - return Response.status(Response.Status.FORBIDDEN).build(); - } - return Response.ok(authentication.getPrincipal()).build(); - } - - @POST - @Produces({MediaType.APPLICATION_JSON}) - public Response authenticateByPOST(){ - return authenticate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/AuthenticationResult.java ---------------------------------------------------------------------- diff --git a/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/AuthenticationResult.java b/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/AuthenticationResult.java deleted file mode 100644 index e60010d..0000000 --- a/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/AuthenticationResult.java +++ /dev/null @@ -1,47 +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.security.auth; - -/** - * @since 10/5/15 - */ -public class AuthenticationResult { - private boolean success; - - public AuthenticationResult(boolean success, String message) { - this.success = success; - this.message = message; - } - - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } - - public boolean isSuccess() { - return success; - } - - public void setSuccess(boolean success) { - this.success = success; - } - - private String message; -} http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/AuthoritiesPopulator.java ---------------------------------------------------------------------- diff --git a/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/AuthoritiesPopulator.java b/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/AuthoritiesPopulator.java deleted file mode 100644 index 95eb047..0000000 --- a/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/AuthoritiesPopulator.java +++ /dev/null @@ -1,62 +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.security.auth; - - -import org.springframework.ldap.core.ContextSource; -import org.springframework.security.core.GrantedAuthority; -import org.springframework.security.core.authority.SimpleGrantedAuthority; -import org.springframework.security.ldap.userdetails.DefaultLdapAuthoritiesPopulator; - -import java.util.HashSet; -import java.util.Set; - -public class AuthoritiesPopulator extends DefaultLdapAuthoritiesPopulator { - - String adminRole; - SimpleGrantedAuthority adminRoleAsAuthority; - - SimpleGrantedAuthority adminAuthority = new SimpleGrantedAuthority("ROLE_ADMIN"); - SimpleGrantedAuthority defaultAuthority = new SimpleGrantedAuthority("ROLE_USER"); - - /** - * @param contextSource - * @param groupSearchBase - */ - public AuthoritiesPopulator(ContextSource contextSource, String groupSearchBase, String adminRole, String defaultRole) { - super(contextSource, groupSearchBase); - this.adminRole = adminRole; - this.adminRoleAsAuthority = new SimpleGrantedAuthority(adminRole); - } - - @Override - public Set<GrantedAuthority> getGroupMembershipRoles(String userDn, String username) { - Set<GrantedAuthority> authorities = super.getGroupMembershipRoles(userDn, username); - Set<GrantedAuthority> newAuthorities = new HashSet<>(); - - if (authorities.contains(adminRoleAsAuthority)) { - newAuthorities.add(adminAuthority); - } else { - newAuthorities.add(defaultAuthority); - } - - return newAuthorities; - } - -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/LogoutSuccessHandlerImpl.java ---------------------------------------------------------------------- diff --git a/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/LogoutSuccessHandlerImpl.java b/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/LogoutSuccessHandlerImpl.java deleted file mode 100644 index 0db1b4c..0000000 --- a/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/LogoutSuccessHandlerImpl.java +++ /dev/null @@ -1,47 +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.security.auth; - -import com.fasterxml.jackson.databind.ObjectMapper; -import org.springframework.security.core.Authentication; -import org.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler; - -import javax.servlet.ServletException; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; -import java.io.IOException; -import java.io.PrintWriter; - -/** - * @since 10/5/15 - */ -public class LogoutSuccessHandlerImpl extends SimpleUrlLogoutSuccessHandler { - @Override - public void onLogoutSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws IOException, ServletException { - PrintWriter writer = response.getWriter(); - ObjectMapper mapper = new ObjectMapper(); - if(authentication!=null && authentication.isAuthenticated()) { - response.setStatus(HttpServletResponse.SC_OK); - writer.write(mapper.writeValueAsString(new AuthenticationResult(true, "Successfully logout session for user \"" + authentication.getName()+"\""))); - }else{ - response.setStatus(HttpServletResponse.SC_OK); - writer.write(mapper.writeValueAsString(new AuthenticationResult(true, "Session is not authenticated"))); - } - writer.flush(); - writer.close(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/MonitorResource.java ---------------------------------------------------------------------- diff --git a/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/MonitorResource.java b/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/MonitorResource.java deleted file mode 100644 index 5da87ba..0000000 --- a/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/MonitorResource.java +++ /dev/null @@ -1,44 +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.security.auth; - -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.Produces; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * @since 15/12/15 - */ -@Path("/status") -public class MonitorResource { - - public static class ServerStatus { - @JsonProperty - public String status = "OK"; - } - - @GET - @Produces({ MediaType.APPLICATION_JSON }) - public Response get() { - // TODO : add server management/throttling reflection here. - return Response.ok(new ServerStatus()).build(); - } -} http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/package-info.java ---------------------------------------------------------------------- diff --git a/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/package-info.java b/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/package-info.java deleted file mode 100644 index db56e4a..0000000 --- a/eagle-webservice/src/main/java/org/apache/eagle/service/security/auth/package-info.java +++ /dev/null @@ -1,23 +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. - */ - -/** - * <h1>Eagle Web Service Security</h1> - * - * <b>Customize Spring Security Process to support eagle REST web service in more efficient way</b> - */ -package org.apache.eagle.service.security.auth; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/src/main/java/org/apache/eagle/service/security/profile/ApplicationSchedulerListener.java ---------------------------------------------------------------------- diff --git a/eagle-webservice/src/main/java/org/apache/eagle/service/security/profile/ApplicationSchedulerListener.java b/eagle-webservice/src/main/java/org/apache/eagle/service/security/profile/ApplicationSchedulerListener.java deleted file mode 100644 index 3ef9756..0000000 --- a/eagle-webservice/src/main/java/org/apache/eagle/service/security/profile/ApplicationSchedulerListener.java +++ /dev/null @@ -1,63 +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.security.profile; - - -import akka.actor.ActorSystem; -import com.typesafe.config.Config; -import com.typesafe.config.ConfigFactory; -import org.apache.eagle.service.application.AppManagerConstants; -import org.apache.eagle.stream.application.scheduler.ApplicationScheduler; -import org.apache.hadoop.yarn.api.ApplicationConstants; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import scala.concurrent.duration.Duration; - -import javax.servlet.ServletContextEvent; -import javax.servlet.ServletContextListener; -import java.util.concurrent.TimeUnit; - -public class ApplicationSchedulerListener implements ServletContextListener { - private static final Logger LOG = LoggerFactory.getLogger(ApplicationSchedulerListener.class); - - //@Autowired - private ActorSystem system; - - @Override - public void contextInitialized(ServletContextEvent servletContextEvent) { - //Get the actor system from the spring context - //SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this); - Config config = ConfigFactory.load("eagle-scheduler.conf"); - if(config.hasPath(AppManagerConstants.APP_COMMAND_LOADER_ENABLED) && config.getBoolean(AppManagerConstants.APP_COMMAND_LOADER_ENABLED)) { - system = new ApplicationScheduler().start(config); - } - } - - @Override - public void contextDestroyed(ServletContextEvent servletContextEvent) { - if (system != null) { - LOG.info("Killing ActorSystem as a part of web application ctx destruction."); - system.shutdown(); - system.awaitTermination(Duration.create(15, TimeUnit.SECONDS)); - } else { - LOG.warn("No actor system loaded, yet trying to shut down. Check eagle-scheduler.conf and consider if you need this listener."); - } - } - -} http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/src/main/java/org/apache/eagle/service/security/profile/EagleServiceProfileInitializer.java ---------------------------------------------------------------------- diff --git a/eagle-webservice/src/main/java/org/apache/eagle/service/security/profile/EagleServiceProfileInitializer.java b/eagle-webservice/src/main/java/org/apache/eagle/service/security/profile/EagleServiceProfileInitializer.java deleted file mode 100644 index 600e17a..0000000 --- a/eagle-webservice/src/main/java/org/apache/eagle/service/security/profile/EagleServiceProfileInitializer.java +++ /dev/null @@ -1,44 +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.security.profile; -import com.typesafe.config.Config; -import com.typesafe.config.ConfigFactory; -import org.apache.eagle.stream.application.scheduler.ApplicationScheduler; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.context.ApplicationContextInitializer; -import org.springframework.context.ConfigurableApplicationContext; - -public class EagleServiceProfileInitializer implements ApplicationContextInitializer<ConfigurableApplicationContext> { - - private static final Logger logger = LoggerFactory.getLogger(EagleServiceProfileInitializer.class); - - @Override - public void initialize(ConfigurableApplicationContext applicationContext) { - Config config = ConfigFactory.load(); - String SPRING_ACTIVE_PROFILE = "eagle.service.springActiveProfile"; - String profile = "sandbox"; - if (config.hasPath(SPRING_ACTIVE_PROFILE)) { - profile = config.getString(SPRING_ACTIVE_PROFILE); - } - logger.info("Eagle service use env: " + profile); - applicationContext.getEnvironment().setActiveProfiles(profile); - applicationContext.refresh(); - - //new ApplicationScheduler().startDeamon(); - } -} http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/src/main/java/org/apache/eagle/service/security/pwdgen/BasicAuthenticationEncoder.java ---------------------------------------------------------------------- diff --git a/eagle-webservice/src/main/java/org/apache/eagle/service/security/pwdgen/BasicAuthenticationEncoder.java b/eagle-webservice/src/main/java/org/apache/eagle/service/security/pwdgen/BasicAuthenticationEncoder.java deleted file mode 100644 index 0b4702e..0000000 --- a/eagle-webservice/src/main/java/org/apache/eagle/service/security/pwdgen/BasicAuthenticationEncoder.java +++ /dev/null @@ -1,26 +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.security.pwdgen; - -import org.apache.eagle.common.Base64; - -public class BasicAuthenticationEncoder { - public static void main(String[] args){ - System.out.println(Base64.encode("admin:secret")); - System.out.println(Base64.encode("eagle:secret")); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/src/main/java/org/apache/eagle/service/security/pwdgen/PasswordEncoderGenerator.java ---------------------------------------------------------------------- diff --git a/eagle-webservice/src/main/java/org/apache/eagle/service/security/pwdgen/PasswordEncoderGenerator.java b/eagle-webservice/src/main/java/org/apache/eagle/service/security/pwdgen/PasswordEncoderGenerator.java deleted file mode 100644 index ffbdcc2..0000000 --- a/eagle-webservice/src/main/java/org/apache/eagle/service/security/pwdgen/PasswordEncoderGenerator.java +++ /dev/null @@ -1,28 +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.security.pwdgen; - -import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; - -public class PasswordEncoderGenerator { - public static void main(String[] args) { - String password = "[email protected]"; - BCryptPasswordEncoder passwordEncoder = new BCryptPasswordEncoder(); - String hashedPassword = passwordEncoder.encode(password); - System.out.println(hashedPassword); - } -} http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/src/main/resources/application-derby.conf ---------------------------------------------------------------------- diff --git a/eagle-webservice/src/main/resources/application-derby.conf b/eagle-webservice/src/main/resources/application-derby.conf deleted file mode 100644 index fa72ec0..0000000 --- a/eagle-webservice/src/main/resources/application-derby.conf +++ /dev/null @@ -1,28 +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. - -storage { - storage-type="jdbc" - storage-adapter="derby" - storage-username="eagle" - storage-password=eagle - storage-database=eagle - storage-connection-url="jdbc:derby:/tmp/eagle-db-dev;create=true" - storage-connection-props="encoding=UTF-8" - storage-driver-class="org.apache.derby.jdbc.EmbeddedDriver" - storage-connection-max=8 -} - - http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/src/main/resources/application-hbase.conf ---------------------------------------------------------------------- diff --git a/eagle-webservice/src/main/resources/application-hbase.conf b/eagle-webservice/src/main/resources/application-hbase.conf deleted file mode 100644 index 12ade6a..0000000 --- a/eagle-webservice/src/main/resources/application-hbase.conf +++ /dev/null @@ -1,23 +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. - -storage { - storage-type="hbase" - hbase-zookeeper-quorum="localhost" - hbase-zookeeper-property-clientPort=2181 - zookeeper-znode-parent="/hbase", - springActiveProfile="sandbox" - audit-enabled=true -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/src/main/resources/application-mysql.conf ---------------------------------------------------------------------- diff --git a/eagle-webservice/src/main/resources/application-mysql.conf b/eagle-webservice/src/main/resources/application-mysql.conf deleted file mode 100644 index b14a125..0000000 --- a/eagle-webservice/src/main/resources/application-mysql.conf +++ /dev/null @@ -1,26 +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. - -storage { - storage-type="jdbc" - storage-adapter="mysql" - storage-username="eagle" - storage-password=eagle - storage-database=eagle - storage-connection-url="jdbc:mysql://localhost:3306/eagle" - storage-connection-props="encoding=UTF-8" - storage-driver-class="com.mysql.jdbc.Driver" - storage-connection-max=8 -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/eagle/blob/8b3729f9/eagle-webservice/src/main/resources/application.conf ---------------------------------------------------------------------- diff --git a/eagle-webservice/src/main/resources/application.conf b/eagle-webservice/src/main/resources/application.conf deleted file mode 100644 index c1ca0e5..0000000 --- a/eagle-webservice/src/main/resources/application.conf +++ /dev/null @@ -1,58 +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. - -storage { - storage-type = "hbase" - hbase-zookeeper-quorum = "sandbox.hortonworks.com" - hbase-zookeeper-property-clientPort = 2181 - zookeeper-znode-parent = "/hbase-unsecure", - springActiveProfile = "sandbox" - audit-enabled = true -} - -coordinator { - "policiesPerBolt" : 5, - "boltParallelism" : 5, - "policyDefaultParallelism" : 5, - "boltLoadUpbound": 0.8, - "topologyLoadUpbound" : 0.8, - "numOfAlertBoltsPerTopology" : 5, - "zkConfig" : { - "zkQuorum" : "sandbox.hortonworks.com:2181", - "zkRoot" : "/alert", - "zkSessionTimeoutMs" : 10000, - "connectionTimeoutMs" : 10000, - "zkRetryTimes" : 3, - "zkRetryInterval" : 3000 - }, - "metadataService" : { - "host" : "localhost", - "port" : 58080, - "context" : "/rest" - }, - "metadataDynamicCheck" : { - "initDelayMillis" : 1000, - "delayMillis" : 30000 - } -} - -datastore { - "metadataDao": "org.apache.eagle.alert.metadata.impl.InMemMetadataDaoImpl", - "connection": "localhost:27017" -} - - - -
