Skip to content

feat(channel): DerbySoft Property Connector adapter (#92–#94)#154

Closed
telivity-otaip wants to merge 1 commit into
mainfrom
cursor/derbysoft-adapter-f415
Closed

feat(channel): DerbySoft Property Connector adapter (#92–#94)#154
telivity-otaip wants to merge 1 commit into
mainfrom
cursor/derbysoft-adapter-f415

Conversation

@telivity-otaip

@telivity-otaip telivity-otaip commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

Implements BRIEF-020 DerbySoft work:

Closes #92 — REST/JSON adapter, OAuth Bearer (client credentials → token), mock Property Connector on :4002, 15 req/s client rate limiter, factory + dashboard registration.

Closes #93 — Property sync (/hotel, /roomtype), ARI push (inventory / rate / availability) with Delta/Overlay, inbound LiveCheck/Book/Modify/Cancel/Ping, source channel as derbysoft:<distributorId>, async Overlay full flush (POST /channels/push/full-flush).

Closes #94 — Adapter/mapper/inbound/auth tests (36 new in DerbySoft + bearer suite), docs/channels/derbysoft.md with partner checklist (pms.service@derbysoft.net).

Notes

  • Protocol sourced from DerbySoft PC Integration API docs (REST/JSON). HAIP kb/ is not present in this environment; hotel ops still go through existing InboundReservationService / AvailabilityService (KB-aligned).
  • PCI: inbound payment / threeDomainSecurity stripped before persistence.
  • BullMQ channel workers are not in the repo yet; full flush is fire-and-forget async (same pragmatic pattern as webhook delivery).

Test plan

  • vitest channel suite — 192/192 including new DerbySoft specs
  • API typecheck via tsconfig.build.json
  • docker compose --profile channels up mock-derbysoft:4002/health
  • Create connection adapterType=derbysoft, test connection, push Overlay ARI

Implement REST/JSON DerbySoft PC Integration adapter with OAuth Bearer
auth, 15 req/s rate limiting, Delta/Overlay ARI push, property profile
sync, and inbound LiveCheck/Book/Modify/Cancel/Ping webhooks.

- Adapter + mapper + client under adapters/derbysoft/
- Mock PC server on :4002 (tools/mock-derbysoft, compose profile channels)
- Bearer inbound auth helper; PCI strip of payment fields
- Overlay full-flush endpoint; docs/channels/derbysoft.md partner checklist
- Dashboard adapter option + README/CHANGELOG updates

Closes #92
Closes #93
Closes #94

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants