-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from com-pas/develop
New release
- Loading branch information
Showing
49 changed files
with
363 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
...n/java/org/lfenergy/compas/scl/validator/rest/v1/websocket/SclValidateRequestDecoder.java
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
...n/java/org/lfenergy/compas/scl/validator/rest/v1/websocket/SclValidateRequestEncoder.java
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
.../java/org/lfenergy/compas/scl/validator/rest/v1/websocket/SclValidateResponseDecoder.java
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
.../java/org/lfenergy/compas/scl/validator/rest/v1/websocket/SclValidateResponseEncoder.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...st/v1/event/SclValidatorEventRequest.java → ...event/model/SclValidatorEventRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...a/org/lfenergy/compas/scl/validator/websocket/v1/decoder/SclValidateWsRequestDecoder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// SPDX-FileCopyrightText: 2022 Alliander N.V. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
package org.lfenergy.compas.scl.validator.websocket.v1.decoder; | ||
|
||
import org.lfenergy.compas.core.websocket.AbstractDecoder; | ||
import org.lfenergy.compas.core.websocket.WebsocketSupport; | ||
import org.lfenergy.compas.scl.validator.websocket.v1.model.SclValidateWsRequest; | ||
|
||
public class SclValidateWsRequestDecoder extends AbstractDecoder<SclValidateWsRequest> { | ||
@Override | ||
public boolean willDecode(String message) { | ||
return (message != null); | ||
} | ||
|
||
@Override | ||
public SclValidateWsRequest decode(String message) { | ||
return WebsocketSupport.decode(message, SclValidateWsRequest.class); | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
.../org/lfenergy/compas/scl/validator/websocket/v1/decoder/SclValidateWsResponseDecoder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// SPDX-FileCopyrightText: 2022 Alliander N.V. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
package org.lfenergy.compas.scl.validator.websocket.v1.decoder; | ||
|
||
import org.lfenergy.compas.core.websocket.AbstractDecoder; | ||
import org.lfenergy.compas.core.websocket.WebsocketSupport; | ||
import org.lfenergy.compas.scl.validator.websocket.v1.model.SclValidateWsResponse; | ||
|
||
public class SclValidateWsResponseDecoder extends AbstractDecoder<SclValidateWsResponse> { | ||
@Override | ||
public boolean willDecode(String message) { | ||
return (message != null); | ||
} | ||
|
||
@Override | ||
public SclValidateWsResponse decode(String message) { | ||
return WebsocketSupport.decode(message, SclValidateWsResponse.class); | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...a/org/lfenergy/compas/scl/validator/websocket/v1/encoder/SclValidateWsRequestEncoder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// SPDX-FileCopyrightText: 2022 Alliander N.V. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
package org.lfenergy.compas.scl.validator.websocket.v1.encoder; | ||
|
||
import org.lfenergy.compas.core.websocket.AbstractEncoder; | ||
import org.lfenergy.compas.core.websocket.WebsocketSupport; | ||
import org.lfenergy.compas.scl.validator.websocket.v1.model.SclValidateWsRequest; | ||
|
||
public class SclValidateWsRequestEncoder extends AbstractEncoder<SclValidateWsRequest> { | ||
@Override | ||
public String encode(SclValidateWsRequest jaxbObject) { | ||
return WebsocketSupport.encode(jaxbObject, SclValidateWsRequest.class); | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
.../org/lfenergy/compas/scl/validator/websocket/v1/encoder/SclValidateWsResponseEncoder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// SPDX-FileCopyrightText: 2022 Alliander N.V. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
package org.lfenergy.compas.scl.validator.websocket.v1.encoder; | ||
|
||
import org.lfenergy.compas.core.websocket.AbstractEncoder; | ||
import org.lfenergy.compas.core.websocket.WebsocketSupport; | ||
import org.lfenergy.compas.scl.validator.websocket.v1.model.SclValidateWsResponse; | ||
|
||
public class SclValidateWsResponseEncoder extends AbstractEncoder<SclValidateWsResponse> { | ||
@Override | ||
public String encode(SclValidateWsResponse jaxbObject) { | ||
return WebsocketSupport.encode(jaxbObject, SclValidateWsResponse.class); | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
.../main/java/org/lfenergy/compas/scl/validator/websocket/v1/model/SclValidateWsRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// SPDX-FileCopyrightText: 2022 Alliander N.V. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package org.lfenergy.compas.scl.validator.websocket.v1.model; | ||
|
||
import org.eclipse.microprofile.openapi.annotations.media.Schema; | ||
import org.lfenergy.compas.scl.validator.rest.v1.model.SclValidateRequest; | ||
|
||
import javax.xml.bind.annotation.XmlAccessType; | ||
import javax.xml.bind.annotation.XmlAccessorType; | ||
import javax.xml.bind.annotation.XmlRootElement; | ||
import javax.xml.bind.annotation.XmlType; | ||
|
||
import static org.lfenergy.compas.scl.validator.SclValidatorConstants.SCL_VALIDATOR_SERVICE_V1_NS_URI; | ||
|
||
@Schema(description = "The Validation Request retrieved") | ||
@XmlType(name = "SclValidateWsRequest", namespace = SCL_VALIDATOR_SERVICE_V1_NS_URI) | ||
@XmlRootElement(name = "SclValidateWsRequest", namespace = SCL_VALIDATOR_SERVICE_V1_NS_URI) | ||
@XmlAccessorType(XmlAccessType.FIELD) | ||
public class SclValidateWsRequest extends SclValidateRequest { | ||
} |
21 changes: 21 additions & 0 deletions
21
...main/java/org/lfenergy/compas/scl/validator/websocket/v1/model/SclValidateWsResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-FileCopyrightText: 2022 Alliander N.V. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
package org.lfenergy.compas.scl.validator.websocket.v1.model; | ||
|
||
import org.eclipse.microprofile.openapi.annotations.media.Schema; | ||
import org.lfenergy.compas.scl.validator.rest.v1.model.SclValidateResponse; | ||
|
||
import javax.xml.bind.annotation.XmlAccessType; | ||
import javax.xml.bind.annotation.XmlAccessorType; | ||
import javax.xml.bind.annotation.XmlRootElement; | ||
import javax.xml.bind.annotation.XmlType; | ||
|
||
import static org.lfenergy.compas.scl.validator.SclValidatorConstants.SCL_VALIDATOR_SERVICE_V1_NS_URI; | ||
|
||
@Schema(description = "The Validation Response returned") | ||
@XmlType(name = "SclValidateWsResponse", namespace = SCL_VALIDATOR_SERVICE_V1_NS_URI) | ||
@XmlRootElement(name = "SclValidateWsResponse", namespace = SCL_VALIDATOR_SERVICE_V1_NS_URI) | ||
@XmlAccessorType(XmlAccessType.FIELD) | ||
public class SclValidateWsResponse extends SclValidateResponse { | ||
} |
Oops, something went wrong.