Git Product home page Git Product logo

cq-java-hybris-extensions's Introduction

Extending the CQ Hybris connector

This project shows how to extend/customize the Hybris connector to achieve the following:

  • Parse some custom Hybris data when importing products from Hybris: MyResponseParser#parseProductData
  • Import product references from Hybris: MyResponseParser#parseUnknownProductAttribute
  • Add/update some specific product attributes in CQ when importing products from Hybris: MyImportHandler#updateProduct
  • Modify the way assets are stored in CQ when importing products from Hybris: MyImportHandler#updateAsset
  • Customize the way catalogs are imported/updated from Hybris: MyImporter#importCatalog
  • Customize the way groups are imported from Hybris: MyImporter#importGroups
  • Customize the catalog/product rollout process: MyCommerceService#catalogRolloutHook and MyCommerceService#productRolloutHook
  • Change the price of a product: MyCommerceSession#getProductPrice

Some other extension points:

  • HybrisFactory#getProduct is responsible for creating Product instances.
  • HybrisSession#getProductPriceInfo is responsible for getting the correct price for a product for the current user.
  • HybrisService#login is responsible for extracting SessionInfo from a request.
  • HybrisFactory#getSession is responsible for creating HybrisSession instances.
  • ProfileSynchronizer#syncProfile is responsible for syncing the user’s CQ profile to the respective Hybris account.
  • HybrisConnection is responsible for actually sending HTTP(S) requests to the Hybris server.
  • HybrisAuthenticationHandler(s) are responsible for authenticating HTTP(S) requests.

The project can be built and deployed with Maven.

cq-java-hybris-extensions's People

Contributors

jckautzmann avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.