Saltar al contenido

Rúnar Sverrisson

Integration of SonarCube with HCL Commerce 9

Integration of SonarQube with HCL Commerce 9

Introduction to SonarQube SonarQube is a set of open source tools for measuring and analyzing the quality of source code. It is implemented in the Java language and is capable of analyzing the code of about 20 different programming languages. Anything that affects the base code, from small style details to critical design errors, is inspected and evaluated by SonarQube, which helps our developers identify the problem and its effect. SonarQube is perfect for use in a CD/CI environment, as a tool capable of analyzing the code before deployment. Is our code good enough to deploy? Should we suspend the deployment until the code quality matches an established standard? SonarQube gives us the data we need to make these decisions. More information about SonarQube can be found on this page. Introduction to SonarLint SonarLint is a plugin for various IDE applications, such as Eclipse or IntelliJ IDEA, that works as a tool… Leer más »Integration of SonarQube with HCL Commerce 9

Background Image

How to build a functional front-end for HCL commerce with Gatsby

HCL Commerce. The main goal is to replace the basic functions of the Aurora starter store with the Gatsby technology store. The store should have a home page (HP), a product list page (PLP), a product detail page (PDP), and a checkout. The purpose of the publication is to give an overview of how this goal can be achieved, along with some code examples. Configuration To set up the development environment, we follow the following steps: After that, we cd into gatsby and gatsby develop to start the Gatsby development server. We can access the starter site of Gatsby at http://localhost:8000/. For more information and tutorials about Gatsby, check out the Gatsby docs. Data extraction and page generation Gatsby can extract data from Headless CMS, databases, APIs, and more. There are three methods we can apply to get data from our private API: We will explain how we can use option two to get the data that… Leer más »How to build a functional front-end for HCL commerce with Gatsby

Background Image

WebSphere Commerce – Payment System Overview

The goal of the following discussion is to give the reader a high-level understanding of how the payment system works and how it can be configured. Overview of the payment system The payment processing in WebSphere Commerce has three distinct events that correspond to the stages of the order lifecycle. When an order reaches a certain stage, the related event triggers a specific payment process. This process is highly customizable and can be adapted to the specific needs of the company. See Figure 1 for a high-level overview of the flow. There are three main components of the payment subsystem in WCS: Figure 1: High-level overview of the payment system components. A simplified description of the flow between the components of the Payment System can be described as follows: Concepts: A description of the concepts and terms we use in this post: Events and actions: When a customer completes an order, they must choose… Leer más »WebSphere Commerce – Payment System Overview

websphere commerce payment methods

WebSphere Commerce - Payment Methods

We will review how a Affirmation payment can be implemented in WCS as an example of implementing a new Payment Method. The goal of the following discussion is to give the reader a fundamental understanding of how to implement a Payment Method in WebSphere Commerce and in particular the concept of a Payment Plug-in. See WebSphere Commerce – Payment System Overview for an overview of the WCS Payment System and see the IBM Knowledge Center for more details on WCS and its components. Implementing a new payment method A payment method in WCS is the means by which a payment is processed, for example a specific brand of credit card or PayPal. A functional Payment Method consists of several different things that must work well together. Some customizations can be made during the development of a new Payment Method, but generally the following is required: Add a… Leer más »WebSphere Commerce - Payment Methods

jenkins Jobs

WebSphere Commerce – Management Center: New tool

We will begin by giving a quick overview of what the WebSphere Commerce Management Center is and how it works before moving on to the main topic of this article: Explaining with an example how a new custom tool can be added to the Management Center. All the relevant code for the tool can be found on GitHub. Overview of the WebSphere Commerce Management Center The IBM Management Center for WebSphere Commerce, or simply Management Center, is a collection of tools that support store management, marketing, and marketing tasks for the business user. It comes with several ready-to-use tools: Catalog Tool Promotion Tool Marketing Tool Asset Tool Quota Tool Store Management Tool Catalog Filter and Pricing Tool Workspace Composer See

Jenkins

WebSphere Commerce – Management Center: Jenkins integration

In this post, we want to discuss how Jenkins can be integrated with the WebSphere Commerce Management Center. We will review a custom implementation of a tool for the Management Center and how its workspace can be configured and used. All relevant code is available on GitHub. Jenkins Integration Tool The goal of the tool is to be able to request information from Jenkins and perform builds for jobs. To communicate with Jenkins, we implemented a custom control command. This command can be executed in two different ways: Through the Management Center user interface and via a REST call. The REST call is not strictly necessary for the tool, but it can be useful during development. If you do not need REST capabilities for the command, you can ignore the classes and configurations that explicitly relate to making a REST call. Get Started To use the tool, import... Leer más »WebSphere Commerce – Management Center: Jenkins integration