Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(nodered): playbooks to export nodes and flow #113

Merged
merged 2 commits into from
Sep 20, 2023
Merged

Conversation

`export_flow_nodered.yml` logs in to node-red with all
privileges obtains the current flow as JSON and perform
checks the existence of `/data/cred_flows.json`, if it
exists the content of the creds is ingested into JSON file.
The end flows JSON will be generated in `deploy/nodered/`
directory with a datetime suffix to the JSON file.

closes #109

Signed-off-by: Shantanoo 'Shan' Desai <shantanoo.desai@gmail.com>
this playbook queries the `/nodes` API from node-RED
and obtain the information external nodes and try downloading
it from NPM registry as tarballs in the `deploy_dir/nodered`
directory

Closes #110

Signed-off-by: Shantanoo 'Shan' Desai <shantanoo.desai@gmail.com>
@shantanoo-desai shantanoo-desai added enhancement New feature or request node-red All activities for Node-RED specific development labels Sep 20, 2023
@shantanoo-desai shantanoo-desai self-assigned this Sep 20, 2023
@shantanoo-desai shantanoo-desai merged commit b297041 into main Sep 20, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request node-red All activities for Node-RED specific development
Projects
Status: Done
1 participant