Skip to content

Commit ea1d7d3

Browse files
authored
Devcointainer and docs update (openwallet-foundation#3629)
1 parent 4b79670 commit ea1d7d3

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
"enable": true
4040
},
4141
"ruff.fixAll": true,
42-
"ruff.format.args": ["--config=./pyproject.toml"],
43-
"ruff.lint.args": ["--config=./pyproject.toml"]
42+
"ruff.configuration": "~/.config/pyproject.toml"
4443
}
4544
}
4645
},

docs/deploying/AnoncredsControllerMigration.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ to
653653

654654
The upgrade endpoint is at **POST /anoncreds/wallet/upgrade**.
655655

656-
You need to be careful doing this, as there is no way to downgrade the wallet. It is recommended highly recommended to back-up any wallets and to test the upgrade in a development environment before upgrading a production wallet.
656+
You need to be careful doing this, as there is no way to downgrade the wallet. It is highly recommended to back-up any wallets and to test the upgrade in a development environment before upgrading a production wallet.
657657

658658
Params: `wallet_name` is the name of the wallet to upgrade. Used to prevent accidental upgrades.
659659

@@ -670,6 +670,8 @@ The agent will get a 503 error during the upgrade process. Any agent instance wi
670670

671671
The aca-py agent will work after the restart. However, it will receive a warning for having the wrong wallet type configured. It is recommended to change the `wallet-type` to `askar-anoncreds` in the agent configuration file or start-up command.
672672

673+
**Note:** when in a multitenant mode, it is recommended to upgrade the admin wallet *before* the sub-wallets, as this will ensire new sub-wallets will be created using the `askar-anoncreds` wallet type. In order to invoke the upgrade endpoint for the admin wallet, the path `/anoncreds/wallet/upgrade` muse be "enabled" by adding it to the `base-wallet-paths` setting.
674+
673675
### Subwallet (tenant) in multitenancy mode
674676

675-
The sub-tenant which is in the process of being upgraded will get a 503 error during the upgrade process. All other sub-tenants will continue to operate normally. After the upgrade is complete the sub-tenant will be able to use the new endpoints. The old endpoints will no longer be available and result in a 403 error. Any aca-py agents will remain running after the upgrade and it's not required that the aca-py agent restarts.
677+
The sub-tenant which is in the process of being upgraded will get a 503 error during the upgrade process. All other sub-tenants will continue to operate normally. After the upgrade is complete the sub-tenant will be able to use the new endpoints. The old endpoints will no longer be available and result in a 403 error. Any aca-py agents will remain running after the upgrade and it's not required that the aca-py agent restarts.

0 commit comments

Comments
 (0)