Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
262 commits
Select commit Hold shift + click to select a range
18923b7
Various bug fix (#409)
adecaro Oct 10, 2022
3dcbf3b
fabric ordering: retry also when establishing the connection fails (#…
adecaro Oct 11, 2022
99ad056
fabric: call discard for unknown tx (#416)
adecaro Oct 12, 2022
b982a2e
Fix npe if no core file found (#417)
davek-at-ibm Oct 14, 2022
28c1f0e
Extensions (#414)
adecaro Oct 17, 2022
d8a9229
restructure fsc and fabric driver core to be more intuitive (#415)
davek-at-ibm Oct 19, 2022
4c2fd53
Minor updates (#422)
mbwhite Oct 20, 2022
304cd36
enhancement pack (#421)
adecaro Oct 21, 2022
cf9ea57
NWO to only use Fabric Binaries (#426)
davek-at-ibm Oct 24, 2022
203a2af
sample config with doc (#427)
davek-at-ibm Oct 26, 2022
0a04f4b
orion cleanup (#429)
adecaro Nov 7, 2022
79739ca
Upgrade chaincode (#401)
sapthasurendran Nov 15, 2022
35c062a
fix delivery restart (#430)
adecaro Nov 16, 2022
6446a4c
keys are sanitised directly by orion, no need for extra sanitization …
adecaro Nov 16, 2022
71109c5
Revert "keys are sanitised directly by orion, no need for extra sanit…
adecaro Nov 16, 2022
668d2a3
key validation removal (#439)
NorhanKhaled Nov 28, 2022
2080c0c
various enhancements (#436)
adecaro Nov 30, 2022
1e8a007
this commit removes as many panic as possible (#441)
adecaro Dec 5, 2022
7415b02
chaincode configuration (#440)
adecaro Dec 5, 2022
bdf81d0
bug fix and enhancements (#442)
adecaro Dec 7, 2022
7612a52
delete the key is the value is set to nil (#444)
adecaro Jan 6, 2023
cf076c1
Support for multiple key management mechanisms (#447)
sapthasurendran Feb 8, 2023
11cb395
updated vulnerable packages (#448)
sapthasurendran Feb 9, 2023
4404c06
updated containerd version (#452)
sapthasurendran Feb 9, 2023
5cf8a2b
Nwo enhancements (#454)
alexandrosfilios Feb 14, 2023
e00567c
various improvements (#453)
adecaro Feb 14, 2023
1e12d19
Fixes in orderer yaml template (#455)
alexandrosfilios Feb 15, 2023
c2d187e
Bump github.com/ipld/go-ipld-prime from 0.9.0 to 0.19.0 (#456)
dependabot[bot] Feb 16, 2023
4e234e8
Bump github.com/containerd/containerd from 1.5.16 to 1.5.18 (#457)
dependabot[bot] Feb 16, 2023
7e7780e
Changes in NWO templates to support remote runs (#459)
alexandrosfilios Feb 20, 2023
29aac37
Bump golang.org/x/text from 0.3.7 to 0.3.8 (#461)
dependabot[bot] Feb 23, 2023
54ef2dc
various enhancements (#462)
adecaro Feb 23, 2023
e5facc9
Changes in core template (#463)
alexandrosfilios Feb 23, 2023
3eaa8f7
core-fabric update with the new tracing section (#464)
adecaro Feb 24, 2023
233814e
Bump golang.org/x/sys in /tools (#465)
dependabot[bot] Feb 25, 2023
956ad96
Bump golang.org/x/net from 0.4.0 to 0.7.0 (#466)
dependabot[bot] Mar 7, 2023
3eef01c
Bump github.com/opencontainers/runc from 1.1.2 to 1.1.5 (#469)
dependabot[bot] Apr 3, 2023
e2e520e
Bump github.com/docker/docker (#471)
dependabot[bot] Apr 5, 2023
110f632
fabric2.5, go1.20, and more... (#472)
adecaro Apr 12, 2023
c7b7a42
Bump github.com/docker/distribution (#476)
dependabot[bot] May 17, 2023
d589a10
Idemix Revocation (#473)
adecaro May 17, 2023
34da6a1
Bump google.golang.org/grpc from 1.52.3 to 1.53.0 (#483)
dependabot[bot] Jul 6, 2023
a925afa
Various Utilities in Support of the Token-SDK (#487)
alexandrosfilios Aug 11, 2023
26c35e4
Bump github.com/libp2p/go-libp2p from 0.26.4 to 0.27.8 (#486)
dependabot[bot] Aug 11, 2023
40af3ef
load idemix as produced by fabric-ca (#480)
adecaro Aug 11, 2023
996dcf2
idemix aries (#488)
ale-linux Aug 20, 2023
9e42100
go1.20 (#489)
adecaro Aug 21, 2023
86921c3
Update dependencies (#492)
ale-linux Sep 1, 2023
09a2417
idemix provider supports verify only signer config
adecaro Aug 24, 2023
daa90ee
x509 provide support for verifying only providers
adecaro Aug 24, 2023
38a266b
add support for keystore path
adecaro Aug 24, 2023
242d866
export DeserializeVerifierAgainstNymEID
adecaro Aug 25, 2023
066ea8b
Fix parsing of [::1] address and chaincode endpoint
alexandrosfilios Aug 28, 2023
4c6d84d
resolves issue 491 -- Support golang 1.21 by upgrading libp2p
arner Sep 27, 2023
7e0f220
match client tls error message on go 1.20 and newer versions
arner Oct 2, 2023
f84c270
Bump github.com/consensys/gnark-crypto from 0.9.1 to 0.12.0
dependabot[bot] Oct 5, 2023
ca86b6d
Temporarily reverted update of github.com/consensys/gnark-crypto from…
alexandrosfilios Oct 6, 2023
e9f9474
minor refactoring
adecaro Sep 1, 2023
36b245a
Identity Provider fetches identity by Alias too (#498)
adecaro Oct 6, 2023
af0ea9f
Bump golang.org/x/net from 0.14.0 to 0.17.0 (#502)
dependabot[bot] Oct 13, 2023
d88a8cb
read and use logging format from configuration file (#503)
arner Oct 17, 2023
90ce30c
support for multiple fabric transaction format (#495)
adecaro Nov 1, 2023
b3425a2
fix: FSC panics when provided with a malformed identity certificate (…
adecaro Nov 2, 2023
5fa8a42
improved chaincode event view (#506)
adecaro Nov 2, 2023
154db03
cleanup and dep update (#509)
adecaro Nov 8, 2023
9cf3e99
load params from configuration (#501)
adecaro Nov 9, 2023
f5c34c3
upgrade fsouza and official docker sdk (#510)
arner Nov 28, 2023
7b0c6b3
Upgrade FPC version (#511)
mbrandenburger Nov 28, 2023
fa30c40
Bump github.com/docker/docker (#507)
dependabot[bot] Nov 28, 2023
7a2da05
Bump google.golang.org/grpc from 1.53.0 to 1.56.3 (#505)
dependabot[bot] Nov 28, 2023
e900cb8
log improvements (#512)
adecaro Dec 4, 2023
bcd3948
improvements (#513)
adecaro Dec 11, 2023
d72c796
cleanup dependencies (#516)
adecaro Dec 13, 2023
39aa710
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#517)
dependabot[bot] Dec 19, 2023
119d6a2
Bump github.com/containerd/containerd from 1.6.18 to 1.6.26 (#518)
dependabot[bot] Dec 20, 2023
6d6447d
Bump github.com/quic-go/quic-go from 0.38.1 to 0.38.2 (#519)
dependabot[bot] Jan 11, 2024
af7b35a
Extracted SDK in integration-test topologies to a parameter
alexandrosfilios Jan 26, 2024
1f7b988
Removed SP dependency from FinalityHandler (#521)
alexandrosfilios Jan 29, 2024
f097075
Bump github.com/opencontainers/runc from 1.1.5 to 1.1.12 (#522)
dependabot[bot] Feb 1, 2024
7799217
remove support for git download (#523)
adecaro Feb 5, 2024
5f6151e
Refactored re-usable functionality (#526)
alexandrosfilios Feb 20, 2024
07ec0ec
add sql as possible driver for kvs and vault (#524)
arner Feb 28, 2024
7206246
Extracted libp2p functionality into interfaces to allow for alternati…
alexandrosfilios Mar 14, 2024
284d251
Bump github.com/docker/docker (#537)
dependabot[bot] Mar 25, 2024
0fd236e
WebSocket implementation for p2p communication
alexandrosfilios Mar 7, 2024
e8f5ad1
Support for TLS
alexandrosfilios Mar 14, 2024
99c2063
Support for identity resolution
alexandrosfilios Mar 14, 2024
ebbb3c8
Support for independent routing component (temporarily static read fr…
alexandrosfilios Mar 15, 2024
6776d66
Removed dependency from libp2p PKI support
alexandrosfilios Mar 15, 2024
bac42af
Refactor buffered reader
alexandrosfilios Mar 18, 2024
1e86ca6
Re-order services and renamed stream struct
alexandrosfilios Mar 18, 2024
080d8d6
Added option to choose p2p communication type in the config. Integrat…
alexandrosfilios Mar 20, 2024
1b563d6
Adapted documentation
alexandrosfilios Mar 25, 2024
2429414
Bump google.golang.org/protobuf from 1.26.0 to 1.33.0 in /tools (#532)
dependabot[bot] Mar 25, 2024
d99a140
fabric: commit unknown fix (#535)
adecaro Mar 25, 2024
00d3d83
tidy up (#538)
adecaro Mar 27, 2024
3dc1059
Refactor endpoint service and removed Endpoint method
alexandrosfilios Mar 4, 2024
6fbf404
Introduced replicas for NWO
alexandrosfilios Mar 5, 2024
0256589
Introduced stream hash to control re-usability of opened streams.
alexandrosfilios Mar 21, 2024
3470474
Integration tests with replicas: Added replication factor as parameter
alexandrosfilios Mar 28, 2024
0f53627
Integration tests with replicas: Stop-Restart
alexandrosfilios Mar 25, 2024
835f6e0
Integration tests with replicas: Ping pong
alexandrosfilios Mar 28, 2024
f846548
Added support for postgres DB for integration tests
alexandrosfilios Mar 25, 2024
8349030
Allow committer to search RWSets in ETX KVS (necessary when one repli…
alexandrosfilios Mar 27, 2024
a00284c
Integration tests with replicas: IOU
alexandrosfilios Mar 28, 2024
0e76e7c
Integration tests with replicas: IOU HSM
alexandrosfilios Mar 28, 2024
9a33db7
Integration tests with replicas: IOU Orion
alexandrosfilios Mar 28, 2024
16688fc
Integration tests with replicas: ATSA FSC
alexandrosfilios Mar 28, 2024
d86730a
NWO fixes
alexandrosfilios Apr 2, 2024
2973738
Added termination conditions for streams based on websockets
alexandrosfilios Apr 4, 2024
b0aa22e
Fix race conditions in tests (#542)
alexandrosfilios Apr 10, 2024
3d6b61b
enhanced commit pipelines (fabric and orion) (#539)
adecaro Apr 10, 2024
086a313
fabric refactor (#543)
adecaro Apr 11, 2024
5e0ecd4
add fallback option to use OrdererAddresses if the Orderer MSP does n…
arner Apr 15, 2024
cc10a45
Handle unique-constraint violation when setting db state from differe…
alexandrosfilios Apr 12, 2024
4fc8359
common platform (#547)
adecaro Apr 18, 2024
947104d
Refactor/reuse vault
alexandrosfilios Apr 18, 2024
0bc6b4d
fixup! Refactor/reuse vault
adecaro Apr 18, 2024
43b1e13
transaction filter (#546)
adecaro Apr 18, 2024
43b04a5
Fixed IN clause for DB queries (#552)
alexandrosfilios Apr 20, 2024
25331c3
Upgrade docker deps
mbrandenburger Mar 28, 2024
ec4714f
Upgrade github actions
mbrandenburger Apr 22, 2024
83d56d5
Allow to start a toplogy without FSC nodes
mbrandenburger Mar 26, 2024
72cd416
fix finality listener
adecaro Apr 19, 2024
4ba0573
Fixed wire-format data issue
alexandrosfilios Apr 21, 2024
6bfc2e2
Delegate commit, discard from vault to committer
alexandrosfilios Apr 22, 2024
c6f29de
orion committer Start function
adecaro Apr 22, 2024
1bff6bf
Upgrade to go 1.21 (#559)
mbrandenburger Apr 23, 2024
abdbfa9
fixup! Fixed wire-format data issue (#554)
alexandrosfilios Apr 23, 2024
5f2ef0f
committer cleanup (#562)
adecaro Apr 24, 2024
fe0fde7
Added public constructors for services. Added a node constructor with…
alexandrosfilios Feb 12, 2024
7cc4bf2
Reduced usage of service provider
alexandrosfilios Apr 25, 2024
d9c32cf
logging + no panics (#564)
adecaro Apr 29, 2024
0c52e84
updated vault's DiscardTx function behaviour (#566)
adecaro May 8, 2024
ae0bd3f
remove support for finality listener for all txs (#567)
adecaro May 9, 2024
06a33a0
fix bug web service (#569)
adecaro May 10, 2024
d426537
Move Mathilde to Emeritus (#572)
mbrandenburger May 21, 2024
7d4209f
Replace deprecated logging param in nwo (#571)
mbrandenburger May 23, 2024
609b810
Invalidate cache on unique-key violation
alexandrosfilios May 7, 2024
791343e
Retry after deadlock
alexandrosfilios May 7, 2024
584d47d
Split sqlite and postgres implementations
alexandrosfilios May 10, 2024
ac0ff4f
Notifiers for Postgres and Sqlite
alexandrosfilios May 23, 2024
4356bfe
Aligned Persistence naming and refactored to allow re-use of function…
alexandrosfilios May 23, 2024
d0794c1
fixup! Aligned Persistence naming and refactored to allow re-use of f…
alexandrosfilios May 24, 2024
8f4e4fd
Enhanced collection utils
alexandrosfilios May 24, 2024
85c1dbc
ci scripts update (#578)
adecaro May 30, 2024
8f4942c
update HLE and samples (#577)
adecaro May 31, 2024
7e5509f
Fix concurrent writes in idrouter (#580)
alexandrosfilios Jun 5, 2024
fefc072
Prefixed committer logger with network name
alexandrosfilios May 31, 2024
baefa76
Prefixed vault table names with network name
alexandrosfilios May 31, 2024
6fe12d8
Added logging
alexandrosfilios Jun 3, 2024
25cb39e
Return mapped DB error when deleting state
alexandrosfilios Jun 3, 2024
0327809
Replaced error wrapping to ensure compatibility with HasCause
alexandrosfilios Jun 3, 2024
15f22d9
Used errors methods and added checkType
alexandrosfilios Jun 3, 2024
3a78546
Lock txidstore entry before writing the rwsets to the DB
alexandrosfilios Jun 6, 2024
c2e306b
Removed forceGet from invalidate
alexandrosfilios Jun 6, 2024
4fd5587
Update tests.yml (#587)
ale-linux Jun 13, 2024
8fc26bf
Update tests.yml
ale-linux Jun 13, 2024
ddff992
Update tests.yml (#590)
ale-linux Jun 13, 2024
e9f3420
Introducing dig (#585)
alexandrosfilios Jun 15, 2024
13ded15
the fabric platform was using an orion interface. (#596)
alexandrosfilios Jun 17, 2024
c3f2e90
Added tracer support
alexandrosfilios Jun 9, 2024
a58919a
Traces for remote calls
alexandrosfilios Jun 17, 2024
1564d26
Traces across views and client/server interactions
alexandrosfilios Jun 18, 2024
b36cef7
Tests
alexandrosfilios Jun 18, 2024
0ad69d8
fixup! Traces across views and client/server interactions
alexandrosfilios Jun 18, 2024
1bb1184
fixup! Traces across views and client/server interactions
alexandrosfilios Jun 18, 2024
59f661a
Refactor fabric platform for better customizability (#595)
alexandrosfilios Jun 18, 2024
ecf1aee
Documented usage of new SDK with DI (#598)
alexandrosfilios Jun 19, 2024
bfb6dd5
Allow skipping register errors for prometheus
alexandrosfilios Jun 18, 2024
3775efc
Fixes in context propagation
alexandrosfilios Jun 20, 2024
1b6098b
Fixed concurrent read-write
alexandrosfilios Jun 21, 2024
ba7cc53
Support for Orion deployment
alexandrosfilios Jun 23, 2024
63e0fa8
check if grpc server is nil before accessing it (#606)
arner Jul 2, 2024
728afb1
fabric: inject drivers into provider (#609)
adecaro Jul 3, 2024
7ac01f5
Support for traces
alexandrosfilios Jul 2, 2024
ce1db43
Fixes for orion deployment
alexandrosfilios Jul 3, 2024
f31aaad
Support for traces in sessions
alexandrosfilios Jun 18, 2024
3c320a9
Remove static drivers for DB
alexandrosfilios Jul 4, 2024
9e0f3c3
Remove static drivers for KMS
alexandrosfilios Jul 4, 2024
c5c988a
Configurable sampler
alexandrosfilios Jul 4, 2024
58228a3
README for monitoring
alexandrosfilios Jul 4, 2024
694d3ef
Unit tests for SDK wiring
alexandrosfilios Jul 5, 2024
41da7de
Remove usages of SP
alexandrosfilios Jul 5, 2024
1a1a1cc
log length of []byte instead of full value
arner Jul 2, 2024
5d933b9
remove unused parameter
arner Jul 2, 2024
c126dab
return wrapped startup errors
arner Jul 2, 2024
69fd476
remove invalid test
arner Jul 2, 2024
d390ad6
remove unnecessary type assertions
arner Jul 2, 2024
b74b5ce
fix folder does not exist error
arner Jul 2, 2024
1a9e2f5
use errors package, add namespace to logger
arner Jul 4, 2024
8a3a9a8
orion v0.2.10 (#622)
adecaro Jul 11, 2024
bdfd870
Moved websocket implementation provider to a separate package
alexandrosfilios Jul 12, 2024
03fe074
Added multiplexed provider
alexandrosfilios Jul 12, 2024
8988722
Fixes (#626)
alexandrosfilios Jul 16, 2024
e60cf94
Added GetOrLoad method in second chance cache
alexandrosfilios Jul 15, 2024
ecbf9a5
Decorator to disable histograms
alexandrosfilios Jul 16, 2024
7f6e30d
Extracted network/channel config provider
alexandrosfilios Jul 16, 2024
50b63ae
Added traces and metrics
alexandrosfilios Jul 15, 2024
286da11
Added permutation iterator that share the same slice of data
alexandrosfilios Jul 16, 2024
d8321b5
Pick metrics provider based on type field instead of struct type
alexandrosfilios Jul 17, 2024
acd0048
dispose context and close sessions (#635)
adecaro Jul 22, 2024
135b5c6
Extracted finality listener to a separate injectable service
alexandrosfilios Jul 23, 2024
680d046
Added metrics for session monitoring
alexandrosfilios Jul 17, 2024
ca883b6
Close client stream
alexandrosfilios Jul 17, 2024
a121db3
Notify server side to close connection
alexandrosfilios Jul 17, 2024
ef508b3
Send EOF when subconn closes
alexandrosfilios Jul 18, 2024
0888442
Responder views inherit span of initiator. Span names are prefixed wi…
alexandrosfilios Jul 24, 2024
34ed2e9
Increase counter only if not registered
alexandrosfilios Jul 22, 2024
511dffd
Removed unnecessary spans. Their lifetime exceed the lifespan of the …
alexandrosfilios Jul 25, 2024
0598407
add closing state to prevent send on closed channel panic (#632)
arner Jul 29, 2024
387c5cf
Remove race conditions and simplify endpoint service constructor (#619)
arner Jul 30, 2024
ff4a4ed
Fix data race errors (#618)
marouani-s Aug 5, 2024
ae3778f
hide pkcs11 behind a build tag so that fsc is pure go by default (#621)
arner Aug 5, 2024
e7e4953
Extracted table name creator and init schema
alexandrosfilios Aug 8, 2024
c90da8a
Db notifiers (#642)
alexandrosfilios Aug 8, 2024
219f2a8
fabric-sdk: refactor generic's peer manager (#610)
adecaro Aug 12, 2024
df2fbd9
Lock DB when creating function
alexandrosfilios Aug 13, 2024
9e744da
Added node name as service name
alexandrosfilios Aug 6, 2024
0a1e2bf
Bump google.golang.org/grpc from 1.64.0 to 1.64.1 (#650)
dependabot[bot] Aug 14, 2024
56b8932
Bump github.com/docker/docker (#649)
dependabot[bot] Aug 14, 2024
e41b442
qlcode update (#648)
adecaro Aug 14, 2024
bba8f00
improvements (#641)
adecaro Aug 17, 2024
388a033
upgrade go and dependencies (#651)
arner Aug 17, 2024
24ae304
update tools's go mod (#653)
adecaro Aug 28, 2024
28504a5
Reduce logs and log severity
alexandrosfilios Aug 14, 2024
d17a7c7
Lock tx on base persistence updates
alexandrosfilios Aug 21, 2024
b1cd402
Removed redundant label from metrics
alexandrosfilios Aug 21, 2024
3f475f0
Added spans in commit pipeline
alexandrosfilios Aug 23, 2024
347aad1
Added duration metrics in commit pipeline
alexandrosfilios Aug 23, 2024
4db4855
Added spans in commit pipeline
alexandrosfilios Aug 23, 2024
98adb3b
Get state with existing lock
alexandrosfilios Aug 22, 2024
4541b98
Parallelize tx commits
alexandrosfilios Aug 24, 2024
0fd522f
Typed retry runner
alexandrosfilios Aug 27, 2024
f1fda99
Added metrics
alexandrosfilios Aug 27, 2024
759e679
Added traces
alexandrosfilios Aug 28, 2024
e6a0712
update the other modeules too
adecaro Aug 28, 2024
657d39e
tools' deps update
adecaro Aug 29, 2024
9941582
Bump github.com/opencontainers/runc (#664)
dependabot[bot] Sep 4, 2024
d4f9769
fabric drivers must decide the dependency
adecaro Aug 29, 2024
898b471
docs about the fabric platform driver-based implementation
adecaro Aug 29, 2024
3f33bc0
fixup! docs about the fabric platform driver-based implementation
adecaro Aug 29, 2024
a8046fb
fixup! docs about the fabric platform driver-based implementation
adecaro Aug 30, 2024
1f1052a
fixup! docs about the fabric platform driver-based implementation
adecaro Aug 30, 2024
e9f5e7e
updates due to rebase
adecaro Sep 2, 2024
abb17a9
doc updates
adecaro Sep 2, 2024
20b4c01
fix dependency manager
adecaro Sep 2, 2024
e8f9778
some additional updates
adecaro Sep 3, 2024
0c2737d
Extracted WHERE condition building to a condition interpreter to allo…
alexandrosfilios Sep 5, 2024
73d8b02
Fix go build caching
mbrandenburger Sep 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
100 changes: 61 additions & 39 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,59 +13,81 @@ name: "CodeQL"

on:
push:
branches: [ main ]
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
branches: [ "main" ]
schedule:
- cron: '32 1 * * 4'
- cron: '39 22 * * 5'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
name: Analyze (${{ matrix.language }})
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
# required for all workflows
security-events: write

# required to fetch internal or private CodeQL packs
packages: read

# only required for workflows in private repositories
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'go' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

include:
- language: go
build-mode: autobuild
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Checkout repository
uses: actions/checkout@v4

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

#- run: |
# make bootstrap
# make release
# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
52 changes: 25 additions & 27 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]

env:
FSC_PATH: "${{ github.workspace }}/fabric-smart-client"
workflow_dispatch:

jobs:

Expand All @@ -16,21 +14,18 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: ${{ env.FSC_PATH }}
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version-file: "${{ env.FSC_PATH }}/go.mod"
go-version-file: "go.mod"
cache-dependency-path: "**/*.sum"

- name: Set up tools
working-directory: ${{ env.FSC_PATH }}
run: make install-tools

- name: Run checks
working-directory: ${{ env.FSC_PATH }}
run: make checks

utest:
Expand All @@ -42,21 +37,21 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: ${{ env.FSC_PATH }}
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version-file: "${{ env.FSC_PATH }}/go.mod"
go-version-file: "go.mod"
cache-dependency-path: "**/*.sum"

- name: Set up tools
working-directory: ${{ env.FSC_PATH }}
run: make install-tools

- name: Download fabric binaries
run: make download-fabric

- name: Run ${{ matrix.tests }}
working-directory: ${{ env.FSC_PATH }}
run: make ${{ matrix.tests }}

itest:
Expand All @@ -76,28 +71,31 @@ jobs:
pingpong,
stoprestart,
twonets,
weaver-relay
weaver-relay,
chaincode-events
]

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: ${{ env.FSC_PATH }}
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version-file: "${{ env.FSC_PATH }}/go.mod"
go-version-file: "go.mod"
cache-dependency-path: "**/*.sum"

- name: Set up tools
working-directory: ${{ env.FSC_PATH }}
run: make install-tools

- name: Download fabric binaries
run: make download-fabric

- name: Docker
working-directory: ${{ env.FSC_PATH }}
run: make docker-images

- name: Set up softhsm
run: make install-softhsm

- name: Run ${{ matrix.tests }}
working-directory: ${{ env.FSC_PATH }}
run: make integration-tests-${{ matrix.tests }}
run: make integration-tests-${{ matrix.tests }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
integration/**/testdata/
integration/**/cmd/
!integration/nwo/cmd/

cmd/fsccli/cmd
19 changes: 12 additions & 7 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,18 @@ Maintainers

**Active Maintainers**

| Name | GitHub | Chat | email
|------|--------|------|----------------------
| Angelo De Caro | [adecaro][adecaro] | adecaro | <[email protected]>
| Kaoutar Elkhiyaoui | [KElkhiyaoui][KElkhiyaoui] | KElkhiyaoui | <[email protected]>
| Mathilde Ffrench | [mffrench][mffrench] | mffrench | <[email protected]>
| Alessandro Sorniotti | [ale-linux][ale-linux] | aso | <[email protected]>
| Marcus Brandenburger | [mbrandenburger][mbrandenburger] | bur | <[email protected]>
| Name | GitHub | Chat | email |
| --- | --- |
| Angelo De Caro | [adecaro][adecaro] | adecaro | <[email protected]> |
| Kaoutar Elkhiyaoui | [KElkhiyaoui][KElkhiyaoui] | KElkhiyaoui | <[email protected]> |
| Alessandro Sorniotti | [ale-linux][ale-linux] | aso | <[email protected]> |
| Marcus Brandenburger | [mbrandenburger][mbrandenburger] | bur | <[email protected]> |

**Emeritus Maintainers**

| Name | GitHub | Chat | email |
| --- | --- |
| Mathilde Ffrench | [mffrench][mffrench] | mffrench | <[email protected]> |

[adecaro]: https://github.com/adecaro
[KElkhiyaoui]: https://github.com/KElkhiyaoui
Expand Down
Loading