Comments (2)
from st2docs.
I just found this docs reference that describes why the datastore is limited to strings. This needs to be linked to from the datastore doc/section at least.
https://docs.stackstorm.com/latest/reference/pack_configs.html#dynamic-config-values
Dynamic config values
Right now only string type is supported for dynamic config values (config items whoโs value is retrieved from the datastore). This was done intentionally to keep the feature simple and fully compatible with the existing datastore operations (this means you can re-use the same API, CLI commands, etc.).To work-around this (in case you want to use a non-string value) you can, for example, store a JSON serialized version of the your value in the datastore and then de-serialize it in the action / sensor code.
If this turns out to be a big problem for many users, we might consider introducing support for arbitrary types, but this would most likely mean we will need to implement a new API and CLI commands for managing dynamic config values and thatโs something we want to avoid.
from st2docs.
Related Issues (20)
- Add information on setting api key in cli config file
- HA doc needs an update RE: list of services relying on [coordination] backend HOT 1
- LDAP update following the st2 core integration from Enterprise
- RBAC doc update after feature transition enterprise -> st2 OSS core
- StackStorm Exchange Docs or Guide HOT 1
- Include StackStorm Web UI overview in st2docs
- Orquesta not listed on available runners
- make docker-build missing curl
- Some part of captions are missing on the left side navigation menu. HOT 3
- Global RBAC permissions needs to be documented HOT 2
- Use of env variable for actions has no example HOT 1
- Migrate from CircleCI to GH Actions
- Migrate docs.stackstorm.com to GH static pages HOT 10
- StackStorm-HA Docs: Update reference links for Mongo/RabbitMQ dependencies helm charts for accuracy
- Centos 8 EOL HOT 2
- Documented instructions for RBAC role permissions are incorrect HOT 9
- Fix link structure of Orquesta Docs in the docs sidebar HOT 1
- how to solve curl 60 HOT 1
- StackStorm HA `helm install` instructions
- Docs Ubuntu 20.04 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from st2docs.