Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cactus-plugin-ledger-connector-fabric-socketio): remove fabric-socketio connector #2645

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

outSH
Copy link
Contributor

@outSH outSH commented Aug 29, 2023

  • Remove cactus-plugin-ledger-connector-fabric-socketio connector.
  • Refactor discounted cartrade sample to use openapi fabric connector instead of fabric-socketio.
    Sample app will use delegated signing, similar to offline signing in old connector.
  • Remove dead code from cmd-socketio-server
  • Update fabric SDK to 2.X in all cacti projects, refactor code that use it where necessary.
    Only exception is fabric persistence plugin which uses fabric SDK as dev dependency (for tests).
    It can be updated in separate PR later on.

Depends on #2644

Closes #302

Signed-off-by: Michal Bajer [email protected]

@gitguardian
Copy link

gitguardian bot commented Aug 29, 2023

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id Secret Commit Filename
- Generic Private Key 50f6ce5 packages/cactus-plugin-ledger-connector-fabric-socketio/src/test/typescript/unit-test/validatorDriver_signTransactionOffline.ts View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

Copy link
Contributor

@petermetz petermetz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@outSH the last commit LGTM but please pass it back for review again once the parent PRs have been merged and there's only the one commit left in this PR after the rebase & conflict resolution.

outSH added a commit to outSH/cactus that referenced this pull request Sep 28, 2023
…nector

- Refactor discounted asset trade sample to use openapi ethereum connector instead
    of ethereum-socketio.
- Sample still uses offline signing from cmd-socketio-server

Depends on: hyperledger-cacti#2645
Copy link
Contributor

@izuru0 izuru0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link

This PR/issue depends on:

…ocketio connector

- Remove cactus-plugin-ledger-connector-fabric-socketio connector.
- Refactor discounted cartrade sample to use openapi fabric connector instead of fabric-socketio.
    Sample app will use delegated signing, similar to offline signing in old connector.
- Remove dead code from cmd-socketio-server
- Update fabric SDK to 2.X in all cacti projects, refactor code that use it where necessary.
    Only exception is fabric persistence plugin which uses fabric SDK as dev dependency (for tests).
    It can be updated in separate PR later on.

Depends on: hyperledger-cacti#2644

Signed-off-by: Michal Bajer <[email protected]>
@petermetz petermetz merged commit 704e201 into hyperledger-cacti:main Oct 12, 2023
104 of 134 checks passed
outSH added a commit to outSH/cactus that referenced this pull request Oct 17, 2023
…nector

- Refactor discounted asset trade sample to use openapi ethereum connector
    instead of ethereum-socketio.
- Use eth signing utils from ethereum connector package.
- Fix nodejs setup in indy-sdk-cli docker image.
- Small fixes after recent ethereum connector refactors.

Depends on: hyperledger-cacti#2645

Signed-off-by: Michal Bajer <[email protected]>
petermetz pushed a commit to outSH/cactus that referenced this pull request Oct 17, 2023
…nector

- Refactor discounted asset trade sample to use openapi ethereum connector
    instead of ethereum-socketio.
- Use eth signing utils from ethereum connector package.
- Fix nodejs setup in indy-sdk-cli docker image.
- Small fixes after recent ethereum connector refactors.

Depends on: hyperledger-cacti#2645

Signed-off-by: Michal Bajer <[email protected]>
petermetz pushed a commit that referenced this pull request Oct 17, 2023
…nector

- Refactor discounted asset trade sample to use openapi ethereum connector
    instead of ethereum-socketio.
- Use eth signing utils from ethereum connector package.
- Fix nodejs setup in indy-sdk-cli docker image.
- Small fixes after recent ethereum connector refactors.

Depends on: #2645

Signed-off-by: Michal Bajer <[email protected]>
sandeepnRES pushed a commit to sandeepnRES/cacti that referenced this pull request Dec 21, 2023
…nector

- Refactor discounted asset trade sample to use openapi ethereum connector
    instead of ethereum-socketio.
- Use eth signing utils from ethereum connector package.
- Fix nodejs setup in indy-sdk-cli docker image.
- Small fixes after recent ethereum connector refactors.

Depends on: hyperledger-cacti#2645

Signed-off-by: Michal Bajer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refactor(ledger-connector-fabric): upgrade to compatible with Validator implementation
3 participants