[Buildbot-devel] Filtering a rest request by a nested value
Riziero
francescodimizio at gmail.com
Mon Mar 30 17:32:24 UTC 2015
Oh thanks a lot Pierre, I will try tomorrow!
-----Original Message-----
From: "Pierre Tardy" <tardyp at gmail.com>
Sent: 30/03/2015 19:23
To: "Francesco Di Mizio" <francescodimizio at gmail.com>
Cc: "Dustin J. Mitchell" <dustin at v.igoro.us>; "Buildbot Devel" <buildbot-devel at lists.sourceforge.net>
Subject: Re: [Buildbot-devel] Filtering a rest request by a nested value
Le lun. 30 mars 2015 à 18:28, Francesco Di Mizio <francescodimizio at gmail.com> a écrit :
Got latest and gave websocket a try. As a test, I am sending:
{"_id": 11111, "cmd" : "startConsuming", "path" : "*"}
and the message I get back is:
{"msg":"OK","code":200,"_id":11111}
I on purpose used * just to make sure to catch something.
You did wrong on that assumption. * is a wildcard, but does not eat several path elements.
You should ask for '*.*.*' , you will get 'builds.1.new', 'buildrequests.2.update', etc. but if you only say '*' you'll get nothing as there are no endpoint talking on a one element path.
Regards
Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20150330/4152017f/attachment.html>
More information about the devel
mailing list