use of org.opensmartgridplatform.adapter.ws.schema.core.devicemanagement.FindScheduledTasksRequest in project open-smart-grid-platform by OSGP.
the class FindScheduledTasksSteps method whenReceivingAFindScheduledTasksRequests.
@When("receiving a find scheduled tasks request")
public void whenReceivingAFindScheduledTasksRequests() {
final FindScheduledTasksRequest request = new FindScheduledTasksRequest();
try {
final FindScheduledTasksResponse response = this.client.findScheduledTasks(request);
ScenarioContext.current().put(RESPONSE, response);
} catch (final WebServiceSecurityException e) {
ScenarioContext.current().put(RESPONSE, e);
}
}
use of org.opensmartgridplatform.adapter.ws.schema.core.devicemanagement.FindScheduledTasksRequest in project open-smart-grid-platform by OSGP.
the class AuthorizePlatformFunctionsSteps method findScheduledTasks.
private void findScheduledTasks(final Map<String, String> requestParameters) throws WebServiceSecurityException {
final FindScheduledTasksRequest request = new FindScheduledTasksRequest();
request.setDeviceIdentification(PlatformCommonDefaults.DEFAULT_DEVICE_IDENTIFICATION);
ScenarioContext.current().put(PlatformCommonKeys.RESPONSE, this.coreDeviceManagementClient.findScheduledTasks(request));
}
Aggregations