Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Releases: FraunhoferISST/DataspaceConnector

DSC v7.0.3 - Fix Clearing House Interaction

08 Mar 10:59
73da510
Compare
Choose a tag to compare

in CHANGELOG.md:

Added

  • Add title and description to AppView.
  • Add endpoint type to AppEndpointView.

Changed

  • Update IDS messaging services version from 6.0.1 to 6.1.0.
  • Set content type of payload when logging to the Clearing House, so that logged items are not
    encoded in the Clearing House's response to a query.

Fixed

  • Use connector fingerprints instead of IDs to create processes at the Clearing House.

DSC v7.0.2 - PostgreSQL v42.3.3 Fix

16 Feb 15:14
dbd6638
Compare
Choose a tag to compare

In CHANGELOG.md:

Added

  • Add custom view for DatabaseDataSource to display URL and driver class.

Changed

  • Update swagger-annotations version from 1.6.4 to 1.6.5.
  • Update postgresql version from 42.3.2 to 42.3.3.

DSC v7.0.1-ra - Remote Attestation

15 Feb 11:24
Compare
Choose a tag to compare

This version is not available in the main branch but in release/v7.0.1-ra.
Details on how to run the DSC with remote attestation can be found here.

In CHANGELOG.md:

Added

  • Add mvn-local directory and allow the usage of locally published artifacts in the pom.xml.
  • Add maven dependencies for velocity, idscp2-tpm2d, idscp2-cmc, grpc-netty, and netty.
  • Add functionality to run the Connector with remote attestation.

Changed

  • Update .dockerignore, docker-compose.yml and Dockerfile.
  • Increase camel-idscp2 version from 0.6.0 to 0.9.1.

DSC v7.0.1 - Fixes & Maintenance

07 Feb 13:51
fe85943
Compare
Choose a tag to compare

In CHANGELOG.md:

Added

  • Add portainer.application.connector.network to application.properties.. Default is set to local.

Changed

  • Update equalsverifier version from 3.8.3 to 3.9.
  • Update postgresql version from 42.3.1 to 42.3.2.
  • Update flyway-core version from 8.4.3 to 8.4.4.
  • Update pitest-maven version from 1.7.3 to 1.7.4.
  • Update camel version from 3.14.1 to 3.15.0.
  • Update springdoc.version from 1.6.5 to 1.6.6.
  • Update maven-project-info-reports-plugin version from 3.1.2 to 3.2.1.

Fixed

  • Deployment of DataApps via Portainer
  • Escape data source URL before creating data source bean.

DSC v7.0.0 - Extended Route Functionality

31 Jan 12:50
ce64251
Compare
Choose a tag to compare

WARNING - MAJOR CHANGES: Before updating, please read this guide!

In CHANGELOG.md:

Added

  • Allow using route ID (URI) as access URL for artifacts.
  • Allow using route ID (URI) as location for subscriptions.
  • Allow specifying route IDs when calling GET /data endpoint to automatically dispatch data via these routes.
    • When a route is specified, requested data will not be persisted in the local database.
  • Allow using API key authentication for DataSource.
  • Create sub-types for DataSourceDesc for types REST and DATABASE to allow adding database driver and URL.
  • Create datasource beans from DataSources of type DATABASE automatically.
  • Add database migration feature.
    • Offer possibility to migrate databases to v7.0.0 starting from v5.0.0.
  • Add portainer.application.scheme to application.properties.. Default is set to http.

Changed

  • Change jdk version from 11 to 17.
  • Change encoding of local data from UTF-16 to UTF-8.
  • Change relation between Route and Artifact to one-to-one (previously one-to-many).
    • Link is created automatically when an artifact is created with a route reference as access URL.
  • Change field location of Endpoint from URI to String.
  • Replace template engine Velocity with Freemarker.
  • Remove suffix settings from ConfigurationDesc attributes (truststore, proxy, keystore).
  • Log header and payload of sent message in AbstractMessageService.
  • Ignore IDS InfoModel version incompatibility for incoming messages. Add log message level warn.
  • Rearrange Swagger UI.
    • Rename tags.
      • Rename tag Messages to _Messaging.
      • Rename tag Camel to Routes (Apache Camel).
      • Rename tag Connector to _Connector.
      • Rename tag Configurations to _Configurations.
    • Create tag _Utils.
      • Move /api/examples/validation and /api/examples/policy to _Utils.
      • Move /api/utils/enum to _Utils.
    • Remove annotation @hidden from the following REST endpoints:
      • /api
      • /api/beans
      • /api/beans/{beanId}
      • /api/camel/routes
      • /api/camel/routes/{routeId}
      • /api/camel/routes/error
    • Move contract agreement endpoints to Contracts.
    • Move /api/configuration/negotiation and /api/configuration/pattern to _Configurations.
  • Change REST endpoints.
    • PUT /api/routes/{id}/endpoint/start expects a URI instead of a UUID.
    • PUT /api/routes/{id}/endpoint/end expects a URI instead of a UUID.
    • Change POST /api/configmanaer/enum/{enumName} to GET /api/utils/enums and change it to return all types within one call.
      • Add enum types POLICY_PATTERN, UPDATE_TYPE, ENDPOINT_TYPE, EVENT_TYPE, ERROR_MESSAGE, USAGE_CONTROL_FRAMEWORK, ACTION_TYPE, and DATA_SOURCE_TYPE.
      • Change return value of SECURITY_PROFILE to the internal model. Add IDS_SECURITY_PROFILE for the ids enum.
      • Change return value of CONNECTOR_STATUS to the internal model. Add IDS_CONNECTOR_STATUS for the ids enum.
    • Change /api/configmanaer/route/error to /api/camel/routes/error.
  • Change response bodies to JSON objects for the following REST endpoints:
    • /api/routes/{id}/endpoint/start
    • /api/routes/{id}/endpoint/end
    • /api/examples/validation
    • /api/examples/policy
    • /api/ids/app/actions
    • /api/routes/{id}/endpoint/start
    • /api/routes/{id}/endpoint/end
    • /api/beans
    • /api/beans/{beanId}
    • /api/camel/routes
    • /api/camel/routes/{routeId}
    • Of every endpoint that builds an error response with ResponseUtils.
  • Add correct content type to the following endpoints:
    • /api/notify
    • /api/configurations/{id}/active
    • /api/ids/app
    • /api/examples/validation
    • /api/examples/policy
  • Make field type in DataSource transient, as type information is persisted through the dtype column created through the @Inheritance annotation.
  • Rename param of /describe from actionType to type and change it to type ActionType.
  • Change strings of the following enums:
    • PolicyPattern: added strings.
    • UsageControlFramework: e.g. INTERNAL to Internal.
    • ActionType: e.g. START to Start.
    • EndpointType: e.g. APP to App.
    • Event: e.g. UPDATED to Updated.
  • Update dependencies.
    • Increase camel version from 3.12.0 to 3.14.1.
    • Increase spring-boot-starter-parent version from 2.5.6 to 2.6.3.
    • Increase spotbugs version from 4.4.2 to 4.5.3.
    • Increase okhttp version from 4.9.2 to 4.9.3.
    • Increase checkstyle version from 9.1 to 9.3.
    • Increase pmd version from 6.40.0 to 6.42.0.
    • Increase springdoc version from 1.5.3 to 1.6.5.
    • Increase modelmapper version from 2.4.4 to 3.0.0.
    • Increase equalsverifier version from 3.7.2 to 3.8.3.
    • Increase log4j2 version from 2.14.0 to 2.17.1.
    • Increase dependency-check-maven from 6.5.0 to 6.5.3.
    • Increase maven-site-plugin version from 3.9.1 to 3.10.0.
    • Increase protobuf version from 3.15.5 to 3.19.4.
    • Increase jackson version from 2.13.0 to 2.13.1.
    • Increase swagger-annotations version from 1.6.3 to 1.6.4.
    • Increase messaging services version from 5.1.1 to 6.0.1.
    • Increase maven-plugin version from 2.8.1 to 2.9.0.
    • Increase taglist-maven-plugin version from 2.4 to 3.0.0.

Fixed

  • XML-escape URLs before injecting them into Camel route templates.
  • Add exception handling for SSLHandshakeExceptions caused by PKIX errors.
  • Insert user input for title and description to example policies at /api/examples/policy.
  • Make /database accessible again.
  • Add class type check to rule comparison.
  • Remove @column(unique = true) from AppStore entity.
  • Keep keystore settings for active config if not present in the updated one.
  • Add missing brackets to Camel route templates, so that properties get inserted correctly.

Removed

  • Remove entity ConnectorEndpoint and all corresponding classes.

DSC v6.5.3 - Log4j2 v2.17.1 Fix

11 Jan 12:18
Compare
Choose a tag to compare

In CHANGELOG.md:

Changed

  • Increase log4j2 version from 2.16.0 to 2.17.1.

DSC v6.5.2 - Log4j2 v2.16.0 Fix

15 Dec 08:55
888ea59
Compare
Choose a tag to compare

In CHANGELOG.md:

Changed

  • Increase log4j2 version to 2.16.0.

DSC v6.5.1 - Fixes & Maintenance

09 Nov 13:37
3de79c9
Compare
Choose a tag to compare

In CHANGELOG.md:

Changed

  • Change base image from debian 10 to 11.
  • Increase checkstyle version from 9.0.1 to 9.1.
  • Increase postgresql version from 42.3.0 to 42.3.1.
  • Increase pmd version from 6.39.0 to 6.40.0.
  • Increase pitest-maven version from 1.7.2 to 1.7.3.
  • Increase dependency-check-maven version from 6.4.1 to 6.5.0.

Fixed

  • Setting spring.security.enabled=false will disable BasicAuth and other security checks.
  • Always use default base URL when creating self-links.
  • Check if dat is null before building an ids message. Remove stack trace, only log the error message.

DSC v6.5.0 - Configuration Force Reload

27 Oct 13:39
bb4fa0f
Compare
Choose a tag to compare

In CHANGELOG.md:

Added

  • New application.properties setting configuration.force.reload that forces reloading the configuration from the config.json instead of using the latest active configuration from the database. If not set, the default value is false.

Changed

  • Increase spring version from 2.5.5 to 2.5.6.
  • Increase messaging services version from 5.0.1 to 5.1.1.

Fixed

  • Only create agreements from contract offers with valid start and end date.
  • Check if agreement has expired before returning data.
  • Fix TransientObjectException while updating an artifact.
  • Add default constructor to ApiKey class, to avoid InstantiationException.

DSC v6.4.0 - Fixes & Maintenance

21 Oct 14:24
ac3be61
Compare
Choose a tag to compare

In CHANGELOG.md:

Added

  • Add ids field to /actuator/info endpoint, to monitor the connectors certificate expiration status and DAT infos (if one can be received).

Fixed

  • ArtifactFactory::updateByteSize sets byteSize and checksum to 0 when data is removed.
  • Add nullcheck to ArtifactService::toInputStream.
  • Check if representations are null or empty in getMediaTypeOfArtifact.
  • Data to be deleted from a consumed artifact, if necessary, is now deleted only once and not with each scheduler call.
  • Fix collisions in bootstrapping process setting a unique path for the bootstrap.path property.

Changed

  • Increase description column length to 4096.
  • Increase BasicAuth (username, password) and ApiKey (key, value) column length to 2048.
  • Increase dependency-check-maven version from 6.3.1 to 6.4.1.
  • Increase pitest version from 1.7.1 to 1.7.2.
  • Increase spotbugs version from 4.4.1 to 4.4.2.
  • Increase equalsverifier version from 3.7.1 to 3.7.2.
  • Increase postgresql version from 42.2.24 to 42.3.0.
  • Increase springdoc version from 1.5.11 to 1.5.12.
  • Increase camel-idscp2 version from 0.5.0 to 0.6.0.