TASKPM/scripts/rest-clients/README
Fernando Bellas Permuy e4d9fa0e01 ItEr40S20CUImportacionRecursosProductivosItEr39S23: "scripts/rest-clients" folder has been created with initial scripts for REST clients.
The new foler includes a README file (please, update it when adding new scripts), common scripts (base64.sh and rest-common-env.sh), two scripts (post-criterions-types.sh and get-criterion-types.sh) for importing/exporting criterion types, and a sample file (criterion-types-sample.xml) with criterion types to be imported.
2009-12-23 13:53:13 +01:00

28 lines
775 B
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:
- post-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:
- get-criterion-types.sh (authenticate with wsreader/wsreader)
+ When working with the online demo:
* post-criterions-types.sh --prod criterion-types-sample.xml
(authenticate with wswriter/wswriter)
* get-criterion-types.sh --prod (authenticate with wsreader/wsreader)