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:
- receive legacy request under
/apidev/legacy/<WSName> - validate
WSAutorizacion - resolve tenant and user context
- delegate to reusable GeoTareas services when available
- adapt the internal result back to the legacy response format
Coverage states used in this documentation
ImplementedReusable with adapterNew implementation required