Search in sources :

Example 1 with Actions

use of org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.Actions in project open-smart-grid-platform by OSGP.

the class BundleSteps method aABundleRequest.

@Given("^a bundle request$")
public void aABundleRequest(final Map<String, String> settings) throws Throwable {
    final BundleRequest request = new BundleRequest();
    request.setDeviceIdentification(getString(settings, PlatformSmartmeteringKeys.DEVICE_IDENTIFICATION, PlatformSmartmeteringDefaults.DEVICE_IDENTIFICATION));
    final Actions actions = new Actions();
    request.setActions(actions);
    ScenarioContext.current().put(PlatformSmartmeteringKeys.BUNDLE_REQUEST, request);
}
Also used : Actions(org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.Actions) BundleRequest(org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.BundleRequest) Given(io.cucumber.java.en.Given)

Aggregations

Given (io.cucumber.java.en.Given)1 Actions (org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.Actions)1 BundleRequest (org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.BundleRequest)1