TASKPM/scripts/rest-clients/README
Fernando Bellas Permuy d9f0a0ee51 ItEr42S12CUImportacionRecursosProductivosItEr41S15: Support for importing resources with cost assignments.
Support for importing resources with cost assignments has been implemented. Many test cases have been implemented for checking all constraint violations in cost assigments (special care has been taken to check time interval overlappings). toString method has been implemented in constraint violation related DTOs to facilitate debuging in testing.
2010-01-09 18:57:56 +01:00

62 lines
1.7 KiB
Text

+ Check you have "tidy" available from the command line.
+ Check you have "/usr/bin/ruby".
+ chmod u+x *.sh
+ When working with the local application:
* [Optional] For clarity: remove "navaldev" database + reload Jetty.
* Import criterion types:
- import-criterions-types.sh criterion-types-sample.xml
(authenticate with wswriter/wswriter)
- Check the returned errors are consistent with the comments in
criterion-types-sample.xml.
* Export criterion types:
- export-criterion-types.sh (authenticate with wsreader/wsreader)
* Import resources:
- import-resources.sh resources-sample-mini.xml (or resources-sample.xml)
(authenticate with wswriter/wswriter)
- Check the returned errors are consistent with the comments in
resources-sample.xml.
* Export order elements:
- export-order-element.sh ORDER-ELEMENT-CODE (authenticate with
wsreader/wsreader)
* Import orders:
- import-order.sh order-sample.xml (authenticate with wswriter/wswriter)
* Update orders:
- update-order.sh order-update-sample.xml (authenticate with
wswriter/wswriter)
+ When working with the online demo:
* import-criterions-types.sh --prod criterion-types-sample.xml
(authenticate with wswriter/wswriter)
* export-criterion-types.sh --prod (authenticate with wsreader/wsreader)
* import-resources.sh --prod resources-sample.xml
(authenticate with wswriter/wswriter)
* export-order-element.sh --prod ORDER-ELEMENT-CODE (authenticate with
wsreader/wsreader)
* import-order.sh --prod order-sample.xml (authenticate with
wswriter/wswriter)
* update-order.sh --prod order-update-sample.xml (authenticate with
wswriter/wswriter)