]
Jason Lee reassigned WFLY-14402:
--------------------------------
Assignee: Jason Lee (was: Jeff Mesnil)
MicroProfile Metrics subsystem installs DUPs but doesn't require
reload to remove
---------------------------------------------------------------------------------
Key: WFLY-14402
URL:
https://issues.redhat.com/browse/WFLY-14402
Project: WildFly
Issue Type: Bug
Components: MP Metrics
Reporter: Brian Stansberry
Assignee: Jason Lee
Priority: Minor
I'm pretty sure this is wrong...
MicroProfileMetricsSubsystemAdd installs DUPs but the
MicroProfileMetricsSubsystemDefinition uses ServiceRemoveStepHandler as the remove
handler. But that handler doesn't (and can't) remove those DUPs.
This is minor because the description of the remove op is ok:
{code}
[standalone@localhost:9990 subsystem=microprofile-metrics-smallrye]
:read-operation-description(name=remove)
{
"outcome" => "success",
"result" => {
"operation-name" => "remove",
"description" => "Remove the subsystem",
"request-properties" => {},
"reply-properties" => {},
"read-only" => false,
"restart-required" => "all-services",
"runtime-only" => false
}
}
{code}
It says '"restart-required" => "all-services"', which
means this can be fixed with no change to the reported API.
I think this should use ReloadRequiredRemoveStepHandler.