The Wayback Machine - http://web.archive.org/web/20200917105715/http://github.com/commercetools/commercetools-sync-java/
Skip to content
master
Go to file
Code

Latest commit

Co-authored-by: andreas Halberkamp <andreas.halberkamp@commercetools.de>
0e01950

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

commercetools-java-sync-logos 002

commercetools sync

Build Status codecov Benchmarks 2.0.0 Download Javadoc Known Vulnerabilities

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

Java library for importing and syncing (taking care of changes) data into one or more commercetools projects from external data files or from another commercetools project.

The library supports synchronising the following entities in commercetools

commercetools-java-sync-final 001

Usage

commercetools sync is a Java library that imports commercetools platform data in 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 from another commercetools project as commercetools-jvm-sdk resource draft objects (e.g. CategoryDraft).

Note: During a synchronisation, resources are either created or updated, but not deleted.

See the Quick Start Guide for more information on building a product importer!

🔛 Check out the commercetools-project-sync for a ready-to-use CLI application that syncs your entire data catalogue between 2 commercetools projects!

Prerequisites

  • Make sure you have JDK 8 installed.
  • commercetools-jvm-sdk as a dependency in your JVM-based application. (Make sure to use a version >= 1.47.0).
  • a target commercetools project for syncing your source data to.

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>2.0.0</version>
</dependency>

Gradle

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

SBT

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

Ivy

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

Roadmap

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

You can’t perform that action at this time.