eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jinh...@apache.org
Subject incubator-eagle git commit: [MINOR] remove system property for metadata.metadataDAO in JDBCMetadataStore
Date Thu, 01 Dec 2016 07:40:09 GMT
Repository: incubator-eagle
Updated Branches:
  refs/heads/master 68a3e8bde -> df9d9b085


[MINOR] remove system property for metadata.metadataDAO in JDBCMetadataStore

Author: wujinhu <wujinhu920@126.com>

Closes #703 from wujinhu/EAGLE-791.


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

Branch: refs/heads/master
Commit: df9d9b085714c55c1bdc5a4d4e71a96c5d0c9c30
Parents: 68a3e8b
Author: wujinhu <wujinhu920@126.com>
Authored: Thu Dec 1 15:40:00 2016 +0800
Committer: wujinhu <wujinhu920@126.com>
Committed: Thu Dec 1 15:40:00 2016 +0800

----------------------------------------------------------------------
 .../org/apache/eagle/metadata/store/jdbc/JDBCMetadataStore.java     | 1 -
 eagle-server/src/main/resources/application.conf                    | 1 -
 2 files changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/df9d9b08/eagle-core/eagle-metadata/eagle-metadata-jdbc/src/main/java/org/apache/eagle/metadata/store/jdbc/JDBCMetadataStore.java
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-metadata/eagle-metadata-jdbc/src/main/java/org/apache/eagle/metadata/store/jdbc/JDBCMetadataStore.java
b/eagle-core/eagle-metadata/eagle-metadata-jdbc/src/main/java/org/apache/eagle/metadata/store/jdbc/JDBCMetadataStore.java
index 9a7e7ab..2e12e23 100644
--- a/eagle-core/eagle-metadata/eagle-metadata-jdbc/src/main/java/org/apache/eagle/metadata/store/jdbc/JDBCMetadataStore.java
+++ b/eagle-core/eagle-metadata/eagle-metadata-jdbc/src/main/java/org/apache/eagle/metadata/store/jdbc/JDBCMetadataStore.java
@@ -34,7 +34,6 @@ import javax.sql.DataSource;
 public class JDBCMetadataStore extends MetadataStore {
     @Override
     protected void configure() {
-        System.setProperty(MetadataUtils.META_DATA + "." + MetadataUtils.ALERT_META_DATA_DAO,
JdbcMetadataDaoImpl.class.getCanonicalName());
         bind(IMetadataDao.class).to(JdbcMetadataDaoImpl.class).in(Singleton.class);
         bind(DataSource.class).toProvider(JDBCDataSourceProvider.class).in(Singleton.class);
         bind(JDBCDataSourceConfig.class).toProvider(JDBCMetadataStoreConfigProvider.class).in(Singleton.class);

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/df9d9b08/eagle-server/src/main/resources/application.conf
----------------------------------------------------------------------
diff --git a/eagle-server/src/main/resources/application.conf b/eagle-server/src/main/resources/application.conf
index 20f5b2e..f30c54f 100644
--- a/eagle-server/src/main/resources/application.conf
+++ b/eagle-server/src/main/resources/application.conf
@@ -71,7 +71,6 @@ storage {
 # ---------------------------------------------
 metadata {
   store = org.apache.eagle.metadata.service.memory.MemoryMetadataStore
-  metadataDao = org.apache.eagle.alert.metadata.impl.InMemMetadataDaoImpl
   jdbc {
     username = "root"
     password = ""


Mime
View raw message