[
https://issues.apache.org/jira/browse/FELIX-6117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16838638#comment-16838638
]
Stefan Bischof commented on FELIX-6117:
---------------------------------------
I'm not sure about the OSGi Spec:
{code:java}
104.4.3 Configuration Properties
A configuration dictionary contains a set of properties in a Dictionary object.
The value of the property must be the same type as the set of Primary Property
Types specified in OSGi Core Release
7(https://osgi.org/specification/osgi.cmpn/7.0.0/introduction.html#intro.core.release)
Filter Syntax.
{code}
I couldn't find the list of "Primary Property Types specified in OSGi Core
Release 7 Filter Syntax". Do you know where this is described
If a Collection<> of is not specified we MUST fix our Configurator and there is
no reason for you to fix it.
Thank you for explanation
> generalchecks - json does not show tags
> ---------------------------------------
>
> 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)