hyperledger-firefly / hyperledger-firefly/firefly

Webhook subscriptions not receiving all events

Open
#1,025 7 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
602
Forks
246
Avg merge
18h 47m
Merged PRs (30d)
6

Description

I set up a subscription of webhook for FireFly to send events to our app.
But our app have received a part of event's notice from FireFly.
I think that webhook subscription is permanence.
Is it right?

I send request body(below json) for "[POST] /api/v1/namespaces/default/subscriptions" to set up a subscription of webhook.
Did I get a wrong setting?

Now, after receiving event's notice, I set up a new a subscription of webhook to continuously receive event.

request body
```json
{
"options": {
"url": "http://:8082/emit",
"fastack": false,
"readAhead":100,
"method": "POST",
"withData": false,
"firstEvent": "oldest",
"headers" : {
"Authorization": ""
}
},

"namespace": "default",
"name": "emitSub",

"transport": "webhooks",
"filter": {
"topic": "string",
"events": "blockchain_event_received",
"blockchainevent": {
"message": {},
"transaction": {},
"listener": ""
}
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.