How are people handling storage/retrieval of JSON within Insight Connect? I feel as though I’m missing something obvious here.
Let’s say I want to build a workflow which runs once a day:
- retrieves a large-ish array of JSON
- does some processing
- raises a Jira for a human to action
- stores the processed JSON somewhere persistent/reliable, e.g. in case it’s required for an audit
- I’d also want to be able to search back through the stored JSON using other Insight Connect workflows.
Over time, I’d want to store thousands of documents/objects.
Global Artifacts not suitable
Global Artifacts are limited to 1000 objects before they start dropping old entries so they’re immediately not suitable for this use case.
Database plugins for Insight Connect
My first thought here was MongoDB but I can’t find any sign of a MongoDB plugin for Insight Connect, which surprised me a bit.
These are the database plugins I’ve been able to find by digging through the Extensions library:
- Redis. There is a Redis plugin, but it only seems to support name/value pairs, so although there’s a RedisJSON plugin for Redis which enables JSON storage, I don’t think the Insight Redis plugin is suitable for storage/retrieval of arbitrary JSON.
- DynamoDB. Maybe a contender, although I’m hoping not to be locked in to AWS.
- SQL. Useful, but for relational databases rather than NoSQL.
- PrestoDB. Same as SQL extension.
I’ve seen the thread Storing/managing JSON object by @ilyaaz_noerkhan which is asking a similar question back in October 2020. I’d be reluctant to commit to using the Storage plugin if it might arbitrarily wipe its data, and in any case I can’t see the Storage plugin in the Extension Library - has it been removed/superceded by Global Artifacts? @joey_mcadams suggests that the roadmap contained items for 2021 Q1 - was this Global Artifacts?