Enhance mapping and orchestrator services with new features and improvements
- Updated `mapping-service` to include WEB3-ETH-IBAN support, health check endpoint, and improved error handling for account-wallet linking. - Added new provider connection and status endpoints in `mapping-service`. - Enhanced `orchestrator` service with health check, trigger management endpoints, and improved error handling for trigger validation and submission. - Updated dependencies in `package.json` for both services, including `axios`, `uuid`, and type definitions. - Improved packet service with additional validation and error handling for packet generation and dispatching. - Introduced webhook service enhancements, including delivery retries, dead letter queue management, and webhook management endpoints.
This commit is contained in:
45
api/services/orchestrator/README.md
Normal file
45
api/services/orchestrator/README.md
Normal file
@@ -0,0 +1,45 @@
|
||||
# Orchestrator Service
|
||||
|
||||
ISO-20022 orchestrator service managing trigger state machine and rail adapters.
|
||||
|
||||
## Features
|
||||
|
||||
- ISO-20022 message routing and normalization
|
||||
- Trigger state machine (CREATED → VALIDATED → SUBMITTED → PENDING → SETTLED/REJECTED)
|
||||
- On-chain fund locking and release
|
||||
- Rail adapter coordination (Fedwire, SWIFT, SEPA, RTGS)
|
||||
- Event publishing
|
||||
|
||||
## State Machine
|
||||
|
||||
```
|
||||
CREATED → VALIDATED → SUBMITTED_TO_RAIL → PENDING → SETTLED
|
||||
↓
|
||||
REJECTED
|
||||
```
|
||||
|
||||
## API Endpoints
|
||||
|
||||
- `GET /v1/orchestrator/triggers/:triggerId` - Get trigger
|
||||
- `GET /v1/orchestrator/triggers` - List triggers
|
||||
- `POST /v1/orchestrator/triggers/:triggerId/validate-and-lock` - Validate and lock
|
||||
- `POST /v1/orchestrator/triggers/:triggerId/mark-submitted` - Mark submitted
|
||||
- `POST /v1/orchestrator/triggers/:triggerId/confirm-settled` - Confirm settled
|
||||
- `POST /v1/orchestrator/triggers/:triggerId/confirm-rejected` - Confirm rejected
|
||||
- `POST /v1/iso/inbound` - Route inbound ISO-20022 message
|
||||
- `POST /v1/iso/outbound` - Route outbound ISO-20022 message
|
||||
|
||||
## Rails
|
||||
|
||||
Supported payment rails:
|
||||
- `fedwire` - Fedwire
|
||||
- `swift` - SWIFT
|
||||
- `sepa` - SEPA
|
||||
- `rtgs` - RTGS
|
||||
|
||||
## Configuration
|
||||
|
||||
- `REST_API_URL` - Main REST API URL
|
||||
- `RPC_URL` - Blockchain RPC URL
|
||||
- `PRIVATE_KEY` - Signer private key
|
||||
|
||||
Reference in New Issue
Block a user