CruGlobal/dss-middleware — pull request #15 by mattdrees (2013-10-25 21:11:45+00:00)
Title: adapt to wsapi auth and url changes

This pull request adapts to some recent wsapi changes that I made:
* use dss-middleware-specific oath token
* use the new urls for designations and campaigns

I didn't see a quick way to test my changes. So they are not tested.

I'm not 100% sure the `@Path("/")` in CampaignClient will work. I think it should, but if resteasy complains about it, the treatment method will have to be pulled out into a separate TreatmentClient. Or, you could switch the project over and use the jax-rs 2.0 client api (which is a better client api that resteasy's proxy api, but it'd take some work -- I did this for wsapi, so I can point you to the commits I made if you'd like).

The dssapi oath token is live in wsapi stage, but not wsapi prod.