title vsw publish

actor #green Alice
fontawesome f120 vsw #green
fontawesome f085 vsw Agent #lightgreen
fontawesome f085 repo Agent #lightblue
fontawesome f1c0 repo #blue

activate repo Agent #lightblue
activate repo #blue
activate vsw Agent #lightgreen
Alice->vsw:vsw publish
activate vsw #green
box over vsw:Generate credential\nfrom package config file
vsw->vsw Agent:POST /issue-credential/send-offer
vsw Agent->>repo Agent:
repo Agent->repo:POST /webhooks/topic/issue_credential
repo->repo Agent:POST /issue-credential/\n  records/xxx/send-request
repo Agent->>vsw Agent:
vsw Agent->vsw:POST /webhooks/topic/issue_credential
vsw->vsw Agent:POST /issue-credential/records/xxx/issue
vsw Agent->>repo Agent:
repo Agent->>vsw Agent:
parallel
repo Agent->repo:POST /webhooks/topic/issue_credential
vsw Agent->vsw:POST /webhooks/topic/issue_credential
parallel off
parallel
repo->repo Agent:GET /credential/yyy
vsw-->Alice:success
parallel off
deactivate vsw
repo Agent-->repo:credential