Search in sources :

Example 1 with GetPowerQualityProfileRequestBuilder

use of org.opensmartgridplatform.cucumber.platform.smartmetering.builders.GetPowerQualityProfileRequestBuilder in project open-smart-grid-platform by OSGP.

the class BundledGetPowerQualityProfileDataSteps method theBundleRequestContainsAGetPowerQualityProfileRequestAction.

@Given("^the bundle request contains a get power quality profile request with parameters$")
public void theBundleRequestContainsAGetPowerQualityProfileRequestAction(final Map<String, String> parameters) throws Throwable {
    final GetPowerQualityProfileRequest action = new GetPowerQualityProfileRequestBuilder().fromParameterMap(parameters).build();
    this.addActionToBundleRequest(action);
}
Also used : GetPowerQualityProfileRequest(org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.GetPowerQualityProfileRequest) GetPowerQualityProfileRequestBuilder(org.opensmartgridplatform.cucumber.platform.smartmetering.builders.GetPowerQualityProfileRequestBuilder) Given(io.cucumber.java.en.Given)

Aggregations

Given (io.cucumber.java.en.Given)1 GetPowerQualityProfileRequest (org.opensmartgridplatform.adapter.ws.schema.smartmetering.bundle.GetPowerQualityProfileRequest)1 GetPowerQualityProfileRequestBuilder (org.opensmartgridplatform.cucumber.platform.smartmetering.builders.GetPowerQualityProfileRequestBuilder)1