Loading TP/NGSI-LD/CommonBehaviours/043.robot +6 −6 Original line number Diff line number Diff line Loading @@ -8,18 +8,18 @@ Resource ${EXECDIR}/resources/JsonUtils.resource ${expected_status_code}= 503 ${building_id_prefix}= urn:ngsi-ld:Building: ${building_filename}= building-minimal-without-context-sample.jsonld ${building_filename}= building-unretrievable-context-sample.jsonld ${subscription_id_prefix}= urn:ngsi-ld:Subscription: ${subscription_filename}= csourceSubscriptions/subscription-without-context-sample.jsonld ${subscription_filename}= subscriptions/subscription-unretrievable-context-sample.jsonld ${tea_id_prefix}= urn:ngsi-ld:Vehicle: ${tea_filename}= bus-temporal-representation-without-context-sample.jsonld ${tea_filename}= bus-temporal-representation-unretrievable-context-sample.jsonld ${registration_id_prefix}= urn:ngsi-ld:Registration: ${registration_filename}= csourceRegistrations/context-source-registration-without-context-sample.jsonld ${registration_filename}= csourceRegistrations/context-source-registration-unretrievable-context-sample.jsonld *** Test Cases *** *** comments *** 043_01 Create entity [Documentation] Verify throwing 503 – LDContextNotAvaliable error if remote JSON-LD @context cannot be retrieved (Create entity) Loading Loading @@ -69,7 +69,7 @@ ${registration_filename}= csourceRegistrations/context-source-registration-with Check RL Response Body Containing ProblemDetails Element Containing Title Element ${response} [Teardown] Batch Delete Entities @{entities_to_be_created} *** Test Cases *** 043_05 Create context source registration [Documentation] Verify throwing 503 – LDContextNotAvaliable error if remote JSON-LD @context cannot be retrieved (Create context source registration) Loading data/csourceRegistrations/context-source-registration-without-context-sample.jsonld→data/csourceRegistrations/context-source-registration-unretrievable-context-sample.jsonld +4 −1 Original line number Diff line number Diff line Loading @@ -10,5 +10,8 @@ ] } ], "endpoint":"http://my.csource.org:1026" "endpoint":"http://my.csource.org:1026", "@context":[ "unretrievableContext" ] } No newline at end of file data/entities/building-unretrievable-context-sample.jsonld 0 → 100644 +7 −0 Original line number Diff line number Diff line { "id": "urn:ngsi-ld:Building:randomUUID", "type": "Building", "@context": [ "unretrievableContext" ] } No newline at end of file data/csourceSubscriptions/subscription-without-context-sample.jsonld→data/subscriptions/subscription-unretrievable-context-sample.jsonld +4 −1 Original line number Diff line number Diff line Loading @@ -12,5 +12,8 @@ "uri":"http://my.endpoint.org/notify", "accept":"application/json" } } }, "@context":[ "contextUnretrievable" ] } No newline at end of file data/temporalEntities/bus-temporal-representation-without-context-sample.jsonld→data/temporalEntities/bus-temporal-representation-unretrievable-context-sample.jsonld +3 −0 Original line number Diff line number Diff line Loading @@ -40,5 +40,8 @@ "value":124, "observedAt":"2020-08-01T14:07:00Z" } ], "@context":[ "unretrievableContext" ] } No newline at end of file Loading
TP/NGSI-LD/CommonBehaviours/043.robot +6 −6 Original line number Diff line number Diff line Loading @@ -8,18 +8,18 @@ Resource ${EXECDIR}/resources/JsonUtils.resource ${expected_status_code}= 503 ${building_id_prefix}= urn:ngsi-ld:Building: ${building_filename}= building-minimal-without-context-sample.jsonld ${building_filename}= building-unretrievable-context-sample.jsonld ${subscription_id_prefix}= urn:ngsi-ld:Subscription: ${subscription_filename}= csourceSubscriptions/subscription-without-context-sample.jsonld ${subscription_filename}= subscriptions/subscription-unretrievable-context-sample.jsonld ${tea_id_prefix}= urn:ngsi-ld:Vehicle: ${tea_filename}= bus-temporal-representation-without-context-sample.jsonld ${tea_filename}= bus-temporal-representation-unretrievable-context-sample.jsonld ${registration_id_prefix}= urn:ngsi-ld:Registration: ${registration_filename}= csourceRegistrations/context-source-registration-without-context-sample.jsonld ${registration_filename}= csourceRegistrations/context-source-registration-unretrievable-context-sample.jsonld *** Test Cases *** *** comments *** 043_01 Create entity [Documentation] Verify throwing 503 – LDContextNotAvaliable error if remote JSON-LD @context cannot be retrieved (Create entity) Loading Loading @@ -69,7 +69,7 @@ ${registration_filename}= csourceRegistrations/context-source-registration-with Check RL Response Body Containing ProblemDetails Element Containing Title Element ${response} [Teardown] Batch Delete Entities @{entities_to_be_created} *** Test Cases *** 043_05 Create context source registration [Documentation] Verify throwing 503 – LDContextNotAvaliable error if remote JSON-LD @context cannot be retrieved (Create context source registration) Loading
data/csourceRegistrations/context-source-registration-without-context-sample.jsonld→data/csourceRegistrations/context-source-registration-unretrievable-context-sample.jsonld +4 −1 Original line number Diff line number Diff line Loading @@ -10,5 +10,8 @@ ] } ], "endpoint":"http://my.csource.org:1026" "endpoint":"http://my.csource.org:1026", "@context":[ "unretrievableContext" ] } No newline at end of file
data/entities/building-unretrievable-context-sample.jsonld 0 → 100644 +7 −0 Original line number Diff line number Diff line { "id": "urn:ngsi-ld:Building:randomUUID", "type": "Building", "@context": [ "unretrievableContext" ] } No newline at end of file
data/csourceSubscriptions/subscription-without-context-sample.jsonld→data/subscriptions/subscription-unretrievable-context-sample.jsonld +4 −1 Original line number Diff line number Diff line Loading @@ -12,5 +12,8 @@ "uri":"http://my.endpoint.org/notify", "accept":"application/json" } } }, "@context":[ "contextUnretrievable" ] } No newline at end of file
data/temporalEntities/bus-temporal-representation-without-context-sample.jsonld→data/temporalEntities/bus-temporal-representation-unretrievable-context-sample.jsonld +3 −0 Original line number Diff line number Diff line Loading @@ -40,5 +40,8 @@ "value":124, "observedAt":"2020-08-01T14:07:00Z" } ], "@context":[ "unretrievableContext" ] } No newline at end of file