`
kirenenko04
  • 浏览: 145916 次
  • 性别: Icon_minigender_2
  • 来自: 上海
社区版块
存档分类
最新评论

Integration Framework

 
阅读更多

 Integration Framework

集成框架

The growing complexity of the batch processes required to operate a shop, have brought in some cases the existing implementation to its limits. On the one hand side because of the growing number of batch components (Jobs) and on the other hand due to lacking monitoring and notification capabilities.

日益增长的批处理执行于一个商店,带来了某些情况下实现的局限性,一方面因为Jobs数据增长,另一方面因为缺少监控和通知功能。

 

This concept(概念) will define a general way how workflows and its components(组件) need to be built so that a common infrastructure can provide facilities for monitoring(监控工具), logging(日志), configuration(配置), scheduling(计划任务) etc. One such framework which allows us to do so is Integration Framework. It is nothing but a combination of cartridges(组合cartridges, preferences(参数设置), custom objects (自定义对象) and meta-data which together can help create a workflow and monitor it. The first step towards using Integration Framework is installing it.

 

 

General concept 基本概念

Every workflow that needs to be executed is modelled as a WorkflowSchedule (工作流程安排), containing main information about frequency, run times, enablement, file log level, etc.

 

Every WorkflowSchedule consists of  Simple WorkflowComponentInstances (created from the existing WorkflowComponentDefinitions), describing the steps within the workflow and their individual configurations

 

For recurring(循环) schedules the schedule itself and its components are cloned for each schedule run.

 

In Demandware platform terminology, a WorkflowSchedule consists of a custom object defining the workflow and a number of job schedule definitions in the Demandware BM which check for workflows to execute on a regular basis. Every WorkflowComponentInstance relates to WorkflowScheduleobjects as well.

Dw平台中,一个WorkflowSchedule由一个自定意义对象定义的workflow 和许多个job schedule definitions (用于检查workflow定期执行)在DW BM中,每一个WorkflowComponentInstance同样关联到WorkflowSchedule对象.

 

Scheduled Job Configuration

Standard Demandware jobs are used to trigger the workflow engine. All other calculation is done by the framework itself. This allows for example the displaying of upcoming workflows even days in advance.

 

To setup a scheduled-Job:

1. Navigate to Administration -> Operations -> Job Schedules

2. Create a new or edit an old Schedule

3. Set the Execution Scope to either ‘Sites’ or ‘Organization’ depending on the Scope your pre-defined Workflow-Schedule run in. If your Workflow-Schedule should run in both scopes, please create a Scheduled-Job for each Scope.

4. Make sure that pipeline ‘Workflow’ and start node ‘Start’ are already pre-configured.

5. The Provided parameter‚ JobId, associates to a workflow component with the job which triggers the frameworks processing engine. This JobId is used internally by the Workflow pipeline to be able to identify the job that invoked it.

 

Monitoring

A monitoring cockpit(驾驶舱) allows viewing the schedule of the current day as well as the schedule for a given date. For the selected day a list of Workflows that are scheduled is shown as well as their components are shown. All of them state their name, the current status and the status message.

 

List of out of the box components

 

Component

Description

Standard Components Import

标准组件导入

The component  allows importing any system or custom object from a designated local or remote directory (relatively to IMPEX/) via XML-Files which corresponds (符合) to a specific naming pattern.

Standard Components-Download Files标准组件下载文件

Allows you to import from a designated WebDAV or(S)FTP location into Demandware

Catalog export

目录导出

allows exporting of a

specific Catalog

into a designated local directory (relatively to IMPEX/).

Order export

订单导出

allows exporting orders

(all or confirmed and paid) to a designated local directory

(relatively to IMPEX/).

Price-Book export

价格本导出

allows exporting of a

specific Price Book

into a designated local directory

(relatively to IMPEX/).

Price import

价格导入

allows importing Price-

Books from a designated local directory (relatively to

IMPEX/) via XML-Files

which corresponds to a specific

naming pattern.

Import slots

导入slots

allows importing of

content slot configurations from a designated local

directory (relatively to IMPEX/) via XML-Files which corresponds to a specific naming pattern in a specified mode.

Import content

导入content

allows importing of

data from a designated local directory (relatively to

IMPEX/) via XML-Files

which corresponds to a specific

naming pattern into a specified library and in a specified mode.

Various Rebuild functionality

各种重建功能

To rebuild Search / Availability / ActiveData / Redirect

/ Suggestions / Synonyms Indexes

Time condition

时间控制

allows ensuring that

the workflow will not be continued in case a configured

time is in the past or that the execution will be put on

hold until a certain time is reached. This can be useful in

case a replication or other workflow needs to happen

before a certain point of time in order to not impact the

production system performance.

确保当配置时间已经过期时候workflow不会被继续执行直到一个特定时间到达,这个对复制或者其他workflow是有用的,可以不影响正式环境系统的性能,

Date condition

日期控制

ensuring that the

workflow will not be continued in case a configured date is in the past or that the execution will be put on hold until a certain date is reached. This can be useful in case a replication or other workflow needs to happen before a certain date in order to not impact the production system performance

Date-Time condition

日期-时间控制

allows ensuring that the workflow will not be continued in case a

configured date and time is in the past or that the execution will be put on hold until certain date and time are reached. This can be useful in case a replication or other workflow needs to happen before a certain time in a certain day in order to not impact the production system performance.

Workflow clean-up

Workflow的清理

allows the removal of old custom objects which were created through the workflow framework.

清理旧的自定义对象,一些已经执行过的workflow

Clean-up files

清理文件

allows the removal and archive of old files in specific folders

清理和归档旧文件,在指定目录

Transfer to FTP

传送到ftp

allows the copy of files

from a local directory (relatively to IMPEX/) to a FTP-Location

允许从本地目录复制到ftp目录

Transfer from FTP

FTP传送

allows the copy of files to a local directory (relatively to IMPEX/) from a FTP-Location.

允许从ftp复制文件到本地目录

Rebuild indexes

重建索引

Allows the rebuilt of the configured indexes. This component can be useful after the import of a catalog for example.

允许常见配置索引,组件可以对导入商品数据之后有用。

 

 

 

分享到:
评论

相关推荐

    Configuration of Trade Outbound Enterprise Service Integration Framework (TOF)

    Configuration of Trade Outbound Enterprise Service Integration Framework (TOF)

    JBoss Seam--A Deep Integration Framework

    本文介绍了JBoss Seam的产生背景以及集成框架的概念,并且演示了在JBoss Seam中如何使用POJOs处理JSF事件以及实现双向依赖注入。

    Just spring integration

    discuss the problem space that Spring Integration Framework is addressing. We introduce the framework very briefly and analyze Spring Integration’s role in creating a sound messaging solution.

    Pivotal Certified Spring Enterprise Integration Specialist Exam(Apress,2015)

    RESTful services with Spring MVC, the Spring JMS module, JMS and JTA transactions with Spring, batch processing with Spring Batch and the Spring Integration framework. Prepare with confidence for the...

    Research Java Web framework based on OSGi

    java web OSGi (Open Services Gateway Initiative) provides a programming model for service components. Programming based on OSGi can bring many advantages, such as ... Integration Framework; Java Web;

    Camel.in.Action

    Camel is an integration framework that aims to make your integration projects productive and fun. The Camel project was started in early 2007, but although it’s relatively young, Camel is already a ...

    enterprise integration framework-开源

    python企业集成框架项目。 基于EAI模式和建模与仿真工具的Powerfull类库。

    ARCH Data Integration Framework-开源

    Arch数据集成框架

    CCA INtegration framework (CCAIN)-开源

    通用组件架构 (CCA) 集成框架旨在分阶段采用面向科学程序员的基于组件的设计和方法,用于现有和新代码项目。

    camel in action

    Apache Camel is an integration framework whose main goal is to make integration easier. It implements many of the EIP patterns and allows you to focus on solving busi- ness problems, freeing you ...

    sensor-integration-framework:传感器集成框架

    Sensor Integration Framework 是一个框架,可用于在持续集成 (CI) 环境中集成软件测试工具。 您可以获得的大多数 CI 解决方案都可以轻松与流行的单元测试框架集成。 例如,它们可能不会与商业静态分析工具轻松集成...

    IEC61970标准

    电力系统能量管理系统的IEC通信标准: This standard is one of the IEC 61970 series which define application program ...• Provide an integration framework for interfacing existing systems to an EMS.

    Just Spring Integration

    It covers the Spring Integration framework, including the declarative programming model, core messaging, adapters, and support for JMS, RMI, and web services. It's an ideal companion to Just Spring, ...

    apache-camel-spring-demo

    Apache Camel ™ is a versatile open-source integration framework based on known Enterprise Integration Patterns. Camel empowers you to define routing and mediation rules in a variety of domain-...

    org.springframework.integration-tests-3.0.0.M4.jar

    org.springframework.integration-tests-3.0.0.M4.jar

    Cassandra-The-Definitive-Guide.pdf

    Apache Camel is an integration framework whose main goal is to make integration easier. It implements many of the EIP patterns and allows you to focus on solving busi- ness problems, freeing you from ...

    sip-4.15.5.zip

    dip is an application development and integration framework for Python and PyQt. dip supports Python v3.x, v2.6 and v2.7. dip is suitable for writing large, complex applications, even those that need ...

    sip-4.15.5.tar.gz

    dip is an application development and integration framework for Python and PyQt. dip supports Python v3.x, v2.6 and v2.7. dip is suitable for writing large, complex applications, even those that need ...

Global site tag (gtag.js) - Google Analytics