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 files:
- 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)aio_credential_idyour Adobe Developer Console credential id (project.workspace.details.credentials[i].id)- this is optional, but it might be handy to have it in your
WorkspacePOJO, to avoid confusion when you have multiple credentials, and to eventually in some Adobe API calls
- this is optional, but it might be handy to have it in your
The Workspace POJO must also hold your Adobe Developer Auth configurations, pick one of the following authentication methods (see aio-lib-java-ims docs for more details):
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_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)aio_encoded_pkcs8your privateKey (associated with the public key set in your Adobe Developer Console workspace) in a base64 encoded pkcs8 format
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.