Commit e97427d2 authored by Gioele Cavalli's avatar Gioele Cavalli
Browse files

fix: update documentation to reference GS CIM 009 for consistency

parent 54aeef1c
Loading
Loading
Loading
Loading
+2 −2
Changes for TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_04.robot: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
*** Settings ***
Documentation       If a Subscription does not define a timeInterval member, the notification shall be sent whenever there is a change in the watched Attributes. The notification message shall include all the subscribed Entities that changed and that match (as mandated by clauses 4.9 and 4.10) the query and geoquery conditions
Documentation       If a Subscription does not define a timeInterval member, the notification shall be sent whenever there is a change in the watched Attributes. The notification message shall include all the subscribed Entities that changed and that match (as mandated by GS CIM 009 §4.9 and §4.10) the query and geoquery conditions

Resource            ${EXECDIR}/resources/ApiUtils/Common.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
@@ -21,7 +21,7 @@ ${fragment_filename}= airQualityLevel-fragment.jsonld

*** Test Cases ***
046_04_01 Check That A Notification Is Sent With All Entities
    [Documentation]    The notification message shall include all the subscribed Entities that changed and that match (as mandated by clauses 4.9 and 4.10) the query and geoquery conditions
    [Documentation]    The notification message shall include all the subscribed Entities that changed and that match (as mandated by GS CIM 009 §4.9 and §4.10) the query and geoquery conditions
    [Tags]    sub-notification    5_8_6

    ${response}=    Update Entity Attributes    ${entity_id}    ${fragment_filename}    ${CONTENT_TYPE_LD_JSON}
+2 −2
Changes for TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_05.robot: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
*** Settings ***
Documentation       If a Subscription does not define a timeInterval member, the notification shall be sent whenever there is a change in the watched Attributes and the entity matches the q parameter. The notification message shall include all the subscribed Entities that changed and that match (as mandated by clauses 4.9 and 4.10) the query and geoquery conditions
Documentation       If a Subscription does not define a timeInterval member, the notification shall be sent whenever there is a change in the watched Attributes and the entity matches the q parameter. The notification message shall include all the subscribed Entities that changed and that match (as mandated by GS CIM 009 §4.9 and §4.10) the query and geoquery conditions

Resource            ${EXECDIR}/resources/ApiUtils/Common.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
@@ -21,7 +21,7 @@ ${fragment_filename}= airQualityLevel-fragment.jsonld

*** Test Cases ***
046_05_01 Check That A Notification Is Sent With All Entities
    [Documentation]    The notification message shall include all the subscribed Entities that changed and that match (as mandated by clauses 4.9 and 4.10) the query and geoquery conditions
    [Documentation]    The notification message shall include all the subscribed Entities that changed and that match (as mandated by GS CIM 009 §4.9 and §4.10) the query and geoquery conditions
    [Tags]    sub-notification    5_8_6

    ${response}=    Update Entity Attributes    ${entity_id}    ${fragment_filename}    ${CONTENT_TYPE_LD_JSON}
+3 −3
Changes for TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_07.robot: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ ${date_format_with_millis} %Y-%m-%dT%H:%M:%S.%f

*** Test Cases ***
046_07_01 Check Notification Structure
    [Documentation]    The structure of the notification message shall be as mandated by clause 5.3. Valid notification with attributes as stated above
    [Documentation]    The structure of the notification message shall be as mandated by GS CIM 009 §5.3. Valid notification with attributes as stated above
    [Tags]    sub-notification    5_8_6
    [Setup]    Setup Initial Subscriptions    ${subscription_payload_file_path}

@@ -39,7 +39,7 @@ ${date_format_with_millis} %Y-%m-%dT%H:%M:%S.%f
    Should Not Be Equal    ${notified_at_date}    ${None}

046_07_02 Check Correct Attributes Are Included
    [Documentation]    The structure of the notification message shall be as mandated by clause 5.3.    The Entity Attributes included (Properties or Relationships) shall be those specified by the notification.attributes member in the Subscription data type (clause 5.2.12).
    [Documentation]    The structure of the notification message shall be as mandated by GS CIM 009 §5.3.    The Entity Attributes included (Properties or Relationships) shall be those specified by the notification.attributes member in the Subscription data type GS CIM 009 §5.2.12).
    [Tags]    sub-notification    5_8_6
    [Setup]    Setup Initial Subscriptions    ${subscription_payload_file_path_notificationAttributes}

