Skip to content

ATS-PFM-INT-011Inspect calls and resolve operational problems: Capability Test Specification

Markdown

ATS-PFM-INT-011

Inspect calls and resolve operational problems: Capability Test Specification

Markdown
  • DocumentProposed

KindAcceptance test setProduct areaPlatformModuleIntegration access, customer extensions and shared workflow configurationRevision3

Read atservices-platform ad3f6a65macroservice-libraries 54536a44react-console baf6dae3

Coverage

  • Rule gap: FND-PFM-INT-072
  • Transition covered
  • Validation covered
  • Permission covered
  • Edge gap: FND-PFM-INT-072
  • Failure gap: FND-PFM-INT-072
  • Boundary gap: FND-PFM-INT-072
  • Concurrency gap: FND-PFM-INT-072
  • Invariant gap: FND-PFM-INT-072
  • Interaction covered

Test Scenarios

7 scenarios proving CAP-PFM-INT-011; 6 bound to an existing test.

01 Integration readers can inspect execution detailpermissionapitest
Proves
BR-CAP-PFM-INT-011-01
Preconditions
A read-only person can reach a settled payment.
Steps
Read its list, detail and attempts.
Expected
Integration-read authority is sufficient for all responses.
Data
Fixtures establishing the stated accounts, declarations and history in an isolated workspace.
Bound to
Source
services-platform:modules/integrations/tests/e2e-adapters/gateway-dummy.adapters.spec.js#lets the tenant read the execution, its attempts and its stored response
02 Operator mutations refuse read-only callerspermissionapinegativetest
Proves
BR-CAP-PFM-INT-011-02
Preconditions
A person has integration read alone.
Steps
Attempt retry, cancellation and manual settlement.
Expected
Every mutation denies access and preserves the execution.
Data
Fixtures establishing the stated accounts, declarations and history in an isolated workspace.
Bound to
Source
services-platform:modules/integrations/tests/e2e/reader-access.e2e.spec.js#is refused every route that changes something (403)
03 Retry retains the exact original business requestvalidationapinegativetest
Proves
BR-CAP-PFM-INT-011-03
Preconditions
One call failed retryably and another was declined.
Steps
Retry the first with the original and changed requests, then retry the decline.
Expected
The unchanged retry queues and audits an attempt; altered request and declined retry are refused.
Data
Fixtures establishing the stated accounts, declarations and history in an isolated workspace.
Bound to
Source
services-platform:modules/integrations/tests/integration/services/executions/execution-operations.integration.spec.js#refuses a request handed back that is not the one recorded
04 Cancellation distinguishes not-started from already-runningtransitionapinegativetest
Proves
BR-CAP-PFM-INT-011-05
Preconditions
Prepare accepted unattempted work, running asynchronous work and a settled payment.
Steps
Request cancellation for every prepared call.
Expected
The first loses dispatch and releases its key, the second receives a cancellation request and the settled call refuses.
Data
Fixtures establishing the stated accounts, declarations and history in an isolated workspace.
Bound to
Source
services-platform:modules/integrations/tests/integration/services/executions/invoke-capability.integration.spec.js#cancels an accepted execution before its first attempt, releasing its key and its queued dispatch
05 Manual resolution is accountable and finaltransitionbrowsernegativetest
Proves
BR-CAP-PFM-INT-011-06 AS-JNY-PFM-INT-004-02
Preconditions
A payment requires operator attention.
Steps
Resolve success with a note, repeat resolution and try resolving an ordinary call.
Expected
The first records success, operator history and one completion; the repeats and non-attention case refuse.
Data
Fixtures establishing the stated accounts, declarations and history in an isolated workspace.
Bound to
Source
services-platform:modules/integrations/tests/integration/services/executions/reconciler.integration.spec.js#lets an operator resolve a needs_attention execution by hand, audited, with no call to the provider
06 Staff operations span workspaces without granting customer accesspermissionapitest
Proves
BR-CAP-PFM-INT-011-08
Preconditions
Two workspaces contain attention calls and an open circuit.
Steps
List as Rhythm staff, reset the circuit and repeat as a customer administrator.
Expected
Staff see both workspaces and produce reset history; the customer cannot perform either staff operation.
Data
Fixtures establishing the stated accounts, declarations and history in an isolated workspace.
Bound to
Source
services-platform:modules/integrations/tests/integration/services/executions/execution-operations.integration.spec.js#lists every tenant’s executions that need attention, in no tenant
07 A manual finding settles only onceinteractionapiproposed
Proves
BR-CAP-PFM-INT-010-05 BR-CAP-PFM-INT-011-06
Preconditions
An uncertain asynchronous call requires attention.
Steps
Record a successful finding with a note and repeat the request while inspecting completion records.
Expected
One outcome and applicable completion are retained, with no provider invocation for the finding.
Data
Run-owned records and principals in an isolated workspace.
Source
services-platform:modules/integrations/tests/integration/services/executions/execution-settlement.integration.spec.js#is written once for two settlements that both read the execution running, the loser moving nothing,services-platform:modules/integrations/tests/integration/services/executions/reconciler.integration.spec.js#lets an operator resolve a needs_attention execution by hand, audited, with no call to the provider

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.