Loading TP/NGSI-LD/DistributedOperations/LoopDetection/D018_01.robot +2 −7 Changes for TP/NGSI-LD/DistributedOperations/LoopDetection/D018_01.robot: 2 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -26,13 +26,8 @@ D018_01 Loop Detection With Via Header # The redirect registration forwards the create to the mock; that forward # must be answered so the operation returns 201 (cf. sibling D018_02, which # stubs the same reply). 508 Loop Detected is defined (TS 104-176 § 6.3.5) # only for an exclusive/redirect single-source registration that resolves # back onto the broker — for an inclusive registration the data is held # locally and a loop merely suppresses the forward, so the registration # used here must be exclusive/redirect for the 508 assertion to be # spec-correct. Redirect is used because this fixture carries entities only # (no property/relationship names), which an exclusive registration requires. # stubs the same reply). Without it a broker that surfaces the unanswered # forward as a partial success returns 207 and the test fails at setup. Set Stub Reply POST /ngsi-ld/v1/entities 201 ${response}= Create Entity ${entity_payload_filename} ${entity_id} Check Response Status Code 201 ${response.status_code} Loading Loading
TP/NGSI-LD/DistributedOperations/LoopDetection/D018_01.robot +2 −7 Changes for TP/NGSI-LD/DistributedOperations/LoopDetection/D018_01.robot: 2 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -26,13 +26,8 @@ D018_01 Loop Detection With Via Header # The redirect registration forwards the create to the mock; that forward # must be answered so the operation returns 201 (cf. sibling D018_02, which # stubs the same reply). 508 Loop Detected is defined (TS 104-176 § 6.3.5) # only for an exclusive/redirect single-source registration that resolves # back onto the broker — for an inclusive registration the data is held # locally and a loop merely suppresses the forward, so the registration # used here must be exclusive/redirect for the 508 assertion to be # spec-correct. Redirect is used because this fixture carries entities only # (no property/relationship names), which an exclusive registration requires. # stubs the same reply). Without it a broker that surfaces the unanswered # forward as a partial success returns 207 and the test fails at setup. Set Stub Reply POST /ngsi-ld/v1/entities 201 ${response}= Create Entity ${entity_payload_filename} ${entity_id} Check Response Status Code 201 ${response.status_code} Loading