Skip to content

Commit

Permalink
Add testing curl for service activation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Wendland committed Mar 26, 2024
1 parent dbafa54 commit dd0512a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions aws/dsba/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,33 @@ 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:
```shell
curl --location 'https://til-PDC.dsba.fiware.dev/issuer' \
--header 'Content-Type: application/json' \
--data '{
"did": "did:web:ips.dsba.aws.fiware.io:did",
"credentials": [
{
"validFor": {
"from": "2024-03-01T02:00:00Z",
"to": "2028-03-01T02:00:00Z"
},
"credentialsType": "PacketDeliveryService",
"claims": [
{
"name": "roles",
"allowedValues": [
"STANDARD_CUSTOMER", "GOLD_CUSTOMER"
]
}
]
}
]
}'
```


### Cleanup

Expand Down

0 comments on commit dd0512a

Please sign in to comment.