log.info("Throttling manager Validation info service Disabled");
} else {
String taskName = UUIDGenerator.generateUUID();
String groupId = UUIDGenerator.generateUUID();
TaskDescription taskDescription = new TaskDescription();
taskDescription.setName(taskName);
taskDescription.setGroup(groupId);
// we are triggering only at the period
taskDescription.setInterval(throttlingTask.getTriggerInterval());
//Delay first run by given minutes
Calendar startTime = Calendar.getInstance();
startTime.add(Calendar.MILLISECOND, throttlingTask.getStartDelayInterval());
taskDescription.setStartTime(startTime.getTime());
Map<String, Object> resources = new HashMap<String, Object>();
resources.put(ThrottlingJob.THROTTLING_TASK_CONTEXT_KEY, throttlingTask);
TaskScheduler taskScheduler = TaskSchedulerFactory.getTaskScheduler(THROTTLING_TASK_ID);