aio-lib-java-core is the Adobe I/O - Java SDK - Core Library.
This Java library holds various core utilities used across the other modules.
It also holds the core Adobe Developer Console Workspace Builder.
This library holds a Workspace POJO modeling
your Adobe Developer Console Project Workspace,
To get you started quickly use a .properties file,
- see our sample config file in our jUnit Test.
- download your
projectconfigurations file from your Adobe Developer Console Project overview page - map your
projectconfigurations with this properties
For now, you do have a bit of copy and paste to do, but we have a plan to streamline the process:
The Workspace POJO holds your Adobe Developer Console Project configurations
(download your project configurations file from your Adobe Developer Console Project overview page):
aio_project_idyour Adobe Developer Console project id (project.id)aio_consumer_org_idyour Adobe Developer Console consumer orgnaization id (project.org.id)aio_ims_org_idyour Adobe Developer Console IMS Organization ID (project.org.ims_org_id)aio_workspace_idyour Adobe Developer Console workspace Id (project.workspace.id)
The Workspace POJO must also hold your Adobe Developer Auth configurations, pick one of the following authentication methods:
For OAuth2 authentication, you will need to provide the following properties:
aio_api_keyyour Adobe Developer Console OAuth Client ID (project.workspace.details.credentials[i].oauth_server_to_server.client_id)aio_client_secretone your Adobe Developer Console OAuth Client Secrets (project.workspace.details.credentials[i].oauth_server_to_server.client_secret)aio_oauth_scopesa 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)
For JWT authentication, you will need to provide the following properties:
aio_credential_idyour Adobe Developer Console jwt credential id (project.workspace.details.credentials[i].id)aio_client_secretyour Adobe Developer Console jwt credential client secret (project.workspace.details.credentials[i].jwt.client_secret)aio_api_keyyour Adobe Developer Console jwt credential API Key (or Client ID) (project.workspace.details.credentials[i].jwt.client_id)aio_meta_scopesa comma separated list of metascopes associated with your API, see your Adobe Developer Console jwt credential metascopes (project.workspace.details.credentials[i].jwt.meta_scopes)aio_technical_account_idyour Adobe Developer Console jwt credential technical account id (project.workspace.details.credentials[i].jwt.technical_account_id)
On top of these, the Workspace POJO can also hold your JWT private Key
(associated with the public key you uploaded in your Adobe Developer Console Workspace)
this will help to power Adobe JWT authentication flow and transparently add the proper Bearer
authentication token to all your request,
Note the easiest way is to stuff your Private Key as a pkcs8 base64 encoded String
using the aio_encoded_pkcs8 property key.
confer aio-lib-java-ims documentation for more details.
This Library is build with maven (it also runs the unit tests):
Contributions are welcomed! Read the Contributing Guide for more information.
This project is licensed under the Apache V2 License. See LICENSE for more information.