From 37843cb3c1765bd5263e3c02f5b14ffa53041e1d Mon Sep 17 00:00:00 2001 From: dekstroza Date: Fri, 18 May 2018 14:42:24 +0100 Subject: json/yaml validation for models Introduced yaml-json-validator-maven-plugin a. Runs in validate phase b. For now only validate /import/tosca subfolders c. Validates both yml and json files Change-Id: I53513321c4378485dd821c251de5555050313911 Issue-ID: SDC-1343 Signed-off-by: dekstroza --- utils/webseal-simulator/pom.xml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'utils/webseal-simulator/pom.xml') diff --git a/utils/webseal-simulator/pom.xml b/utils/webseal-simulator/pom.xml index dbdd1d9581..b9f541bd5f 100644 --- a/utils/webseal-simulator/pom.xml +++ b/utils/webseal-simulator/pom.xml @@ -87,6 +87,37 @@ WSSimulator-${project.version} + + + com.github.sylvainlaurent.maven + yaml-json-validator-maven-plugin + + + validate + validate + + validate + + + + + + src/main/resources/**/*.y*ml + src/test/resources/**/*.y*ml + + + + + src/main/resources/**/*.json + src/test/resources/**/*.json + + + + + + + + -- cgit 1.2.3-korg