Skip to content

Commit

Permalink
Merge "FAB-4109 add missing license headers"
Browse files Browse the repository at this point in the history
  • Loading branch information
jimthematrix authored and Gerrit Code Review committed May 24, 2017
2 parents 80f4ed2 + d0e5740 commit 6c3b730
Show file tree
Hide file tree
Showing 56 changed files with 329 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

language: go
go:
- 1.7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

vp0:
environment:
# The combination of the following two environment variables ensures that a state snapshot will be pulled
Expand Down
7 changes: 6 additions & 1 deletion bddtests/compose-defaults.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: "2"

services:
Expand Down Expand Up @@ -27,4 +32,4 @@ services:

volumes:

peer:
peer:
5 changes: 5 additions & 0 deletions bddtests/docker-compose-1-profiling.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. 2017 All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

vp0:
extends:
file: compose-defaults.yml
Expand Down
5 changes: 5 additions & 0 deletions bddtests/docker-compose-next-4-couchdb.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. 2017 All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: '2'

services:
Expand Down
5 changes: 5 additions & 0 deletions bddtests/docker-compose-next-4.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: "2"

services:
Expand Down
5 changes: 5 additions & 0 deletions bddtests/docker-compose-next.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: "2"

services:
Expand Down
5 changes: 5 additions & 0 deletions bddtests/docker-compose-orderer-base.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: "2"

services:
Expand Down
5 changes: 5 additions & 0 deletions bddtests/docker-compose-orderer-kafka.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: '2'

services:
Expand Down
5 changes: 5 additions & 0 deletions bddtests/docker-compose-orderer-solo.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: '2'

services:
Expand Down
5 changes: 5 additions & 0 deletions bddtests/docker-compose-with-orderer.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: '2'
networks:
bridge:
Expand Down
5 changes: 5 additions & 0 deletions bddtests/environment.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. 2017 All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

import subprocess

from steps.docgen import DocumentGenerator
Expand Down
5 changes: 5 additions & 0 deletions bddtests/environments/kafka/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: '2'
services:
zookeeper:
Expand Down
5 changes: 5 additions & 0 deletions bddtests/environments/orderer-1-kafka-1/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: '2'
services:
zookeeper:
Expand Down
5 changes: 5 additions & 0 deletions bddtests/environments/orderer-1-kafka-3/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: '2'
services:
zookeeper:
Expand Down
6 changes: 6 additions & 0 deletions bddtests/features/bootstrap.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#
#
# Copyright IBM Corp. 2016 All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

# Test Bootstrap function
#
# Tags that can be used and will affect test internals:
Expand Down
6 changes: 6 additions & 0 deletions bddtests/features/endorser.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#
#
# Copyright IBM Corp. 2016 All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

# Test Endorser function
#
# Tags that can be used and will affect test internals:
Expand Down
7 changes: 7 additions & 0 deletions bddtests/features/orderer.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

#
# Copyright IBM Corp. 2016 All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

# Tags that can be used and will affect test internals:
# @doNotDecompose will NOT decompose the named compose_yaml after scenario ends.
# Useful for setting up environment and reviewing after scenario.
Expand Down
5 changes: 5 additions & 0 deletions bddtests/orderer-3-kafka-1.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: '2'
services:
orderer1:
Expand Down
5 changes: 5 additions & 0 deletions bddtests/orderer-3-kafka-3.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: '2'
services:
orderer1:
Expand Down
4 changes: 4 additions & 0 deletions bddtests/steps/contexthelper.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright IBM Corp. 2017 All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

import uuid
import os
Expand Down
6 changes: 6 additions & 0 deletions bddtests/steps/coverage.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@

# Copyright IBM Corp. 2017 All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

import cStringIO
import os
import glob
Expand Down
5 changes: 5 additions & 0 deletions core/chaincode/chaincodetest.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

# CA server parameters
#
server:
Expand Down
5 changes: 5 additions & 0 deletions core/endorser/endorser_test.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

# CA server parameters
#
server:
Expand Down
31 changes: 30 additions & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
# License for Sphinx
# ==================
#
# Copyright (c) 2007-2017 by the Sphinx team (see AUTHORS file).
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

# Minimal makefile for Sphinx documentation
#

Expand All @@ -17,4 +46,4 @@ help:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
5 changes: 5 additions & 0 deletions examples/chaincode/chaintool/example02/chaincode.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#


# ----------------------------------
# chaincode example02
Expand Down
5 changes: 5 additions & 0 deletions examples/cluster/compose/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: '2'

services:
Expand Down
5 changes: 5 additions & 0 deletions examples/cluster/compose/peer-base/peer-base.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: '2'
services:
peer-base:
Expand Down
5 changes: 5 additions & 0 deletions examples/cluster/config/configtx.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

---
################################################################################
#
Expand Down
15 changes: 15 additions & 0 deletions examples/cluster/config/core.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# Copyright IBM Corp. 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.
#

###############################################################################
#
# LOGGING section
Expand Down
5 changes: 5 additions & 0 deletions examples/cluster/config/cryptogen.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

OrdererOrgs:
- Name: Orderer
Domain: orderer.net
Expand Down
5 changes: 5 additions & 0 deletions examples/cluster/config/fabric-ca-server-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

#############################################################################
# This is a configuration file for the fabric-ca-server command.
#
Expand Down
5 changes: 5 additions & 0 deletions examples/cluster/config/orderer.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

---
################################################################################
#
Expand Down
5 changes: 5 additions & 0 deletions examples/e2e_cli/base/docker-compose-base.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: '2'

services:
Expand Down
5 changes: 5 additions & 0 deletions examples/e2e_cli/base/peer-base.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: '2'
services:
peer-base:
Expand Down
5 changes: 5 additions & 0 deletions examples/e2e_cli/configtx.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

---
################################################################################
#
Expand Down
5 changes: 5 additions & 0 deletions examples/e2e_cli/crypto-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

# ---------------------------------------------------------------------------
# "OrdererOrgs" - Definition of organizations managing orderer nodes
# ---------------------------------------------------------------------------
Expand Down
5 changes: 5 additions & 0 deletions examples/e2e_cli/docker-compose-cli.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

version: '2'

services:
Expand Down
Loading

0 comments on commit 6c3b730

Please sign in to comment.