Search in sources :

Example 1 with ActivateSecretsResponse

use of org.opensmartgridplatform.ws.schema.core.secret.management.ActivateSecretsResponse in project open-smart-grid-platform by OSGP.

the class SecretManagementEndpoint method activateSecrets.

public ActivateSecretsResponse activateSecrets(final ActivateSecretsRequest request) throws OsgpException {
    final SecretTypes soapSecretTypes = request.getSecretTypes();
    this.secretManagementService.activateNewSecrets(request.getDeviceId(), this.converter.convertToSecretTypes(soapSecretTypes));
    return new ActivateSecretsResponse();
}
Also used : ActivateSecretsResponse(org.opensmartgridplatform.ws.schema.core.secret.management.ActivateSecretsResponse) SecretTypes(org.opensmartgridplatform.ws.schema.core.secret.management.SecretTypes)

Aggregations

ActivateSecretsResponse (org.opensmartgridplatform.ws.schema.core.secret.management.ActivateSecretsResponse)1 SecretTypes (org.opensmartgridplatform.ws.schema.core.secret.management.SecretTypes)1