minor, add test data provision tool for dev purpose
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/f62541ed Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/f62541ed Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/f62541ed Branch: refs/heads/1.5.x-CDH5.7 Commit: f62541ed4794adacaca508da5a4997dea82bd385 Parents: dbc02b7 Author: Hongbin Ma <mahong...@apache.org> Authored: Tue Sep 20 20:46:47 2016 +0800 Committer: Hongbin Ma <mahong...@apache.org> Committed: Tue Sep 20 21:17:12 2016 +0800 ---------------------------------------------------------------------- .../kylin/provision/ProvisionWithoutBuild.java | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/f62541ed/kylin-it/src/test/java/org/apache/kylin/provision/ProvisionWithoutBuild.java ---------------------------------------------------------------------- diff --git a/kylin-it/src/test/java/org/apache/kylin/provision/ProvisionWithoutBuild.java b/kylin-it/src/test/java/org/apache/kylin/provision/ProvisionWithoutBuild.java new file mode 100644 index 0000000..71bb0ca --- /dev/null +++ b/kylin-it/src/test/java/org/apache/kylin/provision/ProvisionWithoutBuild.java @@ -0,0 +1,29 @@ +/* + * 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.kylin.provision; + +import org.apache.kylin.job.DeployUtil; + +public class ProvisionWithoutBuild extends BuildCubeWithEngine { + public static void main(String[] args) throws Exception { + beforeClass(); + DeployUtil.deployMetadata(); + DeployUtil.prepareTestDataForNormalCubes("test_kylin_cube_with_slr_empty"); + } +}