Skip to content

Commit

Permalink
feat: subscription when a UserProfile entity is created (#17)
Browse files Browse the repository at this point in the history
* subscription when a UserProfile entity is created

* format change in notification
  • Loading branch information
ranim-n authored Jun 14, 2024
1 parent 867534a commit 19cf76b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions ngsild-payloads/userProfileSubscription.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"id": "urn:ngsi-ld:Subscription:3879b193-7526-43b2-8eae-b6daadc7f9d1",
"type": "Subscription",
"entities": [
{
"type": "UserProfile"
}
],
"notificationTrigger": [
"entityCreated"
],
"notification": {
"format": "keyValues",
"endpoint": {
"uri": "http://localhost:8080/userProfileCreationListener",
"accept": "application/json"
}
}
}

0 comments on commit 19cf76b

Please sign in to comment.