Skip to main content

standard-api-expanders


0.15.1 (2024-12-11)

Fixed

  • Missing field in authorization filter when default implementation is used.

0.15.0 (2024-12-11)

Added

  • [NSX-285][NSX-520] New endpoints GET /app/accessRight/{accessRight} and GET /app/accessRight?filter={accesssRights} to check the access rights of the user.
  • [NSX-285][NSX-520] Added default implementation to the filter feature anchor in AuthorizationRequestFilterDynamicFeature to use the new AccessRightValidator class to check the access rights.

Changed

  • The UnknownExceptionHandler class now also logs exceptions as warnings, as these are exceptions that were not caught by any other exception handler.

Removed

  • Removed custom anchors from AuthorizationRequestFilterDynamicFeature class.

0.14.2 (2024-11-19)

Fixed

  • [NSX-285][NSX-562] Fixed null-check for filter parameters.

0.14.1 (2024-11-18)

Fixed

  • [NSX-285][NSX-562] Filter parameters for finders were missing a null check to make them optional.

0.14.0 (2024-11-13)

Added

  • [NSX-285] Support for CSV import/export.

0.13.3 (2024-11-12)

Fixed

  • No commandId was set when executing a command though the API.

0.13.2 (2024-11-12)

Fixed

  • [NSX-285][NSX-548] Implemented separate exception handling for DataCommand errors.
  • Fixed a few operationId collisions for application-level endpoints in the openapi specification.

0.13.1 (2024-11-08)

Fixed

  • [NSX-285][NSX-554] Implemented RFC3339 date conversion for API parameters.
  • Added missing import in expander template.

0.13.0 (2024-11-08)

Fixed

  • Bypass the authorization filter for OPTIONS method.

Added

  • [NSX-285][NSX-462] Implemented filter to handle calls for OPTIONS.
  • [NSX-285][NSX-536] Implemented filter to handle CORS (pre-flight) requests.

0.12.0 (2024-11-06)

Changed

  • Moved pagination parameters for find endpoints to a separate class.
  • [NSX-285][NSX-543] Moved rule to enable Knockout with standard API to net.democritus:Expanders.
  • Updated expander dependencies:
    • net.democritus:Expanders: 7.7.0 -> 7.8.1

0.11.0 (2024-10-29)

Added

  • [NSX-285][NSX-543] Added support for custom finders.
  • [NSX-285][NSX-543] Added support for customizable finders.

0.10.0 (2024-10-22)

Fixed

  • Exception handler for JsonMappingException did not handle subclasses, resulting in 500 error instead of 400.

Added

  • Added support for collection linkfields in openAPI specification for DataCommand.
  • Added contract interface for MenuItemConnector.
  • Added contract interface for SessionPropertyConnector.
  • Added contract interface for TranslationConnector.

Changed

  • [NSX-285][NSX-546] Split up FinderConnector and FinderConnectorContract into separate root level classes.

0.9.0 (2024-10-19)

Fixed

  • Added @Singleton annotation to the connectors managed by the RouteConnector.

Changed

  • Return 400 bad request for DataCommands when supplying an attribute or relationship that does not exist.
  • [NSX-285][NSX-538] A GET call on a resource type will now default to the 'findAll' finder if no filter parameter is supplied.

0.8.0 (2024-10-17)

Added

  • [NSX-285][NSX-425] Added support for collection linkfields in DataCommands.

Changed

  • [NSX-285][NSX-425] Return error as per specification when trying to replace a readonly collection relationship in POST and PATCH endpoints.

0.7.0 (2024-10-16)

Fixed

  • Exception handler for unhandled exceptions was not registered in the API.

Added

  • [NSX-285] Implemented error when client provides client-generated identifier on POST requests.
  • [NSX-285] Return 400 bad request for resource POST/PATCH when supplying an attribute or relationship that does not exist.

0.6.0 (2024-10-14)

Added

  • [NSX-285][NSX-425] Describe collection linkfields for GET, POST and PATCH endpoints on a DataElement in the OpenAPI specification.
  • [NSX-285][NSX-425] Added collection linkfields to POST and PATCH endpoints for DataElement resources.

0.5.0 (2024-10-10)

Fixed

  • Fixed expanded code for DeleteResourceConnector.

Added

  • [NSX-285][NSX-425] Preliminary support to include collection linkfields in the resource payloads.

0.4.1 (2024-10-10)

Fixed

  • Fixed Maven module structure.

0.4.0 (2024-10-09)

Added

  • [NSX-285] Added contract interfaces for route connectors, element connectors, resource connectors, finder connectors and command connectors.

Changed

  • Timestamps in the output documents are now correctly formatted according to the RFC3339 format.

0.3.0 (2024-09-05)

Fixed

  • Removed incorrect property for error handler.

Added

  • [NSX-285][NSX-485] Catch unhandled exceptions in request pipeline and return a valid error response.

0.2.1 (2024-08-14)

Fixed

  • Corrected request media type in api documentation for datacommand endpoints.

0.2.0 (2024-08-10)

Added

  • [NSX-285][NSX-411] Added OpenAPI documentation for DataCommand endpoints.

0.1.0 (2024-08-08)

Fixed

  • Added missing #control.cruds.jaxrs tag on PublicPropertyConnectorExpander.

Changed

  • Extracted from main expanders project.
  • Renamed expansion resources:
    • net.democritus:jaxrs-standard-api-expanders > net.democritus.api.rest:jaxrs-standard-api-expanders
    • net.democritus:fileio-stdapi-expanders > net.democritus.api.rest:jaxrs-standard-api-fileio-expanders
    • net.democritus:datacommands-stdapi-expanders > net.democritus.api.rest:jaxrs-standard-api-datacommands-expanders
  • Renamed runtime libraries:
    • net.democritus:application-shared-jaxrs-stdapi > net.democritus.api.rest:jaxrs-standard-api-runtime
    • net.democritus:application-shared-jaxrs-stdapi-datacommands > net.democritus.api.rest:jaxrs-standard-api-datacommands-runtime
  • Renamed return header for upload endpoints from X-UploadFileId to NS-File-Upload-Id.