Jean-Baptiste Onofré created KARAF-5864:
-------------------------------------------
Summary: Be able to define property value type in system collector
Key: KARAF-5864
URL: https://issues.apache.org/jira/browse/KARAF-5864
Project: Karaf
Issue Type: Improvement
Components: decanter
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
Fix For: decanter-2.1.0
Now, the system collector executes commands and get the command output as
{{String}} in the EventAdmin event.
It would be great to be able to try scalar type before fallbacking to
{{String}} or define the property type in {{cfg}} file:
{code}
command.foo.long=foo
command.foo.integer=foo
command.foo.string=foo
command.foo=foo // String as today
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)