From cd8c5ebd928fa665eef68517dafa12ab83830a90 Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Tue, 3 Aug 2010 18:34:19 -0700 Subject: [PATCH] fixed a bug. This is a tempalte ID, not catalog ID --- .../jclouds/vcloud/terremark/TerremarkVCloudAsyncClient.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vcloud/terremark/src/main/java/org/jclouds/vcloud/terremark/TerremarkVCloudAsyncClient.java b/vcloud/terremark/src/main/java/org/jclouds/vcloud/terremark/TerremarkVCloudAsyncClient.java index 134c22727f..b1ed03598c 100644 --- a/vcloud/terremark/src/main/java/org/jclouds/vcloud/terremark/TerremarkVCloudAsyncClient.java +++ b/vcloud/terremark/src/main/java/org/jclouds/vcloud/terremark/TerremarkVCloudAsyncClient.java @@ -63,6 +63,7 @@ import org.jclouds.vcloud.endpoints.Org; import org.jclouds.vcloud.filters.SetVCloudTokenCookie; import org.jclouds.vcloud.functions.CatalogIdToUri; import org.jclouds.vcloud.functions.VAppId; +import org.jclouds.vcloud.functions.VAppTemplateIdToUri; import org.jclouds.vcloud.options.InstantiateVAppTemplateOptions; import org.jclouds.vcloud.terremark.binders.BindNodeConfigurationToXmlPayload; import org.jclouds.vcloud.terremark.binders.BindVAppConfigurationToXmlPayload; @@ -158,7 +159,7 @@ public interface TerremarkVCloudAsyncClient extends VCloudAsyncClient { @MapBinder(TerremarkBindInstantiateVAppTemplateParamsToXmlPayload.class) ListenableFuture instantiateVAppTemplateInVDC(@PathParam("vDCId") String vDCId, @MapPayloadParam("name") @ParamValidators(DnsNameValidator.class) String appName, - @MapPayloadParam("template") @ParamParser(CatalogIdToUri.class) String templateId, + @MapPayloadParam("template") @ParamParser(VAppTemplateIdToUri.class) String templateId, InstantiateVAppTemplateOptions... options); /**