diff --git a/.rat-excludes b/.rat-excludes index 91cbcafe79..0559dedf10 100644 --- a/.rat-excludes +++ b/.rat-excludes @@ -24,3 +24,7 @@ redhat/default test/data/serialization/*/* **/*.wpr conf/schema-sample.txt +drivers/txpy/txcql/cassandra/* +drivers/py/cql/cassandra/* +doc/cql/CQL* +build.properties.default diff --git a/drivers/py/cqlsh b/drivers/py/cqlsh index 32e6de2df9..4472f0e911 100755 --- a/drivers/py/cqlsh +++ b/drivers/py/cqlsh @@ -1,5 +1,21 @@ #!/usr/bin/env python +# 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. + from optparse import OptionParser from StringIO import StringIO diff --git a/drivers/py/test/test_query_compression.py b/drivers/py/test/test_query_compression.py index 79a38b644e..a0aff7155f 100644 --- a/drivers/py/test/test_query_compression.py +++ b/drivers/py/test/test_query_compression.py @@ -1,4 +1,20 @@ +# 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. + from os.path import abspath, exists, join, dirname if exists(join(abspath(dirname(__file__)), '..', 'cql')): diff --git a/drivers/txpy/example.py b/drivers/txpy/example.py index ab280fbba5..063f2a7147 100644 --- a/drivers/txpy/example.py +++ b/drivers/txpy/example.py @@ -1,4 +1,21 @@ #!/usr/bin/python + +# 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. + from txcql.connection_pool import ConnectionPool from twisted.internet import defer, reactor diff --git a/src/java/org/apache/cassandra/cql/Cql.g b/src/java/org/apache/cassandra/cql/Cql.g index 49ed489b2f..31caab8360 100644 --- a/src/java/org/apache/cassandra/cql/Cql.g +++ b/src/java/org/apache/cassandra/cql/Cql.g @@ -1,3 +1,25 @@ + +/* + * + * 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. + * + */ + grammar Cql; options {