Comments (4)
Example on how to reproduce bug/how to connect via webhook using mock server. Testing via swagger:
- Have a firefly stack running via CLI.
- Create a mock server in https://requestcatcher.com/. For example, I created a server as https://ff-webhook.requestcatcher.com/
- Test via swagger by going to http://localhost:5000/api
- To set subscription, at endpoint POST /namespaces/{ns}/subscriptions, post with the following body:
{
"transport": "webhooks",
"name": "some_webhook_subscription",
"options": {
"url": "https://ff-webhook.requestcatcher.com/ff"
}
}
It should return 201 - Try sending a string broadcast message from the endpoint POST /namespaces/{ns}/messages/broadcast with an example body:
{
"data": [
{
"value": "hello world, this is some test data!"
}
]
} - In the request catcher for mock server https://ff-webhook.requestcatcher.com/, it should receive the message value "hello world, this is some test data!". However, the current bug is that the subscriber receives an empty object -> {}.
from firefly.
PR for this issue #225
from firefly.
Sure! Let me know if you want to to talk about where to start on this one. Looking forward to OSD tomorrow!
from firefly.
I would like to work on this as part of vGHC21 Open Source Code Day. Can you assign this to me?
from firefly.
Related Issues (20)
- Intermittent unit test: `TestRequestWithBodyReplyEndToEndWithTLS`
- Reminder to submit the 2023 Q4 quarterly project report
- Private message fails with "No match for zerohash" HOT 5
- Signature uniqueness checking not precise enough for decoding events
- `FF23021: EVM reverted` errors during invoke with `idempotencyKey` leaves ops in `Initializing` status HOT 10
- Update helm charts for v1.3
- Create docs for new features in 1.3
- Query events by subscription filter HOT 2
- Upgrade to firefly-common v1.4.1 HOT 1
- Update third party dependencies and other security housekeeping
- Close FIR-17 HOT 9
- Incorrect PATCHing of Node Identity Profile can cause Network Member Namespaces to Crash HOT 2
- Status call returns error when node is not registered to a multiparty namespace HOT 2
- Protocol ID behaviour inconsistent with docs HOT 3
- Migration Issue with ERC-1155 Token Pools HOT 5
- FireFly gets stuck processing events from an unknown listener HOT 1
- FireFly 1.3 Performance Testing HOT 7
- Transaction failure reason not visible when using fixed gas amount HOT 8
- Intermittent Unit Test - TestDownloadManagerStartupRecoveryCombinations
- Hardening for 1.3 Release HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firefly.