Skip to content

Commit d0e5740

Browse files
FAB-4109 add missing license headers
use SPDX identifiers Change-Id: Id5c02190bd07ec40eb4b1d7677f38b0736098527 Signed-off-by: Christopher Ferris <[email protected]>
1 parent 59e0b94 commit d0e5740

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+329
-5
lines changed

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
16
language: go
27
go:
38
- 1.7

bddtests/bdd-docker/docker-compose-4-consensus-batch-nosnapshotbuffer.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
16
vp0:
27
environment:
38
# The combination of the following two environment variables ensures that a state snapshot will be pulled

bddtests/compose-defaults.yml

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

38
services:
@@ -27,4 +32,4 @@ services:
2732

2833
volumes:
2934

30-
peer:
35+
peer:

bddtests/docker-compose-1-profiling.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright IBM Corp. 2017 All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
16
vp0:
27
extends:
38
file: compose-defaults.yml

bddtests/docker-compose-next-4-couchdb.yml

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

38
services:

bddtests/docker-compose-next-4.yml

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

38
services:

bddtests/docker-compose-next.yml

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

38
services:

bddtests/docker-compose-orderer-base.yml

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

38
services:

bddtests/docker-compose-orderer-kafka.yml

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

38
services:

bddtests/docker-compose-orderer-solo.yml

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

38
services:

bddtests/docker-compose-with-orderer.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
16
version: '2'
27
networks:
38
bridge:

bddtests/environment.py

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

38
from steps.docgen import DocumentGenerator

bddtests/environments/kafka/docker-compose.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
16
version: '2'
27
services:
38
zookeeper:

bddtests/environments/orderer-1-kafka-1/docker-compose.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
16
version: '2'
27
services:
38
zookeeper:

bddtests/environments/orderer-1-kafka-3/docker-compose.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
16
version: '2'
27
services:
38
zookeeper:

bddtests/features/bootstrap.feature

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#
2+
#
3+
# Copyright IBM Corp. 2016 All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
28
# Test Bootstrap function
39
#
410
# Tags that can be used and will affect test internals:

bddtests/features/endorser.feature

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#
2+
#
3+
# Copyright IBM Corp. 2016 All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
28
# Test Endorser function
39
#
410
# Tags that can be used and will affect test internals:

bddtests/features/orderer.feature

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2+
#
3+
# Copyright IBM Corp. 2016 All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
18
# Tags that can be used and will affect test internals:
29
# @doNotDecompose will NOT decompose the named compose_yaml after scenario ends.
310
# Useful for setting up environment and reviewing after scenario.

bddtests/orderer-3-kafka-1.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
16
version: '2'
27
services:
38
orderer1:

bddtests/orderer-3-kafka-3.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
16
version: '2'
27
services:
38
orderer1:

bddtests/steps/contexthelper.py

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

26
import uuid
37
import os

bddtests/steps/coverage.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2+
# Copyright IBM Corp. 2017 All Rights Reserved.
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
17
import cStringIO
28
import os
39
import glob

core/chaincode/chaincodetest.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
16
# CA server parameters
27
#
38
server:

core/endorser/endorser_test.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
16
# CA server parameters
27
#
38
server:

docs/Makefile

+30-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
# License for Sphinx
2+
# ==================
3+
#
4+
# Copyright (c) 2007-2017 by the Sphinx team (see AUTHORS file).
5+
# All rights reserved.
6+
#
7+
# Redistribution and use in source and binary forms, with or without
8+
# modification, are permitted provided that the following conditions are
9+
# met:
10+
#
11+
# * Redistributions of source code must retain the above copyright
12+
# notice, this list of conditions and the following disclaimer.
13+
#
14+
# * Redistributions in binary form must reproduce the above copyright
15+
# notice, this list of conditions and the following disclaimer in the
16+
# documentation and/or other materials provided with the distribution.
17+
#
18+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19+
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20+
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21+
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22+
# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23+
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24+
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25+
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26+
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27+
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
130
# Minimal makefile for Sphinx documentation
231
#
332

@@ -17,4 +46,4 @@ help:
1746
# Catch-all target: route all unknown targets to Sphinx using the new
1847
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1948
%: Makefile
20-
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
49+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

examples/chaincode/chaintool/example02/chaincode.yaml

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

27
# ----------------------------------
38
# chaincode example02

examples/cluster/compose/docker-compose.yaml

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

38
services:

examples/cluster/compose/peer-base/peer-base.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
16
version: '2'
27
services:
38
peer-base:

examples/cluster/config/configtx.yaml

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

examples/cluster/config/core.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
116
###############################################################################
217
#
318
# LOGGING section

examples/cluster/config/cryptogen.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
16
OrdererOrgs:
27
- Name: Orderer
38
Domain: orderer.net

examples/cluster/config/fabric-ca-server-config.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
16
#############################################################################
27
# This is a configuration file for the fabric-ca-server command.
38
#

examples/cluster/config/orderer.yaml

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

examples/e2e_cli/base/docker-compose-base.yaml

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

38
services:

examples/e2e_cli/base/peer-base.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
16
version: '2'
27
services:
38
peer-base:

examples/e2e_cli/configtx.yaml

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

examples/e2e_cli/crypto-config.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright IBM Corp. All Rights Reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
16
# ---------------------------------------------------------------------------
27
# "OrdererOrgs" - Definition of organizations managing orderer nodes
38
# ---------------------------------------------------------------------------

examples/e2e_cli/docker-compose-cli.yaml

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

38
services:

0 commit comments

Comments
 (0)