0.0.5 • Published 7 months ago
@flowforge/nr-persistent-context v0.0.5
@flowforge/nr-persistent-context
A Node-RED Context Plugin for the FlowForge platform.
This plugin provides persistent context for a Node-RED instance on the FlowForge platform.
Configuration
contextStorage: {
file: {
module: require("@flowforge/nr-persistent-context"),
config: {
projectID: process.env['FORGE_PROJECT_ID'],
baseURL: process.env['FORGE_STORAGE_URL'],
token: process.env['FORGE_STORAGE_TOKEN'],
requestTimeout: 3000,
pageSize: 20,
flushInterval: 30,
cache: true
}
}
}
projectID
- is the UUID of the project (provided by FlowForge)baseURL
- the root URL for the FlowForge Storage API (provided by FlowForge)token
- authentication token (provided by FlowForge)requestTimeout
- (optional) The number of milliseconds to wait before timing out a request (Type:number
, Default:3000
)pageSize
- (optional) The number of context items/rows to fetch per page (Type:number
, Default:20
)flushInterval
- (optional) The number of seconds to wait before flushing pending writes (Type:number
, Default:30
)cache
- (optional) Whether to cache context items in memory (required for synchronous get/set) (Type:boolean
, Default:true
)
0.0.6-32a0044-202310091701.0
7 months ago
0.0.6-4543aba-202309181212.0
8 months ago
0.0.6-452ddbc-202309281543.0
8 months ago
0.0.5
8 months ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.1
1 year ago