-
Notifications
You must be signed in to change notification settings - Fork 516
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
Allow Configuration Settings on a per-tenant basis #2233
Allow Configuration Settings on a per-tenant basis #2233
Conversation
Thanks, @shaangill025 — let us know about the test failures and we’ll look at moving this forward. |
585ccc4
to
ac47f88
Compare
@swcurran I have added the documentation, this PR is ready for review. |
The goal was to get this into 0.8.2, but since the developer has not been available to work on this, it may not make it. |
47dfadc
to
afddec6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not test the multiledger portion of this, just the tenant extra settings.
This is probably up for discussion. Should this (tenant extra settings) be a plugin?
In any case, what is missing is the tenant managing their settings. Currently, the base wallet/admin is the one creating the settings and updating them. A tenant/sub-wallet cannot access the /multitenancy
APIs. I think the current changes can stay, but we should have another API /settings
(?) that requires a tenant/sub-wallet token and they can manage those settings.
Tagging @loneil so the Traction team can review and chime in.
2ff2c47
to
daa33ed
Compare
@usingtechnology The requested changes have been added. |
@shaangill025 - I would expect the tenant Also, sorry if I wasn't really clear. The config/arg_parse is pretty confusing. That secondary mapping I was thinking about would match what someone puts into config.yml, so it's generally the dash separated key. Like |
Signed-off-by: Shaanjot Gill <[email protected]>
Signed-off-by: Shaanjot Gill <[email protected]>
Signed-off-by: Shaanjot Gill <[email protected]>
Signed-off-by: Shaanjot Gill <[email protected]>
Signed-off-by: Shaanjot Gill <[email protected]>
Signed-off-by: Shaanjot Gill <[email protected]>
Signed-off-by: Shaanjot Gill <[email protected]>
Signed-off-by: Shaanjot Gill <[email protected]>
Signed-off-by: Shaanjot Gill <[email protected]>
61aa8f4
to
0b52306
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, I haven't tested the ledger/indy_vdr changes, but the per tenant settings is almost ready to go. One simple change for the update API response.
Signed-off-by: Shaanjot Gill <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work @shaangill025
Signed-off-by: Shaanjot Gill <[email protected]>
Signed-off-by: Shaanjot Gill <[email protected]>
Kudos, SonarCloud Quality Gate passed! |
BaseLedger
instance fromledger_id
won't be used right now but will be used soon with some proposed Traction features.