Hi,

Found the issue. I've missed to implement the Serializable interface
in one child class. It is working now. Will run a complete test and
push the code to docker branch.

Thanks.

On Tue, Sep 16, 2014 at 7:51 AM, Nirmal Fernando <[email protected]> wrote:
> Hi Akila,
>
> This is a L1 for 4.1.0 - M1 IMO. Can you create a jira to track this please?
>
> On Tue, Sep 16, 2014 at 12:14 AM, Akila Ravihansa Perera
> <[email protected]> wrote:
>>
>> Hi,
>>
>> I hit a road block when developing Kubernetes Group registration
>> feature. When I try to persist the data object in the registry, it
>> throws an exception as in [1].
>>
>> TID: [0] [STRATOS] [2014-09-16 00:02:03,368] ERROR
>> {org.apache.stratos.rest.endpoint.services.ServiceUtils} -  Could not
>> persist data in registry
>> {org.apache.stratos.rest.endpoint.services.ServiceUtils}
>>
>> org.apache.stratos.autoscaler.stub.AutoScalerServiceInvalidKubernetesGroupExceptionException:
>> AutoScalerServiceInvalidKubernetesGroupExceptionException
>>
>>
>> I can see the values being passed correctly from the REST API to
>> AutoScaler service. I'm trying with remote debugging to find the
>> issue. Would appreciate if someone can look into the code at [2,3] and
>> see if something is wrong.
>>
>> [1] http://pastebin.com/PS7DDj0b
>> [2]
>> https://github.com/apache/stratos/blob/docker-integration/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/kubernetes/KubernetesManager.java
>>
>> [3]
>> https://github.com/apache/stratos/blob/docker-integration/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/registry/RegistryManager.java
>>
>> Thanks!
>>
>> --
>> Akila Ravihansa Perera
>> Software Engineer, WSO2
>>
>> Blog: http://ravihansa3000.blogspot.com
>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/



-- 
Akila Ravihansa Perera
Software Engineer, WSO2

Blog: http://ravihansa3000.blogspot.com

Reply via email to