+
Skip to content

Tags: hyperledger-cacti/cacti

Tags

satp/v0.0.3-beta

Toggle satp/v0.0.3-beta's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
feat(satp-hermes): update satp to 0.0.3-beta (#3922)

* feat(satp-hermes): refactor gateway

Authored-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>
Co-authored-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Co-authored-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

Squashed commits:
feat(bungee): add skeleton for bungee
refactor(plugin-satp-hermes): update message
formats SATP core version 2.0.0 OpenAPI
feat(bungee): fix bungee dependencies
feat(SATP-Hermes): gateway coordinator
test(SATP-Hermes): enable decorators needed for
gateway coordinator checks
docs(SATP-Hermes): update package.json
refactor(SATP-Hermes): re-estructure project
feat(SATP-Hermes): protobuf structure

refactor(test-tooling): fix types of streams:
use NodeJS.ReadableStream

1. The container management library that we use
 in the test infrastructure (called dockerode) is
 expecting streams that are defined in the global
namespace of the `@types/node` library, e.g. the
standard library of NodeJS itself.
2. Previously we were using the "streams" package
to provide type information to the streams that
we were passing around to dockerode and it was
working fine, but after some changes that seem
unrelated this has broken the compilation process.
3. The mentioned changes are not yet on the
main branch, but we expect them to be there soon
and so this change is laying the groundwork for
that by pre-emptively fixing the broken build's
root cause which is that the test-tooling package
does not declare it's typings related dependencies
correctly: It implicitly uses the NodeJS standard
library's types but so far had not declared them
on the package level. 4. This change is therefore
to rectify the issue of the `@types/node`
dependency missing from the test-tooling package
and also the refactoring of some of the test
ledger classes which were relying on the `streams`
builtin package instead of correctly using the
 NodeJS.ReadableStream global.
5. Earlier the reasoning for this was that we try
to avoid pulling in types from the global scope
because we try to avoid any sort of dependency
on the global scope in general. Once we have proof
though that this is causing issues with the build,
then we must give up the principle for practical
reasons (and only in the minimum viable scope,
e.g. this does not change the fact that everywhere
else in the codebase we should still do our best~
to avoid using the global scoped classes,
types, functions, etc..).

Thank you to @AndreAugusto11 and @RafaelAPB for
pointing out this issue through the pull request
 f his that is currently being worked on at the
time of this writing: PR 72

Related to but does not address issue 2811

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

* fix(satp-hermes): fix build bugs and hanging tests

Co-authored-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>
Co-authored-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Co-authored-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(satp-hermes): fix hanging tests

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

refactor(SATP-Hermes): fix cspell and lint

Signed-off-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>

* feat(satp-hermes): add API1 baseline

Co-authored-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Co-authored-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>
Authored-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* refactor(satp-hermes): refactor gateway protobufs

Authored by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(satp-hermes): satp proto update (#3147)

* feat(satp-hermes): update protos

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* feat(satp-hermes): protos

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* feat(satp-hermes): protos

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

---------

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

feat(satp-hermes): update protos

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

feat(satp-hermes): core stage services message
names update

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

feat(satp-hermes): gRPC server start
implementation and gateway_refactor in handlers

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

fix(satp-hermes): satp proto update

also updates yarn lock

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

fix(satp-hermes): update yarn, comment method

fix(satp-hermes): update yarn

ci(satp-hermes): fix bungee and satp ci

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

chore(satp-hermes): delete Kotlin SDK, add Go SDK

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

build(satp-hermes): add gateway client Go SDK

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(satp-hermes): re-add message proto

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

fixup(satp-hermes): remove test protos and endpoints

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* feat(satp-hermes): gRPC services draft implementation

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

feat(satp-hermes): stage1-service and handler refactored

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

feat(satp-hermes):stage2-service and handler refactored server-side

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

feat(satp-hermes): service handlers server

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

feat(satp-hermes): client stage handlers refactor

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* feat(satp-hermes): add satp-bridge baseline

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* chore(satp-hermes): rename generated code for gateway and blo

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(satp-hermes): fix knex path for old gateway tests

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* feat(satp-hermes): update protos and services

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* refactor(satp-hermes): refactor gateway

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>
Co-authored-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

fix: refactor services and handlers

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

fix: eslint all

Signed-off-by: Rafael Belchior <rbelchior@blockdaemon.com>

* feat(satp-hermes): implement satp stages

Authored-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>
Co-authored-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* feat(cc-tx-visualization): initial commit

Signed-off-by: Iulia Mihaiu <maramih.2007@yahoo.com>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cc-tx-viz): add methods to fabric connector

Signed-off-by: Iulia Mihaiu <maramih.2007@yahoo.com>

fix(prometheus): metrics.ts leaks to
global registry

1. Specified a `register` property of the gauges
as an empty array so that it does not pollute the
global namespace. This is how this is supposed to
be done as per the docs of prom-client.

2. Once the change from 1) took place, the issue
became that the metrics gathering code was still
trying to hit up the global scope for the metrics,
e.g. calling the get metrics methods directly on
the promClient object instead of the registry that
we create for each prmoetheus exporter object
separately. So a little additional refactor ensued
to fix this as well by making sure that we grab a
reference of the registry object at construction
time and then re-use that wherever needed
instead of going through the global promClient
object.

3. Added missing .startMetricsCollection calls in
the plugin constructors to ensure that the
prometheus exporter object gets initialized
properly (this is where the registry gets
created as well so without this there are crashes
happening when one tries to access the metrics
through the registry)

Why though?
The problem was that the metrics.ts file that we
have for all the plugin's metrics constructs a
new Metric (Gauge) object at import time which
then defaults to registering the metric in
the global registry of prom-client by default.

The latter was causing crashes when separate
versions of the same metrics.ts file are imported
in a scenario were the API server imports plugins
from a different directory (this issue is coming
from the branch where I'm working on plugin
sandboxing via the live-plugin-manager).

Fixes 1202
Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

feat(cc-tx-viz): added test for multiple
prometheus metrics on fabric

Signed-off-by: Iulia Mihaiu <maramih.2007@yahoo.com>

feat(cc-tx-viz): add metric model

Signed-off-by: Iulia Mihaiu <maramih.2007@yahoo.com>

feat(cc-tx-viz): added croschainEventLog models

Signed-off-by: Iulia Mihaiu <maramih.2007@yahoo.com>

feat(fabric): added endpoint for list of
transaction receipts

Signed-off-by: Iulia Mihaiu <maramih.2007@yahoo.com>

feat(test-tooling): add RabbitMQ test server

feat(cc-tx-viz): add RabbitMQ support; update model

feat(cc-tx-viz): add preliminary support to Fabric
and Besu

build(deps): upgrade axios to latest to fix CVE

Details
CVE-2021-3749
high severity
Vulnerable versions: <= 0.21.1
Patched version: 0.21.2
axios is vulnerable to Inefficient
Regular Expression Complexity

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

feat(cc-tx-viz): add methods to fabric connector

Signed-off-by: Iulia Mihaiu <maramih.2007@yahoo.com>

feat(cc-tx-viz): add metric model

Signed-off-by: Iulia Mihaiu <maramih.2007@yahoo.com>

xfix(cc-tx-viz): error implementation of
IsVisualizable

feat(cc-tx-viz): add methods to fabric and besu;
update models

Signed-off-by: Iulia Mihaiu <maramih.2007@yahoo.com>

feat(cc-tx-viz): update cross chain events
log for fabric transactions

Signed-off-by: Iulia Mihaiu <maramih.2007@yahoo.com>

feat(cctxviz): fix fabric prometheus

feat(cctxviz): fix besu prometheus

feat(cctxviz): fix fabric test

feat(cctxviz): update tx receipt

feat(cctxviz): add test script

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): add test receipts

feat(cctxviz): refactor CrossChainEventLog

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cctxviz): refactor tests

feat(cc-tx-viz): update model, add tests

chore(cc-tx-viz): update dependencies

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cc-tx-viz): persist logs

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cc-tx-viz): update test

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cc-tx-viz): update strinfify to csv

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

chore(cc-tx-viz): add csv folder

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

chore(cc-tx-viz): move csv folder

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cc-tx-viz): add test

feat(cctxviz): add csv file, process mining script

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): proof of concept v1

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

chore(cctxviz): update csv

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

docs(cctxviz): update readme

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): update tests

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): add carbon footprint

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): update tests

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): update model

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(fabric-connector): update default queue

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cctxviz): fabric test

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): add parameters to fabric calls

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): support besu

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): update metrics

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cctxvi): update fabric and besu tests

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cctxviz): besu and fabric

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): support call transactions on fabric

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): add aggregation basis

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): aggregate cctx

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

