From 0ddef025c6ec51e3758d07f103fe9655335a9d31 Mon Sep 17 00:00:00 2001 From: chenzhx Date: Wed, 24 Jan 2018 14:20:06 +0800 Subject: [PATCH] KYLIN 3182 complete web help configuration --- core-common/src/main/resources/kylin-defaults.properties | 8 ++++---- examples/test_case_data/sandbox/kylin.properties | 8 ++++---- webapp/app/js/controllers/admin.js | 1 - webapp/app/js/directives/kylin_abn_tree_directive.js | 1 - 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/core-common/src/main/resources/kylin-defaults.properties b/core-common/src/main/resources/kylin-defaults.properties index e87b31dcb..6510c8bd8 100644 --- a/core-common/src/main/resources/kylin-defaults.properties +++ b/core-common/src/main/resources/kylin-defaults.properties @@ -66,10 +66,10 @@ kylin.engine.default=2 kylin.storage.default=2 kylin.web.hive-limit=20 kylin.web.help.length=4 -kylin.web.help.0=start|Getting Started| -kylin.web.help.1=odbc|ODBC Driver| -kylin.web.help.2=tableau|Tableau Guide| -kylin.web.help.3=onboard|Cube Design Tutorial| +kylin.web.help.0=start|Getting Started|http://kylin.apache.org/docs21/tutorial/kylin_sample.html +kylin.web.help.1=odbc|ODBC Driver|http://kylin.apache.org/docs21/tutorial/odbc.html +kylin.web.help.2=tableau|Tableau Guide|http://kylin.apache.org/docs21/tutorial/tableau_91.html +kylin.web.help.3=onboard|Cube Design Tutorial|http://kylin.apache.org/docs21/howto/howto_optimize_cubes.html kylin.web.link-streaming-guide=http://kylin.apache.org/ kylin.htrace.show-gui-trace-toggle=false kylin.web.link-hadoop= diff --git a/examples/test_case_data/sandbox/kylin.properties b/examples/test_case_data/sandbox/kylin.properties index 13d62a2ea..3cec94e38 100644 --- a/examples/test_case_data/sandbox/kylin.properties +++ b/examples/test_case_data/sandbox/kylin.properties @@ -160,10 +160,10 @@ kylin.security.acl.admin-role=ROLE_ADMIN # Help info, format{name|displayName|link}, optional kylin.web.help.length=4 -kylin.web.help.0=start|Getting Started| -kylin.web.help.1=odbc|ODBC Driver| -kylin.web.help.2=tableau|Tableau Guide| -kylin.web.help.3=onboard|Cube Design Tutorial| +kylin.web.help.0=start|Getting Started|http://kylin.apache.org/docs21/tutorial/kylin_sample.html +kylin.web.help.1=odbc|ODBC Driver|http://kylin.apache.org/docs21/tutorial/odbc.html +kylin.web.help.2=tableau|Tableau Guide|http://kylin.apache.org/docs21/tutorial/tableau_91.html +kylin.web.help.3=onboard|Cube Design Tutorial|http://kylin.apache.org/docs21/howto/howto_optimize_cubes.html #allow user to export query result kylin.web.export-allow-admin=true diff --git a/webapp/app/js/controllers/admin.js b/webapp/app/js/controllers/admin.js index bbba5931b..5687824c9 100644 --- a/webapp/app/js/controllers/admin.js +++ b/webapp/app/js/controllers/admin.js @@ -23,7 +23,6 @@ KylinApp.controller('AdminCtrl', function ($scope, AdminService, CacheService, T $scope.envStr = ""; $scope.isCacheEnabled = function(){ - console.log("cache enabled?:"+kylinConfig.isCacheEnabled()); return kylinConfig.isCacheEnabled(); } diff --git a/webapp/app/js/directives/kylin_abn_tree_directive.js b/webapp/app/js/directives/kylin_abn_tree_directive.js index 9466b6a96..55b812ffa 100644 --- a/webapp/app/js/directives/kylin_abn_tree_directive.js +++ b/webapp/app/js/directives/kylin_abn_tree_directive.js @@ -290,7 +290,6 @@ }); } n = scope.treeData.length; - console.log('num root branches = ' + n); for_each_branch(function(b, level) { b.level = level; return b.expanded = b.level < expand_level; -- 2.11.0 (Apple Git-81)