Skip to main content

Migration Model

Contract rule

Legacy Despacho endpoints must preserve:

  • legacy field names
  • legacy request body shape
  • legacy response body shape
  • legacy functional semantics when they are observable by clients

Shared authentication model

The common legacy pattern is based on WSAutorizacion:

{
"WSAutorizacion": {
"Guid": "...",
"Usuario": "...",
"Password": "..."
}
}

Internally, GeoTareas can reuse Nest services, but externally the compatibility layer must keep the GeneXus contract.

Adapter model

Each legacy endpoint should follow this sequence:

  1. receive legacy request under /apidev/legacy/<WSName>
  2. validate WSAutorizacion
  3. resolve tenant and user context
  4. delegate to reusable GeoTareas services when available
  5. adapt the internal result back to the legacy response format

Coverage states used in this documentation

  • Implemented
  • Reusable with adapter
  • New implementation required