v0.3.0 - 2021-07-21

The highlights of this release is the ability to edit metadata and the new metadata model.

Added

  • Metadata can now be edited via PUT catalogue/item/{item_id} endpoint [DAFA-853]

  • New attributes of metadata filled at GET catalogue/item/{item_id} endpoint: [DAFA-992]

    • range

    • installationLocation

    • informationKindProperties

    • origin

  • Introduced new autocomplete endpoints:

    • GET catalogue/search/autocomplete/unitOfMeasurement [DAFA-916]

    • GET catalogue/search/autocomplete/aggregationDescriptive

    • GET catalogue/search/autocomplete/aggregationDimension

    • GET catalogue/search/autocomplete/controlKind

    • GET catalogue/search/autocomplete/dataFormat

    • GET catalogue/search/autocomplete/identifierEntityKind

    • GET catalogue/search/autocomplete/limitKind

    • GET catalogue/search/autocomplete/limitSeverity

    • GET catalogue/search/autocomplete/physicalQuantity

    • GET catalogue/search/autocomplete/timezone

  • Introduced full CRUD operations for units of measurement [DAFA-918]

    • POST /catalogue/metadata/unitOfMeasurement

    • GET /catalogue/metadata/unitOfMeasurement/{unit_id}

    • PUT /catalogue/metadata/unitOfMeasurement/{unit_id}

    • DELETE /catalogue/metadata/unitOfMeasurement/{unit_id}

  • Introduced response header X-api-version, which contains the current version of this API [DAFA-969]

Changed

  • The id of a metadata element (DataElementMetaData & DataElementMetaDataidentifier) is no longer an integer, but a string complying with regex pattern: [TAM][0-9]+. [DAFA-949]

  • Updated metadata response model. [DAFA-947]

    • Added

      • Introduced new attributes for DataElementMetaData:

        • dimensions to allow specification of the related dimension signal(s).

        • technicalMetadata to determine format of the data. This defines if the dimension attribute should be filled and with how many references.

        • valueRange to define which actual values one can expect here. Note: range will be plausible range

      • Introduced information kind: Enum.

      • Introduced information kind: Timestamp.

      • Introduced information kind: Planned.

      • Introduced isUnique attribute in InformationKindPropertiesIdentifier.

    • Changed

      • Renamed information kind Setpoint to Target.

      • Renamed information kind Threshold to Limit.

    • Removed

      • Removed information kind Aggregation. It is now part of the technicalMetadata.

  • Authentication

    • Permissions of the user are now being encoded into the Auth token. [DAFA-980]

    • Removed HTTP only usage of auth cookie. [DAFA-981]

    • Fixed cookie not showing in the browser due to domain name scope issue. [DAFA-989]

  • Renamed Extended Properties Names in database: [DAFA-993]

    • location to _dc_location

    • informationKind to _dc_informationKind

  • circle.ci pipeline now runs integration tests [DAFA-990]

Deprecated

  • Renamed endpoint /auth/verify-token to /auth/verifyToken [DAFA-994]

Removed

  • Removed information kind Aggregation.

Fixed

  • Fixed a bug where the catalogue/search did not find measurements [DAFA-959]

  • Auth cookie is now being deleted on log out (instead of overwritten by an empty string) [DAFA-982]