bcgov / von

Verifiable Organizations Network
https://digital.gov.bc.ca/digital-trust
Other
51 stars 22 forks source link

Migrate demo apps to Sovrin StagingNet #341

Closed esune closed 4 years ago

esune commented 4 years ago

To promote interoperability and collaboration with the Hyperledger Indy community, we decide to migrate our demo applications from BCovrin Test to Sovrin StagingNet.

In general, registering the existing agents on StagingNet and switching them to point to the new ledger should be enough.

Notes:

Plan of Attack

prod environments and services will initially be registered with Sovrin StagingNet and will eventually be registered with Sovrin MainNet once the services transition to full production mode.

The vc-authn-oidc instances in the TrustOverIP environment(s) will be used to replace the single vc-authn-oidc instance in devex-von-prod.

Agent wallets can be reset, as all schemas and cred-defs will be reissued on the new ledger. Existing Seeds and DIDs will be retained.

Migrate exiting TrustOverIP services to Sovrin StagingNet

Migrate the Essential Services Delivery Demo Apps to Sovrin StagingNet

Essential Services Delivery Demo instances will be configured to use the TrustOverIP vc-authn-oidc instances.

Migrate the Identity Kit Demo Agents to Sovrin StagingNet

Identity Kit Demo Agents instances will be configured to use the TrustOverIP vc-authn-oidc instances.

Migrate the Email Verification Service and ConfBook Demo Apps to Sovrin StagingNet

swcurran commented 4 years ago

In addition to the technical updates, a number of documents in a variety of repos will need to be updated to change the references from test.bcovrin... to something appropriate for the new ledger being used.

WadeBarnes commented 4 years ago

We have a full set of vc-authn-oidc instances (dev, test, prod) in the TrustOverIP environments. Should we just migrate everything over to those? We could wire dev and test to Sovrin StagingNet, and when the time comes prod to Sovrin MainNet.

WadeBarnes commented 4 years ago

@esune, Other than the dependency on a vc-authn-oidc, the Essential Services Delivery instances are self contained; correct?

WadeBarnes commented 4 years ago

Wallets will need to be reset

WadeBarnes commented 4 years ago

@esune, Where are we currently hosting instances of vc-authn-oidc, and what services are registered with each?

esune commented 4 years ago

@WadeBarnes as discussed in person, we only have one instance of vc-authn-oidc in devex-von-prod. The idea will be to switch to using the instances in the ToIP namespaces and get rid of the old one.

esune commented 4 years ago

A new PR has been opened with the changes required by the issuer services in to use the new vc-authn-controller instances.

The settings for the visual-verifier instances have been updated as well: a redeploy is required for changes to be effective.

All the proof-configurations have been posted to the appropriate vc-authn-controller instances and so that they will be ready to go once the new issuer services are deployed.

Assumptions made:

If any of the above is not true, additional tweaks will be required for the settings to match the environments and work correctly.

WadeBarnes commented 4 years ago

@esune, the above assumptions are correct.

esune commented 4 years ago

All services successfully migrated to StagingNet

WadeBarnes commented 4 years ago

All environments have been tested.