Skip to content

Commit

Permalink
FAB-4576 add missing license headers
Browse files Browse the repository at this point in the history
Change-Id: I62d948bb09021db02f03097e26d820ab83058546
Signed-off-by: Christopher Ferris <chrisfer@us.ibm.com>
  • Loading branch information
christo4ferris committed Jun 12, 2017
1 parent fcda9a9 commit c4687cb
Show file tree
Hide file tree
Showing 26 changed files with 174 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
obc-peer
.git
5 changes: 5 additions & 0 deletions bddtests/.behaverc
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
#
[behave]
tags=~@orderer
~@endorser
5 changes: 5 additions & 0 deletions bddtests/common/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
6 changes: 5 additions & 1 deletion bddtests/msp/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@

#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
5 changes: 5 additions & 0 deletions bddtests/orderer/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
5 changes: 5 additions & 0 deletions bddtests/peer/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
5 changes: 5 additions & 0 deletions bddtests/regression/go/ote/json2yml.js
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
//
var fs = require('fs');

var cfgFile = process.argv[2];
Expand Down
5 changes: 5 additions & 0 deletions bddtests/steps/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
9 changes: 8 additions & 1 deletion bddtests/templates/html/appendix-py.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<div>
{% set msgClassModule = directory.__class__.__module__ %}
{% set msgClassName = directory.__class__.__name__ %}
Expand Down Expand Up @@ -43,4 +50,4 @@

</code>
</div>
</div>
</div>
9 changes: 8 additions & 1 deletion bddtests/templates/html/cli.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<div class="scrollBox">
<code>
{{ command }}
</code>
</div>
</div>
9 changes: 8 additions & 1 deletion bddtests/templates/html/composition-py.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<div>
{% set msgClassModule = directory.__class__.__module__ %}
{% set msgClassName = directory.__class__.__name__ %}
Expand All @@ -11,4 +18,4 @@

</code>
</div>
</div>
</div>
9 changes: 8 additions & 1 deletion bddtests/templates/html/directory-py.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<div>
{% set msgClassModule = directory.__class__.__module__ %}
{% set msgClassName = directory.__class__.__name__ %}
Expand All @@ -10,4 +17,4 @@

</code>
</div>
</div>
</div>
9 changes: 8 additions & 1 deletion bddtests/templates/html/directory.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<div id="directory">
<h1>Directory</h1>
<hr/>
{% if path_to_pickle %}
{% include 'html/directory-py.html' %}
{% endif %}
</div>
</div>
9 changes: 8 additions & 1 deletion bddtests/templates/html/error.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<div class="scrollBox">
<code>
{{ err }}
</code>
</div>
</div>
9 changes: 8 additions & 1 deletion bddtests/templates/html/graph.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<style>

.links line {
Expand Down Expand Up @@ -94,4 +101,4 @@
d.fy = null;
}

</script>
</script>
7 changes: 7 additions & 0 deletions bddtests/templates/html/header.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<div>
<h{{ level }}>{{ text }}</h{{ level }}>
</div>
9 changes: 8 additions & 1 deletion bddtests/templates/html/main.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<!DOCTYPE html>
<html lang="en">
<head>
Expand All @@ -19,4 +26,4 @@
{% endblock %}
</div>
</body>
</html>
</html>
7 changes: 7 additions & 0 deletions bddtests/templates/html/org-py.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<div>
{% set certVarName = ['cert_for',org.name]|join('_') %}
<div class="scrollBox">
Expand Down
7 changes: 7 additions & 0 deletions bddtests/templates/html/org.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<div id="{{ org.name }}">
<h4>Created new organization {{ org.name }} with <a href="{{ cert_href }}">public cert</a></h4>
<code>{{ org.getCertAsPEM() }}</code>
Expand Down
7 changes: 7 additions & 0 deletions bddtests/templates/html/protobuf-py.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<div>
{% set msgClassModule = msg.__class__.__module__ %}
{% set msgClassName = msg.__class__.__name__ %}
Expand Down
7 changes: 7 additions & 0 deletions bddtests/templates/html/protobuf.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<div>
{% set maxLength = 10*1024 %}
{% if linkUrl %}
Expand Down
8 changes: 7 additions & 1 deletion bddtests/templates/html/report.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
*/
table {
border-collapse: collapse;
}
Expand Down Expand Up @@ -74,4 +81,3 @@ body {
background-color: #3e4142;
}
*/

7 changes: 7 additions & 0 deletions bddtests/templates/html/scenario.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<div>

<h1>{{ scenario.name }}</h1>
Expand Down
7 changes: 7 additions & 0 deletions bddtests/templates/html/step.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<div id="{{ step_id }}">
<h2>{{ step_id }}</h2>
<hr/>
Expand Down
7 changes: 7 additions & 0 deletions bddtests/templates/html/tag.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<div id="{{ user.name }}-{{ tag_key }}">
<h4>User {{ user.name }} setting tag key {{ tag_key }} to value</h4>
</div>
7 changes: 7 additions & 0 deletions bddtests/templates/html/user.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<!--
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
-->
<div id="{{ user.name }}">
<h4>Created new user {{ user.name }} with <a href="{{ private_key_href }}">private key</a></h4>
<code>{{ user.getPrivateKeyAsPEM() }}</code>
Expand Down

0 comments on commit c4687cb

Please sign in to comment.