Workspace OSGI configurations
Requirements
Make sure you have your Adobe Developer Console Workspace properly configured,
Adobe Developer Console Workspace aio-aem-events
configurations
The aio-aem-events
add-on module expects your Adobe Developer Console Workspace defined as OSGI configurations.
Its WorkspaceSupplier
service looks up the following OSGI configuration keys (refer to your Adobe Developer Console project
file):
aio.project.id
your Adobe Developer Console project id (project.id
)aio.consumer.org.id
your Adobe Developer Console consumer orgnaization id (project.org.id
)aio.ims.org.id
your Adobe Developer Console IMS Organization ID (project.org.ims_org_id
)aio.workspace.id
your Adobe Developer Console workspace Id (project.workspace.id
)aio.credential.id
your Adobe Developer Console credential id (project.workspace.details.credentials[i].id
)aio.api.key
your Adobe Developer Console credential API Key (or Client ID) (project.workspace.details.credentials[i].oauth_server_to_server.client_id
)aio.client.secret
your Adobe Developer Console credential client secret (project.workspace.details.credentials[i].oauth_server_to_server.client_secret
)aio_oauth_scopes
a comma separated list of OAuth scopes associated with your API, see your Adobe Developer Console OAuth scopes (project.workspace.details.credentials[i].oauth_server_to_server.scopes
)
On premise configurations
For on premise
version of AEM:
- Open the Web Console, or select the Tools icon, then select Operations and Web Console.
- Scroll down the list to find Adobe I/O Events' Workspace Configuration, update all the values mentioned above.
- Select Save when done.
AEM as a cloud service configurations
When running on AEM as a cloud service, you'll have to use Cloud Manager to deploy these configurations,
choose the appropriate OSGi configuration value types,
mix environment variables, and secret environments variables (for aio.client.secret
and aio.encoded.pkcs8
).
You may refer to this sample application to get a first working sample: aio-aem-events-sample