File size: 2,996 Bytes
af1bee9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | # Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod.
id: O2C-INT-002
title: "REST contract: O2C resource schemas are a superset of the pre-patch baseline"
module: O2C
process: Integrations / reports
priority: P1
priority_rationale: "One contract check guards every inbound O2C REST integration. I5 x C4 x U4 = 80 -> P1 (map row O2C:INT-01 is P1, score 80).\
\ Usage placeholder drove tier: usage 3 would give P2."
priority_source: case-level risk x usage (analysis/o2c-coverage-map.md §4 method) scored on what this case tests; not the row tier
priority_score:
impact: 5
change_likelihood: 4
usage: 4
usage_basis: ASSUMED (placeholder until Scout usage counts)
risk: 20
score: 80
tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20
usage_sensitive: true
map_ids:
- "O2C:INT-01"
verification: UNVERIFIED
approval_status: draft - pending consultant approval (architecture approval gate)
client_questions:
- X-Q08
- X-Q09
type: happy
tags:
- contract
- integration
- o2c
- p1
- rest
roles:
- integration_user
preconditions:
- Baseline describe() snapshots captured before patch.
data_recipes:
- DR-O2C-USR-001
steps:
- n: 1
action: verify_api
target:
method: GET
path: "{{env.rest_base}}/salesOrdersForOrderHub/describe"
expected: "Schema for salesOrdersForOrderHub is a superset of baseline {{baseline.rest_schema.salesOrdersForOrderHub}}; no removed fields or\
\ type changes; newly required fields flagged."
- n: 2
action: verify_api
target:
method: GET
path: "{{env.rest_base}}/receivablesInvoices/describe"
expected: "Schema for receivablesInvoices is a superset of baseline {{baseline.rest_schema.receivablesInvoices}}; no removed fields or type\
\ changes; newly required fields flagged."
- n: 3
action: verify_api
target:
method: GET
path: "{{env.rest_base}}/standardReceipts/describe"
expected: "Schema for standardReceipts is a superset of baseline {{baseline.rest_schema.standardReceipts}}; no removed fields or type changes;\
\ newly required fields flagged."
- n: 4
action: verify_api
target:
method: GET
path: "{{env.rest_base}}/accounts/describe"
expected: "Schema for accounts is a superset of baseline {{baseline.rest_schema.accounts}}; no removed fields or type changes; newly required\
\ fields flagged."
- n: 5
action: verify_api
target:
method: GET
path: "{{env.rest_base}}/receivablesCreditMemos/describe"
expected: "Schema for receivablesCreditMemos is a superset of baseline {{baseline.rest_schema.receivablesCreditMemos}}; no removed fields or\
\ type changes; newly required fields flagged."
expected_result: "Schema for receivablesCreditMemos is a superset of baseline {{baseline.rest_schema.receivablesCreditMemos}}; no removed fields\
\ or type changes; newly required fields flagged."
notes:
- Runs against a mock prove only the mock, never Oracle Fusion.
|