← 返回首页
GitHub - doing-things-with-node-red/node-red-context-configservice: A Node-RED Context memory store plugin integrated with ConfigService · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus
This repository was archived by the owner on Jun 18, 2022. It is now read-only.

doing-things-with-node-red/node-red-context-configservice

Go to file
Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
View all files

Repository files navigation

More items

node-red-context-configservice

Spring Cloud Config provides server-side for externalized configuration in a distributed system. You have a central place to manage external properties for applications across all environments.

Node-RED provides a way to store information that can be shared between different nodes without using the messages that pass through a flow. This is called context.

The scope of a particular context value determines who it is shared with. There are three context scope levels:

  • Node - only visible to the node that set the value
  • Flow - visible to all nodes on the same flow (or tab in the editor)
  • Global - visible to all nodes

We are looking for use both features, to retrieve and storage externalized configuration in our Node-RED Global context.

Context Store with ConfigService

Node-RED provides two built-in modules for this:

  • memory
  • localfilesystem

We build a custom one based on the memory one.

To enable it, the following option in your Node-RED settings.js file can be used:

contextStorage: { default: { module: config => (require("@doing-things-with-node-red/node-red-context-configservice")( "http://configservice:80/properties.json", { strictSSL: true, interval: 3600000, retries: 3 } )) } },

Compose

We are using Docker Compose to test our e2e

About

A Node-RED Context memory store plugin integrated with ConfigService

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Footer

© 2026 GitHub, Inc.