Skip to content

aio-lib-java-0.1.2

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Aug 14:13
· 0 commits to 39abdd95b102b629720f18b1ae0f837b701984ec since this release

Version 0.1.2

Docs:

Here are our various documentation pointers:

Changes:

This new major version brings integrations tests against all AIO Events API (see GH-114) as well better alignment with the latest AIO Events API changes. This allows the AEM package to allow to support the recommended CloudEvents event envelope delivery format (see GH-102)

The CloudEvents event envelope looks like this :

{
  "datacontenttype": "application/json",
  "specversion": "1.0",
  "source": "urn:uuid:'"${provider_id}"'",
  "type": "'"${event_code}"'",
  "id": "'"${your_event_id}"'",
  "data": "your event json payload"
}'

when the legacy adobe_io envelope looks like :

{
  "event_id": "'"${your_event_id}"'",
  "event": "your event json payload"
}' 

Breaking change

This can be considered a breaking change: as with this change (GH-114), the default AEM AIO event delivery format is nowcloud_events_v1 and not adobe_io anymore.

Upgrading existing AEM deployment may thus break former integration. However this can be easily overridden by the AEM admin/developer by updating the Adobe I/O Events' Provider Configuration OSGI configuration and setting event.delivery.format to adobe_io.

For AEMaaCS you will need to add the a com.adobe.aio.aem.event.management.internal.EventProviderConfigSupplierImpl.cfg.json osgi config file in your CloudManager git repo with the following setting:

{
  "event.delivery.format": "adobe_io"
}

Changelog

Full Changelog