HI Ive made some more changes to this . It now fills in the default app_name 
and org_name from the constructor but can be over ridden by array of params 
passed into the Web Client command. Ive also added a OAuth 2 Guzzle plugin so 
it can be attached to the main Web Client and it will take care of OAuth2 for 
you so no need to make two calls one to get token then one to make your api 
call. I think Im going to move it into the main class so its there by default .

No one has commented on this so Im guessing there is no issue with anyone so 
I'll be making a pull request in the next day or so to try and get it into the 
main ApacheUsergrid repo. 

One thing I do need help on is the license . Ive added the Apache License file 
and header to all files Ive added the copyright to myself Im not sure if that 
ok or not from what I read in the contribute doc's I think it is ok.




October 17 2014 5:07 PM, [email protected] wrote: 
> Ive updated the Manifest files to version 1.0.1 that are now mapped from the 
> APigee Rest endpoints
> doc rather then the swagger files.
> 
> All that is left todo is to hook up the response model classes in the 
> manifest files and finish all
> the unit tests.
> And add a event listener to all commands so the system can catch the first 
> command call and get the
> Oauth 2 token for you so you only need to worry about setting the grant_type 
> in the config file and
> let the system get the token and set the token for each request.
> And add any convenance methods to the Response Model classes that make it 
> easier to interact with
> the return responses.
> 
> If anyone thinks there is more to do let me know.
> 
> October 16 2014 12:54 PM, "Rod Simpson" <[email protected]> wrote:
> 
>> Jason,
>> 
>> This is great. I will look it over tomorrow.
>> 
>> Thanks!
>> 
>> Rod
>> 
>> --
>> Rod Simpson
>> @rockerston
>> rodsimpson.com
>> 
>> On October 15, 2014 at 8:24:27 PM, [email protected] 
>> ([email protected]) wrote:
>> 
>> HI to all, Sorry for starting new thread Ive can not find the other one Ive 
>> started ..
>> Ive created a new PHP Usergrid SDK, using Guzzle web service client . Its 
>> able to interact with
> all
>> api end points, Management , Application , Organisation API. It has 
>> versioned web service
>> descriptors (like swagger schemas) so going forward its easier to maintain 
>> and update. Its Also
> has
>> a Facade feature so It can be called using a static method call just like 
>> AWS SDK, It also has a
>> Laravel Framework Service Provider and a Native service provider so its can 
>> be used without any
>> framework but it will work out of the box with all modern php frameworks 
>> that use Service
> Providers
>> or IoC containers like, Symfony 2, Laravel, Slix . But just to be clear its 
>> framework agnostic so
>> will work with all projects ..
>> Example usage :
>> Usergrid::Management->getOrgs();
>> Usergrid::Application->getEntity();
>> Usergrid::Notification->toDevices();
>> I would appreciate any feed back at all and please fork share and enjoy its 
>> not 100% ready but
> its
>> 95% done.
>> https://[email protected]/apps4u/apache-usergrid.git

Reply via email to