TASKPM/scripts/rest-clients
Fernando Bellas Permuy f04de2d768 ItEr43S08CUImportacionRecursosProductivosItEr42S12: Added support for detecting overlapping in criterion satisfactions when importing resources.
Please note that criterion satisfaction overlapping means: (1) if criterion satisfactions refer to the same Criterion, they must not overlap (regardless of its CriterionType allows simultaneous criterion satisfactions per resource), and (2) if CriterionType does not allow simultaneous criterion satisfactions per resource, criterion satisfactions (of the same type) must not overlap (regardless of they refer to different Criterion objects).
2010-01-15 11:25:06 +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 ItEr43S05ValidacionEProbasFuncionaisItEr42S05: Minor improvements to criterion REST service. 2010-01-14 18:02:59 +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
export-order-element.sh ItEr41S16ImplantacionAplicacionItEr40S21: Added scripts for order elements service. 2010-01-02 12:58:45 +01:00
get-xml-schema.sh ItEr43S09ImplantacionAplicacionItEr42S13: Added script to get XML Schema of web services. 2010-01-13 14:04:54 +01:00
import-criterions-types.sh ItEr41S16ImplantacionAplicacionItEr40S21: Added scripts for order elements service. 2010-01-02 12:58:45 +01:00
import-order.sh ItEr41S16ImplantacionAplicacionItEr40S21: Added scripts for order elements service. 2010-01-02 12:58:45 +01:00
import-resources.sh ItEr41S16ImplantacionAplicacionItEr40S21: Added scripts for order elements service. 2010-01-02 12:58:45 +01:00
order-sample.xml ItEr41S16ImplantacionAplicacionItEr40S21: Added scripts for order elements service. 2010-01-02 12:58:45 +01:00
order-update-sample.xml ItEr41S16ImplantacionAplicacionItEr40S21: Added scripts for order elements service. 2010-01-02 12:58:45 +01:00
README ItEr43S09ImplantacionAplicacionItEr42S13: Added script to get XML Schema of web services. 2010-01-13 14:04:54 +01:00
resources-sample-mini.xml ItEr42S12CUImportacionRecursosProductivosItEr41S15: Support for importing resources with cost assignments. 2010-01-09 18:57:56 +01:00
resources-sample.xml ItEr43S08CUImportacionRecursosProductivosItEr42S12: Added support for detecting overlapping in criterion satisfactions when importing resources. 2010-01-15 11:25:06 +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
update-order.sh ItEr41S16ImplantacionAplicacionItEr40S21: Added scripts for order elements service. 2010-01-02 12:58:45 +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:

  * Get XML Schema for any service:

    - get-xml-schema.sh <service-path>

    Example:
    - get-xml-schema.sh criteriontypes

  * [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 add "--prod" argument to every command.
Example:

  * import-criterions-types.sh --prod criterion-types-sample.xml
    (authenticate with wswriter/wswriter)