Changelog:
- Removed some unused imports - Bugfix in MessageHandler's getJaxbElement when creating the JAXBElement for SalesTariff. Corrected the namespace to create the QName object from MsgBody to MsgDataTypes - Removed the libs folder in RISE-V2G-SHARED as it is not needed with Maven
This commit is contained in:
parent
d8c9fc7bcd
commit
374e06e843
|
@ -41,7 +41,6 @@ import org.v2gclarity.risev2g.shared.misc.State;
|
|||
import org.v2gclarity.risev2g.shared.utils.ByteUtils;
|
||||
import org.v2gclarity.risev2g.shared.utils.MiscUtils;
|
||||
import org.v2gclarity.risev2g.shared.utils.SecurityUtils;
|
||||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.ACEVSEStatusType;
|
||||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.AuthorizationReqType;
|
||||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.AuthorizationResType;
|
||||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.BodyBaseType;
|
||||
|
@ -59,7 +58,6 @@ import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.CurrentDemandReqType;
|
|||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.CurrentDemandResType;
|
||||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.DCEVPowerDeliveryParameterType;
|
||||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.EMAIDType;
|
||||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.EVSENotificationType;
|
||||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.EnergyTransferModeType;
|
||||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.MessageHeaderType;
|
||||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.MeteringReceiptResType;
|
||||
|
|
|
@ -118,4 +118,4 @@ SignatureVerificationLog = true
|
|||
# - exificient
|
||||
# - open_exi
|
||||
# If no correct value is provided here, 'exificient' will be used
|
||||
EXICodec = open_exi
|
||||
EXICodec = exificient
|
||||
|
|
|
@ -28,7 +28,6 @@ import java.security.interfaces.ECPrivateKey;
|
|||
import java.util.HashMap;
|
||||
|
||||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.CertificateChainType;
|
||||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.EMAIDType;
|
||||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.SAScheduleListType;
|
||||
|
||||
public interface IBackendInterface {
|
||||
|
|
|
@ -33,9 +33,6 @@ import org.v2gclarity.risev2g.secc.evseController.IDCEVSEController;
|
|||
import org.v2gclarity.risev2g.secc.session.V2GCommunicationSessionSECC;
|
||||
import org.v2gclarity.risev2g.shared.enumerations.V2GMessages;
|
||||
import org.v2gclarity.risev2g.shared.messageHandling.ReactionToIncomingMessage;
|
||||
import org.v2gclarity.risev2g.shared.messageHandling.TerminateSession;
|
||||
import org.v2gclarity.risev2g.shared.misc.TimeRestrictions;
|
||||
import org.v2gclarity.risev2g.shared.utils.SleepUtils;
|
||||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.ACEVChargeParameterType;
|
||||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.BodyBaseType;
|
||||
import org.v2gclarity.risev2g.shared.v2gMessages.msgDef.ChargeParameterDiscoveryReqType;
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
*******************************************************************************/
|
||||
package org.v2gclarity.risev2g.secc.states;
|
||||
|
||||
import org.v2gclarity.risev2g.secc.evseController.IACEVSEController;
|
||||
import org.v2gclarity.risev2g.secc.session.V2GCommunicationSessionSECC;
|
||||
import org.v2gclarity.risev2g.shared.enumerations.V2GMessages;
|
||||
import org.v2gclarity.risev2g.shared.messageHandling.ReactionToIncomingMessage;
|
||||
|
|
|
@ -53,7 +53,6 @@ public class WaitForMeteringReceiptReq extends ServerState {
|
|||
meteringReceiptRes = new MeteringReceiptResType();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public ReactionToIncomingMessage processIncomingMessage(Object message) {
|
||||
if (isIncomingMessageValid(message, MeteringReceiptReqType.class, meteringReceiptRes)) {
|
||||
|
|
|
@ -25,7 +25,6 @@ package org.v2gclarity.risev2g.secc.transportLayer;
|
|||
|
||||
import java.io.IOException;
|
||||
import java.net.SocketException;
|
||||
|
||||
import javax.net.ssl.SSLServerSocket;
|
||||
import javax.net.ssl.SSLServerSocketFactory;
|
||||
import javax.net.ssl.SSLSocket;
|
||||
|
@ -59,8 +58,9 @@ public final class TLSServer extends StatefulTransportLayerServer {
|
|||
* - System.setProperty("javax.net.ssl.keyStore", [filePath given as a String])
|
||||
* - System.setProperty("javax.net.ssl.trustStore", [filePath given as a String])
|
||||
* does not work in a JAR file since only getResourceAsStream works there (which on the other
|
||||
* hand only returns an InputStream, not a file resource). Thus use setSSLFactories()
|
||||
* hand only returns an InputStream, not a file resource). Thus use setSSLContext()
|
||||
*/
|
||||
|
||||
SecurityUtils.setSSLContext(
|
||||
GlobalValues.SECC_KEYSTORE_FILEPATH.toString(),
|
||||
GlobalValues.SECC_TRUSTSTORE_FILEPATH.toString(),
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -264,6 +264,9 @@ public class MessageHandler {
|
|||
case "ContractSignatureEncryptedPrivateKey":
|
||||
messageName = "ContractSignatureEncryptedPrivateKey";
|
||||
break;
|
||||
case "SalesTariff": // SalesTariff is not defined in MsgBody XSD schema, but MsgDataTypes XSD schema
|
||||
namespace = GlobalValues.V2G_CI_MSG_DATATYPES_NAMESPACE.toString();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue