IOP_CNF_01_01 Retrieve Entities In Three Different Brokers
[Documentation]Check that the entity created in A only some attributes of the entity. The agent should also check that the entity in B is the full entity.
IOP_CNF_01 Retrieve OffStreetParking:1
[Documentation]Pre-conditions: no user context. Data only on leaves. B contains OffStreetParking1 and OffStreetParking2. C contains OffStreetParking2.
...Registrations established: Inclusive in A to B. Exclusive in A to C.
IOP_CNF_02_01 Retrieve Entities In Four Different Brokers
[Documentation]Check that entities returned from A has attributes from both entities in B and C.
IOP_CNF_02_01 Retrieve OffStreetParking:1
[Documentation]Pre-conditions: no user context. Data only on leaves. B contains OffStreetParking1 without location. C contains OffStreetParking1. D contains OffStreetParking2.
...Registrations established: Inclusive in A to B. Redirect in A to C. Redirect in A to D.
[Documentation]Pre-conditions: no user context. Data only on leaves. B contains OffStreetParking1. C contains OffStreetParking1 with location and name only. D contains OffStreetParking2.
...Registrations established: Inclusive in A to B. Redirect in A to C. Redirect in A to D.
IOP_CNF_03_01 Retrieve Entities In Four Different Brokers
[Documentation]Check the retrieval of entities in different brokers. The entity returned from A should have some attributes that match the entity in B and should not contain the location attribute found in C.
IOP_CNF_03_01 Retrieve OffStreetParking:1
[Documentation]Pre-conditions: no user context. Data on every broker. A contains OffStreetParking1 without location. B contains OffStreetParking1. C contains OffStreetParking1 without location. D contains OffStreetParking2.
...Registrations established: Auxiliary in A to B. Inclusive in A to C. Inclusive in A to D.
${third_payload}=Set To Dictionary${response.json()}
#Client checks that the entity returned from A should have the same attributes as the one in B and it should not contain the attribute location found in C.
Should Be Equal${payload}${first_payload}
Should Not Contain${payload}[location]${second_payload}[location]
*** Keywords ***
Setup Initial Context Source Registrations
[Documentation]Pre-conditions: no user context. Data on every broker.
...Broker A contains OffStreetParking1 without location.
...Broker B contains OffStreetParking1.
...Broker C contains OffStreetParking1 without location.
[Documentation]Pre-conditions: no user context. Data on every broker. A contains OffStreetParking1 without location. B contains OffStreetParking1. C contains OffStreetParking1 with location and name only. D contains OffStreetParking1 without location.
...Registrations established: Auxiliary in A to B. Inclusive in A to C. Inclusive in A to D.