[
https://issues.apache.org/jira/browse/FELIX-6117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Georg Henzler resolved FELIX-6117.
----------------------------------
Resolution: Fixed
Fixed in [r1859304|http://svn.apache.org/r1859304]
> Json does not show tags if tags are configured as Vector in ConfigurationAdmin
> ------------------------------------------------------------------------------
>
> Key: FELIX-6117
> URL: https://issues.apache.org/jira/browse/FELIX-6117
> Project: Felix
> Issue Type: Bug
> Components: Health Checks
> Affects Versions: healthcheck.api 2.0.0
> Reporter: Stefan Bischof
> Assignee: Georg Henzler
> Priority: Minor
> Fix For: healthcheck.api 2.0.2
>
> Attachments: tags-in-html-rendering.png
>
>
> Hi,
>
> i configured a generalchecks.DiskSpaceCheck with tags
> {code:java}
> //config
> org.apache.felix.hc.generalchecks.DiskSpaceCheck~test2:
> hc.name: myTest222
> hc.tags: [system,system_memory,dings]
> diskPaths: [.]
> diskUsedThresholdWarn: 15
> diskUsedThresholdCritical: 10
> {code}
> filtering by these tags works ans shows the corrent results.
> http://localhost:8080/system/health/*.json
> [http://localhost:8080/system/health/system.json]
>
> but ins the result json the attribute "tags" isn't set properly.
> {code:java}
> {
> "overallResult": "CRITICAL",
> "results": [
> {
> "name": "myTest222",
> "status": "CRITICAL",
> "timeInMs": 2,
> "finishedAt": "2019-05-02T15:22:18.646",
> "tags": [],
> "messages": [
> {
> "status": "CRITICAL",
> "message": "Disk Usage /home/name/dev/git/fooo/health/.: 11.3% of
> 166.2GB used / 147.5GB free"
> }
> ]
> }
> ]
> }
> {code}
> With my own implementations of healthcheck this works.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)