use of org.opensmartgridplatform.cucumber.platform.common.glue.steps.database.ws.NotificationWebServiceConfigurationBuilder in project open-smart-grid-platform by OSGP.
the class Database method notificationEndpointConfigurations.
private List<NotificationWebServiceConfiguration> notificationEndpointConfigurations() {
final NotificationWebServiceConfigurationBuilder builder = new NotificationWebServiceConfigurationBuilder().withApplicationName(this.notificationApplicationName).withMarshallerContextPath(this.notificationMarshallerContextPath).withTargetUri(this.notificationTargetUri).withoutCircuitBreakerConfig();
final NotificationWebServiceConfiguration testOrgConfig = builder.withOrganisationIdentification("test-org").build();
final NotificationWebServiceConfiguration noOrganisationConfig = builder.withOrganisationIdentification("no-organisation").build();
return Arrays.asList(testOrgConfig, noOrganisationConfig);
}
use of org.opensmartgridplatform.cucumber.platform.common.glue.steps.database.ws.NotificationWebServiceConfigurationBuilder in project open-smart-grid-platform by OSGP.
the class WsNotificationDatabase method notificationEndpointConfigurations.
private List<NotificationWebServiceConfiguration> notificationEndpointConfigurations() {
final NotificationWebServiceConfigurationBuilder builder = new NotificationWebServiceConfigurationBuilder().withApplicationName(this.applicationName).withMarshallerContextPath(this.marshallerContextPath).withTargetUri(this.targetUri).withoutCircuitBreakerConfig();
if (!this.useKeyStore) {
builder.withoutKeyStoreConfig().withoutTrustStoreConfig();
}
final NotificationWebServiceConfiguration testOrgConfig = builder.build();
final NotificationWebServiceConfiguration noOrganisationConfig = builder.withOrganisationIdentification("no-organisation").build();
return Arrays.asList(testOrgConfig, noOrganisationConfig);
}
use of org.opensmartgridplatform.cucumber.platform.common.glue.steps.database.ws.NotificationWebServiceConfigurationBuilder in project open-smart-grid-platform by OSGP.
the class Database method notificationEndpointConfigurations.
private List<NotificationWebServiceConfiguration> notificationEndpointConfigurations() {
final NotificationWebServiceConfigurationBuilder builder = new NotificationWebServiceConfigurationBuilder().withApplicationName(this.notificationApplicationName).withMarshallerContextPath(this.notificationMarshallerContextPath).withTargetUri(this.notificationTargetUri).withoutCircuitBreakerConfig().withoutKeyStoreConfig().withoutTrustStoreConfig();
final NotificationWebServiceConfiguration testOrgConfig = builder.withOrganisationIdentification("test-org").build();
final NotificationWebServiceConfiguration noOrganisationConfig = builder.withOrganisationIdentification("no-organisation").build();
return Arrays.asList(testOrgConfig, noOrganisationConfig);
}
use of org.opensmartgridplatform.cucumber.platform.common.glue.steps.database.ws.NotificationWebServiceConfigurationBuilder in project open-smart-grid-platform by OSGP.
the class Database method notificationEndpointConfigurations.
private List<NotificationWebServiceConfiguration> notificationEndpointConfigurations() {
final NotificationWebServiceConfigurationBuilder builder = new NotificationWebServiceConfigurationBuilder().withApplicationName(this.notificationApplicationName).withMarshallerContextPath(this.notificationMarshallerContextPath).withTargetUri(this.notificationTargetUri);
final NotificationWebServiceConfiguration osgpOrganizationConfig = builder.withOrganisationIdentification("OSGP").build();
return Arrays.asList(osgpOrganizationConfig);
}
Aggregations