Jira (PUP-6412) Add the ability to pass a filter to classifier API requests.

2016-06-17 Thread Erik Hansen (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Erik Hansen commented on  PUP-6412 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Add the ability to pass a filter to classifier API requests.  
 
 
 
 
 
 
 
 
 
 
This would be useful if you wanted to return only a list of nodes belonging to the group, for example. 
Node names would be listed in the 'rules' key and it would be a quick way to get a list of nodes in a group from the API.  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6412) Add the ability to pass a filter to classifier API requests.

2016-06-16 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg assigned an issue to Erik Hansen 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6412 
 
 
 
  Add the ability to pass a filter to classifier API requests.  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Assignee:
 
 Erik Hansen 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6412) Add the ability to pass a filter to classifier API requests.

2016-06-16 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-6412 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Add the ability to pass a filter to classifier API requests.  
 
 
 
 
 
 
 
 
 
 
Erik Hansen Can you elaborate why this is needed and what it enables you to do that you could not otherwise do? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6412) Add the ability to pass a filter to classifier API requests.

2016-06-15 Thread Erik Hansen (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Erik Hansen created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6412 
 
 
 
  Add the ability to pass a filter to classifier API requests.  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Improvement 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2016/06/15 10:35 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Erik Hansen 
 
 
 
 
 
 
 
 
 
 
For the classifier-api endpoint, it would be nice to add a 'filter' parameter so that the JSON returned could be limited to certain keys.  
Examples: 
curl -X GET https://$(hostname -f):4433/classifier-api/v1/groups/e19f7257-1da7-4e8f-b8a4-900df3697614?filter=name 
curl -X GET https://$(hostname -f):4433/classifier-api/v1/groups/e19f7257-1da7-4e8f-b8a4-900df3697614?filter=name,variables,environment 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment