public void getIntentInstanceCompleteness() {
intentInstanceService.getIntentInstanceProgress();
}
- @Scheduled(cron = "0/20 * * * * ?")
+ @Scheduled(cron = "0/5 * * * * ?")
public void getIntentInstanceBandwidth() throws IOException {
intentInstanceService.getIntentInstanceBandwidth();
}
"Authorization: Basic QUFJOkFBSQ==",
"Accept: application/json"
})
- @DELETE("/aai/v24/business/customers/customer/{globalCustomerId}/service-subscriptions/service-subscription/{serviceType}/service-instances/service-instance/{serviceInstanceId}?resource-version={resourceVersion}")
- Call<Void> deleteServiceInstance(@Path("globalCustomerId") String globalCustomerId, @Path("serviceType") String serviceType, @Path("serviceInstanceId") String serviceInstanceId, @Path("resourceVersion") String resourceVersion);
+ @DELETE("/aai/v24/business/customers/customer/{globalCustomerId}/service-subscriptions/service-subscription/{serviceType}/service-instances/service-instance/{serviceInstanceId}")
+ Call<Void> deleteServiceInstance(@Path("globalCustomerId") String globalCustomerId, @Path("serviceType") String serviceType, @Path("serviceInstanceId") String serviceInstanceId, @Query("resource-version") String resourceVersion);
@Headers({
"Authorization: Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==",
params.put("subscriptionServiceType", "IBN");
params.put("serviceType", "CLL");
Map<String, Object> additionalProperties = new HashMap<>();
- additionalProperties.put("enableSdnc", "false");
+ additionalProperties.put("enableSdnc", "true");
additionalProperties.put("serviceInstanceID", "cll-" + instance.getInstanceId());
List<Map<String, Object>> transportNetworks = new ArrayList<>();
Map<String, Object> transportNetwork = new HashMap<>();
continue;
}
JSONObject networkPolicyInfo = networkPolicyInfoResponse.body();
- int maxBandwidth = networkPolicyInfo.getIntValue("max-bandwidth");
+ int maxBandwidth = networkPolicyInfo.getIntValue("max-bandwidth") * 1000;
InstancePerformance instancePerformance = new InstancePerformance();
instancePerformance.setMaxBandwidth(maxBandwidth);
instancePerformance.setResourceInstanceId(instance.getResourceInstanceId());