-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Description
Hi,
I am using the Java package im-java-api version 0.4.15 in indigo-dc orchestrator. I see from the code of IM that you have the force parameter (as reported in your guide) to force the deletion of an infrastructure. Unfortunately in the Java client for the REST API of the IM it is not supported. Indeed the function destroyInfrastructureAsync in the InfrastructureManager class is defined as
public void destroyInfrastructureAsync(String infId) throws ImClientException {
RestParameter asyncParameter = createCallParameters(REST_PARAMETER_NAME_ASYNC, true);
getImClient().delete(PATH_INFRASTRUCTURES + PATH_SEPARATOR + infId,
String.class, asyncParameter);
}
and the only argument it takes is the infrastructure id. I tried to concatenate it with "?force=true" but it seems it doesn't work.
Metadata
Metadata
Assignees
Labels
No labels