stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akila Ravihansa Perera <raviha...@wso2.com>
Subject Re: Meta Data Service Client as a Separate Component
Date Mon, 22 Sep 2014 12:12:39 GMT
Hi Lahiru,

We faced some issues with RestEasy library and JAX-RS based libraries.
We couldn't get them to work within the Carbon platform because of
some ClassDef not found issue. So I guess we will have to stick with
Apache HTTP library and write a wrapper.

On Mon, Sep 22, 2014 at 5:32 PM, Lahiru Sandaruwan <lahirus@wso2.com> wrote:
> +1 for a generic client as code would be easy to manage if so.
>
> Nirmal has suggested "RestEasy" at the thread "Java client for Kubernetes
> REST API". It seems that is a good library.
> Shall we stick to that?
>
> Thanks.
>
> On Fri, Sep 19, 2014 at 1:12 PM, Sajith Kariyawasam <sajith@wso2.com> wrote:
>>
>>
>> On Thu, Sep 18, 2014 at 5:21 PM, Isuru Haththotuwa <isuruh@apache.org>
>> wrote:
>>>
>>> Hi Akila,
>>>
>>> I'm not aware if there is a generic carbon component for this. But, I
>>> totally agree with the second point; we can implement a generic rest client.
>>> Currently we have one in the CLI, and now we are going to have the same for
>>> Kubernetes and Meta Data service clients. We can put all the required
>>> functionality in a single component and re-use.
>>
>>
>> +1 for a generic rest client. I also need to have a rest client for
>> invoking Jenkins docker image build operations.
>>>
>>>
>>>
>>> On Thu, Sep 18, 2014 at 4:55 PM, Akila Ravihansa Perera
>>> <ravihansa@wso2.com> wrote:
>>>>
>>>> Hi Isuru,
>>>>
>>>> Thanks for the explanation.
>>>>
>>>> Don't we have a Carbon platform component to achieve this? Just making
>>>> sure we are not replicating the functionality.
>>>>
>>>>
>>>> Can we create a generic REST client that can be used for communicating
>>>> with other REST services too? For eg - we need to have a REST client
>>>> to communicate with the Kubernetes API for Docker integration.
>>>
>>>
>>>>
>>>>
>>>> Any thoughts?
>>>>
>>>> On Thu, Sep 18, 2014 at 4:10 PM, Isuru Haththotuwa <isuruh@apache.org>
>>>> wrote:
>>>> > Hi Akila,
>>>> >
>>>> > On Thu, Sep 18, 2014 at 2:09 PM, Akila Ravihansa Perera
>>>> > <ravihansa@wso2.com>
>>>> > wrote:
>>>> >>
>>>> >> +1
>>>> >>
>>>> >> Meta-data service is going to be vital when implementing clustering
>>>> >> support for application services as well. I think it's better to
have
>>>> >> it as a  separate component.
>>>> >>
>>>> >> Could you please explain what components will have dependencies
to
>>>> >> the
>>>> >> meta-data service client? This is going to be a REST client right?
>>>> >
>>>> > Yes, what I thought is to make it a rest client. At the moment, it
>>>> > does not
>>>> > have any dependencies on other components.
>>>> >>
>>>> >>
>>>> >> Also we might want to think about security permissions for meta-data
>>>> >> service too. We can integrate this with the new user management
model
>>>> >> that is being developed.
>>>> >
>>>> > Yes. For the initial version, I will not be focusing on the
>>>> > authentication/authorization aspects much. +1 for using the new
>>>> > permission
>>>> > model if its viable.
>>>> >>
>>>> >>
>>>> >> Thanks.
>>>> >>
>>>> >> On Wed, Sep 17, 2014 at 3:12 PM, Isuru Haththotuwa
>>>> >> <isuruh@apache.org>
>>>> >> wrote:
>>>> >> > Hi Devs,
>>>> >> >
>>>> >> > In Service Grouping, we would heavily need to use the meta
data
>>>> >> > service
>>>> >> > to
>>>> >> > put and get data. Therefore, shall we implement a $subject?
Then it
>>>> >> > can
>>>> >> > be
>>>> >> > re-used wherever required across Stratos. WDYT?
>>>> >> >
>>>> >> >
>>>> >> > --
>>>> >> > Thanks and Regards,
>>>> >> >
>>>> >> > Isuru H.
>>>> >> > +94 716 358 048
>>>> >> >
>>>> >> >
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> Akila Ravihansa Perera
>>>> >> Software Engineer, WSO2
>>>> >>
>>>> >> Blog: http://ravihansa3000.blogspot.com
>>>> >>
>>>> >> --
>>>> >> Thanks and Regards,
>>>> >>
>>>> >> Isuru H.
>>>> >> +94 716 358 048
>>>> >>
>>>> >>
>>>> >>
>>>> >>
>>>> >>
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Akila Ravihansa Perera
>>>> Software Engineer, WSO2
>>>>
>>>> Blog: http://ravihansa3000.blogspot.com
>>>>
>>>> --
>>>> Thanks and Regards,
>>>>
>>>> Isuru H.
>>>> +94 716 358 048
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>> --
>> Sajith Kariyawasam
>> Committer and PMC member, Apache Stratos,
>> WSO2 Inc., http://wso2.com
>> AMIE (SL)
>> Mobile: +94772269575
>>
>
>
>
> --
> --
> Lahiru Sandaruwan
> Committer and PMC member, Apache Stratos,
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahirus@wso2.com cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>



-- 
Akila Ravihansa Perera
Software Engineer, WSO2

Blog: http://ravihansa3000.blogspot.com

Mime
View raw message