Skip to content

FAS-PFM-DJE-05Preparing a workspace with migrated data: Feature Acceptance Suite

Markdown

FAS-PFM-DJE-05

Preparing a workspace with migrated data: Feature Acceptance Suite

Markdown
  • DocumentProposed
  • Product intentProposed

Product areaPlatformModuleData Job EngineRevision1

Read atservices-platform ad3f6a65macroservice-libraries 54536a44services-crm a8d1364fservices-membership 5994c270react-console baf6dae3

Scenarios

5 scenarios proving FEAT-PFM-DJE-05 as a whole.

01 Package completion and readiness receive separate review behaviournegative proposed
Exercises
CAP-PFM-DJE-016 CAP-PFM-DJE-017 CAP-PFM-DJE-018
Relies on
ATS-PFM-DJE-016-10 ATS-PFM-DJE-018-08 ATS-PFM-DJE-017-06
Preconditions
Register a loading-workspace package containing valid Platform records and one refused record.
Steps
[object Object]
Expected
Completion keeps the refusal visible in readiness and does not establish that activation enforces the proposed readiness gate.
Data
Register a loading-workspace package containing valid Platform records and one refused record.
Source
services-platform:modules/data-jobs/tests/unit/run-summary.spec.ts#is ready when the run succeeded and every record of every dataset is accounted for; services-platform:modules/data-jobs/tests/integration/services/jobs/custom-object-data-jobs.integration.spec.js#refuses a hull number an earlier line of the same file holds, naming that line; services-platform:docs/milestones/plans/PLAT-M22-plan.md#A3
02 Reset changes what the next package run can load interaction proposed
Exercises
CAP-PFM-DJE-016 CAP-PFM-DJE-017 CAP-PFM-DJE-018
Relies on
ATS-PFM-DJE-016-05 ATS-PFM-DJE-017-02 ATS-PFM-DJE-017-04 ATS-PFM-DJE-018-03
Preconditions
Complete a Platform definition load in a loading workspace.
Steps
[object Object]
Expected
The corrected package creates a new run and its definitions pass their domain rules without using the prior mappings.
Data
Complete a Platform definition load in a loading workspace.
Source
services-platform:modules/data-jobs/tests/integration/services/runs/register-run.integration.spec.js#refuses a second registration of a package whose run has not finished, naming the run that holds it; services-crm:modules/data-jobs/tests/integration/services/jobs/initial-import-guarantees.integration.spec.js#answers done from every participant of the reset; services-crm:modules/data-jobs/tests/integration/services/jobs/initial-import-guarantees.integration.spec.js#leaves every row of the other loading tenant as it was, by a checksum of each table; services-platform:modules/data-jobs/tests/integration/services/jobs/custom-field-data-jobs.integration.spec.js#writes the currency definition the metadata module’s own way, configuration and all
03 A failed dataset leaves earlier loads for reset lifecyclenegative proposed
Exercises
CAP-PFM-DJE-016 CAP-PFM-DJE-017 CAP-PFM-DJE-018
Relies on
ATS-PFM-DJE-016-09 ATS-PFM-DJE-017-02 ATS-PFM-DJE-018-08
Preconditions
Prepare a package whose second dataset fails after the first committed.
Steps
[object Object]
Expected
The failed run does not reopen; earlier data remains until reset and the new run loads the corrected records.
Data
Prepare a package whose second dataset fails after the first committed.
Source
services-platform:modules/data-jobs/tests/integration/services/runs/run-driver.integration.spec.js#pauses a running run where it stands, and submits nothing while it is paused; services-crm:modules/data-jobs/tests/integration/services/jobs/initial-import-guarantees.integration.spec.js#answers done from every participant of the reset; services-platform:modules/data-jobs/tests/integration/services/jobs/custom-object-data-jobs.integration.spec.js#refuses a hull number an earlier line of the same file holds, naming that line
04 Staff run authority cannot replace the dataset's domain keys permissionnegative proposed
Exercises
CAP-PFM-DJE-016 CAP-PFM-DJE-018
Relies on
ATS-PFM-DJE-016-07 ATS-PFM-DJE-018-07
Preconditions
Register a package and prepare a staff caller without its Platform dataset's required keys.
Steps
[object Object]
Expected
The refusal leaves state intact; only authorized local dataset processing creates its records.
Data
Register a package and prepare a staff caller without its Platform dataset's required keys.
Source
services-platform:modules/data-jobs/tests/integration/services/runs/run-driver.integration.spec.js#asks the macroservice that owns the object type, over its own route for that object; services-platform:modules/data-jobs/tests/integration/services/jobs/custom-field-data-jobs.integration.spec.js#refuses a caller who may create a definition but holds no bulk right
05 Reset and reload preserve the other workspace regression proposed
Exercises
CAP-PFM-DJE-016 CAP-PFM-DJE-017 CAP-PFM-DJE-018
Relies on
ATS-PFM-DJE-017-04 ATS-PFM-DJE-018-02
Preconditions
Load the same supported records into two isolated loading workspaces.
Steps
[object Object]
Expected
The reloaded fixture reproduces records and numbers while every tested row of the other workspace remains unchanged.
Data
Load the same supported records into two isolated loading workspaces.
Source
services-crm:modules/data-jobs/tests/integration/services/jobs/initial-import-guarantees.integration.spec.js#leaves every row of the other loading tenant as it was, by a checksum of each table; macroservice-libraries:packages/data-jobs/src/tests/integration/tenant-isolation.integration.spec.ts#refuses a row written into another tenant, whatever the statement says

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.