Skip to content

SENERGY-Platform/analytics-operator-valuemapper

Repository files navigation

operator-valuemapper

Reads values and maps them to other values using a configuration map. Any values not found in the map will remain unchanged.

Inputs

  • value (any): Any value. Only primitive types and String are supported as input.

Outputs

  • value (any): Any value

Configs

  • rules (String): A JSON encoded rule list. No two rules may use the same from value. Example: [{"from": 12, "to": false}]
  • intervalRules (String): A JSON encoded interval rule list. Interval rules will be checked secondary to rules. Example: [{"from": "(12, 150]", "to": false}]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages