You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2017/05/02 16:34:04 UTC

[jira] [Comment Edited] (SLING-6805) Request for negative tag and negative name filtering from health check servlet

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

Justin Edelson edited comment on SLING-6805 at 5/2/17 4:33 PM:
---------------------------------------------------------------

[~cgoudie] I'm trying to understand this issue. The description and summary don't quite match.

It seems like the list of names belongs as part of SLING-6804.

But then I'm confused about what "negative tag filtering means"...

Let's say you have three HCs, "Foo", Bar", Baz as follows:

Foo@tags = security
Bar@tags = performance
Baz@tags = security, performance

and we implement SLING-6804 to allow you to do /system/health.html?names=Foo&names=Bar,Baz

Do you really want to be able to do /system/health.html?names=Foo,Bar&names=Baz&excludeTags=security and then only get Bar back? Why not just ask for Bar in the first place?

Or this really more about doing /system/health.html?tags=security&excludeTags=performance to just get back Foo ?
And also /system/health.html?tags=security&excludeNames=Baz


was (Author: justinedelson):
[~cgoudie] I'm trying to understand this issue. The description and summary don't quite match.

It seems like the list of names belongs as part of SLING-6804.

But then I'm confused about what "negative tag filtering means"...

Let's say you have three HCs, "Foo", Bar", Baz as follows:

Foo@tags = security
Bar@tags = performance
Baz@tags = security, performance

and we implement SLING-6804 to allow you to do /system/health.html?names=Foo&names=Bar&names=Baz

Do you really want to be able to do /system/health.html?names=Foo&names=Bar&names=Baz&excludeTags=security and then only get Bar back? Why not just ask for Bar in the first place?

Or this really more about doing /system/health.html?tags=security&excludeTags=performance to just get back Foo ?
And also /system/health.html?tags=security&excludeNames=Baz

> Request for negative tag and negative name filtering from health check servlet
> ------------------------------------------------------------------------------
>
>                 Key: SLING-6805
>                 URL: https://issues.apache.org/jira/browse/SLING-6805
>             Project: Sling
>          Issue Type: Improvement
>          Components: Health Check
>            Reporter: Clinton H Goudie-Nice
>
> AMS has a request to be able to query the health check servlet with a list of named health checks, and a list of tags to remove from the returned list.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)