A set of tools has been published to allow management of Oracle ATG Commerce Content Administration (a.k.a The BCC) via REST services.
The tools allow many management functions to be performed without logging in to the BCC. Examples of services exposed are adding/deleting targets, adding/deleting agents, and initiating deployments.
These tools will help facilitate managing an Oracle ATG Commerce installation in a cloud environment without the need to manually use the BCC.
These tools also provide a key step to enabling the concept of bursting, or auto-scaling an ATG cluster. ATG instances can be programatically added or removed from an existing cluster without the need to manually modify the BCC topology.
The tools are composed of several individual parts.
The BCCTools ATG module exposes REST services by utilizing the out of the box ATG MVC REST framework.
By default, all REST services are secured. They require both a valid session confirmation number (_dynSessConf), and an authenticated user.
The basic flow to interact with the REST services is:
Examples using curl, and API documentation are provided with the BCCTools module.
The bcc_rest python libraries provide a access to the BCCTools REST services. These libraries are meant to make it easier to interact with the REST services (easier than using something like curl), and are what the bcc_ansible libraries utilize.
The bcc_ansible python libraries allow for using Ansible playbooks to interact with the BCCTools REST services.
Sample playbooks are provided demonstrating how to call the BCCTools REST services.
All code is located at https://github.com/oracle/atg-commerce-iaas, and on Oracle OTN under commerce samples.
Instructions are in README.md, and API docs are in REST-APIs.md
Instructions are in README.md, and Ansible API docs are in ANSIBLE-MODULES.md