Skip to content

Commit c4687cb

Browse files
FAB-4576 add missing license headers
Change-Id: I62d948bb09021db02f03097e26d820ab83058546 Signed-off-by: Christopher Ferris <[email protected]>
1 parent fcda9a9 commit c4687cb

26 files changed

+174
-10
lines changed

.dockerignore

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

bddtests/.behaverc

+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
[behave]
27
tags=~@orderer
38
~@endorser

bddtests/common/__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+
#

bddtests/msp/__init__.py

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

bddtests/orderer/__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+
#

bddtests/peer/__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+
#

bddtests/regression/go/ote/json2yml.js

+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
var fs = require('fs');
27

38
var cfgFile = process.argv[2];

bddtests/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+
#

bddtests/templates/html/appendix-py.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<div>
29
{% set msgClassModule = directory.__class__.__module__ %}
310
{% set msgClassName = directory.__class__.__name__ %}
@@ -43,4 +50,4 @@
4350

4451
</code>
4552
</div>
46-
</div>
53+
</div>

bddtests/templates/html/cli.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<div class="scrollBox">
29
<code>
310
{{ command }}
411
</code>
5-
</div>
12+
</div>

bddtests/templates/html/composition-py.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<div>
29
{% set msgClassModule = directory.__class__.__module__ %}
310
{% set msgClassName = directory.__class__.__name__ %}
@@ -11,4 +18,4 @@
1118

1219
</code>
1320
</div>
14-
</div>
21+
</div>

bddtests/templates/html/directory-py.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<div>
29
{% set msgClassModule = directory.__class__.__module__ %}
310
{% set msgClassName = directory.__class__.__name__ %}
@@ -10,4 +17,4 @@
1017

1118
</code>
1219
</div>
13-
</div>
20+
</div>
+8-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<div id="directory">
29
<h1>Directory</h1>
310
<hr/>
411
{% if path_to_pickle %}
512
{% include 'html/directory-py.html' %}
613
{% endif %}
7-
</div>
14+
</div>

bddtests/templates/html/error.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<div class="scrollBox">
29
<code>
310
{{ err }}
411
</code>
5-
</div>
12+
</div>

bddtests/templates/html/graph.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<style>
29

310
.links line {
@@ -94,4 +101,4 @@
94101
d.fy = null;
95102
}
96103

97-
</script>
104+
</script>

bddtests/templates/html/header.html

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<div>
29
<h{{ level }}>{{ text }}</h{{ level }}>
310
</div>

bddtests/templates/html/main.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<!DOCTYPE html>
29
<html lang="en">
310
<head>
@@ -19,4 +26,4 @@
1926
{% endblock %}
2027
</div>
2128
</body>
22-
</html>
29+
</html>

bddtests/templates/html/org-py.html

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<div>
29
{% set certVarName = ['cert_for',org.name]|join('_') %}
310
<div class="scrollBox">

bddtests/templates/html/org.html

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<div id="{{ org.name }}">
29
<h4>Created new organization {{ org.name }} with <a href="{{ cert_href }}">public cert</a></h4>
310
<code>{{ org.getCertAsPEM() }}</code>

bddtests/templates/html/protobuf-py.html

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<div>
29
{% set msgClassModule = msg.__class__.__module__ %}
310
{% set msgClassName = msg.__class__.__name__ %}

bddtests/templates/html/protobuf.html

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<div>
29
{% set maxLength = 10*1024 %}
310
{% if linkUrl %}

bddtests/templates/html/report.css

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
*/
18
table {
29
border-collapse: collapse;
310
}
@@ -74,4 +81,3 @@ body {
7481
background-color: #3e4142;
7582
}
7683
*/
77-

bddtests/templates/html/scenario.html

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<div>
29

310
<h1>{{ scenario.name }}</h1>

bddtests/templates/html/step.html

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<div id="{{ step_id }}">
29
<h2>{{ step_id }}</h2>
310
<hr/>

bddtests/templates/html/tag.html

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<div id="{{ user.name }}-{{ tag_key }}">
29
<h4>User {{ user.name }} setting tag key {{ tag_key }} to value</h4>
310
</div>

bddtests/templates/html/user.html

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--
2+
#
3+
# Copyright IBM Corp. All Rights Reserved.
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
-->
18
<div id="{{ user.name }}">
29
<h4>Created new user {{ user.name }} with <a href="{{ private_key_href }}">private key</a></h4>
310
<code>{{ user.getPrivateKeyAsPEM() }}</code>

0 commit comments

Comments
 (0)