Comments (3)
shouldnt this be a separate integration? like an action-chain with an actioncalled 'onchange' which only forwards data to another action if there's a diff.
btw. have you looked at this:
http://www.enterpriseintegrationpatterns.com/patterns/messaging/MessageBus.html
from datafire.
just and idea: maybe there's a small js library with all messaging patterns (throttle, onchange etc) on npm?
from datafire.
I've been talking with another integration provider about how best to go about this. Each service will probably have a unique way of pushing new items and changes to items. E.g. one service might have support for webhooks that get called each time a new Widget is added, while another service might need to be polled every X minutes to get a list of Widgets.
The big issue is that often we'll need to maintain some kind of state to track which Widgets have been seen already. In some cases, just keeping a local file with a list of IDs might suffice, but in cases with much larger lists you might need a database to help keep track.
I'm going to open another issue for keeping state across action runs - once that's solved I think this one will be a bit easier.
from datafire.
Related Issues (20)
- integrate glitch with petstore HOT 2
- integration with express? HOT 4
- Add support for maintaining state across action runs HOT 1
- howto reference action of custom integration? HOT 2
- Feature: keeping state across action runs HOT 2
- specify url cache duration time in DataFire.yml for endpoint HOT 3
- Integrate DataFire on Express with '/api' already reserved HOT 13
- Add startup/shutdown hooks in DataFire.yml HOT 1
- Custom Integration is hidden (CSS) on the integrations page HOT 2
- Add support for custom request options HOT 1
- Error: Cannot find module '../distribution/cmd'   HOT 1
- How to debug DataFire Actions? HOT 4
- Optionalize OAuth port
- snyk security - [email protected] - need to upgrade to 2.0.1
- Integration with outlook calendar HOT 2
- Upgrade to latest ajv
- request object uses incorrect formData key when consumes is application/x-www-form-urlencoded HOT 1
- An API for DataFire itself HOT 1
- npm ERR! Test failed. See above for more details. HOT 1
- Is this projec dead? HOT 2
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 datafire.