Skip to content

Commit

Permalink
License fix for Apache 2.0 License (pravega#1286)
Browse files Browse the repository at this point in the history
* Adds license header proposed by legal to all source files

* Excludes generated files

* Excludes some configuration files (they aren't mandatory as they carry no IP by themselves)
  • Loading branch information
Bayar authored and fpj committed May 10, 2017
1 parent c3cfc8e commit 0dc3ae0
Show file tree
Hide file tree
Showing 927 changed files with 1,449 additions and 6,053 deletions.
8 changes: 1 addition & 7 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
#
# Copyright (c) 2017 Dell Inc., or its subsidiaries.
# Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved.
#
# 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.
#
coverage:
status:
project:
Expand Down
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Contributing to Pravega
Contributing to Pravega
======================================

Pravega community follows specific rules and principles. If you're already familiar with them, you'll feel right at home.
Expand Down
8 changes: 1 addition & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
#
# Copyright (c) 2017 Dell Inc., or its subsidiaries.
# Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved.
#
# 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.
#
language: java
jdk:
- oraclejdk8
Expand Down
8 changes: 1 addition & 7 deletions HEADER
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
Copyright (c) 2017 Dell Inc., or its subsidiaries.
Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved.

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.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<!--
Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved.
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
-->
# Pravega [![Build Status](https://travis-ci.com/pravega/pravega.svg?token=qhH3WLZqyhzViixpn6ZT&branch=master)](https://travis-ci.com/pravega/pravega) [![codecov](https://codecov.io/gh/pravega/pravega/branch/master/graph/badge.svg?token=6xOvaR0sIa)](https://codecov.io/gh/pravega/pravega)

Pravega is an open source distributed storage service implementing **Streams**. It offers Stream as the main primitive for the foundation of reliable storage systems: a *high-performance, durable, elastic, and unlimited append-only byte stream with strict ordering and consistency*.
Expand Down
22 changes: 15 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
/**
* Copyright (c) 2017 Dell Inc., or its subsidiaries.
* Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved.
*
* 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.
*/

// Apply the java plugin to add support for Java
buildscript {
repositories {
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath group: 'com.google.protobuf', name:'protobuf-gradle-plugin', version: protobufGradlePlugin
classpath "gradle.plugin.org.nosphere.apache:creadur-rat-gradle:0.3.0"
}
}

Expand All @@ -41,6 +40,7 @@ allprojects {
apply from: "$rootDir/gradle/java.gradle"
apply from: "$rootDir/gradle/maven.gradle"
apply from: "$rootDir/gradle/protobuf.gradle"
apply plugin: "org.nosphere.apache.rat"

repositories {
jcenter()
Expand All @@ -50,6 +50,13 @@ allprojects {

version = pravegaVersion
group = "io.pravega"



rat {
// List of exclude directives, defaults to ['**/.gradle/**']
excludes = [ '**/build/**', '**/.gradle/**', '**/.idea/**', '**/gradle/wrapper/**', '**/.github/**', '**/generated/**', '**/checkstyle/**', 'PravegaGroup.json' ]
}
}

project('common') {
Expand All @@ -75,6 +82,7 @@ project('common') {
}
}


project ('shared') {
dependencies {
compile group: 'org.projectlombok', name: 'lombok', version: lombokVersion
Expand Down Expand Up @@ -662,4 +670,4 @@ class DockerPushTask extends Exec {
return tag
}
}
}
}
3 changes: 0 additions & 3 deletions checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<!--
Copyright (c) 2017 Dell Inc., or its subsidiaries.
-->
<module name="Checker">
<property name="localeLanguage" value="en"/>

Expand Down
2 changes: 1 addition & 1 deletion checkstyle/findbugs-include.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<FindBugsFilter>
<!-- Probable bug - an apparent coding mistake resulting in code that was
<!-- Probable bug - an apparent coding mistake resulting in code that was
probably not what the developer intended. We strive for a low false positive
rate. -->
<Match>
Expand Down
4 changes: 0 additions & 4 deletions checkstyle/import-control-core.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<!DOCTYPE import-control PUBLIC
"-//Puppy Crawl//DTD Import Control 1.1//EN"
"http://www.puppycrawl.com/dtds/import_control_1_1.dtd">
<!--
Copyright (c) 2017 Dell Inc., or its subsidiaries.
-->

<import-control pkg="messaging">

<!-- THINK HARD ABOUT THE LAYERING OF THE PROJECT BEFORE CHANGING THIS FILE -->
Expand Down
4 changes: 0 additions & 4 deletions checkstyle/import-control.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<!DOCTYPE import-control PUBLIC
"-//Puppy Crawl//DTD Import Control 1.1//EN"
"http://www.puppycrawl.com/dtds/import_control_1_1.dtd">
<!--
Copyright (c) 2017 Dell Inc., or its subsidiaries.
-->

<import-control pkg="io.pravega">

<!-- THINK HARD ABOUT THE LAYERING OF THE PROJECT BEFORE CHANGING THIS FILE -->
Expand Down
6 changes: 0 additions & 6 deletions checkstyle/suppressions.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
<?xml version="1.0"?>

<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">

<!--~
Copyright (c) 2017 Dell Inc., or its subsidiaries.
-->

<suppressions>
<suppress checks="JavadocStyle" files=".+Tests\.java" />
<suppress checks="JavadocMethod" files=".+Tests\.java" />
Expand Down
8 changes: 1 addition & 7 deletions client/src/main/java/io/pravega/client/ClientFactory.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
/**
* Copyright (c) 2017 Dell Inc., or its subsidiaries.
* Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved.
*
* 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.
*/
package io.pravega.client;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
/**
* Copyright (c) 2017 Dell Inc., or its subsidiaries.
* Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved.
*
* 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.
*/
package io.pravega.client.admin;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
/**
* Copyright (c) 2017 Dell Inc., or its subsidiaries.
* Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved.
*
* 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.
*/
package io.pravega.client.admin;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
/**
* Copyright (c) 2017 Dell Inc., or its subsidiaries.
* Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved.
*
* 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.
*/
package io.pravega.client.admin.impl;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
/**
* Copyright (c) 2017 Dell Inc., or its subsidiaries.
* Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved.
*
* 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.
*/
package io.pravega.client.admin.impl;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
/**
* Copyright (c) 2017 Dell Inc., or its subsidiaries.
* Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved.
*
* 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.
*/
package io.pravega.client.netty.impl;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
/**
* Copyright (c) 2017 Dell Inc., or its subsidiaries.
* Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved.
*
* 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.
*/
package io.pravega.client.netty.impl;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
/**
* Copyright (c) 2017 Dell Inc., or its subsidiaries.
* Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved.
*
* 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.
*/
package io.pravega.client.netty.impl;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
/**
* Copyright (c) 2017 Dell Inc., or its subsidiaries.
* Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved.
*
* 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.
*/
package io.pravega.client.netty.impl;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
/**
* Copyright (c) 2017 Dell Inc., or its subsidiaries.
* Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved.
*
* 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.
*/
package io.pravega.client.netty.impl;

Expand Down
Loading

0 comments on commit 0dc3ae0

Please sign in to comment.