TASKPM/scripts/rest-clients
Fernando Bellas Permuy ed5c0976d2 ItEr40S20CUImportacionRecursosProductivosItEr39S23: Added support for importing resources containing criterion satisfactions.
Added support for importing resources containing criterion satisfactions. Complex validations are not implemented yet.
2009-12-29 17:13:12 +01:00
..
base64.sh ItEr40S20CUImportacionRecursosProductivosItEr39S23: "scripts/rest-clients" folder has been created with initial scripts for REST clients. 2009-12-23 13:53:13 +01:00
criterion-types-sample.xml ItEr40S20CUImportacionRecursosProductivosItEr39S23: "scripts/rest-clients" folder has been created with initial scripts for REST clients. 2009-12-23 13:53:13 +01:00
export-criterion-types.sh ItEr40S20CUImportacionRecursosProductivosItEr39S23: get-*.sh and post-*.sh REST scripts have been renamed to export-*.sh and import-*.sh, respectively. 2009-12-29 17:13:12 +01:00
import-criterions-types.sh ItEr40S20CUImportacionRecursosProductivosItEr39S23: get-*.sh and post-*.sh REST scripts have been renamed to export-*.sh and import-*.sh, respectively. 2009-12-29 17:13:12 +01:00
import-resources.sh ItEr40S20CUImportacionRecursosProductivosItEr39S23: REST service for importing resources exported remotely. 2009-12-29 17:13:12 +01:00
README ItEr40S20CUImportacionRecursosProductivosItEr39S23: REST service for importing resources exported remotely. 2009-12-29 17:13:12 +01:00
resources-sample.xml ItEr40S20CUImportacionRecursosProductivosItEr39S23: Added support for importing resources containing criterion satisfactions. 2009-12-29 17:13:12 +01:00
rest-common-env.sh ItEr40S20CUImportacionRecursosProductivosItEr39S23: "scripts/rest-clients" folder has been created with initial scripts for REST clients. 2009-12-23 13:53:13 +01:00

+ 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.xml
      (authenticate with wswriter/wswriter)

    - Check the returned errors are consistent with the comments in
      resources-sample.xml.

+ 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)