Spring Boot REST API that provides validation and conversion capabilities for midpoint code and data.
For more information with examples, see the documentation MidPilot Validator service.
Using Maven:
mvn clean spring-boot:runThe service will start on:
http://localhost:8080
The service exposes two endpoints:
Validates the provided input and returns validation results.
Method: POST
Path: /validate
Consumes: application/json, application/xml, application/yaml
Produces: application/json
Convert the provided Midpoint object and returns converted to target language.
Validate object (full or snippet) input as string.
java -jar validation-services.jar validate <code>Validate object (all or snippet) input as path of file. Required flag -f.
java -jar validation-services.jar validate <path-of-file> -fValidate all objects (xml, json, yaml) from midpoint-samples maven repository.
java -jar validation-services.jar validate -midpoint-samples|
Note
|
or shortcut of -midpoint-samples |
java -jar validation-services.jar validate -msConvert object (full or snippet) input as string.
java -jar validation-services.jar convert <code>