commercetools Package Installation
Author:
Fluent Commerce
Changed on:
31 Jan 2024
Key Points
- In order to utilize the commercetools connector, you would need to download the Java-based commercetools Fluent Connector and make sure you have the right dependencies and tools.
- Development and deployment: The development environment needs to be configured with the correct credentials. The build and run are done via dockers and scripts. CloudFormation can be leveraged for production deployment.
- Connect SDK and commercetools Connector should have matching versions for increased stability.
Steps
Downloading the Project
The latest version of commercetools Fluent Connector can be found here: commercetools Fluent Connector - the latest version. This is a zip file of a java project that also includes documentation and some handy scripts/templates.
Project Requirements
- JDK 17
- Maven 3.8+
- Docker + docker-compose
- AWS CLI (for developers)
- IntelliJ / STS / Eclipse or similar (for developers)
- AWS tool kit plugin
Product Structure
A Fluent Connector project typically has the structure as defined below. Any customizations/extensions can either be done under the custom folder or as a separate module (jar) altogether.
Regardless of which way one chooses to extend it, the key message here is that any custom code should be under the `com.fluentcommerce.connect` package. This is due to how the FluentConnectorApplication is wired to work with Spring, and in its current form, Spring will only scan for components under `com.fluentcommerce.connect`.This project relies on 3 key dependencies and a set of configurations to drive how the application behaves.All configuration files are located at `src/main/resources`- there is a topic further down the article dedicated to this.