chore: update yarn and remove package.lock

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): containerize draft

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): add revenue

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): update model playbook

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): add dummy use case playbook

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cctxviz): update persist test and dummy uc

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): add timer

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): workload test

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): add more timers

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): add timer to map on connectors

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): update testing framework

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): vis plot wip

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): evaluate baseline

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): update plots

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cctxviz): add test files

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(cctxviz): update testing framework

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cctxviz): time-efficient polling receipts

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

chore(cctxviz): add test chaincode

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cctxviz): update test

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cctxviz): use case v1

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cctxviz): update test framework

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

build(cc-tx-visualization): added missing fabric-contract-api

This will fix one compilation error.

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

chore(deps): updated yarn.lock after rebase onto upstream/main

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

build(cc-tx-visualization): deleted redundant
test fixtures

Also added the test-tooling package as a dev
dependency which
should fix a few of the compiler errors we were
getting on account
of missing dependencies.

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

fix: resolved build errors for cctxviz branch

- test-tooling package changed that needs to be
reverted before commmit to main branch
- added import statement for test data generation

xfix(cc-tx-viz): error implementation of
IsVisualizable

chore: update yarn and remove package.lock

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cctxviz): testing framework

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cctxviz): test framework

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cctxviz): update framework

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cctxviz): add graphs

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cctxviz): add test

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

fix(cctxviz): fix bug

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

test(cctxviz): add process conformance

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* refactor(cc-tx-visualization): capture transactional data with RxJS

The plugin now utilizes RxJS instead of RabbitMQ in transaction monitoring.
ReplaySubjects store and emit observed transactional data to subscribers.

fix(cc-tx-visualization): rebase latest version

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

squash! - migrate a test case to Fabric v2.5.6 LTS AIO

This is just a snippet of a change from the pair programming
call with Bruno, it can be safely squashed, no worries.

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Signed-off-by: Bruno Mateus <brumat315@gmail.com>

feat(cc-tx-visualization): ccmodel serialization with PM4PY

The plugin now creates the ccmodel for conformance checking with PM4PY.

Signed-off-by: Bruno Mateus <brumat315@gmail.com>

* feat(hephaestus): analyse transactions using hephaestus

The plugin is now able to:
Create a Cross-Chain Model based on monitored transactions
Compare new transactions against the model and detect non-conformance

Signed-off-by: Bruno Mateus <brumat315@gmail.com>

* feat(satp-hermes): add skeleton for stage0

Signed-off-by: eduv09 <eduardovasques10@tecnico.ulisboa.pt>

* test(satp-hermes): add service tests

bug correction

session functionalities

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

feat(satp-hermes): errors file and other fixes

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

feat(satp-hermes): fix packages versions

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* feat(satp-hermes): add gateway client

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* chore(satp-hermes): fix satp build process

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* refactor(satp-hermes): refactor satp-manager

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* fix(satp-hermes): fix handler and service intialization

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(satp-hermes): service errors and some stage bugs

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

feat(satp-hermes): satp rejection

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

feat(satp-hermes): handler bug correction and errors

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

fix(satp-hermes): bridge erros and log messages

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

fix(satp-hermes): some error fixes

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

fix(satp-hermes): some fixes requested

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* test(satp-hermes): add e2e tests

Co-authored-by: eduv09 <eduardovasques10@tecnico.ulisboa.pt>
Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

fix(satp-hermes): error messages in stage0

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

feat(satp-hermes): service tests added stage0 and error handling

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

feat(satp-hermes): test e2e

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

fix(satp-hermes): fix bugs and test e2e working transfer

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

fix(stap-hermes): bugs and 2 gateway test

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* feat(satp-hermes): openApi transact implementation

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* feat(satp-hermes): improve admin endpoints

Signed-off-by: Eduardo Vasques <eduardovasques10@tecnico.ulisboa.pt>

* refactor(cbdc-example): add gateways and contracts

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

refactor(cbdc-example): update with new satp-plugin

Signed-off-by: eduv09 <eduardovasques10@tecnico.ulisboa.pt>

refactor(cbdc-example): fixes

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
<

* refactor(cbdc-app): frontend update and some fixes

Signed-off-by: Eduardo Vasques <eduardovasques10@tecnico.ulisboa.pt>

fix(satp-hermes): bug fixing

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

fix(cbdc-example): bug fixing

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

feat(cbdc): final fixes

