mirror of https://github.com/apache/jclouds.git
wire up adminCatalog client
This commit is contained in:
parent
c711b7ed49
commit
aaa22ffe17
|
@ -26,6 +26,7 @@ import org.jclouds.vcloud.director.v1_5.domain.Session;
|
|||
import org.jclouds.vcloud.director.v1_5.domain.Task;
|
||||
import org.jclouds.vcloud.director.v1_5.domain.Vdc;
|
||||
import org.jclouds.vcloud.director.v1_5.domain.ovf.Network;
|
||||
import org.jclouds.vcloud.director.v1_5.features.AdminCatalogAsyncClient;
|
||||
import org.jclouds.vcloud.director.v1_5.features.CatalogAsyncClient;
|
||||
import org.jclouds.vcloud.director.v1_5.features.NetworkAsyncClient;
|
||||
import org.jclouds.vcloud.director.v1_5.features.OrgAsyncClient;
|
||||
|
@ -106,4 +107,9 @@ public interface VCloudDirectorAsyncClient {
|
|||
@Delegate
|
||||
VAppTemplateAsyncClient getVAppTemplateClient();
|
||||
|
||||
/**
|
||||
* @return asynchronous access to {@link Catalog} features
|
||||
*/
|
||||
@Delegate
|
||||
AdminCatalogAsyncClient getAdminCatalogClient();
|
||||
}
|
||||
|
|
|
@ -29,6 +29,7 @@ import org.jclouds.vcloud.director.v1_5.domain.Session;
|
|||
import org.jclouds.vcloud.director.v1_5.domain.Task;
|
||||
import org.jclouds.vcloud.director.v1_5.domain.Vdc;
|
||||
import org.jclouds.vcloud.director.v1_5.domain.ovf.Network;
|
||||
import org.jclouds.vcloud.director.v1_5.features.AdminCatalogClient;
|
||||
import org.jclouds.vcloud.director.v1_5.features.CatalogClient;
|
||||
import org.jclouds.vcloud.director.v1_5.features.MediaClient;
|
||||
import org.jclouds.vcloud.director.v1_5.features.NetworkClient;
|
||||
|
@ -84,7 +85,7 @@ public interface VCloudDirectorClient {
|
|||
*/
|
||||
@Delegate
|
||||
CatalogClient getCatalogClient();
|
||||
|
||||
|
||||
/**
|
||||
* @return synchronous access to {@link Media} features
|
||||
*/
|
||||
|
@ -108,5 +109,11 @@ public interface VCloudDirectorClient {
|
|||
*/
|
||||
@Delegate
|
||||
VAppTemplateClient getVAppTemplateClient();
|
||||
|
||||
/**
|
||||
* @return synchronous access to {@link Catalog} features
|
||||
*/
|
||||
@Delegate
|
||||
AdminCatalogClient getAdminCatalogClient();
|
||||
|
||||
}
|
||||
|
|
|
@ -85,6 +85,7 @@ public class VCloudDirectorRestClientModule extends RestClientModule<VCloudDirec
|
|||
.put(UploadClient.class, UploadAsyncClient.class)
|
||||
.put(MetadataClient.Readable.class, MetadataAsyncClient.Readable.class)
|
||||
.put(MetadataClient.Writeable.class, MetadataAsyncClient.Writable.class)
|
||||
.put(AdminCatalogClient.class, AdminCatalogAsyncClient.class)
|
||||
.build();
|
||||
|
||||
public VCloudDirectorRestClientModule() {
|
||||
|
|
Loading…
Reference in New Issue