Skip to content

Commit

Permalink
Apply Apache licenses and appropriate copyright statements to all sou…
Browse files Browse the repository at this point in the history
…rce files.

Use the apache-rat-plugin to enforce it.

ref: #535
  • Loading branch information
michaelsembwever committed Sep 17, 2018
1 parent cdef39e commit 33941f6
Show file tree
Hide file tree
Showing 324 changed files with 2,880 additions and 501 deletions.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2017-2018 The Last Pickle Ltd
#
# Licensed 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.

# Java Maven CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-java/ for more details
Expand Down
14 changes: 14 additions & 0 deletions .rultor.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2017-2018 The Last Pickle Ltd
#
# Licensed 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.

architect:
- velo

Expand Down
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# Copyright 2014-2016 Spotify AB
# Copyright 2016-2018 The Last Pickle Ltd
#
# Licensed 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.

sudo: required
language: java
addons:
Expand Down
8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

## Contributing Code

Reaper is licensed under the Apache 2.0 License. See `NOTICE.md` for more information on the license.

All contributions (code, documentation, or anything else) to Reaper imply a copyright grant to `The Last Pickle Ltd`.

Larger contributions will require an explicit contributor license agreement.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ Apache License
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2014-2015 Spotify AB
Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
20 changes: 20 additions & 0 deletions NOTICE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Reaper for Apache Cassandra
Licensed under the Apache 2.0 License

Files are copyrighted in one of the three following ways.

a)
```
Copyright 201X-2017 Spotify AB
Copyright 201X-2018 The Last Pickle Ltd
```
b)
```
Copyright 2015-2016 Stefan Podkowinski
Copyright 201X-2018 The Last Pickle Ltd
```
c)
```
Copyright 201X-2018 The Last Pickle Ltd
```

54 changes: 54 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014-2017 Spotify AB
Copyright 2016-2018 The Last Pickle Ltd
Licensed 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.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
Expand All @@ -12,6 +27,12 @@
<url>https://cassandra-reaper.io</url>
<description>Reaper is a centralized, stateful, and highly configurable tool for running Apache Cassandra repairs against single or multi-site clusters</description>

<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>20</version>
</parent>

<licenses>
<license>
<name>Apache 2</name>
Expand Down Expand Up @@ -155,6 +176,39 @@
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.12</version>
<configuration>
<excludes>
<exclude>**/target/**</exclude>
<exclude>docs/**</exclude>
<exclude>src/docs/themes/**</exclude>
<exclude>src/docs/data/**</exclude>
<exclude>src/docs/layouts/**</exclude>
<exclude>src/docs/static/**</exclude>
<exclude>src/ui/node_modules/**</exclude>
<exclude>src/ui/bower_components/**</exclude>
<exclude>src/ui/build/**</exclude>
<exclude>**/*.md</exclude>
<exclude>**/*.json</exclude>
<exclude>**/*.access</exclude>
<exclude>**/*.password</exclude>
<exclude>**/*.txt</exclude>
<exclude>src/packaging/debian/compat</exclude>
<exclude>src/packaging/debian/changelog</exclude>
</excludes>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
Expand Down
15 changes: 14 additions & 1 deletion src/ci/after_failure.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
#!/bin/bash
# Copyright 2017-2018 The Last Pickle Ltd
#
# Licensed 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.

echo "Starting After Failure step..."

Expand All @@ -14,4 +27,4 @@ case "${TEST_TYPE}" in
;;
*)
echo "Skipping, no actions for TEST_TYPE=${TEST_TYPE}."
esac
esac
15 changes: 14 additions & 1 deletion src/ci/after_success.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
#!/bin/bash
# Copyright 2017-2018 The Last Pickle Ltd
#
# Licensed 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.

echo "Starting After Success step..."

Expand All @@ -22,4 +35,4 @@ case "${TEST_TYPE}" in
;;
*)
echo "Skipping, no actions for TEST_TYPE=${TEST_TYPE}."
esac
esac
13 changes: 13 additions & 0 deletions src/ci/before_deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
#!/bin/bash
# Copyright 2017-2018 The Last Pickle Ltd
#
# Licensed 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.

echo "Starting Before Deploy step..."

Expand Down
15 changes: 14 additions & 1 deletion src/ci/before_install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
#!/bin/bash
# Copyright 2017-2018 The Last Pickle Ltd
#
# Licensed 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.

