[ 
https://issues.apache.org/jira/browse/FELIX-6345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17461449#comment-17461449
 ] 

Georg Henzler commented on FELIX-6345:
--------------------------------------

Fixed in 
https://github.com/apache/felix-dev/commit/e796f65168ba2d85d2c0ab6b733f5f4ac8f1b58e

{{hc:list}} still only gives a short list of tags, but {{hc:list -v}} will list 
all HC in a table (as it previously was, but now it includes HCs without tag). 
For {{hc:exec}} there is a parameter {{-n}} now, so e.g. {{hc:exec -n "CPU 
Test"}} can be used if that check was configured with the name "CPU Test".

> hc:[list|exec] doesn't list or execute health checks that don't have any tags 
> specified
> ---------------------------------------------------------------------------------------
>
>                 Key: FELIX-6345
>                 URL: https://issues.apache.org/jira/browse/FELIX-6345
>             Project: Felix
>          Issue Type: Bug
>          Components: Health Checks
>    Affects Versions: healthcheck.generalchecks 2.0.6, healthcheck.core 2.0.8
>            Reporter: Amit Mondal
>            Assignee: Georg Henzler
>            Priority: Minor
>
> According to the current solution, _*hc:list*_ only shows health checks that 
> implement the _*HealthCheck*_ interface and do have the _*hc.tags*_ service 
> property. If any health check doesn't specify this service property, it 
> doesn't get listed - for example, _*CpuCheck*_ doesn't have any tags 
> specified and hence it doesn't get listed in the _*hc:list*_ output.
> This applies to _*hc:exec*_ too.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to