Signed-off-by: Eduardo Vasques <eduardovasques10@tecnico.ulisboa.pt>

fix(cbdc-example): remove unecessary variable

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

fix(satp-hermes): remove unessary logs

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

fix(cbdc-example): docker ports

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* docs(example-cbdc): update frontend

* Separated Transfer functionality into local blockchain transfers
and cross-chain transfers
* Added new table with the state of token approvals made to the bridge
* Highlight cross-chain functionality with red coloring
* add helper page with instructions on how to use app

Signed-off-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>

* docs(cbdc-example): remove unused variables and unused code

* Created new Docker Image and updated README.md

Signed-off-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>

* fix(plugin-bungee-hermes): use ledger type from core-api OpenAPI spec

Also fixing a few other bugs which were all necessary to make it work
after a rebase onto upstream/main as of 2024-10-10.

1. The tsconfig.json file in the root did not contain a reference to the
package at `packages/cactus-plugin-ccmodel-hephaestus` so it was being
excluded from the compilation.
2. express version was not up to date with the rest of the monorepo which

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

* build(plugin-satp-hermes): fix solidity lib import paths in satp tests

Import paths were invalid possibly because the files were moved around
within the directory tree and the imports never got updated.

There are still imports which are invalid because of issues with the remix
IDE test library being used but not declared as a dependency. I've opened
a separate issue about fixing those problems here:
#3585

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

* refactor(cbdc-example): use satp SDK

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* feat(satp-hermes): bungee & ethereum bridge

