ofgarzon2662
3f33ce6c28
Solved Conflict Issues
2023-03-01 11:17:33 -08:00
Dave Enyeart
1816d24732
Revert "Bump github.com/prometheus/client_golang ( #933 )"
...
This reverts commit fd4332d9c0 .
2023-03-01 11:51:26 -05:00
dependabot[bot]
fd4332d9c0
Bump github.com/prometheus/client_golang ( #933 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.1.0 to 1.11.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.1.0...v1.11.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-23 16:18:03 +01:00
Fernando Garzon
2d940bcdc6
Tests on PDCs ongoing
2023-02-21 16:27:48 -08:00
Mark S. Lewis
10e9377555
Avoid explicit import of grpc-js or fabric-protos in TypeScript apps
...
Rely on the dependencies of @hyperledger/fabric-gateway making these packages transitively available. Having explicit dependency versions in the application can cause type conflicts due to private member changes in the gRPC Client class across versions.
Also fix some missing or incorrect Node types and engines version contraints.
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2023-02-10 11:36:41 -05:00
Fernando Garzon
4d42997eb8
Still developing the PDC function. Update JAN 30 - 2023
2023-01-30 09:16:16 -08:00
Fernando Garzon
449c10f6ed
PDCs test in progress Jan 24 2023
2023-01-24 15:33:59 -08:00
Fernando Garzon
e87473cefb
NewUserUUID Function added - Need to be tested with policy change
2023-01-24 13:44:50 -08:00
Fernando Garzon
6dce395fdf
Test Chaincode January 14 2023
2023-01-24 09:16:18 -08:00
dependabot[bot]
9b1de5e0b1
Bump minimatch in /asset-transfer-basic/rest-api-typescript ( #887 )
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 09:35:08 -05:00
dependabot[bot]
a231e12caa
Bump json5 in /asset-transfer-basic/rest-api-typescript ( #898 )
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.0 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 09:34:28 -05:00
dependabot[bot]
7c46fdb087
Bump cookiejar in /asset-transfer-basic/rest-api-typescript ( #916 )
...
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar ) from 2.1.2 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases )
- [Commits](https://github.com/bmeck/node-cookiejar/commits )
---
updated-dependencies:
- dependency-name: cookiejar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 08:47:59 -05:00
Fernando Garzon
35f98ea842
Chaincode ready for tests on OSC-IS Test network
2022-12-15 09:13:34 -08:00
dependabot[bot]
a96efaebde
Bump qs and express in /asset-transfer-basic/rest-api-typescript ( #880 )
...
Bumps [qs](https://github.com/ljharb/qs ) to 6.11.0 and updates ancestor dependencies [qs](https://github.com/ljharb/qs ), [qs](https://github.com/ljharb/qs ) and [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `qs` from 6.10.2 to 6.11.0
- [Release notes](https://github.com/ljharb/qs/releases )
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.10.2...v6.11.0 )
Updates `qs` from 6.10.1 to 6.11.0
- [Release notes](https://github.com/ljharb/qs/releases )
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.10.2...v6.11.0 )
Updates `express` from 4.17.1 to 4.18.2
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.2 )
---
updated-dependencies:
- dependency-name: qs
dependency-type: indirect
- dependency-name: qs
dependency-type: indirect
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 09:23:23 +01:00
ali
05c06f4931
Fixed comment consistency problem ( #844 )
...
* fixed comment consistency problem with erc20 chaincode
Signed-off-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>
* added more comment consistancy fix
Signed-off-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>
* added more comment consistancy fix
Signed-off-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>
* added more comment consistancy fix
Signed-off-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>
* added more comment consistancy fix
Signed-off-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>
Signed-off-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>
Co-authored-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>
2022-12-14 09:18:21 +01:00
Basil K Y
b2de360e1c
REST api added for asset transfer in Golang ( #836 )
...
* REST api added for asset transfer in Golang
Signed-off-by: Basil K Y <techiebasil@gmail.com>
* add go.sum to git
Signed-off-by: Basil K Y <techiebasil@gmail.com>
* fix golint error
Signed-off-by: Basil K Y <techiebasil@gmail.com>
Signed-off-by: Basil K Y <techiebasil@gmail.com>
2022-12-14 09:16:09 +01:00
Fernando Garzon
7c3d886f92
Testing Chaincode with new Users and Groups functions
2022-12-08 13:02:21 -08:00
Fernando Garzon
b379502870
USERs and Groups functions added - Not tested yet
2022-12-08 12:27:11 -08:00
Fernando Garzon
b1971261da
USERs and Groups functions added - Not tested yet
2022-12-08 12:25:14 -08:00
Mark S. Lewis
a6028cd398
Fix asset-transfer-basic/application-gateway-go ( #874 )
...
Error handling example used a transaction invocation with the wrong number of arguments and so did not demonstrate the same error condition as other language samples. The error handling code was also not as comprehensive as it should be.
Also changed the console output throughout to match the content and format of the Node and Java samples.
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2022-11-30 13:21:49 +00:00
Fernando Garzon
196d637243
Update Nov 28
2022-11-28 14:47:04 -08:00
Fernando Garzon
d5cd5ed56d
Nov 14 Update
2022-11-14 13:57:12 -08:00
jkneubuh
0ce94bbb9b
Move lint and test-network-basic tests from Azure to GHA - READY FOR MERGE ( #862 )
...
* Move Test Network Basic tests from Azure to GHA
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
* Move linters from Azure to GHA
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
* Apply review comments - pin java, node, and go runtimes
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
2022-11-14 13:36:55 +00:00
Fernando Garzon
8f946586bd
Advance Nov 11/2022
2022-11-11 15:01:02 -08:00
Fernando Garzon
5e3e50fd37
Nov 11/2022 Update
2022-11-11 11:00:38 -08:00
Fernando Garzon
ed74286f4d
Keep debugging
2022-11-02 11:53:36 -07:00
Fernando Garzon
f6d9a32dfe
Keep debugging
2022-11-01 16:58:46 -07:00
Fernando Garzon
c66e5680aa
Random Comment with little to no meaning
2022-11-01 16:02:13 -07:00
Fernando Garzon
edff9ad2c1
Schema Update: Schema can be updated and used to validate new json incoming files. Json contents are being stored in Data Structs
2022-10-26 17:21:04 -07:00
Fernando Garzon
920ddf0777
Testing of chaincode ongoing
2022-10-25 18:09:21 -07:00
Mark S. Lewis
63cc77bdc3
Avoid usage of deprecated ioutil Go package ( #843 )
...
* Refactor Go files
1. replace deprecated ioutil functions (ioutil is deprecated since Go 1.16)
2. fix variable names that collide with imported package name
3. fix typos
Also update Go version specified by Go modules to ensure a Go version is used in which ioutil is deprecated and replacement functions are available in os and io packages.
Signed-off-by: Tommy TIAN <xtianae@connect.ust.hk>
Co-authored-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
* Specify go 1.18 instead of go 1.19 in go.mod files
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
Signed-off-by: Tommy TIAN <xtianae@connect.ust.hk>
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
Co-authored-by: Tommy TIAN <xtianae@connect.ust.hk>
2022-10-25 07:04:39 -04:00
Fernando Garzon
ee6954ddac
Chaincode slowly evolving
2022-10-24 15:30:53 -07:00
Fernando Garzon
9acb406996
Content of json file being included in BC
2022-10-21 16:24:12 -07:00
Fernando Garzon
7cdf27efa3
Content of json file being included in BC
2022-10-21 16:14:26 -07:00
Mark S. Lewis
c323c95807
Update samples to use fabric-gateway v1.1.1 ( #842 )
...
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2022-10-20 17:43:55 +01:00
James Taylor
0aa853e0c3
Update go chaincode samples
...
Update to the latest github.com/hyperledger/fabric-contract-api-go
Signed-off-by: James Taylor <jamest@uk.ibm.com>
2022-10-18 15:28:20 -04:00
Fernando Garzon
fdffcb5784
Json Validation 1st test working
2022-10-17 15:15:17 -07:00
Fernando Garzon
7d76f9b07a
Json Validation Function Tests on ChainCode
2022-10-14 16:55:26 -07:00
Fernando Garzon
ddf5917ddb
1st Chaincode version in golang
2022-09-29 14:18:01 -07:00
dependabot[bot]
ea533d61b9
Bump passport in /asset-transfer-basic/rest-api-typescript ( #828 )
...
Bumps [passport](https://github.com/jaredhanson/passport ) from 0.4.1 to 0.6.0.
- [Release notes](https://github.com/jaredhanson/passport/releases )
- [Changelog](https://github.com/jaredhanson/passport/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jaredhanson/passport/compare/v0.4.1...v0.6.0 )
---
updated-dependencies:
- dependency-name: passport
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 17:48:14 +02:00
dependabot[bot]
3841318020
Bump moment-timezone in /asset-transfer-basic/rest-api-typescript ( #821 )
...
Bumps [moment-timezone](https://github.com/moment/moment-timezone ) from 0.5.33 to 0.5.37.
- [Release notes](https://github.com/moment/moment-timezone/releases )
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md )
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.33...0.5.37 )
---
updated-dependencies:
- dependency-name: moment-timezone
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 17:47:05 +02:00
dependabot[bot]
a4245810a0
Bump jsrsasign in /asset-transfer-basic/rest-api-typescript ( #795 )
...
Bumps [jsrsasign](https://github.com/kjur/jsrsasign ) from 10.5.1 to 10.5.26.
- [Release notes](https://github.com/kjur/jsrsasign/releases )
- [Changelog](https://github.com/kjur/jsrsasign/blob/master/ChangeLog.txt )
- [Commits](https://github.com/kjur/jsrsasign/compare/10.5.1...10.5.26 )
---
updated-dependencies:
- dependency-name: jsrsasign
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 14:33:44 +02:00
dependabot[bot]
f39e55e6f5
Bump moment in /asset-transfer-basic/rest-api-typescript ( #794 )
...
Bumps [moment](https://github.com/moment/moment ) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 14:33:01 +02:00
dependabot[bot]
70c5aa7a28
Bump nconf in /asset-transfer-basic/rest-api-typescript ( #722 )
...
Bumps [nconf](https://github.com/flatiron/nconf ) from 0.11.3 to 0.11.4.
- [Release notes](https://github.com/flatiron/nconf/releases )
- [Changelog](https://github.com/indexzero/nconf/blob/master/CHANGELOG.md )
- [Commits](https://github.com/flatiron/nconf/compare/v0.11.3...v0.11.4 )
---
updated-dependencies:
- dependency-name: nconf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-26 09:46:10 +02:00
Arnaud J Le Hors
6ede244d2b
Use alpine based gradle image to build basic transfer java CC container
...
This changes the base image used to build the chaincode-as-a-service
java container to the alpine version which is sufficient and less
taxing than using the full gradle:jdk11 one.
Signed-off-by: Arnaud J Le Hors <lehors@us.ibm.com>
2022-08-03 12:07:20 -04:00
Arnaud J Le Hors
8403da7386
Fix vulnerabilities in typescript chaincode deps
...
npm audit reveals several high and one critical vulnerabilities in the dependencies:
ansi-regex 4.0.0 - 4.1.0
Severity: high
Inefficient Regular Expression Complexity in chalk/ansi-regex - https://github.com/advisories/GHSA-93q8-gq69-wqmw
fix available via `npm audit fix`
node_modules/nyc/node_modules/ansi-regex
minimist <=1.2.5
Severity: critical
Prototype Pollution in minimist - https://github.com/advisories/GHSA-xvch-5gv4-984h
Prototype Pollution in minimist - https://github.com/advisories/GHSA-vh95-rmgr-6w4m
fix available via `npm audit fix --force`
Will install mocha@10.0.0, which is a breaking change
node_modules/minimist
node_modules/ts-node/node_modules/minimist
mkdirp 0.4.1 - 0.5.1
Depends on vulnerable versions of minimist
node_modules/mkdirp
mocha 1.21.5 - 6.2.2 || 7.0.0-esm1 - 7.1.0
Depends on vulnerable versions of mkdirp
node_modules/mocha
protobufjs 6.11.0 - 6.11.2
Severity: high
Prototype Pollution in protobufjs - https://github.com/advisories/GHSA-g954-5hwp-pp24
fix available via `npm audit fix`
node_modules/protobufjs
5 vulnerabilities (2 moderate, 2 high, 1 critical)
This change (from running npm audit fix --force) removes all of them:
npm audit
found 0 vulnerabilities
Signed-off-by: Arnaud J Le Hors <lehors@us.ibm.com>
2022-08-03 12:00:58 -04:00
Matthew B White
4bbffdf2f2
Update Node.js dockerfile ( #805 )
...
Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
2022-08-01 11:50:47 +00:00
Mark S. Lewis
f8e7bfe803
Update Gateway samples for v1.1 release ( #779 )
...
- Updated build to use Go 1.18 since Go 1.16 is no longer supported.
- Use Java 11 in updated samples, and take advantage of new language features.
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2022-06-30 15:46:32 +01:00
dependabot[bot]
05c1a1459f
Bump protobufjs in /asset-transfer-basic/rest-api-typescript ( #755 )
...
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js ) from 6.11.2 to 6.11.3.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases )
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/v6.11.3/CHANGELOG.md )
- [Commits](https://github.com/protobufjs/protobuf.js/compare/v6.11.2...v6.11.3 )
---
updated-dependencies:
- dependency-name: protobufjs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 18:13:38 -04:00
Tommy TIAN
9d04fc9a2e
fix typo in asset-transfer-basic ( #744 )
...
Signed-off-by: Tommy TIAN <xtianae@connect.ust.hk>
2022-05-18 12:27:08 -04:00