Yes, I found Gson in the classpath. It has version 2.7 On Wed, Sep 14, 2016 at 8:48 PM, Alexandr Porunov < alexandr.poru...@gmail.com> wrote:
> Hello Andrew, > > Now I cannot call that method because I cannot connect to OpenStack Swift > itself. I always get next error: > http://paste.openstack.org/show/576305/ > > Here is my proxy configs: > [filter:tempauth] > use = egg:swift#tempauth > user_admin_admin = admin .admin .reseller_admin > user_test_tester = testing .admin > user_test2_tester2 = testing2 .admin > user_test_tester3 = testing3 > > Here is my code: > SwiftApi swiftApi = ContextBuilder.newBuilder("openstack-swift") > .endpoint("http://192.168.0.58:8080/v1/") > .credentials("admin:admin", "admin") > .buildApi(SwiftApi.class); > > Can you help me please? > > Regards, > Alexandr > > On Wed, Sep 14, 2016 at 7:21 PM, Andrew Phillips <andr...@apache.org> > wrote: > >> What is "RegionOne" ? First of all if we talk about regions in Swift >>> then it can't be a String. It is Integer value. That is why I can't >>> understand what is "RegionOne" and how to create a simple container >>> with SwiftApi. >>> >> >> Could you call "getConfiguredRegions" on your API instance to see which >> regions are available? >> >> https://jclouds.apache.org/reference/javadoc/1.9.x/org/jclou >> ds/openstack/swift/v1/SwiftApi.html#getConfiguredRegions() >> >> Regards >> >> ap >> > >