Repository navigation
docs: design document for Updates - #242
paullatzelsperger wants to merge 2 commits into
Conversation
|
Thanks for putting this together. It gives us a good base. The distinct orchestration type, the Two goals we should aim for:
Adjustments
The sections below describe how this would work. If you see a problem with any of it, let's discuss here or on a call. Flow
Update orchestration type in the templateAn orchestration template maps each orchestration type to a list of activities. The update type is a third key, {
"id": "example-template",
"description": "Participant deployment, disposal, and update",
"activities": {
"cfm.orchestration.vpa.deploy": [
{ "id": "register", "type": "registration-activity", "dependsOn": [] },
{ "id": "connector", "type": "edcv-activity", "dependsOn": [] },
{ "id": "onboard", "type": "onboarding-activity", "dependsOn": ["register"] }
],
"cfm.orchestration.vpa.dispose": [
{ "id": "offboard", "type": "onboarding-activity", "dependsOn": [] },
{ "id": "connector-cleanup", "type": "edcv-activity", "dependsOn": [] },
{ "id": "deregister", "type": "registration-activity", "dependsOn": ["offboard"] }
],
"cfm.orchestration.vpa.update": [
{ "id": "holder-update", "type": "registration-activity", "dependsOn": [] },
{ "id": "connector-update", "type": "edcv-activity", "dependsOn": [] },
{ "id": "credentials-update", "type": "onboarding-activity", "dependsOn": ["holder-update"] }
]
}
}
Request formatEvery map uses the existing tenant diff ( {
"properties": { "contact": "ops@acme.example" },
"removed": ["oldKey"],
"participantRoles": {
"properties": { "profile-1": ["supplier", "manufacturer"] },
"removed": ["profile-2"]
},
"vpaProperties": {
"cfm.issuer": {
"properties": { "legalName": "ACME Corp" },
"removed": ["formerKey"]
},
"cfm.connector": {
"properties": { "config.edc.example.setting": "value" },
"removed": ["config.edc.old.setting"]
}
},
"dataspaceProfileIds": {
"added": ["profile-3"],
"removed": ["profile-2"]
}
}
Rules
|
This PR adds a design document for Update activities