TASKPM/scripts/rest-clients/criterion-types-update-sample.xml
Fernando Bellas Permuy 16b87de8ed ItEr46S13CUImportacionRecursosProductivosItEr45S11: First version of the generic REST service and CriterionServiceREST reimplemented in terms of it.
GenericRESTService provides initial common functionality to all services. Some another generic infraestructure has been improved (IntegrationEntity,  IIntegrationEntityDAO, InstanceConstraintViolationsDTO, and ConstraintViolationConverter) or simplified (IntegrationEntityDTO).

GenericRESTService does not implement all desirable features yet (e.g. recoverable errors). Please, do not use it yet.

CriterionServiceREST has been reimplemented in terms of it. Tests have also been improved.
2010-02-05 12:25:36 +01:00

26 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- These updates could be part of criterion-types-sample.xml but have been
extracted to an independent file for clarity (this way, by using the Web
user interface, one can see the effects of importing
criterion-types-sample.xml first, and then
criterion-types-update-sample.xml). -->
<criterion-type-list xmlns="http://rest.ws.navalplanner.org">
<!-- OK (change criterion type's name and description, move criterion
"ct-4-c2-1-1" of position in the criterion hierarchy and set active to
true, and add a new criterion ("ct-4-c2-3"). -->
<criterion-type code="ct-4" name="ct-4 UPDATED" description="ct-4 desc UPDATED">
<criterion-list>
<criterion code="ct-4-c2">
<children>
<criterion code="ct-4-c2-1-1" active="true"/>
<criterion code="ct-4-c2-3" name="c2-3" active="true"/>
</children>
</criterion>
</criterion-list>
</criterion-type>
</criterion-type-list>