Skip to content

Commit

Permalink
Adapt activation test example snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Wendland committed Mar 27, 2024
1 parent d691d6a commit 145aea2
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions aws/dsba/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,8 @@ curl -iX POST 'http://localhost:1026/ngsi-ld/v1/entities' \
```

To test activating the PacketDeliveryService for a new participant, without acquisition at the marketplace, following command can be adapted and executed
on the PDC TIL:
on the PDC TIL (in this example, allowing the `did:web:ips.dsba.aws.fiware.io:did` organisation to issue VCs of type `PacketDeliveryService` and assign
roles `STANDARD_CUSTOMER` and/or `GOLD_CUSTOMER`):
```shell
curl --location 'https://til-PDC.dsba.fiware.dev/issuer' \
--header 'Content-Type: application/json' \
Expand All @@ -464,7 +465,22 @@ curl --location 'https://til-PDC.dsba.fiware.dev/issuer' \
{
"name": "roles",
"allowedValues": [
"STANDARD_CUSTOMER", "GOLD_CUSTOMER"
[{
"names": ["GOLD_CUSTOMER", "STANDARD_CUSTOMER"],
"target": "did:web:packetdelivery.dsba.fiware.dev:did"
}],
[{
"names": ["STANDARD_CUSTOMER", "GOLD_CUSTOMER"],
"target": "did:web:packetdelivery.dsba.fiware.dev:did"
}],
[{
"names": ["STANDARD_CUSTOMER"],
"target": "did:web:packetdelivery.dsba.fiware.dev:did"
}],
[{
"names": ["GOLD_CUSTOMER"],
"target": "did:web:packetdelivery.dsba.fiware.dev:did"
}]
]
}
]
Expand Down

0 comments on commit 145aea2

Please sign in to comment.