Skip to content

CAP-PFM-INT-006Recognize integration problems and trace changes

Markdown

CAP-PFM-INT-006

Recognize integration problems and trace changes

Markdown
  • DocumentDraft
  • Product intentProposed
  • ImplementationObserved

KindCapabilityProduct areaPlatformModuleIntegration access, customer extensions and shared workflow configurationRevision1

Read atservices-platform ad3f6a65react-console baf6dae3

The Formal Contract

The narrative above explains; the sections below are authoritative — the rules, scenarios and tests this document binds.

Outcomes
Healthy green distinguishes a working connection from one merely paused.Attention lists and notices direct staff to connection failures.History identifies the actor and time of integration changes.
Surfaces
consoleapijob
Intent sources
services-platform:docs/milestones/INTG-M1-find-install-connect.md#D6services-platform:docs/milestones/INTG-M1-find-install-connect.plan.md#A12services-platform:docs/milestones/INTG-M1-find-install-connect.plan.md#INTG-M1-S10services-platform:docs/milestones/INTG-M1-find-install-connect.plan.md#INTG-M1-S17services-platform:docs/milestones/INTG-M1-find-install-connect.plan.md#INTG-M1-S18services-platform:docs/milestones/INTG-M2-calls-through-the-gateway.md#M2-D8services-platform:docs/milestones/INTG-M8-payrix-card-payments.md#M8-D6

Controls

38 controls apply, from the corpus control catalogue.

TC-AVL-001 TC-AVL-004 TC-AZ-001 TC-AZ-002 TC-AZ-003 TC-AZ-004 TC-DAT-001 TC-DAT-002 TC-DAT-003 TC-IAM-001 TC-IAM-002 TC-IAM-004 TC-IAM-005 TC-IAM-006 TC-LOG-001 TC-LOG-002 TC-LOG-003 TC-LOG-004 TC-LOG-005 TC-MON-001 TC-MON-002 TC-PI-001 TC-PI-002 TC-PI-003 TC-PI-004 TC-PI-005 TC-PRV-001 TC-PRV-002 TC-SEC-001 TC-SEC-002 TC-SEC-003 TC-SEC-004 TC-TEN-001 TC-TEN-002 TC-TEN-003 TC-VEN-001 TC-VEN-002 TC-VEN-003

Permissions

KeyChecked atScope
platform.integrations.readapitenant
platform.integrations.manageapitenant
platform.integrations.readconsoletenant

Business Rules

10 rules, 9 to be proved before approval. A rule's product intent is derived from its origin: 2 confirmed by a product decision, the rest inheriting this capability's proposed.

IdRuleKindEnforced atProvenance
01must prove
Proposed
The console uses green for active passing connections, amber for degraded or failing health, red for failed verification or required re-authorization and grey for suspended, disconnected or unfinished connections.
calculationconsoletest
react-console:lib/integrations/connection-dot.test.ts#is grey for suspended and disconnected, whatever the last health check said
02must prove
Proposed
Initial creation triggers verification; the daily pass verifies active and degraded connections, and fifteen-minute checks probe degraded connections or recent health failures within a day, excluding suspended connections.
policyservicetest
services-platform:modules/integrations/tests/integration/services/health/health-pass.integration.spec.js#submits a health job for each eligible connection with a recent failure, and for a degraded one
03must prove
Proposed
Health failure degrades an active connection, recovery restores a degraded one, and credential refusal requires re-authorization with a notice; only active or degraded connections are probed.
lifecycleservicetest
04must prove
Proposed
Last-hour figures report the success share and 95th-percentile latency of completed calls that reach the provider, excluding admission refusals and calls still in flight and leaving figures empty without eligible calls.
calculationservicetest
services-platform:modules/integrations/tests/unit/services/connection-figures.spec.ts#does not count an execution refused before the adapter, whatever its status
05must prove
Proposed
The workspace health read counts connection states and includes degraded, failed-verification, re-authorization-required and suspended connections with their health and reason.
no proof recorded yet
calculationservicetest
services-platform:modules/integrations/tests/integration/services/health/tenant-integration-health.integration.spec.js#lists a suspended connection, a degraded one and one needing re-authorization, and no active one
06must prove
Proposed
After commit, feature loss or required re-authorization sends each administrator one e-mail; gains send none and mail failure cannot reverse the saved change.
policyservicetest
services-platform:modules/integrations/tests/integration/services/connections/connection-feature-changes.integration.spec.js#INT-ACC-0113 step 3: the loss tells each administrator of the tenant once, two notices in all, each with the features-lost subject
07must prove
Confirmed
Successful calls can retain connector warnings as one thirty-day notice per kind with a recurrence count; relevant setting or configuration changes and disconnection clear it, and recording failure cannot fail the call.
policyservicetest
services-platform:modules/integrations/tests/integration/services/executions/connection-notices.integration.spec.js#records the warnings of a succeeded call with the setting, and the call is answered as it always was
08must prove
Proposed
Integration history returns installation, connection, credential, binding and subscription changes newest first, with a maximum page of one hundred and protection against rewriting.
invariantapi, databasetest
services-platform:modules/integrations/tests/e2e/audit-events-paging.e2e.spec.js#INT-ACC-0530 step 2: the pages run newest first across the boundary
09
Proposed
The scheduled health walk resumes from its last completed workspace and continues past a workspace failure to avoid starving later workspaces.
policyservicetest
services-platform:modules/integrations/tests/integration/services/health/health-pass-walk.integration.spec.js#INT-ACC-0112 step 4: after two invocations every tenant has had a health job (no starvation)
10must prove
Confirmed
Needs Attention includes failed, degraded or re-authorization-required connections, calls whose settlement has stopped, dead deliveries and connector notices with fixing actions, while excluding calls still being reconciled regardless of age.
policyconsoletest
react-console:lib/integrations/needs-attention.test.ts#leaves a settling (unknown) execution out however long it has been unknown

Scenarios

IdGivenWhenThenProvenance
01The test provider’s health probe is failing.An administrator checks Health on the connection.The connection appears degraded and shows recent figures, then recovers after a passing check.test
02A connector rejects the configured statement name but completes the payment.The successful call reports its warning.A connection notice directs the administrator to the statement-name setting.test
services-platform:modules/integrations/tests/integration/services/executions/connection-notices.integration.spec.js#records the warnings of a succeeded call with the setting, and the call is answered as it always was

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.