Nope, that's not the case. Looking at https://github.com/jclouds/jclouds/blob/master/providers/aws-ec2/src/test/java/org/jclouds/aws/ec2/compute/extensions/AWSEC2ImageExtensionLiveTest.java#L43, it's got the right provider, but it's barfing. I was able to get the test to pass by changing "AWSEC2Api client = view.unwrapApi(AWSEC2Api.class)" to "AWSEC2Api client = (AWSEC2Api)view.unwrapApi(EC2Api.class)" but that feels like cheating, and makes me worry about actual use cases...
A. On Thu, Sep 26, 2013 at 3:21 PM, Andrew Bayer <[email protected]>wrote: > No, it isn't - there's no getApi() on the return from unwrap(). > > Lemme see if I can find anything referencing "ec2"... > > A. > > > On Thu, Sep 26, 2013 at 3:19 PM, Andrew Bayer <[email protected]>wrote: > >> Hrm. Maybe Intellij's lying to me... >> >> A. >> >> >> On Thu, Sep 26, 2013 at 2:43 PM, Andrew Phillips >> <[email protected]>wrote: >> >>> There is no view.unwrap().getApi() any more. =) >>>> >>> >>> https://github.com/jclouds/**jclouds/blob/master/core/src/** >>> main/java/org/jclouds/View.**java#L71<https://github.com/jclouds/jclouds/blob/master/core/src/main/java/org/jclouds/View.java#L71> >>> >>> ? Or are you talking about your fork here..? >>> >>> ap >>> >> >> >
