Can we have an API to push data to the server? #108
-
If I misunderstand anything here, or the functionality already exists, I'll let you correct my misunderstanding... At the moment, the OPAL server appears to be concerned with only fetching data. The data/config endpoint takes a request that defines a set of callback endpoints, and the server then hits those endpoints to fetch data and patch the data in OPA. This means the flow is [system] -> [post /data/config] -> [server calls external url] -> [waits for response] -> [patches data] If I already have an event based system, I could easily add a topic listener that then pushes relevant updates directly to the server, removing the need for the callback approach. The flow would then be [system] -> [my event subscriber] -> [post /data/config] -> [server patches data] If the Entries schema was extended to have an option to supply JSON directly, rather than just a URL callback, that would be helpful for integration and reduce the need to build specific data extraction endpoints for my various data sources. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @rbanks-willow :)
The main reasons for this architecture are:
Does this help? I can elaborate further if you need me to :) |
Beta Was this translation helpful? Give feedback.
Hi @rbanks-willow :)
Actually, you did misunderstand a little how the OPAL architecture works.
The main reasons for this architecture are: