Partners
Who fulfils each part of the journey
Every service is delivered through a partner adapter. The one in use is marked; the others can be connected when a contract is in place, without changing a screen.
Adding a partner
- Write an adapter in
apps/umrah/src/server/partners/that implements the interface for the service (FlightPartner,HotelPartner,TransportPartner,VisaPartnerorPackagePartner) and maps the partner’s response into the platform’s service types. - Register it under an id in
server/partners.tsand add a row to the registry in@stl/umrahso it appears here. - Set the environment variable shown above to that id. Credentials are read inside the adapter and never reach a browser.
- Unknown ids fall back to the sample adapter, so a misconfiguration never takes a screen down.