kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liy...@apache.org
Subject [2/2] kylin git commit: KYLIN-2180 rename 'overrideKylinProps' to 'override_kylin_properties'
Date Thu, 08 Dec 2016 13:33:37 GMT
KYLIN-2180 rename 'overrideKylinProps' to 'override_kylin_properties'


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

Branch: refs/heads/master
Commit: c31c8490b05d5f9618464f431cc3d923b012e9b8
Parents: ea60803
Author: Yang Li <liyang@apache.org>
Authored: Thu Dec 8 21:23:18 2016 +0800
Committer: Yang Li <liyang@apache.org>
Committed: Thu Dec 8 21:23:18 2016 +0800

----------------------------------------------------------------------
 .../java/org/apache/kylin/metadata/project/ProjectInstance.java  | 4 ++--
 examples/test_case_data/localmeta/project/default.json           | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/c31c8490/core-metadata/src/main/java/org/apache/kylin/metadata/project/ProjectInstance.java
----------------------------------------------------------------------
diff --git a/core-metadata/src/main/java/org/apache/kylin/metadata/project/ProjectInstance.java
b/core-metadata/src/main/java/org/apache/kylin/metadata/project/ProjectInstance.java
index 74648cd..b213eae 100644
--- a/core-metadata/src/main/java/org/apache/kylin/metadata/project/ProjectInstance.java
+++ b/core-metadata/src/main/java/org/apache/kylin/metadata/project/ProjectInstance.java
@@ -80,7 +80,7 @@ public class ProjectInstance extends RootPersistentEntity {
     @JsonProperty("ext_filters")
     private Set<String> extFilters = new TreeSet<String>();
 
-    @JsonProperty("overrideKylinProps")
+    @JsonProperty("override_kylin_properties")
     @JsonInclude(JsonInclude.Include.NON_NULL)
     private LinkedHashMap<String, String> overrideKylinProps;
 
@@ -300,7 +300,7 @@ public class ProjectInstance extends RootPersistentEntity {
         return overrideKylinProps;
     }
 
-    public void setOverrideKylinProps(LinkedHashMap<String, String> overrideKylinProps)
{
+    void setOverrideKylinProps(LinkedHashMap<String, String> overrideKylinProps) {
         this.overrideKylinProps = overrideKylinProps;
     }
 

http://git-wip-us.apache.org/repos/asf/kylin/blob/c31c8490/examples/test_case_data/localmeta/project/default.json
----------------------------------------------------------------------
diff --git a/examples/test_case_data/localmeta/project/default.json b/examples/test_case_data/localmeta/project/default.json
index cd3eae8..d24a22a 100644
--- a/examples/test_case_data/localmeta/project/default.json
+++ b/examples/test_case_data/localmeta/project/default.json
@@ -65,7 +65,7 @@
     "test_kylin_left_join_view_model_desc",
     "test_streaming_table_model_desc"
   ],
-  "overrideKylinProps" :{
+  "override_kylin_properties" :{
     "kylin.storage.hbase.owner-tag": "kylin@kylin.apache.org"
   }
 }
\ No newline at end of file


Mime
View raw message