echo "Starting Before Install step..."

Expand All @@ -22,4 +35,4 @@ then

# Requests needed for the src/packaging/bin/spreaper python script which calls the Reaper API
pip install --user requests > /dev/null
fi
fi
15 changes: 14 additions & 1 deletion src/ci/before_script.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
#!/bin/bash
# Copyright 2017-2018 The Last Pickle Ltd
#
# Licensed 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.

echo "Starting Before Script step..."

Expand All @@ -19,4 +32,4 @@ case "${TEST_TYPE}" in
;;
*)
echo "Skipping, no actions for TEST_TYPE=${TEST_TYPE}."
esac
esac
13 changes: 13 additions & 0 deletions src/ci/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
#!/bin/bash
# Copyright 2017-2018 The Last Pickle Ltd
#
# Licensed 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.

echo "Starting Install step..."

Expand Down
13 changes: 13 additions & 0 deletions src/ci/script.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
#!/bin/bash
# Copyright 2017-2018 The Last Pickle Ltd
#
# Licensed 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.

echo "Starting Script step..."

Expand Down
14 changes: 14 additions & 0 deletions src/docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2017-2018 The Last Pickle Ltd
#
# Licensed 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.

.PHONY: dev

build:
Expand Down
14 changes: 14 additions & 0 deletions src/docs/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2017-2018 The Last Pickle Ltd
#
# Licensed 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.

baseURL = "http://cassandra-reaper.io/"
languageCode = "en-us"
title = "Reaper: Easy Repair Management for Apache Cassandra"
Expand Down
2 changes: 1 addition & 1 deletion src/docs/content/docs/backends/cassandra.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ When operating Reaper in a production environment, it is recommended that:
* An RF (Replication Factor) of 3 be used in each data center for the `reaper_db` keyspace. This is to ensure that all Reaper state data is still available should a node in the cluster be unavailable.
* The `NetworkTopologyStrategy` should be used for the replication strategy of the keyspace. This is because `LOCAL_*` requests will fail if the `SimpleNetworkingStrategy` is used in an environment where there is more than one data center defined.

Schema initialization and migration will be done automatically upon startup.
Schema initialization and migration will be done automatically upon startup.
2 changes: 1 addition & 1 deletion src/docs/content/docs/backends/memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ To use in memory storage as the storage type for Reaper, the `storageType` setti
storageType: memory
```
In-memory storage is volatile and as such all registered cluster, column families and repair information will be lost upon service restart. This storage setting is intended for testing purposes only.
In-memory storage is volatile and as such all registered cluster, column families and repair information will be lost upon service restart. This storage setting is intended for testing purposes only.
2 changes: 1 addition & 1 deletion src/docs/content/docs/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ weight = 100
+++


We have a [Mailing List](https://groups.google.com/forum/#!forum/tlp-apache-cassandra-reaper-users) and [Gitter chat](https://gitter.im/thelastpickle/cassandra-reaper) available.
We have a [Mailing List](https://groups.google.com/forum/#!forum/tlp-apache-cassandra-reaper-users) and [Gitter chat](https://gitter.im/thelastpickle/cassandra-reaper) available.
2 changes: 1 addition & 1 deletion src/docs/content/docs/configuration/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ The configuration is broken into the following sections:
* [Backend Specific]({{<ref "backend_specific.md">}}) - Provides details on settings specific to the different backends that can be used with Reaper; Cassandra, H2 and Postgres.
* [Docker Variables]({{<ref "docker_vars.md">}}) - Provides details on the Docker Variables that can be used to configure Reaper.

Note that Cassandra backend configuration relies on the [Dropwizard-Cassandra](https://github.com/composable-systems/dropwizard-cassandra) module.
Note that Cassandra backend configuration relies on the [Dropwizard-Cassandra](https://github.com/composable-systems/dropwizard-cassandra) module.
2 changes: 1 addition & 1 deletion src/docs/content/docs/configuration/backend_specific.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,4 @@ Database username.

Type: *String*

Database password.
Database password.
2 changes: 1 addition & 1 deletion src/docs/content/docs/metrics/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ metrics:
frequency: 1 minute
reporters:
- type: <type>
```
```
Loading

0 comments on commit 33941f6

Please sign in to comment.