Java library used to import and/or sync (taking care of changes) data into one or more commercetools projects from external sources such as CSV, XML, JSON, etc.. or even from an already existing commercetools project.
Branch: master
Clone or download
heshamMassoud Merge pull request #369 from commercetools/368-handle-empty-attribute…
…s-with-empty-sets

368 handle set attributes with empty values
Latest commit 986b625 Jan 16, 2019

README.md

commercetools-java-sync-logos 002

commercetools sync

Build Status codecov Benchmarks 1.1.1 Download Javadoc Known Vulnerabilities

More at https://commercetools.github.io/commercetools-sync-java

Java Library used to import and/or sync (taking care of changes) data into one or more commercetools projects from external sources such as CSV, XML, JSON, etc.. or even from an already existing commercetools project.

Currently this library supports synchronising the following entities in commercetools

commercetools-java-sync-final 001

Usage

commercetools sync is a Java library that could be used to synchronise CTP data in any of the following ways:

  1. Synchronise data coming from an external system in any form (CSV, XML, etc..) that has been already mapped to commercetools-jvm-sdk resource draft objects (e.g. CategoryDraft).

  2. Synchronise data coming from an already-existing commercetools project in the form of commercetools-jvm-sdk resource draft objects (e.g. CategoryDraft).

Synchronise: Resources will either be created or updated. But they will not be deleted.

⚡ Take a look at the Quick Start Guide to find out how to build a product importer in a glance!

Prerequisites

  • Make sure you have JDK 8 installed.
  • a target CTP project to which your source of data would be synced to.
  • commercetools-jvm-sdk as a dependency in your JVM-based application. (Make sure to use a version >= 1.35.0).

Installation

There are multiple ways to add the commercetools sync dependency to your project, based on your dependency manager. Here are the most popular ones:

Maven

<dependency>
  <groupId>com.commercetools</groupId>
  <artifactId>commercetools-sync-java</artifactId>
  <version>1.1.1</version>
</dependency>

Gradle

implementation 'com.commercetools:commercetools-sync-java:1.1.1'

SBT

libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "1.1.1"

Ivy

<dependency org="com.commercetools" name="commercetools-sync-java" rev="1.1.1"/>

Roadmap

https://github.com/commercetools/commercetools-sync-java/milestones