Coder Social home page Coder Social logo

provocon / coremedia-commerce-mock Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 29 KB

Mock Commerce Extension for CoreMedia Content Cloud as a custom Commerce System Integration Example together with a generic Wiki demonstrating the Process of Integrating.

License: Apache License 2.0

Java 97.86% Groovy 2.14%
coremedia commerce ecommerce extension mock catalog livecontext

coremedia-commerce-mock's Introduction

CoreMedia Content Cloud Mock for Custom Commerce Systems

The main part of this repository is the Wiki describing the necessary steps to integrate CoreMedia LiveContext 3 with your custom commerce system.

As part of this scenario and to present a generic manual it turned out to be helpful to have a mock product catalog implementation in place ready to use, to check if other parts are set up correctly.

So the code part of this repository is no full CoreMedia LiveContext 3 integration but leaves out the presentation layer in the commerce system and parts of its CoreMedia LiveContext 3 counterpart, since these - Adapter and at least a Theme

  • have to be implemented following the details of your custom commerce system which can't be impemented generically but just described in the Wiki.

Elements of the Code Repository

  • Mock Catalog Module
  • 2 Extensions to the Theme
  • CoreMedia Mock Catalog Extension
  • CoreMedia Theme
  • Additions to the Workspace
  • patch-script to prepare the CoreMedia side

Add Extension to the Workspace

You will have received access to a stock CoreMedia platform workspace with the Live Context base modules available.

Add this repository's mock-catalog folder to the modules/extensions area of this workspace and list it in the modules/extensions/pom.xml.

    <module>taxonomy</module>
    <module>validators</module>
    <module>mock-catalog</module>
  </modules>

Add a reference to the bom sub-module to the root pom.xml of the workspace.

      <!-- custom extensions -->
      <dependency>
        <groupId>${project.groupId}</groupId>
        <artifactId>mock-catalog-bom</artifactId>
        <version>${project.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <!-- custom extensions end -->

After this step the activation of the extension will be in effect after the usual

mvn com.coremedia.maven:coremedia-blueprint-maven-plugin:update-extensions

step.

Copy theme to Workspace

The directory theme is supposed to be copied as mock-minimal-theme to the subdirectory modules/frontend/themes. To be able to prepare the upload artifact for this theme, you will have to extend the grunt tooling of the workspace with one file from the latest development: sass.js. It needs to be placed in

modules/frontend/lib/tools/grunt/configs/themes/sass.js

Cosmetics

For consistency reasons you might decide to move the dependency management part of the root pom.xml of the mock-catalog extension to the root blueprint-parent/pom.xml of the workspace.

coremedia-commerce-mock's People

Contributors

mgoellnitz avatar

Watchers

 avatar  avatar  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.