Commit 7bce2ee6 authored by kzangeli's avatar kzangeli
Browse files

fix(019_26): langProperties=street on the LanguageProperty q TCs

A [..] segment of a q path is a JSON-LD term to expand (§ 7.2.3.2); a languageMap's keys are
language tags, stored as sent. Which attributes hold a languageMap is the query's to say - as
jsonKeys does for a JsonProperty (§ 7.2.3.1 Example 12). Query Entities gets a langProperties
argument.

Co-Authored-By: default avatarClaude Opus 5.5 <noreply@anthropic.com>
parent f389b3c7
Loading
Loading
Loading
Loading
+1 −0
Changes for TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_26.robot: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@ Query entities based on q on a LanguageProperty

    ${response}=    Query Entities
    ...    q=${q}
    ...    langProperties=street
    ...    count=true
    ...    context=${ngsild_test_suite_context}

+4 −0
Changes for resources/ApiUtils/ContextInformationConsumption.resource: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@ Query Entities
    ...    ${orderBy}=${EMPTY}
    ...    ${jsonKeys}=${EMPTY}
    ...    ${expandValues}=${EMPTY}
    ...    ${langProperties}=${EMPTY}
    ...    ${broker_url}=${EMPTY}
    ${final_url}=    Set Variable If    '${broker_url}'!=''    ${broker_url}    ${url}
    ${attrs_length}=    Get Length    ${attrs}
@@ -121,6 +122,9 @@ Query Entities
    IF    '${expandValues}'!=''
        Set To Dictionary    ${params}    expandValues=${expandValues}
    END
    IF    '${langProperties}'!=''
        Set To Dictionary    ${params}    langProperties=${langProperties}
    END

    ${response}=    GET
    ...    url=${final_url}${NGSI_LD_API_PATH}/${ENTITIES_ENDPOINT_PATH}