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

Set default endorser in helm value #1376

Closed
loneil opened this issue Oct 3, 2024 · 6 comments
Closed

Set default endorser in helm value #1376

loneil opened this issue Oct 3, 2024 · 6 comments
Assignees

Comments

@loneil
Copy link
Contributor

loneil commented Oct 3, 2024

In values.yaml the ledger/endorser default setup is

  ## Acapy multiledger configuration file
  ## @param acapy.ledgers.yml [object] YAML configuration for connecting to multiple HyperLedger
  ##
  ledgers.yml:
    - id: bcovrin-test
      is_production: true
      is_write: true
      genesis_url: "http://test.bcovrin.vonx.io/genesis"
      endorser_did: "Ket75eV5UQvVkW2XBjgDH7"
      endorser_alias: "bcovrin-test-endorser"

Ket75eV5UQvVkW2XBjgDH7 is not a valid endorser any more (was the old one in tools).

Should set this to one that can be used? I think? Is it ok for us to put the DID for our auto-everything sandbox bcovrin-test endorser in here as default config? cc @esune

@esune
Copy link
Member

esune commented Oct 4, 2024

+1 to using the automated endorser on BCovrin test for the default chart

@H4LL
Copy link
Contributor

H4LL commented Oct 6, 2024

Hey, I'm trying to run through an end to end demo. I'm debugging why the scheme creation isn't working and I suspect this issue is the culprit.

Screenshot 2024-10-06 at 7 42 50 PM

Does anyone have a workaround for this in the meantime? Also, I'm wondering if there is a forum where I can ask general questions like this about traction (like Linux Foundation Decentralised Trust on Discord).

@loneil
Copy link
Contributor Author

loneil commented Oct 7, 2024

Hey, I'm trying to run through an end to end demo. I'm debugging why the scheme creation isn't working and I suspect this issue is the culprit.

Screenshot 2024-10-06 at 7 42 50 PM Does anyone have a workaround for this in the meantime? Also, I'm wondering if there is a forum where I can ask general questions like this about traction (like Linux Foundation Decentralised Trust on Discord).

If running locally with docker then this issue wouldn't be releated as this applies to the Helm charts for deploying to Kubernetes, and which cloud-hosted Endorser would be default for attempting connections.

The local docker setup, if running the compose script up, will stand up a local endorser and the Traction (ACA-Py) agent is set to allow connections to that local endorser.

If that screenshot there is from running the Tenant UI, then that 404 on the Endorser Connection (if indeed running locally) would be expected (maybe we should not have it console error for this reason...) and schema creation or other ledger write operations would not be able to proceed until the Endorser allows it. On local docker this is all set up to auto allow writes but the Endorser connection and DID registration are required for each tennat before that can go on

Locally, you should be able to connect to the Endorser and set the write ledger through the Tenant UI in Profile. The step 4 in this Lab 1 https://aca-py.org/latest/demo/Aries-Workshop/#lab-1-steps-to-follow describes those steps.

(There's also the "Make Tenant an Issuer" video here https://github.com/bcgov/traction/blob/main/docs/USE-CASE-ONBOARD.md#make-teanant-an-issuer but I need to re-record that as the UI has changed since then, but the general concept in the Tenant UI is the same)

@H4LL
Copy link
Contributor

H4LL commented Oct 7, 2024

Hey, thanks for the response! I appreciate it. I have actually went through the make tenant an issuer phase. I can write credentials to the ledger using pre-written schemes but it seems not schemes. The 'Create Scheme' button is allowed and I can go through the menu but there is no visible action after I press the button to create.

Screenshot 2024-10-07 at 1 14 27 PM Screenshot 2024-10-07 at 1 23 17 PM

I actually hadn't seen that Aries workshop and I've been messing around with Bifold too so that will be incredibly useful as a precedent for them working together. At the moment though I'm trying to run through this with Alice and Bob as tenants where Alice is issuing credentials to Bob and then Bob is verifying via the tenant UI. Is that currently possible through the UI? I don't seem to have any option to respond to the verification for my previously issued credential request as Bob:

Screenshot 2024-10-07 at 1 29 49 PM Screenshot 2024-10-07 at 1 28 27 PM Screenshot 2024-10-07 at 1 28 07 PM

I appreciate this may not be the forum for this. If you think it's worthwhile I can make an issue for it. It'd also be great to know if theres a more appropriate place I can take questions like this to.

Thanks again!

@loneil
Copy link
Contributor Author

loneil commented Oct 8, 2024

Hi @H4LL no prob. I think I see the issue for schemas, if it's just that nothing happens when the button is clicked it's just a frontend validation problem

image

schema versions must be in the form of X.X or X.X.X for Aries, so you'd want to put something like 1.0.0 there. This should be validated on the UI and tell you that but something appears to have recently broken on that screen... I'll fix that up shortly (tracking here #1382). Thanks for finding!

I actually hadn't seen that Aries workshop and I've been messing around with Bifold too so that will be incredibly useful as a precedent for them working together. At the moment though I'm trying to run through this with Alice and Bob as tenants where Alice is issuing credentials to Bob and then Bob is verifying via the tenant UI. Is that currently possible through the UI? I don't seem to have any option to respond to the verification for my previously issued credential request as Bob:

This feature isn't in the Tenant UI yet, if it's a use case that could be useful then yeah creating an issue in this repo to request it would be great.

@loneil
Copy link
Contributor Author

loneil commented Oct 10, 2024

@H4LL for discussion places

Also, I'm wondering if there is a forum where I can ask general questions like this about traction (like Linux Foundation Decentralised Trust on Discord).

We talked about this internally the other day and since Traction is built on top of ACA-Py, and the Traction maintainers are active in the ACA-Py community then questions could be posed on that Discord. Note ACA-Py is (at this exact time) moving from the Linix Foundation Decentralized Trust to the OpenWallet Foundation, so some communication platforms are just getting set up now. The link to the OWF Discord can be found here: https://github.com/openwallet-foundation/acapy?tab=readme-ov-file#troubleshooting

@loneil loneil self-assigned this Oct 10, 2024
@loneil loneil moved this to In Review in CDT Enterprise Apps Oct 10, 2024
@esune esune moved this from In Review to Complete in CDT Enterprise Apps Oct 15, 2024
@loneil loneil closed this as completed Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants