Re: Can not create SwiftApi with tempauth

2016-09-14 Thread Alexandr Porunov
Thank you. I forced to use Gson 2.5 but now I have problems with regions. When I use: Set regions = swiftApi.getConfiguredRegions(); I get an error: Request processing failed; nested exception is org.jclouds.http.HttpResponseException: command: POST http://192.168.0.58:8080/auth/v1.0/tokens

Re: Can not create SwiftApi with tempauth

2016-09-14 Thread Ignasi Barrera
If you use Spring Boot 1.4, then you might be affected by JCLOUDS-1160 [1], as it comes with a Gson version newer than the one supported by jclouds. See the issue and the linked one for more details. If that is your case, is there any chance you can force a version of Gson <= 2.5? [1]

Re: Can not create SwiftApi with tempauth

2016-09-14 Thread Ignasi Barrera
Which version of jclouds are you using? Are you using Gson too in your project? In that case, which version of Gson are you using? On 14 September 2016 at 19:45, Alexandr Porunov wrote: > Hello, > > How to use jclouds with OpenStack Swift? > > Here is my code: >