-
Sub-task
-
Resolution: Done
-
Major
-
None
-
None
-
0.39.0.Final
<mazz> the path would have to be one of the "Domain WildFly Server" resources I would guess-- https://github.com/hawkular/hawkular-agent/blob/master/hawkular-javaagent-wildfly-feature-pack/src/main/resources/featurepack/content/standalone/configuration/hawkular-javaagent-config.yaml#L834
<mazz> but there is no operations listed in the metadata here. so its possible we just need to add it to get this to work
<mazz> https://github.com/hawkular/hawkular-agent/blob/master/hawkular-javaagent-wildfly-feature-pack/src/main/resources/featurepack/content/standalone/configuration/hawkular-javaagent-config.yaml#L597-L600
<mazz> that defines the JDR operation on the standalone server resource type
<mazz> if the domain server resource type also supports that operation, we'd have to add simiilar metadata to it
<mazz> because without it, I bet the agent will refuse to try to execute it - even if it really would work if it invoked that operation
<mazz> https://github.com/hawkular/hawkular-agent/blob/cee672b9520a9286d3cc45f74a4b73fee07b1798/hawkular-agent-core/src/main/java/org/hawkular/agent/monitor/cmd/ExportJdrCommand.java#L94
<mazz> yeah, that looks like its trying to make sure the JSON request it got is allowed - without a JDR operation defined, the agent will just refuse to exeucte it