Re: Meta data service OAuth authentication

2015-02-09 Thread Udara Liyanage
Hi, Please find the APIs and sample requests. There is only a REST endpoint (token endpoint) to create token. Get all properties GET /application/{application_id}/cluster/{cluster_id}/properties *"properties":{* *{* *"name":"host",* *"valuese":"google.com "* *},* *{* *"name":"p

Re: Meta data service OAuth authentication

2015-02-08 Thread Imesh Gunaratne
Hi Udara, It would be better if you can send the list of API methods in Metadata service and sample requests. I can see that we are invoking the SOAP based OAuth Admin Service to generate the Token in the application parser. Do we have a REST API for accessing the OAuth Admin Service? If so we mi

Re: Meta data service OAuth authentication

2015-02-08 Thread Udara Liyanage
On 8 Feb 2015 15:19, "Gayan Gunarathne" wrote: > > Hi All, > > AFAIU from the current code base following the way we have implemented to handle the OAuth token authentication. > > 1. We will generate the OAuth token when the instance spawn and pass it through the cartridge payload as launch param(

Meta data service OAuth authentication

2015-02-08 Thread Gayan Gunarathne
Hi All, AFAIU from the current code base following the way we have implemented to handle the OAuth token authentication. 1. We will generate the OAuth token when the instance spawn and pass it through the cartridge payload as launch param(TOKEN) to the cartridge. 2. From the cartridge payload we