use of org.onap.so.apihandlerinfra.tenantisolation.exceptions.AAIClientCallFailed in project so by onap.
the class AAIClientHelper method updateAaiOperationalEnvironment.
public void updateAaiOperationalEnvironment(String operationalEnvironmentId, Map<String, String> payload) throws AAIClientCallFailed {
try {
AAIResourceUri uri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.cloudInfrastructure().operationalEnvironment(operationalEnvironmentId));
AAIResourcesClient aaiClient = this.getClient();
aaiClient.update(uri, payload);
} catch (Exception ex) {
logStackTrace(ex);
throw new AAIClientCallFailed("Call to A&AI failed!", ex);
}
}
Aggregations