Hi,

the only open issue I have now is how to prevent from sending empty
params on the query string.

here's the problem -
meters and samples can get query params, problem is they cant be sent
as null/empty string since ceilometer fails.
for example sending the following  json "{"filter": "", "orderby": "",
"limit": ""}"
results in "{"error_message": {"debuginfo": null, "faultcode":
"Server", "faultstring": "No JSON object could be decoded"}}"

is there a way to avoid sending null/empty query params?

On Sun, Oct 26, 2014 at 1:31 PM, Avi Ben-Harush
<avi.ben.har...@gmail.com> wrote:
> Hi Everett,
> I took your offer and created a PR for ceilometer.
>
> also added some questions I’ve already encountered.
> waiting for your comments to continue the process.
>
> Thanks
>
>
>
> On Wed, Oct 22, 2014 at 7:01 PM, Everett Toews
> <everett.to...@rackspace.com> wrote:
>> Hi Avi,
>>
>> It’s great to hear that you’re working on Ceilometer support!
>>
>> The absolute best way to discuss code like this is in a pull request. I 
>> *strongly* encourage you to submit a pull request with some skeleton code 
>> sooner than later so we can work out issues like this.
>>
>> For example, take a look at this PR [1] that Jeremy did to start the support 
>> for Heat. He only implemented one API call in ResourceApi.java and it was 
>> still a big PR.
>>
>> Please follow a similar pattern and make your first PR only implement 1 or 2 
>> API calls from Ceilometer. The whole contribution process will go much more 
>> smoothly if we start with that as our base. We’ll also be able to discuss 
>> code like you have below in context.
>>
>> Thanks,
>> Everett
>>
>> [1] https://github.com/jclouds/jclouds-labs-openstack/pull/138
>>
>>
>> On Oct 22, 2014, at 1:19 AM, Avi Ben-Harush <avi.ben.har...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I'm working on implementing OS Ceilometer API
>>> (https://issues.apache.org/jira/browse/JCLOUDS-738) as part of the
>>> jclouds-labs-openstack repository.
>>>
>>> question is, how do I add the "v2" version to the url?
>>> currently I've added it as "@Path("/v2/meters")" to the Meters API
>>> interface but it's doesnt look like the right way.
>>>
>>>
>>>
>>> On Wed, Oct 1, 2014 at 6:42 PM, Jeremy Daggett
>>> <jeremy.dagg...@rackspace.com> wrote:
>>>> Hi Avi,
>>>>
>>>> Currently, there is no support for Ceilometer in jclouds. It was an
>>>> aspirational goal at the time, and would be great addition to the
>>>> OpenStack APIs at some point in the future.
>>>>
>>>> Here is a JIRA to formally track the issue:
>>>> https://issues.apache.org/jira/browse/JCLOUDS-738
>>>>
>>>>
>>>> Please feel free to watch/vote on the issue, thanks!
>>>>
>>>> /jd
>>>>
>>>>
>>>> On 10/1/14, 2:07 AM, "Avi Ben-Harush" <avi.ben.har...@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I couldn't find ceilometer support on jclouds, jclouds-labs-openstack nore
>>>>> on jclouds-lab repositories.
>>>>> is this still something you plan on supporting?
>>>>>
>>>>> thanks
>>>>>
>>>>> On Tue, Apr 2, 2013 at 7:03 PM, Jeremy Daggett <jeremy.dagg...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> I plan on creating several new OpenStack APIs in the next few weeks and
>>>>>> ceilometer is on that list. I can make sure that we get an issue created
>>>>>> for it.
>>>>>>
>>>>>> /jd
>>>>>>
>>>>>>
>>>>>> On Tue, Apr 2, 2013 at 12:28 AM, Adrian Cole <adrian.f.c...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Nope. If it were, it would be in an issue or jclouds-labs.
>>>>>>>
>>>>>>>
>>>>>>> On Monday, April 1, 2013, Anshul Gangwar wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Is OpenStack Ceilometer API is supported by JClouds?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Anshul
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "jclouds-dev" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>>>>> an email to jclouds-dev+unsubscr...@googlegroups.com.
>>>>>>>> To post to this group, send email to jclouds-...@googlegroups.com.
>>>>>>>> Visit this group at http://groups.google.com/group/jclouds-dev?hl=en.
>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> --
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups
>>>>>>> "jclouds-dev" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>>>> an
>>>>>>> email to jclouds-dev+unsubscr...@googlegroups.com.
>>>>>>> To post to this group, send email to jclouds-...@googlegroups.com.
>>>>>>> Visit this group at http://groups.google.com/group/jclouds-dev?hl=en.
>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups
>>>>>> "jclouds-dev" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>>> an
>>>>>> email to jclouds-dev+unsubscr...@googlegroups.com.
>>>>>> To post to this group, send email to jclouds-...@googlegroups.com.
>>>>>> Visit this group at http://groups.google.com/group/jclouds-dev?hl=en.
>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Avi Ben-Harush
>>>>
>>>
>>>
>>>
>>> --
>>> Avi Ben-Harush
>>
>
>
>
> --
> Avi Ben-Harush



-- 
Avi Ben-Harush

Reply via email to