* added logic for satp-bridge supporting the ethereum connector
* finished the integration with bungee
* changed common stringify for safeStableStringify across the package
* added test for the new bridge & end-to-end tests for the new features
* fabric-connector: fix bug handling empty read-write sets
* bungee: strategy fabric fix bug handling empty read-write sets
* bungee: hole package introduce safeStableStringify
* ethereum-connector: bump web3 packages versions to
    fix (web3/web3.js#6798)

Signed-off-by: Eduardo Vasques <eduardovasques10@tecnico.ulisboa.pt>

* feat(satp-hermes): add satp runner

Signed-off-by: Bruno Mateus <brumat315@gmail.com>

refactor(satp-hermes): gateway container image definition with bundler

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

refactor(satp-hermes): merge policies type guard example

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

refactor(satp-hermes): type guards for SATP env variables

Signed-off-by: Bruno Mateus <brumat315@gmail.com>

squash! - peter's fixes for besu connectivity use LAN IP

Instead of hardcoded localhost use the LAN IP of machine so that the
gateway container can access it too.

Why though? Because if you tell the gateway container that it should
access the besu ledger via localhost then it will try to do that through
the container's own localhost, which is different from the host machine's
localhost (where the besu ledger is actually running).

Using the actual IP address of the host machine's primary network interface
resolves the ambiguity between the two differnet localhosts.

Co-authored-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Co-authored-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* feat(satp-hermes): implement API1 endpoints

implement the following endpoints:
healthcheck, get status, get integrations

Signed-off-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* feat: add knex database integration

Co-authored-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>
Signed-off-by: Yogesh01000100 <yogeshone678@gmail.com>

* refactor(satp-hermes): improve test implementation

The commit adds test classes for Besu, Ethereum and Fabric ledger setup.
This provides encapsulated initialization and configuration, improving test
organization and enabling easier code reuse across SATP test files.

Signed-off-by: brunoffmateus <brumat315@gmail.com>

* feat: add proto-definitions and update table structure

Signed-off-by: Yogesh01000100 <yogeshone678@gmail.com>

* refactor(satp-hermes): error handling and grpc upgrade to 2.0.0

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

fix(satp-hermes): fix tests so you can test each test individually

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* feat: add satp logging in all satges

1. Improved SATP client and server stage services with databse logging.
2. Added a new logging file to centralize and simplify log operations.
3. Integrated Knex config into the Gateway.

Signed-off-by: Yogesh01000100 <yogeshone678@gmail.com>

* feat(satp-hermes): implement cacti plugin support

 * changed cbdc example to use cacti api-server
 * added test to test the compatibility
 * TODO: check OAS (detailed comment in main plugin)

Signed-off-by: Eduardo Vasques <eduardovasques10@tecnico.ulisboa.pt>

* chore(satp-hermes): spellcheck

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

fix(satp-dev): spelling

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* fix: add knex config in gateway

1.Integrated knexLocalConfig and knexRemoteConfig into SATPGatewayConfig

Fixes #3665

Signed-off-by: Yogesh01000100 <yogeshone678@gmail.com>

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(cbdc-example): packages versions, db configs

fixes session completion on client,
missing test, missing implementation
to check the last message

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* feat(satp-hermes): add crash recovery

The crash recovery is not production-ready yet.
The rollback protocol has limited support.

1. Implement recovery & rollback using RPC-based message handlers.
2. Add rollback strategies for all SATP stages.
3. Integrate database log management for recovery and rollback.
4. Add cron jobs for scheduled crash detection and recovery initiation.

Authored-by: Yogesh01000100 <yogeshone678@gmail.com>
Co-authored-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>
Co-authored-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* build(plugin-satp-hermes): fix knex file paths

dist/lib/knex/knexfile.ts not under rootDir

1. Moved the typescript knex sources into the appropriate directory to match
the established patterns we use for building the code (./src/main/typescript/)
This fixed the problem of the bundler not finding the knexfile sources.
2. Also refactored the runtime require calls of the knex files to be build-time
import statements instead. This came with the benefit that we no longer require
the linter to be turned off and also that compile time checks are in effect.
In the future if we want to go back to importing the knex files dynamically
we could do so by adding a parameter to the log repository constructor parameter
object which could be holding the path to a knex file to be included at runtime.
(though I would only do this if we have no other choice - by default we should
always thrive to use the compiler and do as much at build time as possible).

Fixes #3708

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

* fix(satp-hermes): fix database setup

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

fix(satp-hermes): update docker image for the new
logging implementation to database and postgres
test case

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* fix(satp): refactor satp network identification (#3725)

* refactor network identification to use both id and ledger type
* cbdc example updated accordingly
* docker tests: published image needs update

Authored-by: Eduardo Vasques <eduardovasques10@tecnico.ulisboa.pt>

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* docs(satp-hermes): update docs

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* chore(satp-hermes): cleanup debug statements

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* fix(satp-hermes): fix tests, generate sdk

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* docs(satp-hermes): readme update and smart contract documentation

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* fix(satp-herms): fix OAPI and lint

refers to #3771

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* ci(satp-hermes): add docker deploy actions

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* chore(satp-hermes): refactor BLO, GOL

BLO -> api1
GOL -> gateway
Other renames
Fixes some lint problems

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* feat(satp-hermes): add oracle (wip)

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(satp-hermes): contract and db test path fix (#3787)

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(satp-hermes): proto lint

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* feat(satp-hermes): add monitoring service

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

refactor(satp-hermes): create service folder

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

feat(satp-hermes): implement monitor service

* fix(satp): check gas usage on satp bridge manager

Signed-off-by: Jorge Santos <jorge.m.santos@tecnico.ulisboa.pt>

* ci(satp-hermes): update satp ci

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(satp-hermes-3801): fix monitoring service

closes #3801
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* docs(satp): review stage 0 docs

closes #3752

Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com>

* fix(satp-hermes): shutdown of satp gateway

Signed-off-by: Joao Pereira <joaop.pereira208@gmail.com>

* fix(satp-hermes): fix protobuf import cycles

resolve proto files import cycles closes #3773 (#3834)

Signed-off-by: Jorge Santos <jorge.m.santos@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(satp-hermes): fix eslint (#3853)

Signed-off-by: Joao Pereira <joaop.pereira208@gmail.com>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(satp): fix log level consistency closes #3743

Signed-off-by: Jorge Santos <jorge.m.santos@tecnico.ulisboa.pt>

* ci(satp-hermes): update satp ci workflows

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* ci(satp-hermes): improve SATP-Hermes CI/CD

- use cache to tag latest
- run unit, integration, and forge tests
- run linting and other checks

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

chore(satp-hermes): update generated abis

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* refactor(satp-dev): bridge deployer (#3890)

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix: yarn (#3897)

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* ci(satp-hermes): fix foundryup

Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com>

* feat(satp-hermes): oracle working with polling and event listening

Signed-off-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>

* fix: besu network and cdbc example

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* fix(satp-hermes): shutdown test (#3909)

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(satp-hermes): fix test (#3911)

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(satp-hermes): fix tests

Signed-off-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>

* feat(satp-hermes): integrated Fabric event listener in oracle

Signed-off-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>

* fix(satp-hermes): fix Ethereum gasConfig

Signed-off-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>

* fix(satp-hermes): fix final satp docker test

Signed-off-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>

fix(satp-hermes): fix lint

Signed-off-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>

fix(satp-hermes): test docker e2e miss config

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

feat(satp-hermes): fix gateway clashing ports in test

Signed-off-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>

* feat(satp-hermes): new docker image and dockerization test for oracle

Signed-off-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>

* chore(satp-hermes): release 0.0.1-beta

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* feat(satp-hermes): remove docker-compose.yml and update docker image

Signed-off-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>

* fix(satp-hermes): get approve address param

Signed-off-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>

* feat(satp-hermes): adding check to ensure polling time is reasonable

Signed-off-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>

* feat(satp-hermes): removed unused pubkeys

Removes unused pub keys of the originator
and beneficiary in the Client Request

Authored-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(satp-hermes): improve error handling

Adds missing try/expect causing unexpected
gateway crash

Removes ABIs and bytecode from the response of
the oracle status endpoint

Authored-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* feat(satp-hermes): add gasConfig in SATP Ethereum Leaf

Signed-off-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>

* feat(satp-hermes): add timestamps to SATP messages

Signed-off-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>

fix(satp-hermes): update networkid

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* ci(satp-hermes): address action lint errors

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* feat(satp-hermes): fix integration,audit endpoints

Authored-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>

Squash with previous commit:

ci(satp-hermes): ci fix (#3896)

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Co-authored-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Co-authored-by:  Rodolfo Carapau <rodolfo.carapau@gmail.com>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* ci(satp-hermes): added CBDC integration test (#3940)

ci(satp-hermes): cdbc

Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* feat(satp-hermes): refactor ERC20 SATP token

Add foundry tests for solidity (#3929)

Signed-off-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(satp-hermes): contract versioning

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(satp-hermes): fix satp image creation

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(satp-hermes): fixed session utils and session hashes (#3951)

fix(satp-hermes): fixed session utils and session hashes

Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* test(satp-hermes): unit tests for the config validators

Signed-off-by: Edson da Veiga <edson.da.veiga@tecnico.ulisboa.pt>

* fix(cdbc-example): remove port binding from db containers (#3956)

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* feat(satp-hermes): gateway monitoring and dashboard

Signed-off-by: Jorge Santos <jorge.m.santos@tecnico.ulisboa.pt>

* test(cdbc-example): create integration tests for the cbdc example

Signed-off-by: Joao Pereira <joaop.pereira208@gmail.com>

* chore: upgrade satp to the new fabric-connector

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* chore: fix dependencies and ci disk usage

Authored-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Co-authored-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* chore: point commit lint to .mjs file explicitely

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* chore: fix DCI lint

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(tests): correct property name for 'forbidNonWhitelisted' test

The unit test for the ValidatorOptions was using an incorrect property
name, 'forbidNonallowlisted', which caused the validation check to be
bypassed. This commit updates the test case to use the correct property
name, 'forbidNonWhitelisted', ensuring that the validation logic is
properly tested.

Signed-off-by: sfilangio01 <filangerivincenzo01@gmail.com>

* chore(husky): run tests in pre-commit instead of commitlint

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* chore(husky): restore standard helper sourcing and npx commitlint

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* test(satp-hermes): add jest reporter to satp-hermes

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* ci: improve linter enforcement

Fixes flagged problems from yarn run lint including
-Fixing typos
-Adding cspell entries

Add yarn run lint to pre commit hooks

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* ci: add test reporter to SATP CI

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* ci(satp-hermes): improve satp-hermes ci performance

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* chore(security): remove unused dependencies

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(satp-hermes): update linter config

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* chore: fix disk space

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* ci(satp-hermes): update satp-hermes test stages

Allow set-docker-tags and build-satp-docker to run for pull_request
targets (main/satp-dev/satp-stg).

Build Docker images in PRs for CI/cache, but gate registry logins and
pushes to real push events (push: ${{ github.event_name == 'push' }}).

Add if: always() to JUnit and coverage upload steps so test artifacts
are published even when tests fail.

Mark test-aggregator as continue-on-error: true to make aggregated
failures informational and allow maintainers to merge.

Add detailed process documentation header explaining triggers,
job flow, conditions, secrets and artifacts.

Introduce YAML anchors for reusable condition expressions and replace
verbose if: blocks with aliases.

Fix YAML/indentation issues and make coverage upload guards robust.

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* chore(ci): use larger runner

Signed-off-by: Ry Jones <ry@linux.com>

* ci(satp-hermes): add cacti-large runner

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* feat(satp): define and implement prometheus metrics in satp-hermes

Signed-off-by: Jorge Santos <jorge.m.santos@tecnico.ulisboa.pt>

* ci(satp-hermes): fix SATP-CI

fixes hepheastus package postinstall

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

ci: fix large ci runners

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

ci(satp-hermes): fix tests and docker stages

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

ci(satp-hermes): modularize satp jobs

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

ci: fix custom checks

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

fix(test-tooling): prevent Docker image removal conflicts in CI

Add container cleanup logic before image removal in pruneDockerResources()
to prevent "conflict: unable to delete image - image is being used by
running container" errors in CI jobs.

Changes:
- Stop running containers gracefully with 30-second timeout
- Force remove all containers before attempting image deletion
- Add NodeJS flag --max-old-space-size=8192 to CI jobs to prevent
  "JavaScript heap out of memory" errors

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

ci: squash! fix ci

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

ci: make yarn tools validate bundle optional

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

ci: fix ci

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* fix(satp): quick fix to include environment variables in the monitor url

Signed-off-by: Jorge Santos <jorge.m.santos@tecnico.ulisboa.pt>

* fix(satp-hermes): fixed parameter names for OpenAPI spec method get-approve-address

The implementation of the SATP gateway expects a different set of parameter names - they have to be prefixed with `networkId`.

Signed-off-by: Robin Huiser <rhuiser@users.noreply.github.com>

* feat(satp-hermes): enable configuration of OTEL service name

When running multiple functional instances of the SATP Gateway
(one gateway for network 1, one gateway for network 2) you need for each
 instance a unique OTEL service name to keep logging,
 traces and metrics separated.

As per the documentation here:

https://opentelemetry.io/docs/specs/otel/configuration

...I have used the standard environment variable OTEL_SERVICE_NAME
to allow for this.

Signed-off-by: Robin Huiser <rhuiser@users.noreply.github.com>

* chore(stap-hermes): docker logs to be also in the terminal logs

Signed-off-by: Tomás Silva <tomas.v.silva@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* feat(satp-hermes): add instructions to create cacti packages

Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* ci(squash): fix ci

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

ci(squash): fix ci

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

ci(squash): fix ci

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

ci(squash): fix ci

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

ci(squash): fix ci

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* chore(satp-hermes): version 0.0.2-beta release

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* ci(satp-hermes): fix docker image and ci

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

ci(satp-hermes): fix docker image and ci

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

ci(satp-hermes): fix docker ci and image

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* ci(satp-hermes): docker build fix

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* ci(satp-hermes): fix

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* fix(satp): fixed client sessiondata for monitoring

Signed-off-by: Jorge Santos <jorge.m.santos@tecnico.ulisboa.pt>

* ci(satp-hermes): cache yarn.lock

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* ci(satp-hermes): docker ci

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* fix(satp-hermes): ipfs verion to v2.1.0

Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>

* fix(satp): fixed error recording for traces

Signed-off-by: Jorge Santos <jorge.m.santos@tecnico.ulisboa.pt>

* feat(satp-hermes): fixed yarn codegen

Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com>

* fix(satp): fix for errorType in api tests

Signed-off-by: Tomás Silva <tomas.v.silva@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

* chore(satp-hermes): version 0.0.3-beta release

Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>

---------

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Signed-off-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>
Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Signed-off-by: Rafael Belchior <rbelchior@blockdaemon.com>
Signed-off-by: Bruno Mateus <brumat315@gmail.com>
Signed-off-by: eduv09 <eduardovasques10@tecnico.ulisboa.pt>
Signed-off-by: Eduardo Vasques <eduardovasques10@tecnico.ulisboa.pt>
Signed-off-by: Yogesh01000100 <yogeshone678@gmail.com>
Signed-off-by: brunoffmateus <brumat315@gmail.com>
Signed-off-by: Jorge Santos <jorge.m.santos@tecnico.ulisboa.pt>
Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com>
Signed-off-by: Joao Pereira <joaop.pereira208@gmail.com>
Signed-off-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt>
Signed-off-by: Edson da Veiga <edson.da.veiga@tecnico.ulisboa.pt>
Signed-off-by: sfilangio01 <filangerivincenzo01@gmail.com>
Signed-off-by: Ry Jones <ry@linux.com>
Signed-off-by: Robin Huiser <rhuiser@users.noreply.github.com>
Signed-off-by: Tomás Silva <tomas.v.silva@tecnico.ulisboa.pt>
Co-authored-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>
Co-authored-by: Carlos Amaro <64661289+LordKubaya@users.noreply.github.com>
Co-authored-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
Co-authored-by: Iulia Mihaiu <maramih.2007@yahoo.com>
Co-authored-by: Bruno Mateus <brumat315@gmail.com>
Co-authored-by: eduv09 <eduardovasques10@tecnico.ulisboa.pt>
Co-authored-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Co-authored-by: Yogesh01000100 <yogeshone678@gmail.com>
Co-authored-by: eduv09 <61276055+eduv09@users.noreply.github.com>
Co-authored-by: Jorge Santos <jorge.m.santos@tecnico.ulisboa.pt>
Co-authored-by: Rodolfo Carapau <rodolfo.carapau@gmail.com>
Co-authored-by: Joao Pereira <joaop.pereira208@gmail.com>
Co-authored-by: Jorge Santos <95963712+JJSantos22@users.noreply.github.com>
Co-authored-by: João Pereira <48735611+joaoecsde@users.noreply.github.com>
Co-authored-by: rodolfo_carapau <63309891+pandaio22@users.noreply.github.com>
Co-authored-by: André Augusto <45052703+AndreAugusto11@users.noreply.github.com>
Co-authored-by: Edson da Veiga <edson.da.veiga@tecnico.ulisboa.pt>
Co-authored-by: sfilangio01 <filangerivincenzo01@gmail.com>
Co-authored-by: Ry Jones <ry@linux.com>
Co-authored-by: Robin Huiser <rhuiser@users.noreply.github.com>
Co-authored-by: Tomas Silva <tomas.v.silva@tecnico.ulisboa.pt>

weaver/sdks/fabric/go-sdk/v2.1.0

Toggle weaver/sdks/fabric/go-sdk/v2.1.0's commit message

Verified

This commit was signed with the committer’s verified signature.
petermetz Peter Metz
chore(release): publish v2.1.0

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

weaver/core/network/fabric-interop-cc/libs/utils/v2.1.0

Toggle weaver/core/network/fabric-interop-cc/libs/utils/v2.1.0's commit message

Verified

This commit was signed with the committer’s verified signature.
petermetz Peter Metz
chore(release): publish v2.1.0

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

weaver/core/network/fabric-interop-cc/libs/assetexchange/v2.1.0

Toggle weaver/core/network/fabric-interop-cc/libs/assetexchange/v2.1.0's commit message

Verified

This commit was signed with the committer’s verified signature.
petermetz Peter Metz
chore(release): publish v2.1.0

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

weaver/core/network/fabric-interop-cc/interfaces/asset-mgmt/v2.1.0

Toggle weaver/core/network/fabric-interop-cc/interfaces/asset-mgmt/v2.1.0's commit message

Verified

This commit was signed with the committer’s verified signature.
petermetz Peter Metz
chore(release): publish v2.1.0

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

weaver/core/network/fabric-interop-cc/contracts/interop/v2.1.0

Toggle weaver/core/network/fabric-interop-cc/contracts/interop/v2.1.0's commit message

Verified

This commit was signed with the committer’s verified signature.
petermetz Peter Metz
chore(release): publish v2.1.0

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

weaver/common/protos-go/v2.1.0

Toggle weaver/common/protos-go/v2.1.0's commit message

Verified

This commit was signed with the committer’s verified signature.
petermetz Peter Metz
chore(release): publish v2.1.0

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>

Verified

This tag was signed with the committer’s verified signature.
petermetz Peter Metz

Verified

This tag was signed with the committer’s verified signature.
petermetz Peter Metz

weaver/sdks/fabric/go-sdk/v2.0.0-rc.7

Toggle weaver/sdks/fabric/go-sdk/v2.0.0-rc.7's commit message

Verified

This commit was signed with the committer’s verified signature.
petermetz Peter Metz
chore(release): publish v2.0.0-rc.7

Hot-fixing the automatic release issuance workflow for npm packages yet again.
The previous fix is still believed to bo correct conceptually, there was just
a silly mistake of the mixing up of the ghcr vs npm tokens in the environment
variables that get populated from the secrets.

Fixes #451

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载