fix: properly deprecate payloadSchemaValidation template configuration
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 11 Jul 2023 20:56:02 +0000 (22:56 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 11 Jul 2023 20:56:02 +0000 (22:56 +0200)
key

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ChargingStationUtils.ts

index 3e6e578b312a502249e136b330a23ed7b076abd0..868d0adbf23970b8157ad9ca03256ec4eeaae533 100644 (file)
@@ -357,6 +357,7 @@ export const warnTemplateKeysDeprecation = (
   const templateKeys: { key: string; deprecatedKey: string }[] = [
     { key: 'supervisionUrls', deprecatedKey: 'supervisionUrl' },
     { key: 'idTagsFile', deprecatedKey: 'authorizationFile' },
+    { key: 'ocppStrictCompliance', deprecatedKey: 'payloadSchemaValidation' },
   ];
   for (const templateKey of templateKeys) {
     warnDeprecatedTemplateKey(