All Projects β†’ commercetools β†’ commercetools-sync-java

commercetools / commercetools-sync-java

Licence: Apache-2.0 license
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.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to commercetools-sync-java

commercetools-sdk-typescript
The e-commerce SDK from commercetools for JavaScript written in TypeScript.
Stars: ✭ 25 (-3.85%)
Mutual labels:  commercetools, commercetools-sdk
Mailchimp Api 3.0 Php
A feature rich object-oriented PHP library for interacting with MailChimp's API v3 πŸ’ŒπŸ΅
Stars: ✭ 61 (+134.62%)
Mutual labels:  sync, ecommerce
commercetools-sdk-java-v2
The e-commerce SDK from commercetools for Java.
Stars: ✭ 16 (-38.46%)
Mutual labels:  commercetools, commercetools-sdk
commercetools-project-sync
Dockerized CLI application which allows to automatically sync different resources between commercetools projects
Stars: ✭ 26 (+0%)
Mutual labels:  sync, commercetools
Vue Storefront
The open-source frontend for any eCommerce. Built with a PWA and headless approach, using a modern JS stack. We have custom integrations with Magento, commercetools, Shopware and Shopify and total coverage is just a matter of time. The API approach also allows you to merge VSF with any third-party tool like CMS, payment gateways or analytics. Ne…
Stars: ✭ 9,111 (+34942.31%)
Mutual labels:  ecommerce, commercetools
commercetools-jvm-sdk
The e-commerce SDK from commercetools running on the Java virtual machine.
Stars: ✭ 59 (+126.92%)
Mutual labels:  commercetools, commercetools-sdk
synx
Better sync package for Go.
Stars: ✭ 20 (-23.08%)
Mutual labels:  sync
spartacus-capybara
SAP Spartacus Theme based on https://storefrontui.io look and feel and design system. Headless storefront solution for Hybris. Always Open Source, MIT license. Made with πŸ’™ by Divante
Stars: ✭ 44 (+69.23%)
Mutual labels:  ecommerce
headstart
A complete and opinionated eCommerce solution using OrderCloud as the backbone - built with .NET Core and Angular
Stars: ✭ 28 (+7.69%)
Mutual labels:  ecommerce
mern-ecommerce
MERN Stack ecommerce site
Stars: ✭ 122 (+369.23%)
Mutual labels:  ecommerce
grav-skeleton-gravcart
The Grav Shopping Cart skeleton
Stars: ✭ 11 (-57.69%)
Mutual labels:  ecommerce
Shopping-Cart-MERN
πŸ’Έ Simple Online Shopping Cart made with the MERN Stack
Stars: ✭ 34 (+30.77%)
Mutual labels:  ecommerce
grandnode2
Free, Open source, Fast, Headless, Multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, LiteDB, Vue.js.
Stars: ✭ 626 (+2307.69%)
Mutual labels:  ecommerce
sync
The main repository for P2P-Sync
Stars: ✭ 15 (-42.31%)
Mutual labels:  sync
magento2-freeshipping-progress-bar
Add a free shipping eligibility progress bar to your Magento 2 websites cart to promote increased order value.
Stars: ✭ 37 (+42.31%)
Mutual labels:  ecommerce
magento-2-pronko-consulting-theme
Pronko Consulting Theme for Magento 2
Stars: ✭ 47 (+80.77%)
Mutual labels:  ecommerce
awesome-medusajs
A curated list of awesome resources related to MedusaJS 😎
Stars: ✭ 113 (+334.62%)
Mutual labels:  ecommerce
sink
Uses Facebook profile pictures to provide high resolution photos for your Google contacts
Stars: ✭ 31 (+19.23%)
Mutual labels:  sync
therack
Laravel 7 e-commerce website
Stars: ✭ 77 (+196.15%)
Mutual labels:  ecommerce
biometric-attendance-sync-tool
A simple tool for syncing Biometric Attendance data with your ERPNext server
Stars: ✭ 95 (+265.38%)
Mutual labels:  sync

commercetools-java-sync-logos 002

commercetools sync

CI codecov Benchmarks 9.0.3 Download from Maven Central Javadoc Known Vulnerabilities

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

Java library which allows to import/synchronise (import changes) the data from any arbitrary source to commercetools project.

Supported resources: Categories, Products, InventoryEntries, ProductTypes, Types, CartDiscounts, States, TaxCategories, CustomObjects, Customers, ShoppingLists

Usage

Create you own event or cronjob based application and use the library to transform any external data (JSON, CSV, XML, REST API, DB, ...) into commercetools-jvm-sdk resource draft objects (e.g. CategoryDraft) and import those into the commercetools project.

Notes:

  • It is often more efficient if you can setup your external data source to provide you only the changes (deltas) instead of the full data set on every import iteration.
  • There is dockerized ready-to-use CLI application commercetools-project-sync which based on this library can synchronize entire data catalogue between the 2 commercetools projects.
  • 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!

commercetools-java-sync-final 001

Prerequisites

  • Library requires the min JDK version >= 11.

    The library tested with each major JDK version (i.e: 11, 12, 13...) as well as some specific updates of LTS versions (i.e: 11.0.3 and above).

  • 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>9.0.3</version>
</dependency>

Gradle

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

SBT

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

Ivy

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

Note: To avoid commercetools JVM SDK libraries version mismatch between projects. It is better not to add commercetools JVM SDK dependencies explicitly into your project and use them from commercetools-Sync-Java dependencies instead. Please remove them if you have already added the below dependencies in your project.

    For Gradle users, remove: 
    
    ````groovy
    implementation 'com.commercetools.sdk.jvm.core:commercetools-models:<version>'
    implementation 'com.commercetools.sdk.jvm.core:commercetools-java-client-ahc-2_5:<version>'
    implementation 'com.commercetools.sdk.jvm.core:commercetools-convenience:<version>'
    ````
    
    For Maven users, remove:
    
    ````xml
    <dependency>
      <groupId>com.commercetools.sdk.jvm.core</groupId>
      <artifactId>commercetools-models</artifactId>
      <version>version</version>
    </dependency>
    <dependency>
      <groupId>com.commercetools.sdk.jvm.core</groupId>
      <artifactId>commercetools-java-client-ahc-2_5</artifactId>
      <version>version</version>
    </dependency>
    <dependency>
      <groupId>com.commercetools.sdk.jvm.core</groupId>
      <artifactId>commercetools-convenience</artifactId>
      <version>version</version>
    </dependency>
    ````

If you want to use a different commercetools JVM SDK version than the version used in this project. , below you will find examples on how to exclude commercetools JVM SDK from commercetools-sync-java library. Beware that library might not work with the older commercetools JVM SDK versions.

    For Gradle: 
    
    ````groovy
    implementation('com.commercetools:commercetools-sync-java') {
        exclude group: 'com.commercetools.sdk.jvm.core', module: 'commercetools-models'
        exclude group: 'com.commercetools.sdk.jvm.core', module: 'commercetools-java-client-ahc-2_5'
        exclude group: 'com.commercetools.sdk.jvm.core', module: 'commercetools-convenience'
    }
    ````
    
    For Maven:
    
    ````xml
    <dependency>
      <groupId>com.commercetools</groupId>
      <artifactId>commercetools-sync-java</artifactId>
      <version>version</version>
      <exclusions>
        <exclusion>
            <groupId>com.commercetools.sdk.jvm.core</groupId>
            <artifactId>commercetools-models</artifactId>
        </exclusion>
        <exclusion>
            <groupId>com.commercetools.sdk.jvm.core</groupId>
            <artifactId>commercetools-java-client-ahc-2_5</artifactId>
        </exclusion>
        <exclusion>
            <groupId>com.commercetools.sdk.jvm.core</groupId>
            <artifactId>commercetools-convenience</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    ````
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].