This feels like a bug in the RESTful API to me - Bobby On Monday, March 2, 2015 7:48 AM, Michael G. Noll <mich...@michael-noll.com> wrote:
I observed that components whose ID includes a comma cannot be queried for: # Using the encoded name (`,` is encoded to `%2C`) $ curl -s $API_BASE/api/v1/topology/MyTopology/component/MyBolt%2CVariantA Page not found # Using the raw name (`,` is left as is) $ curl -s $API_BASE/api/v1/topology/MyTopology/component/MyBolt,VariantA Page not found Should I use a different URL to query the component stats or is this a legitimate bug? If the latter, then I'll file a bug report. FWIW the REST API does correctly return the component ID when querying for, say, the topology information: $ curl -s $API_BASE/api/v1/topology/MyTopology { ... "bolts": [ { "boltId": "MyBolt,VariantA", "encodedBoltId": "MyBolt%2CVariantA", } ] ... } --Michael