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(indy-sdk): replace indy SDK with AFJ #2861

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

outSH
Copy link
Contributor

@outSH outSH commented Nov 3, 2023

  • Refactor test ledger indy-testnet into indy-all-in-one. New package uses
    the latest indy version, has healtcheck script, updated startup / cleanup
    scripts.
  • Remove indy-sdk-cli image since it's not used anymore.
  • Refactor cactus-example-discounted-asset-trade to use own aries agent
    instead of indy connector. This way it doesn't need to use indy-sdk anymore,
    and python indy connector can be safely removed / upgraded.
  • Update sample app readme to explain current workflow.
  • Remove client scripts since cactus-example-discounted-asset-trade-client
    can now be used to interact with the sample app.
  • Add cactus-example-discounted-asset-trade-client. It contains script for
    setting up test credentials on the ledger, script with interactive menu for
    interacting with cactus-example-discounted-asset-trade sample app,
    and bunch of helper functions used for writing these apps.

Depends on #2859
Depends on #2860

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

Pull Request Requirements

  • Rebased onto upstream/main branch and squashed into single commit to help maintainers review it more efficient and to avoid spaghetti git commit graphs that obfuscate which commit did exactly what change, when and, why.
  • Have git sign off at the end of commit message to avoid being marked red. You can add -s flag when using git commit command. You may refer to this link for more information.
  • Follow the Commit Linting specification. You may refer to this link for more information.

Character Limit

  • Pull Request Title and Commit Subject must not exceed 72 characters (including spaces and special characters).
  • Commit Message per line must not exceed 80 characters (including spaces and special characters).

A Must Read for Beginners
For rebasing and squashing, here's a must read guide for beginners.

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 LGTM but please resolve the merge conflicts (fine to do it later when the parent PRs are merged)

outSH added a commit to outSH/cactus that referenced this pull request Dec 11, 2023
- Add `IndyTestLedger` class to setup test indy ledger for testing purposes.
- Add functional tests for new test ledger class.
- Minor fix in cleaning up sample indy test ledger.

Depends on hyperledger-cacti#2861

Signed-off-by: Michal Bajer <[email protected]>
Copy link

This PR/issue depends on:

  • hyperledger/cacti#2859
  • hyperledger/cacti#2860
    By Dependent Issues (🤖). Happy coding!

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.

LGTM

Copy link
Contributor

@jagpreetsinghsasan jagpreetsinghsasan left a comment

Choose a reason for hiding this comment

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

LGTM (much needed feature as Indy SDK just doesn't setup in my environment)
(Already approved by Peter, thus skipping on approving it)

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

@outSH outSH enabled auto-merge (rebase) January 19, 2024 11:31
@outSH outSH force-pushed the remove_indy_sdk_pr branch 3 times, most recently from 1b8a11c to 5010f4d Compare January 19, 2024 11:35
- Refactor test ledger `indy-testnet` into `indy-all-in-one`. New package uses
    the latest indy version, has healtcheck script, updated startup / cleanup
    scripts.
- Remove `indy-sdk-cli` image since it's not used anymore.
- Refactor `cactus-example-discounted-asset-trade` to use own aries agent
    instead of indy connector. This way it doesn't need to use indy-sdk anymore,
    and python indy connector can be safely removed / upgraded.
- Update sample app readme to explain current workflow.
- Remove client scripts since `cactus-example-discounted-asset-trade-client`
    can now be used to interact with the sample app.
- Add `cactus-example-discounted-asset-trade-client`. It contains script for
    setting up test credentials on the ledger, script with interactive menu for
    interacting with `cactus-example-discounted-asset-trade` sample app,
    and bunch of helper functions used for writing these apps.

Depends on hyperledger-cacti#2859
Depends on hyperledger-cacti#2860

Signed-off-by: Michal Bajer <[email protected]>
@outSH outSH merged commit 3291dcc into hyperledger-cacti:main Jan 19, 2024
130 of 147 checks passed
petermetz added a commit to outSH/cactus that referenced this pull request Jan 21, 2024
- Add `IndyTestLedger` class to setup test indy ledger for testing purposes.
- Add functional tests for new test ledger class.
- Minor fix in cleaning up sample indy test ledger.

Peter's changes:
1. Rebased onto upstream/main as of 2024-01-21 which was a bit of a
challenge on account of this  being quite old (110 commits behind)
2. Meaning that there's a chance that I messed up some of the conflict
resolutions in a way that is sub-optimal, please forgive if this is the
case!

Depends on hyperledger-cacti#2861

Co-authored-by: Peter Somogyvari <[email protected]>

Signed-off-by: Michal Bajer <[email protected]>
Signed-off-by: Peter Somogyvari <[email protected]>
petermetz added a commit that referenced this pull request Jan 21, 2024
- Add `IndyTestLedger` class to setup test indy ledger for testing purposes.
- Add functional tests for new test ledger class.
- Minor fix in cleaning up sample indy test ledger.

Peter's changes:
1. Rebased onto upstream/main as of 2024-01-21 which was a bit of a
challenge on account of this  being quite old (110 commits behind)
2. Meaning that there's a chance that I messed up some of the conflict
resolutions in a way that is sub-optimal, please forgive if this is the
case!

Depends on #2861

Co-authored-by: Peter Somogyvari <[email protected]>

Signed-off-by: Michal Bajer <[email protected]>
Signed-off-by: Peter Somogyvari <[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.

4 participants