Skip to content

Commit 02154b1

Browse files
FAB-3963 add missing license headers
Change-Id: Ie751115eaf1e8b86fbfd8103bd3cf0ff8ad1b106 Signed-off-by: Christopher Ferris <[email protected]>
1 parent 012f721 commit 02154b1

File tree

38 files changed

+127
-12
lines changed

38 files changed

+127
-12
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,3 @@ Check [the documentation on how to contribute to this project](http://hyperledge
5050
## License <a name="license"></a>
5151

5252
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
53-
s

devenv/Vagrantfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# -*- mode: ruby -*-
22
# vi: set ft=ruby :
3-
3+
# Copyright IBM Corp All Rights Reserved
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
47
# This vagrantfile creates a VM with the development environment
58
# configured and ready to go.
69
#

devenv/limits.conf

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright IBM Corp All Rights Reserved
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
15
# /etc/security/limits.conf
26
#
37
#Each line describes a limit for a user in the form:

devenv/tools/couchdb

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env bash
2-
2+
#
3+
# Copyright IBM Corp All Rights Reserved
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
37
couchDbContainerStatus() {
48
for s in created restarting running paused exited dead ; do
59
if [ -n "$(docker ps --all --quiet --filter name=couchdb --filter status=$s)" ] ; then

docs/custom_theme/searchbox.html

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
# Copyright IBM Corp. All Rights Reserved.
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
-->
16
<div role="search">
27
<form id ="rtd-search-form-alt" class="wy-form" action="{{ base_url }}/search.html" method="get">
38
<input type="text" name="q" placeholder="Search docs" />

examples/chaincode/go/utxo/Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# FIXME: someone from the UTXO team will need to verify or rework this
2+
# Copyright London Stock Exchange Group All Rights Reserved.
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
26
FROM ubuntu:latest
37

48
RUN apt-get update && apt-get install pkg-config autoconf libtool -y

examples/cluster/Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright Greg Haskins All Rights Reserved
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
15
PEERS += $(patsubst %,peer%,$(shell seq 1 4))
26
NODES += $(PEERS)
37
NODES += orderer

examples/cluster/usage.txt

+3
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ Example:
1414
Prerequisites:
1515

1616
- Ensure you run "make docker" in both fabric.git and fabric-ca.git prior to execution
17+
18+
Licensed under Creative Commons Attribution 4.0 International License
19+
https://creativecommons.org/licenses/by/4.0/

examples/e2e_cli/end-to-end.rst

+4
Original file line numberDiff line numberDiff line change
@@ -907,3 +907,7 @@ back and recreate your channel artifacts.
907907
908908
- If you continue to see errors, share your logs on the **# fabric-questions**
909909
channel on `Hyperledger Rocket Chat <https://chat.hyperledger.org/home>`__.
910+
911+
.. Licensed under Creative Commons Attribution 4.0 International License
912+
https://creativecommons.org/licenses/by/4.0/
913+

examples/e2e_cli/scripts/script.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
2-
2+
# Copyright London Stock Exchange Group All Rights Reserved.
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
36
echo
47
echo " ____ _____ _ ____ _____ _____ ____ _____ "
58
echo "/ ___| |_ _| / \ | _ \ |_ _| | ____| |___ \ | ____|"

images/Lock.png

-152 KB
Binary file not shown.

images/Requirements.png

-121 KB
Binary file not shown.

images/buildenv/Dockerfile.in

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright Greg Haskins All Rights Reserved
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
15
FROM _BASE_NS_/fabric-baseimage:_BASE_TAG_
26
COPY payload/protoc-gen-go /usr/local/bin/
37
ADD payload/gotools.tar.bz2 /usr/local/bin/

images/ccenv/Dockerfile.in

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright Greg Haskins All Rights Reserved
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
15
FROM _BASE_NS_/fabric-baseimage:_BASE_TAG_
26
COPY payload/chaintool payload/protoc-gen-go /usr/local/bin/
37
ADD payload/goshim.tar.bz2 $GOPATH/src/

images/couchdb/Dockerfile.in

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright Greg Haskins All Rights Reserved
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
15
FROM _BASE_NS_/fabric-baseimage:_BASE_TAG_
26

37
# Based on https://github.com/klaemo/docker-couchdb/blob/master/2.0.0/Dockerfile

images/handshake.png

-152 KB
Binary file not shown.

images/javaenv/Dockerfile.in

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright Greg Haskins All Rights Reserved
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
15
FROM _BASE_NS_/fabric-baseimage:_BASE_TAG_
26
RUN curl -sSL https://services.gradle.org/distributions/gradle-2.12-bin.zip > /tmp/gradle-2.12-bin.zip
37
RUN unzip -qo /tmp/gradle-2.12-bin.zip -d /opt && rm /tmp/gradle-2.12-bin.zip

images/kafka/Dockerfile.in

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright Greg Haskins All Rights Reserved
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
15
FROM _BASE_NS_/fabric-baseimage:_BASE_TAG_
26

37
ENV SCALA_VERSION=2.11 \

images/orderer/Dockerfile.in

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright Greg Haskins All Rights Reserved
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
15
FROM _BASE_NS_/fabric-baseos:_BASE_TAG_
26
ENV FABRIC_CFG_PATH /etc/hyperledger/fabric
37
RUN mkdir -p /var/hyperledger/production $FABRIC_CFG_PATH

images/peer/Dockerfile.in

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright Greg Haskins All Rights Reserved
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
15
FROM _BASE_NS_/fabric-baseos:_BASE_TAG_
26
ENV FABRIC_CFG_PATH /etc/hyperledger/fabric
37
RUN mkdir -p /var/hyperledger/production $FABRIC_CFG_PATH

images/sContracts.png

-126 KB
Binary file not shown.

images/testenv/Dockerfile.in

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright Greg Haskins All Rights Reserved
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
15
FROM _NS_/fabric-buildenv:_TAG_
26

37
# fabric configuration locations

images/tools/Dockerfile.in

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
# Copyright Greg Haskins All Rights Reserved
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
15
FROM _BASE_NS_/fabric-baseimage:_BASE_TAG_
26
ENV FABRIC_CFG_PATH /etc/hyperledger/fabric
37
VOLUME /etc/hyperledger/fabric
48
ADD payload/sampleconfig.tar.bz2 $FABRIC_CFG_PATH
59
COPY payload/cryptogen /usr/local/bin
610
COPY payload/configtxgen /usr/local/bin
711
COPY payload/peer /usr/local/bin
8-

images/what.png

-181 KB
Binary file not shown.

images/zookeeper/Dockerfile.in

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright Greg Haskins All Rights Reserved
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
15
FROM _BASE_NS_/fabric-baseimage:_BASE_TAG_
26
# Based on https://github.com/31z4/zookeeper-docker/blob/master/3.4.9/Dockerfile
37

msp/testdata/external/config.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright London Stock Exchange Group All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
15
OrganizationalUnitIdentifiers:
26
- Certificate: "intermediatecerts/intermediatecert.pem"
3-
OrganizationalUnitIdentifier: "Hyperledger Testing"
7+
OrganizationalUnitIdentifier: "Hyperledger Testing"

protos/gossip/message.proto

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright IBM Corp. All Rights Reserved.
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
//
15
syntax = "proto3";
26

37
option go_package = "github.com/hyperledger/fabric/protos/gossip" ;

release/templates/get-docker-images.in

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash -eu
2-
2+
# Copyright London Stock Exchange Group All Rights Reserved.
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
36
# This script pulls docker images from the Dockerhub hyperledger repositories
47

58
# set the default Docker namespace and tag

release_notes/v1.0.0-beta.md

+2
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ BCCSP content in the configtx.yaml has been [removed](https://github.com/hyperle
1919
Java Chaincode support has been disabled until post 1.0.0 as it is not yet fully mature. It may be re-enabled for experimentation by cloning the hyperledger/fabric repository, reversing [this commit](https://github.com/hyperledger/fabric/commit/29e0c40) and building your own fork.
2020

2121
## [Change Log](https://github.com/hyperledger/fabric/blob/master/CHANGELOG.md#v100-beta)
22+
23+
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.

test/feature/README.rst

+5-2
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ The docker images for ``peer``, ``orderer``, ``kafka``, and ``zookeeper`` are ne
115115
=========================
116116
Building tool executables
117117
=========================
118-
The **configtxgen** and **cryptogen** tools are used when bootstrapping the networks in these tests. As a result, you must perform a ``make configtxgen && make cryptogen`` in the ``/path/to/hyperledger/fabric`` directory.
118+
The **configtxgen** and **cryptogen** tools are used when bootstrapping the networks in these tests. As a result, you must perform a ``make configtxgen && make cryptogen`` in the ``/path/to/hyperledger/fabric`` directory.
119119

120120

121121
How to Contribute
@@ -204,7 +204,7 @@ Python implementation steps are identified using decorators which match the keyw
204204
====================
205205
Docker-Compose Files
206206
====================
207-
These docker composition files are used when setting up and tearing down networks of different configurations. Different tests can use different docker compose files depending on the test scenario. We are currently using `version 2 docker compose`_ files.
207+
These docker composition files are used when setting up and tearing down networks of different configurations. Different tests can use different docker compose files depending on the test scenario. We are currently using `version 2 docker compose`_ files.
208208

209209
.. _version 2 docker compose: https://docs.docker.com/compose/compose-file/compose-file-v2/
210210

@@ -274,3 +274,6 @@ Helpful Docker Commands
274274
* ``$ docker networks ls``
275275
* Remove a specific residual network
276276
* ``$ docker networks rm <network_name>``
277+
278+
.. Licensed under Creative Commons Attribution 4.0 International License
279+
https://creativecommons.org/licenses/by/4.0/

test/feature/configs/configtx.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
15
---
26
################################################################################
37
#

test/feature/steps/__init__.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#
2+
# Copyright IBM Corp. All Rights Reserved.
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#

test/regression/daily/README.rst.orig

+3
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,6 @@ Option 2. (Useful for GO tests):
7878
[Test Descriptions](README_testdescriptions.rst)
7979

8080
[ChainCode Tests descriptions and how-to](chaincodeTests/README.rst)
81+
82+
.. Licensed under Creative Commons Attribution 4.0 International License
83+
https://creativecommons.org/licenses/by/4.0/

test/regression/daily/chaincodeTests/README.rst

+2
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,5 @@ In case of trouble, here is how to deactivate docker network manually:
6666
``cd /path/to/fabric/test/regression/daily/chaincodeTests/envsetup``
6767
``./network_setup.sh down``
6868

69+
.. Licensed under Creative Commons Attribution 4.0 International License
70+
https://creativecommons.org/licenses/by/4.0/
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
This is a place holder to keep custom chaincodes
2+
3+
.. Licensed under Creative Commons Attribution 4.0 International License
4+
https://creativecommons.org/licenses/by/4.0/

test/tools/LTE/scripts/parameters_daily_CI.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/bin/bash
2-
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
37
DataDir="/tmp/fabric/test/tools/LTE/data"
48
NumChains=10
59
NumParallelTxPerChain=10
@@ -8,4 +12,3 @@ NumTotalTx=1000000
812
NumKeysInEachTx=4
913
BatchSize=50
1014
KVSize=200
11-

test/tools/OTE/README.rst

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
Orderer Traffic Engine
22
======================
3+
4+
.. Licensed under Creative Commons Attribution 4.0 International License
5+
https://creativecommons.org/licenses/by/4.0/

test/tools/PTE/pte_driver.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/bin/bash
2-
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
37
#
48
# usage: ./pte_driver.sh <user input file>
59
# example: ./pte_driver.sh runCases.txt

0 commit comments

Comments
 (0)