TASKPM/scripts/rest-clients
Susana Montes Pedreira 961eca61ea ItEr60S04ValidacionEProbasFuncionaisItEr59S04 : Fixing bug in the work report class.
it shows the error messages when the importation is incorrect.
2010-07-08 21:22:21 +02: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
calendars-sample.xml ItEr55S07AdaptacionServiciosRESTItEr54S09: Fixed type in hors-per-day instead of hours-per-day. 2010-04-26 13:50:13 +02:00
cost-categories-sample.xml ItEr50S13AdaptacionServiciosRESTItEr49S18 : Creation and Adapting of CostCategoryServiceRest to GenericServiceRest. 2010-03-15 14:22:21 +01:00
criterion-types-sample.xml ItEr46S13CUImportacionRecursosProductivosItEr45S11: First version of the generic REST service and CriterionServiceREST reimplemented in terms of it. 2010-02-05 12:25:36 +01:00
criterion-types-update-sample.xml ItEr46S13CUImportacionRecursosProductivosItEr45S11: First version of the generic REST service and CriterionServiceREST reimplemented in terms of it. 2010-02-05 12:25:36 +01:00
export-calendar-exception-types.sh ItEr50S13AdaptacionServiciosRESTItEr49S18: Creating web service for export CalendarExceptionType entities. 2010-03-16 14:08:04 +01:00
export-calendars.sh ItEr50S13AdaptacionServiciosRESTItEr49S18: Implementing calendars export service. 2010-03-22 16:39:34 +01:00
export-cost-categories.sh ItEr50S13AdaptacionServiciosRESTItEr49S18 : Creation and Adapting of CostCategoryServiceRest to GenericServiceRest. 2010-03-15 14:22:21 +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-label-types.sh ItEr49S18AdaptacionServiciosREST: Fixes the LabelServiceREST. 2010-03-04 18:08:53 +01:00
export-material-categories.sh ItEr52S10AdaptacionServiciosRESTItEr51S10: Creation and Adapting of MaterialCategoryServiceRest. 2010-03-26 11:13:53 +01:00
export-order-element.sh ItEr50S13AdaptacionServiciosRESTItEr49S18 : Adapting of OrderServiceRest to GenericServiceRest. 2010-03-22 11:19:12 +01:00
export-resources-hours.sh ItEr45S17CUServizoExportacionHoras: Added script to test the new service to export resource hours from command line. 2010-01-26 20:29:10 +01:00
export-resources.sh ItEr51S10AdaptacionServiciosRESTItEr50S13: Added export resources service. 2010-03-22 11:37:58 +01:00
export-type-work-hours.sh ItEr50S13AdaptacionServiciosRESTItEr49S18 : Creation and Adapting of TypeOfWorkHoursServiceRest. 2010-03-15 16:06:49 +01:00
export-unit-types.sh ItEr52S10AdaptacionServiciosRESTItEr51S10: Creation and Adapting of UnitTypeServiceRest. 2010-03-26 17:58:49 +01:00
export-work-reports.sh ItEr50S13AdaptacionServiciosRESTItEr49S18 : Adapting of WorkReportServiceRest to GenericServiceRest. 2010-03-15 10:56:38 +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-calendars.sh ItEr53S10AdaptacionServiciosRESTItEr52S10 : adds the import of calendars to the calendar service. 2010-04-13 11:15:15 +02:00
import-cost-categories.sh ItEr50S13AdaptacionServiciosRESTItEr49S18 : Creation and Adapting of CostCategoryServiceRest to GenericServiceRest. 2010-03-15 14:22:21 +01:00
import-criterions-types.sh ItEr41S16ImplantacionAplicacionItEr40S21: Added scripts for order elements service. 2010-01-02 12:58:45 +01:00
import-label-types.sh ItEr49S18AdaptacionServiciosREST: Fixes the LabelServiceREST. 2010-03-04 18:08:53 +01:00
import-material-categories.sh ItEr52S10AdaptacionServiciosRESTItEr51S10: Creation and Adapting of MaterialCategoryServiceRest. 2010-03-26 11:13:53 +01:00
import-order-elements.sh ItEr50S13AdaptacionServiciosRESTItEr49S18 : Adapting of OrderServiceRest to GenericServiceRest. 2010-03-22 11:19:12 +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
import-type-work-hours.sh ItEr50S13AdaptacionServiciosRESTItEr49S18 : Creation and Adapting of TypeOfWorkHoursServiceRest. 2010-03-15 16:06:49 +01:00
import-unit-types.sh ItEr52S10AdaptacionServiciosRESTItEr51S10: Adapting of the material-categories-sample.xml 2010-03-26 18:57:31 +01:00
import-work-reports.sh ItEr50S13AdaptacionServiciosRESTItEr49S18 : Adapting of WorkReportServiceRest to GenericServiceRest. 2010-03-15 10:56:38 +01:00
label-sample.xml ItEr49S18AdaptacionServiciosREST: Fixes the LabelServiceREST. 2010-03-04 18:08:53 +01:00
material-categories-sample.xml ItEr52S10AdaptacionServiciosRESTItEr51S10: Adapting of the material-categories-sample.xml 2010-03-26 18:57:31 +01:00
order-elements-sample.xml ItEr50S13AdaptacionServiciosRESTItEr49S18 : Adapting of OrderServiceRest to GenericServiceRest. 2010-03-22 11:19:12 +01:00
order-sample.xml ItEr60S04ValidacionEProbasFuncionaisItEr59S04: Updated examples for order service to wrap with an "order-line". 2010-06-28 00:57:07 +02:00
order-update-sample.xml ItEr60S04ValidacionEProbasFuncionaisItEr59S04: Updated examples for order service to wrap with an "order-line". 2010-06-28 00:57:07 +02:00
README ItEr50S13AdaptacionServiciosRESTItEr49S18: Implementing calendars export service. 2010-03-22 16:39:34 +01:00
resource-withCalendars-sample.xml ItEr55S07AdaptacionServiciosRESTItEr54S09: Fixed type in hors-per-day instead of hours-per-day. 2010-04-26 13:50:13 +02:00
resources-sample-mini.xml ItEr46S13CUImportacionRecursosProductivosItEr45S11: code added to entities imported by ResourceService. 2010-02-05 18:27:01 +01:00
resources-sample.xml ItEr47S12CUImportacionRecursosProductivosItEr46S13: Added updating functionality to ResourceServiceREST 2010-02-12 10:53:54 +01:00
resources-update-sample.xml ItEr47S12CUImportacionRecursosProductivosItEr46S13: Added updating functionality to ResourceServiceREST 2010-02-12 10:53:54 +01:00
rest-common-env.sh ItEr53S04ValidacionEProbasFuncionaisItEr52S04: Updated URL to navalplan.org for REST scripts. 2010-04-06 08:49:39 +02:00
type-work-hours-sample.xml ItEr50S13AdaptacionServiciosRESTItEr49S18 : Creation and Adapting of TypeOfWorkHoursServiceRest. 2010-03-15 16:06:49 +01:00
unit-types-sample.xml ItEr52S10AdaptacionServiciosRESTItEr51S10: Creation and Adapting of UnitTypeServiceRest. 2010-03-26 17:58:49 +01:00
update-order.sh ItEr41S16ImplantacionAplicacionItEr40S21: Added scripts for order elements service. 2010-01-02 12:58:45 +01:00
workReportsSample.xml ItEr60S04ValidacionEProbasFuncionaisItEr59S04 : Fixing bug in the work report class. 2010-07-08 21:22:21 +02: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.

    - Repeat with criterion-types-update-sample.xml (for updating some
      criterion types).

  * Export criterion types:

    - export-criterion-types.sh (authenticate with wsreader/wsreader)

  * Import label types:

    - import-label-types.sh label-sample.xml
      (authenticate with wswriter/wswriter)

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

  * Export label types:

    - export-label-types.sh (authenticate with wsreader/wsreader)

  * Import type of work hours:

    - import-type-work-hours.sh type-work-hours-sample.xml
      (authenticate with wswriter/wswriter)

  * Export type of work hours:

    - export-type-work-hours.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.

    - Repeat with resources-update-sample.xml (resources-sample-mini.xml
      must be previously imported).

  * Export order elements:

    - export-order-element.sh (authenticate with wsreader/wsreader)

  * Import orders:

    - import-order-elements.sh order-elements-sample.xml (authenticate with wswriter/wswriter)

  * Export resources hours:

    - export-resources-hours.sh 2010-01-01 2010-12-31 (authenticate with
      wsreader/wsreader)

    - export-resources-hours.sh 21654685 2010-01-01 2010-12-31 (authenticate
      with wsreader/wsreader)

  * Export calendar exception types:

    - export-calendar-exception-types.sh (authenticate with wsreader/wsreader)

  * Export calendars:

    - export-calendars.sh (authenticate with wsreader/wsreader)

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