Commit 18416038 authored by thomas Bousselin's avatar thomas Bousselin
Browse files

feat(csr): replace relationshipNames and propertyNames by attributeNames

parent e85a088f
Loading
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -1825,8 +1825,7 @@ described.
          "type": "Vehicle"
        }
      ],
      "propertyNames": ["brandName", "speed"],
      "relationshipNames": ["isParked"]
      "attributeNames": ["brandName", "speed","isParked"],
    },
    {
      "entities": [
@@ -1839,8 +1838,7 @@ described.
          "type": "OffStreetParking"
        }
      ],
      "propertyNames": ["availableSpotNumber", "totalSpotNumber"],
      "relationshipNames": ["isNextToBuilding"]
      "attributeNames": ["availableSpotNumber", "totalSpotNumber","isNextToBuilding"],
    }
  ],
  "endpoint": "http://my.csource.org:1026",
+8 −5
Original line number Diff line number Diff line
@@ -328,7 +328,7 @@ Table: Matrix of all Attributes
+--------------------------------+-----------------------------------------------------------------------+
| attributeName                  | Attribute, NotUpdatedResult                                           |
+--------------------------------+-----------------------------------------------------------------------+
| attributeNames                 | EntityType                                                            |
| attributeNames                 | EntityType, RegistrationInfo                                          |
+--------------------------------+-----------------------------------------------------------------------+
| attributeTypes                 | Attribute, EntityTypeInfo                                             |
+--------------------------------+-----------------------------------------------------------------------+
@@ -2797,11 +2797,14 @@ Table: RegistrationInfo data type definition
|                   |                | Empty array (0 length) is not allowed.                                           |             |                                                                                  |
|                   |                | Restrictions in Clause+++clause-9+++9 apply as well                              |             |                                                                                  |
+-------------------+----------------+----------------------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------+
| propertyNames     | String[]       | Property names as short hand strings or URIs. Empty array is not allowed.        | 0..1        | Describes the Properties that the CSource may be able to provide.                |
|                   |                | Restrictions in Clause+++clause-9+++9 apply as well                              |             |                                                                                  |
| attributeNames    | String[]       | Attribute names as short hand strings or URIs. Empty array is not allowed.       | 0..1        | Describes the Attributes that the CSource may be able to provide.                |
|                   |                | Restrictions in Clause+++clause-9+++9 apply as well                              |             | A synonym for the combination of *propertyNames* and *relationshipNames*.                                                                                 |
+-------------------+----------------+----------------------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------+
| relationshipNames | String[]       | Relationship names as short hand strings or URIs. Empty array is not allowed.    | 0..1        | Describes the Relationships that the CSource may be able to provide.             |
|                   |                | Restrictions in Clause+++clause-9+++9 apply as well                              |             |                                                                                  |
| propertyNames     | String[]       | Property names as short hand strings or URIs. Empty array is not allowed.        | 0..1        | **Deprecated** The field is included in attributeNames.                         |
|                   |                | Restrictions in Clause+++clause-9+++9 apply as well                              |             | Describes the Properties that the CSource may be able to provide.                |
+-------------------+----------------+----------------------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------+
| relationshipNames | String[]       | Relationship names as short hand strings or URIs. Empty array is not allowed.    | 0..1        | **Deprecated** The field is included in attributeNames.                          |
|                   |                | Restrictions in Clause+++clause-9+++9 apply as well                              |             | Describes the Relationships that the CSource may be able to provide.             |
+-------------------+----------------+----------------------------------------------------------------------------------+-------------+----------------------------------------------------------------------------------+
:::