LENS-1321: Add License message for properties files
Project: http://git-wip-us.apache.org/repos/asf/lens/repo Commit: http://git-wip-us.apache.org/repos/asf/lens/commit/3c6433dc Tree: http://git-wip-us.apache.org/repos/asf/lens/tree/3c6433dc Diff: http://git-wip-us.apache.org/repos/asf/lens/diff/3c6433dc Branch: refs/heads/master Commit: 3c6433dc89e8c41054c4965707a7f41e3be86e0a Parents: 0359591 Author: Puneet Gupta <[email protected]> Authored: Wed Sep 21 11:57:27 2016 +0530 Committer: Puneet <[email protected]> Committed: Wed Sep 21 12:21:43 2016 +0530 ---------------------------------------------------------------------- lens-ml-lib/data/naive_bayes/ml.properties | 24 +++++++++++++++++++- .../src/main/resources/queries.properties | 22 ++++++++++++++++-- .../src/main/resources/template.lens.properties | 24 +++++++++++++++++++- pom.xml | 1 - 4 files changed, 66 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lens/blob/3c6433dc/lens-ml-lib/data/naive_bayes/ml.properties ---------------------------------------------------------------------- diff --git a/lens-ml-lib/data/naive_bayes/ml.properties b/lens-ml-lib/data/naive_bayes/ml.properties index 61b156e..c5758f9 100644 --- a/lens-ml-lib/data/naive_bayes/ml.properties +++ b/lens-ml-lib/data/naive_bayes/ml.properties @@ -1,7 +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. +# + +###################### + algo=spark_naive_bayes database=default traintable=naive_bayes_train testtable=naive_bayes_test outputtable=naive_bayes_output features=feature1,feature2,feature3 -labelcolumn=label \ No newline at end of file +labelcolumn=label + +###################### \ No newline at end of file http://git-wip-us.apache.org/repos/asf/lens/blob/3c6433dc/lens-regression/src/main/resources/queries.properties ---------------------------------------------------------------------- diff --git a/lens-regression/src/main/resources/queries.properties b/lens-regression/src/main/resources/queries.properties index 033c504..af4ca57 100644 --- a/lens-regression/src/main/resources/queries.properties +++ b/lens-regression/src/main/resources/queries.properties @@ -1,4 +1,22 @@ - +# +# 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. +# + +###################### HIVE.COST_95=cube select sample_dim_chain.name, measure4 from sample_cube where time_range_in(dt, '2014-06-01', '2014-09-04') HIVE.COST_60=cube select sample_dim_chain.name, measure4 from sample_cube where time_range_in(dt, '2014-06-01', '2014-07-31') @@ -23,5 +41,5 @@ JDBC.QUERY2 = cube select product_id from sales where time_range_in(delivery_tim JDBC.QUERY3 = cube select product_id from sales where time_range_in(delivery_time,'2015-04-12','2015-04-13') JDBC.QUERY4 = cube select product_id from sales where time_range_in(delivery_time,'2015-04-12','2015-04-13') - +###################### http://git-wip-us.apache.org/repos/asf/lens/blob/3c6433dc/lens-regression/src/main/resources/template.lens.properties ---------------------------------------------------------------------- diff --git a/lens-regression/src/main/resources/template.lens.properties b/lens-regression/src/main/resources/template.lens.properties index de00410..0df127d 100644 --- a/lens-regression/src/main/resources/template.lens.properties +++ b/lens-regression/src/main/resources/template.lens.properties @@ -1,3 +1,23 @@ +# +# 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. +# + +###################### + lens.baseurl= lens.adminurl= lens.username= @@ -6,4 +26,6 @@ lens.server.dir=/usr/local/lens/server/ lens.client.dir=/usr/local/lens/client/ lens.remote.host= lens.remote.username= -lens.remote.password= \ No newline at end of file +lens.remote.password= + +###################### \ No newline at end of file http://git-wip-us.apache.org/repos/asf/lens/blob/3c6433dc/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 0a898cd..84ea80c 100644 --- a/pom.xml +++ b/pom.xml @@ -655,7 +655,6 @@ <!-- Used on ui --> <exclude>**/codemirror.min.*</exclude> <exclude>**/*.js</exclude> - <exclude>**/*.properties</exclude> <exclude>**/*.json</exclude> <!-- python client --> <exclude>**/.tox/</exclude>