@@ -54,7 +54,7 @@ ${date_format_with_millis} %Y-%m-%dT%H:%M:%S.%f
    Dictionary Should Contain Key    ${notification}[data][0]    airQualityLevel

046_07_03 Check URI Expansion Is Observed
    [Documentation]    The structure of the notification message shall be as mandated by clause 5.3.    URI expansion shall be observed (clause 5.5.7).
    [Documentation]    The structure of the notification message shall be as mandated by GS CIM 009 §5.3.    URI expansion shall be observed GS CIM 009 §5.5.7).
    [Tags]    sub-notification    5_8_6
    [Setup]    Setup Initial Subscriptions    ${subscription_payload_file_path_default_context}

+2 −2
Changes for TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_08.robot: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ ${fragment_filename}= airQualityLevel-fragment.jsonld

*** Test Cases ***
046_08_01 Check That A Notification Is Sent With All Attributes
    [Documentation]    The structure of the notification message shall be as mandated by clause 5.3.1. The absence of the notification.attributes member of a Subscription means that all Entity Attributes shall be included. All attributes are included
    [Documentation]    The structure of the notification message shall be as mandated by GS CIM 009 §5.3.1. The absence of the notification.attributes member of a Subscription means that all Entity Attributes shall be included. All attributes are included
    [Tags]    sub-notification    5_8_6
    [Setup]    Setup Initial Subscriptions    ${False}

@@ -41,7 +41,7 @@ ${fragment_filename}= airQualityLevel-fragment.jsonld
    Dictionary Should Contain Key    ${notification}[data][0]    subCategory

046_08_02 Check That A Notification Is Sent With All Attributes In Simplified Format
    [Documentation]    The structure of the notification message shall be as mandated by clause 5.3.1. The absence of the notification.attributes member of a Subscription means that all Entity Attributes shall be included    If the notification.format member value is "keyValues" then a simplified representation of the entities (as mandated by clause 4.5.3) shall be provided
    [Documentation]    The structure of the notification message shall be as mandated by GS CIM 009 §5.3.1. The absence of the notification.attributes member of a Subscription means that all Entity Attributes shall be included    If the notification.format member value is "keyValues" then a simplified representation of the entities (as mandated by GS CIM 009 §4.5.3) shall be provided
    [Tags]    sub-notification    5_8_6
    [Setup]    Setup Initial Subscriptions    ${True}

+2 −2
Changes for TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_09.robot: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
*** Settings ***
Documentation       A Notification shall be sent (as mandated by each concrete binding and including any optional endpoint.receiverInfo defined by clause 5.2.22) to the endpoint specified by the endpoint.uri member of the notification structure defined by clause 5.2.14
Documentation       A Notification shall be sent (as mandated by each concrete binding and including any optional endpoint.receiverInfo defined by GS CIM 009 §5.2.22) to the endpoint specified by the endpoint.uri member of the notification structure defined by GS CIM 009 §5.2.14

Resource            ${EXECDIR}/resources/ApiUtils/Common.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
@@ -21,7 +21,7 @@ ${notification_server_send_url} http://${notification_server_host}:${not

*** Test Cases ***
046_09_01 Check That A Notification Is Sent To The Endpoint
    [Documentation]    A Notification shall be sent (as mandated by each concrete binding and including any optional endpoint.receiverInfo defined by clause 5.2.22) to the endpoint specified by the endpoint.uri member of the notification structure defined by clause 5.2.1
    [Documentation]    A Notification shall be sent (as mandated by each concrete binding and including any optional endpoint.receiverInfo defined by GS CIM 009 §5.2.22) to the endpoint specified by the endpoint.uri member of the notification structure defined by GS CIM 009 §5.2.1
    [Tags]    sub-notification    5_8_6

    ${response}=    Update Entity Attributes    ${entity_id}    ${fragment_filename}    ${CONTENT_TYPE_LD_JSON}
Loading