Skip to content
This repository was archived by the owner on Jan 22, 2020. It is now read-only.

Commit 6b43283

Browse files
alexandrag2254tkuhrt
authored andcommitted
Add attributes (#8)
* Adding attributions throughout Signed-off-by: Alexandra Groetsema <[email protected]>
1 parent 2923069 commit 6b43283

File tree

19 files changed

+78
-8
lines changed

19 files changed

+78
-8
lines changed

LFS171x/fabric-material/basic-network/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ To stop it, run ``stop.sh``
1111
To completely remove all incriminating evidence of the network
1212
on your system, run ``teardown.sh``.
1313

14+
This code is written by the Hyperledger Fabric community. Original source code can be found here: (https://github.com/hyperledger/fabric-samples).
15+
1416
## Licenses
1517

1618
Source code is licensed under the Apache License, Version 2.0 (the "License"). You may obtain a copy of the License at
@@ -19,3 +21,4 @@ Source code is licensed under the Apache License, Version 2.0 (the "License"). Y
1921

2022

2123
<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 />Documentation is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>
24+

LFS171x/fabric-material/chaincode/sample-chaincode.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
// Import dependencies
44
// Import the chaincode shim package and the peer protobuf package
55

6+
/* This code is based on code written by the Hyperledger Fabric community.
7+
Original code can be found here: https://github.com/hyperledger/fabric-samples/blob/release/chaincode/chaincode_example02/chaincode_example02.go
8+
*/
9+
610
package main
711

812
import (

LFS171x/fabric-material/chaincode/tuna-app/tuna-chaincode.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// SPDX-License-Identifier: Apache-2.0
22

33
/*
4-
* Sample Chaincode based on Demonstrated Scenario
4+
Sample Chaincode based on Demonstrated Scenario
5+
6+
This code is based on code written by the Hyperledger Fabric community.
7+
Original code can be found here: https://github.com/hyperledger/fabric-samples/blob/release/chaincode/fabcar/fabcar.go
58
*/
69

710
package main

LFS171x/fabric-material/tuna-app/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33
This application demonstrates the creation and transfer of tuna fish shipments between actors leveraging Hyperledger Fabric in the supply chain. In this exercise we will set up the minimum number of nodes required to develop chaincode. It has a single peer and a single organization.
44

55
if getting error about running ./startFabric.sh permission
6-
chmod a+x startFabric.sh
6+
7+
chmod a+x startFabric.sh
8+
9+
This code is based on code written by the Hyperledger Fabric community. Source code can be found here: (https://github.com/hyperledger/fabric-samples).

LFS171x/fabric-material/tuna-app/controller.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
//SPDX-License-Identifier: Apache-2.0
22

3+
/*
4+
This code is based on code written by the Hyperledger Fabric community.
5+
Original code can be found here: https://github.com/hyperledger/fabric-samples/blob/release/fabcar/query.js
6+
and https://github.com/hyperledger/fabric-samples/blob/release/fabcar/invoke.js
7+
*/
8+
39
// call the packages we need
410
var express = require('express'); // call express
511
var app = express(); // define our app using express

LFS171x/fabric-material/tuna-app/registerAdmin.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
*/
55
/*
66
* Chaincode Invoke
7+
8+
This code is based on code written by the Hyperledger Fabric community.
9+
Original code can be found here: https://gerrit.hyperledger.org/r/#/c/14395/4/fabcar/enrollAdmin.js
710
*/
811

912
var Fabric_Client = require('fabric-client');

LFS171x/fabric-material/tuna-app/registerUser.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
*/
55
/*
66
* Chaincode Invoke
7+
8+
This code is based on code written by the Hyperledger Fabric community.
9+
Original code can be found here: https://gerrit.hyperledger.org/r/#/c/14395/4/fabcar/registerUser.js
10+
711
*/
812

913
var Fabric_Client = require('fabric-client');

LFS171x/fabric-material/tuna-app/src/changeTunaHolder.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
*/
55
/*
66
* Chaincode Invoke
7+
8+
This code is based on code written by the Hyperledger Fabric community.
9+
Original code can be found here: https://github.com/hyperledger/fabric-samples/blob/release/fabcar/invoke.js
10+
711
*/
812

913
var Fabric_Client = require('fabric-client');

LFS171x/fabric-material/tuna-app/src/queryAllTuna.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
*/
55
/*
66
* Hyperledger Fabric Sample Query Program for tuna-app: Chaincode Invoke
7+
8+
This code is based on code written by the Hyperledger Fabric community.
9+
Original code can be found here: https://github.com/hyperledger/fabric-samples/blob/release/fabcar/query.js
710
*/
811

912
var Fabric_Client = require('fabric-client');

LFS171x/fabric-material/tuna-app/src/queryTuna.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
'use strict';
22
/*
33
* SPDX-License-Identifier: Apache-2.0
4-
*/
5-
/*
6-
* Hyperledger Fabric Sample Query Program for tuna-app: Chaincode Invoke
4+
5+
Hyperledger Fabric Sample Query Program for tuna-app: Chaincode Invoke
6+
7+
This code is based on code written by the Hyperledger Fabric community.
8+
Original code can be found here: https://github.com/hyperledger/fabric-samples/blob/release/fabcar/query.js
79
*/
810

911
var Fabric_Client = require('fabric-client');

0 commit comments

Comments
 (0)