Skip to content

aio-lib-java-1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 30 Nov 10:39
· 0 commits to 017a7c448806da624d3de6a7a917d07e225bea28 since this release

Version 1.0.0

New Features

  • aligning aio-lib-java-events-mgmt with the latest version of the IO Events APIs

    • with major update of IO Events registration sdk API (see Breaking Changes section below)
    • This version also introduces new features to::
      • update an existing registration

        Optional<Registration> updateRegistration(String registrationId, RegistrationUpdateModel.Builder registrationUpdateModelBuilder)
        
      • List all registrations in a workspace

        List<Registration> getRegistrationsForWorkspace()
        
      • Get all registrations for an org in a paginated response

        Optional<RegistrationPaginatedModel> getAllRegistrationsForOrg(long page, long size)
        
  • The SDK also now uses a Jackson Object Mapper with support for JSON Hypertext Application Language (HAL) models. More details on HAL can be obtained here: https://stateless.group/hal_specification.html

Breaking Changes

Change in Registration API

This release updates the SDK to use the latest IO Events Registration API where registrations are now defined in the context of a project and workspace. More details on the APIs can be found here: https://developer.adobe.com/events/docs/api/#tag/Registrations

Old to new method mappings

The mappings from the old to the new methods are as follows:

Optional<Registration> createRegistration(RegistrationInputModel.Builder registrationInputModelBuilder) -> Optional<Registration> createRegistration(RegistrationCreateModel.Builder registrationCreateModelBuilder)

Full Changelog