Jira (PDB-1390) Underscore separated field name is required in one context dash separated in another
Title: Message Title Ryan Senior updated an issue PuppetDB / PDB-1390 Underscore separated field name is required in one context dash separated in another Change By: Ryan Senior Fix Version/s: PDB3.0.0 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-1390) Underscore separated field name is required in one context dash separated in another
Title: Message Title Ryan Senior assigned an issue to Ryan Senior PuppetDB / PDB-1390 Underscore separated field name is required in one context dash separated in another Change By: Ryan Senior Assignee: RyanSenior Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-1390) Underscore separated field name is required in one context dash separated in another
Title: Message Title Steve Barlow updated an issue PuppetDB / PDB-1390 Underscore separated field name is required in one context dash separated in another Change By: Steve Barlow Story Points: 1 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-1390) Underscore separated field name is required in one context dash separated in another
Title: Message Title Ryan Senior updated an issue PuppetDB / PDB-1390 Underscore separated field name is required in one context dash separated in another Change By: Ryan Senior Sprint: PuppetDB2015-04-22 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-1390) Underscore separated field name is required in one context dash separated in another
Title: Message Title Michal Ruzicka created an issue PuppetDB / PDB-1390 Underscore separated field name is required in one context dash separated in another Issue Type: Bug Assignee: Unassigned Created: 2015/04/03 4:43 PM Priority: Major Reporter: Michal Ruzicka Depending on context (on other parameters specified in a PDB request) PuppetDB sometimes requires an underscore separated field name other times a dash separated filed name in the query parameter. See the following example queries and the corresponding responses returned by PuppetDB: underscore separated filed name - report_receive_time - required but dash separated name - report-receive-time - specified curl -i -gG http://localhost:8080/v4/aggregate-event-counts --data-urlencode 'query=[,report-receive-time,2015-04-03T21:48:24Z]' --data-urlencode 'summarize_by=containing_class' HTTP/1.1 400 Bad Request
Jira (PDB-1390) Underscore separated field name is required in one context dash separated in another
Title: Message Title Michal Ruzicka updated an issue PuppetDB / PDB-1390 Underscore separated field name is required in one context dash separated in another Change By: Michal Ruzicka Dependingoncontext(onotherparametersspecifiedinaPDBrequest)PuppetDBsometimesrequiresanunderscoreseparatedfieldnameothertimesadashseparatedfieldnameinthe{{query}}parameter.SeethefollowingexamplequeriesandthecorrespondingresponsesreturnedbyPuppetDB:*underscoreseparatedfieldname-{{report_receive_time}}-requiredbutdashseparatedname-{{report-receive-time}}-specified{code}curl-i-gGhttp://localhost:8080/v4/aggregate-event-counts--data-urlencode'query=[,report-receive-time,2015-04-03T21:48:24Z]'--data-urlencode'summarize_by=containing_class'HTTP/1.1400BadRequestDate:Fri,03Apr201523:24:21GMTContent-Length:369Server:Jetty(9.2.10.v20150310)'report-receive-time'isnotaqueryableobjectforevents,knownqueryableobjectsare[certname,configuration_version,containing_class,containment_path,environment,file,latest_report?,line,message,new_value,old_value,property,report,report_receive_time,resource_title,resource_type,run_end_time,run_start_time,status,timestamp]{code}*underscoreseparatedfieldname-{{report_receive_time}}-requiredandspecified{code}curl-i-gGhttp://localhost:8080/v4/aggregate-event-counts--data-urlencode'query=[,report_receive_time,2015-04-03T21:48:24Z]'--data-urlencode'summarize_by=containing_class'HTTP/1.1200OKDate:Fri,03Apr201523:26:40GMTContent-Type:application/json;charset=utf-8Content-Length:84Server:Jetty(9.2.10.v20150310){successes:1,failures:5,noops:1,skips:2,total:6}{code}*dashseparatedname-{{report-receive-time}}-requiredbutunderscoreseparatedfieldname-{{report_receive_time}}-specified{code}curl-i-gGhttp://localhost:8080/v4/aggregate-event-counts--data-urlencode'distinct_resources=true'--data-urlencode'distinct_start_time=2015-04-02T21:48:24Z'--data-urlencode'distinct_end_time=2015-04-03T21:48:24Z'--data-urlencode'query=[,report_receive_time,2015-04-03T21:48:24Z]'--data-urlencode'summarize_by=containing_class'HTTP/1.1400BadRequestDate:Fri,03Apr201523:31:04GMTContent-Length:76Server:Jetty(9.2.10.v20150310)operatordoesnotsupportobject'report_receive_time'forresourceevents{code}*dashseparatedname-{{report-receive-time}}-requiredandspecified{code}curl-i-gGhttp://localhost:8080/v4/aggregate-event-counts--data-urlencode'distinct_resources=true'--data-urlencode'distinct_start_time=2015-04-02T21:48:24Z'--data-urlencode'distinct_end_time=2015-04-03T21:48:24Z'--data-urlencode'query=[,report-receive-time,2015-04-03T21:48:24Z]'--data-urlencode'summarize_by=containing_class'HTTP/1.1200OKDate:Fri,03Apr201523:31:59GMTContent-Type:application/json;charset=utf-8Content-Length:84Server:Jetty(9.2.10.v20150310){successes:1,failures:2,noops:1,skips:0,total:4}{code}Additionalinfo:*apparentlythedifferenceistheuseofthe{{distinct_*}}parameters:whentheyarespecifiedthenthedashseparatedfieldnameisrequired,otherwisetheunderscoreseparatedfieldnameisrequired*Ididnotinvestigatewhetherotherfieldnamesbesidesthe{{report_receive_time}}/{{report-receive-time}}arealsoaffected
Jira (PDB-1390) Underscore separated field name is required in one context dash separated in another
Title: Message Title Michal Ruzicka updated an issue PuppetDB / PDB-1390 Underscore separated field name is required in one context dash separated in another Change By: Michal Ruzicka Dependingoncontext(onotherparametersspecifiedinaPDBrequest)PuppetDBsometimesrequiresanunderscoreseparatedfieldnameothertimesadashseparated filed field nameinthe{{query}}parameter.SeethefollowingexamplequeriesandthecorrespondingresponsesreturnedbyPuppetDB:*underscoreseparated filed field name-{{report_receive_time}}-requiredbutdashseparatedname-{{report-receive-time}}-specified{code}curl-i-gGhttp://localhost:8080/v4/aggregate-event-counts--data-urlencode'query=[,report-receive-time,2015-04-03T21:48:24Z]'--data-urlencode'summarize_by=containing_class'HTTP/1.1400BadRequestDate:Fri,03Apr201523:24:21GMTContent-Length:369Server:Jetty(9.2.10.v20150310)'report-receive-time'isnotaqueryableobjectforevents,knownqueryableobjectsare[certname,configuration_version,containing_class,containment_path,environment,file,latest_report?,line,message,new_value,old_value,property,report,report_receive_time,resource_title,resource_type,run_end_time,run_start_time,status,timestamp]{code}*underscoreseparated filed field name-{{report_receive_time}}-requiredandspecified{code}curl-i-gGhttp://localhost:8080/v4/aggregate-event-counts--data-urlencode'query=[,report_receive_time,2015-04-03T21:48:24Z]'--data-urlencode'summarize_by=containing_class'HTTP/1.1200OKDate:Fri,03Apr201523:26:40GMTContent-Type:application/json;charset=utf-8Content-Length:84Server:Jetty(9.2.10.v20150310){successes:1,failures:5,noops:1,skips:2,total:6}{code}*dashseparatedname-{{report-receive-time}}-requiredbutunderscoreseparated filed field name-{{report_receive_time}}-specified{code}curl-i-gGhttp://localhost:8080/v4/aggregate-event-counts--data-urlencode'distinct_resources=true'--data-urlencode'distinct_start_time=2015-04-02T21:48:24Z'--data-urlencode'distinct_end_time=2015-04-03T21:48:24Z'--data-urlencode'query=[,report_receive_time,2015-04-03T21:48:24Z]'--data-urlencode'summarize_by=containing_class'HTTP/1.1400BadRequestDate:Fri,03Apr201523:31:04GMTContent-Length:76Server:Jetty(9.2.10.v20150310)operatordoesnotsupportobject'report_receive_time'forresourceevents{code}*dashseparatedname-{{report-receive-time}}-requiredandspecified{code}curl-i-gGhttp://localhost:8080/v4/aggregate-event-counts--data-urlencode'distinct_resources=true'--data-urlencode'distinct_start_time=2015-04-02T21:48:24Z'--data-urlencode'distinct_end_time=2015-04-03T21:48:24Z'--data-urlencode'query=[,report-receive-time,2015-04-03T21:48:24Z]'--data-urlencode'summarize_by=containing_class'HTTP/1.1200OKDate:Fri,03Apr201523:31:59GMTContent-Type:application/json;charset=utf-8Content-Length:84Server:Jetty(9.2.10.v20150310){successes:1,failures:2,noops:1,skips:0,total:4}{code}Additionalnotes*apparentlythedifferenceistheuseofthe{{distinct_*}}parameters:whentheyarespecifiedthenthedashseparatedfieldnameisrequired,otherwisetheunderscoreseparatedfieldnameisrequired*Ididnotinvestigatewhetherotherfieldnamesbesidesthe{{report_receive_time}}/{{report-receive-time}}arealsoaffected
Jira (PDB-1390) Underscore separated field name is required in one context dash separated in another
Title: Message Title Michal Ruzicka updated an issue PuppetDB / PDB-1390 Underscore separated field name is required in one context dash separated in another Change By: Michal Ruzicka Dependingoncontext(onotherparametersspecifiedinaPDBrequest)PuppetDBsometimesrequiresanunderscoreseparatedfieldnameothertimesadashseparatedfieldnameinthe{{query}}parameter.SeethefollowingexamplequeriesandthecorrespondingresponsesreturnedbyPuppetDB:*underscoreseparatedfieldname-{{report_receive_time}}-requiredbutdashseparatedname-{{report-receive-time}}-specified{code}curl-i-gGhttp://localhost:8080/v4/aggregate-event-counts--data-urlencode'query=[,report-receive-time,2015-04-03T21:48:24Z]'--data-urlencode'summarize_by=containing_class'HTTP/1.1400BadRequestDate:Fri,03Apr201523:24:21GMTContent-Length:369Server:Jetty(9.2.10.v20150310)'report-receive-time'isnotaqueryableobjectforevents,knownqueryableobjectsare[certname,configuration_version,containing_class,containment_path,environment,file,latest_report?,line,message,new_value,old_value,property,report,report_receive_time,resource_title,resource_type,run_end_time,run_start_time,status,timestamp]{code}*underscoreseparatedfieldname-{{report_receive_time}}-requiredandspecified{code}curl-i-gGhttp://localhost:8080/v4/aggregate-event-counts--data-urlencode'query=[,report_receive_time,2015-04-03T21:48:24Z]'--data-urlencode'summarize_by=containing_class'HTTP/1.1200OKDate:Fri,03Apr201523:26:40GMTContent-Type:application/json;charset=utf-8Content-Length:84Server:Jetty(9.2.10.v20150310){successes:1,failures:5,noops:1,skips:2,total:6}{code}*dashseparatedname-{{report-receive-time}}-requiredbutunderscoreseparatedfieldname-{{report_receive_time}}-specified{code}curl-i-gGhttp://localhost:8080/v4/aggregate-event-counts--data-urlencode'distinct_resources=true'--data-urlencode'distinct_start_time=2015-04-02T21:48:24Z'--data-urlencode'distinct_end_time=2015-04-03T21:48:24Z'--data-urlencode'query=[,report_receive_time,2015-04-03T21:48:24Z]'--data-urlencode'summarize_by=containing_class'HTTP/1.1400BadRequestDate:Fri,03Apr201523:31:04GMTContent-Length:76Server:Jetty(9.2.10.v20150310)operatordoesnotsupportobject'report_receive_time'forresourceevents{code}*dashseparatedname-{{report-receive-time}}-requiredandspecified{code}curl-i-gGhttp://localhost:8080/v4/aggregate-event-counts--data-urlencode'distinct_resources=true'--data-urlencode'distinct_start_time=2015-04-02T21:48:24Z'--data-urlencode'distinct_end_time=2015-04-03T21:48:24Z'--data-urlencode'query=[,report-receive-time,2015-04-03T21:48:24Z]'--data-urlencode'summarize_by=containing_class'HTTP/1.1200OKDate:Fri,03Apr201523:31:59GMTContent-Type:application/json;charset=utf-8Content-Length:84Server:Jetty(9.2.10.v20150310){successes:1,failures:2,noops:1,skips:0,total:4}{code}Additionalnotes : *apparentlythedifferenceistheuseofthe{{distinct_*}}parameters:whentheyarespecifiedthenthedashseparatedfieldnameisrequired,otherwisetheunderscoreseparatedfieldnameisrequired*Ididnotinvestigatewhetherotherfieldnamesbesidesthe{{report_receive_time}}/{{report-receive-time}}arealsoaffected
Jira (PDB-1390) Underscore separated field name is required in one context dash separated in another
Title: Message Title Michal Ruzicka updated an issue PuppetDB / PDB-1390 Underscore separated field name is required in one context dash separated in another Change By: Michal Ruzicka Dependingoncontext(onotherparametersspecifiedinaPDBrequest)PuppetDBsometimesrequiresanunderscoreseparatedfieldnameothertimesadashseparatedfieldnameinthe{{query}}parameter.SeethefollowingexamplequeriesandthecorrespondingresponsesreturnedbyPuppetDB:*underscoreseparatedfieldname-{{report_receive_time}}-requiredbutdashseparatedname-{{report-receive-time}}-specified{code}curl-i-gGhttp://localhost:8080/v4/aggregate-event-counts--data-urlencode'query=[,report-receive-time,2015-04-03T21:48:24Z]'--data-urlencode'summarize_by=containing_class'HTTP/1.1400BadRequestDate:Fri,03Apr201523:24:21GMTContent-Length:369Server:Jetty(9.2.10.v20150310)'report-receive-time'isnotaqueryableobjectforevents,knownqueryableobjectsare[certname,configuration_version,containing_class,containment_path,environment,file,latest_report?,line,message,new_value,old_value,property,report,report_receive_time,resource_title,resource_type,run_end_time,run_start_time,status,timestamp]{code}*underscoreseparatedfieldname-{{report_receive_time}}-requiredandspecified{code}curl-i-gGhttp://localhost:8080/v4/aggregate-event-counts--data-urlencode'query=[,report_receive_time,2015-04-03T21:48:24Z]'--data-urlencode'summarize_by=containing_class'HTTP/1.1200OKDate:Fri,03Apr201523:26:40GMTContent-Type:application/json;charset=utf-8Content-Length:84Server:Jetty(9.2.10.v20150310){successes:1,failures:5,noops:1,skips:2,total:6}{code}*dashseparatedname-{{report-receive-time}}-requiredbutunderscoreseparatedfieldname-{{report_receive_time}}-specified{code}curl-i-gGhttp://localhost:8080/v4/aggregate-event-counts--data-urlencode'distinct_resources=true'--data-urlencode'distinct_start_time=2015-04-02T21:48:24Z'--data-urlencode'distinct_end_time=2015-04-03T21:48:24Z'--data-urlencode'query=[,report_receive_time,2015-04-03T21:48:24Z]'--data-urlencode'summarize_by=containing_class'HTTP/1.1400BadRequestDate:Fri,03Apr201523:31:04GMTContent-Length:76Server:Jetty(9.2.10.v20150310)operatordoesnotsupportobject'report_receive_time'forresourceevents{code}*dashseparatedname-{{report-receive-time}}-requiredandspecified{code}curl-i-gGhttp://localhost:8080/v4/aggregate-event-counts--data-urlencode'distinct_resources=true'--data-urlencode'distinct_start_time=2015-04-02T21:48:24Z'--data-urlencode'distinct_end_time=2015-04-03T21:48:24Z'--data-urlencode'query=[,report-receive-time,2015-04-03T21:48:24Z]'--data-urlencode'summarize_by=containing_class'HTTP/1.1200OKDate:Fri,03Apr201523:31:59GMTContent-Type:application/json;charset=utf-8Content-Length:84Server:Jetty(9.2.10.v20150310){successes:1,failures:2,noops:1,skips:0,total:4}{code}Additional notes info :*apparentlythedifferenceistheuseofthe{{distinct_*}}parameters:whentheyarespecifiedthenthedashseparatedfieldnameisrequired,otherwisetheunderscoreseparatedfieldnameisrequired*Ididnotinvestigatewhetherotherfieldnamesbesidesthe{{report_receive_time}}/{{report-receive-time}}arealsoaffected