Class ModelValidationResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.devcon.impl.modelvalidation.rest.ModelValidationResource
- All Implemented Interfaces:
RestResource
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ConstructorDescriptionModelValidationResource
(SchemaModelValidator schemaModelValidator, ValidationState validationState, DataSource dataSource) -
Method Summary
Modifier and TypeMethodDescriptiongetChangelog
(FixRequestBean fixRequestBean) getSql
(FixRequestBean fixRequestBean) jakarta.ws.rs.core.Response
getSql
(StatementBean statementBean) jakarta.ws.rs.core.Response
Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
ModelValidationResource
public ModelValidationResource(SchemaModelValidator schemaModelValidator, ValidationState validationState, DataSource dataSource)
-
-
Method Details
-
startModelValidation
@POST @Produces("application/json") @Path("/validation") public jakarta.ws.rs.core.Response startModelValidation() -
getSql
@POST @Produces("application/json") @Path("/sql") public StatementBean getSql(FixRequestBean fixRequestBean) -
getChangelog
@POST @Produces("application/json") @Path("/changelog") public StatementBean getChangelog(FixRequestBean fixRequestBean) -
getSql
@POST @Produces("application/json") @Path("/execute/sql") public jakarta.ws.rs.core.Response getSql(StatementBean statementBean)
-