stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirmal Fernando <nirmal070...@gmail.com>
Subject Re: Java client for Kubernetes REST API
Date Thu, 04 Sep 2014 05:09:53 GMT
All,

I'm done with the initial version of the Kubernetes JAVA client. Interface
can be found here :
https://github.com/nirmal070125/KubernetesAPIJavaClient/blob/master/src/main/java/org/apache/stratos/kubernetes/api/client/interfaces/KubernetesAPIClientInterface.java

A demonstration of the Client can be found at
https://github.com/nirmal070125/KubernetesAPIJavaClient/blob/master/src/main/java/org/apache/stratos/kubernetes/api/client/Main.java

Currently, GET, POST, DELETE operations are implemented for Pods,
Replication Controllers, Services. I've not implemented PUT operation yet,
since it's not of that priority as of now.

Do fire any suggestions!


On Tue, Sep 2, 2014 at 9:26 AM, Nirmal Fernando <nirmal070125@gmail.com>
wrote:

> I've implemented all the Pod related operations and tested on a Kubernetes
> cluster. Next will be implementing replicationControllers.
>
>
> On Sun, Aug 31, 2014 at 9:20 PM, Nirmal Fernando <nirmal070125@gmail.com>
> wrote:
>
>>
>>
>>
>> On Sun, Aug 31, 2014 at 9:20 PM, Nirmal Fernando <nirmal070125@gmail.com>
>> wrote:
>>
>>> Hi Guys,
>>>
>>> I started to work on writing a Java client for Kubernetes REST API and
>>> the initial version is here
>>> https://github.com/nirmal070125/KubernetesAPIJavaClient
>>>
>>> Currently is only tested for getting a Kubernetes Pod and I'll be adding
>>> support for other API operations mentioned here :
>>> http://cdn.rawgit.com/GoogleCloudPlatform/kubernetes/31a0daae3627c91bc96e1f02a6344cd76e294791/api/kubernetes.html
>>>
>>> *Implementation*:
>>>
>>> I'm using RestEasy (https://github.com/resteasy/Resteasy) library for
>>> creating the client.
>>>
>>> I'll keep this thread posted as I progress.
>>>
>>> --
>>> Best Regards,
>>> Nirmal
>>>
>>> Nirmal Fernando.
>>> PPMC Member & Committer of Apache Stratos,
>>> Senior Software Engineer, WSO2 Inc.
>>>
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Mime
View raw message