OSB Project Summary

The OSB Configuration consists of four projects. These projects can be categorized by either functionality or content:

Functionality by Incoming File Format

CSV format processing:

  • SGG-DG-CSV-BASE

  • SGG-DG-CSV-CM

XML format processing:

  • SGG-DG-SEEDER-BASE

  • SGG-DG-SEEDER-CM

  • SGG-DG-XML-BASE

  • SGG-DG-XML-CM

Content (by purpose of content)

Content containing business logic implementation:

  • SGG-DG-CSV-BASE

  • SGG-DG-SEEDER-BASE

  • SGG-DG-XML-BASE

Content containing configuration settings related to the objects and variables required during the processing of payloads:

  • SGG-DG-CSV-CM

  • SGG-DG-SEEDER-CM

  • SGG-DG-XML-CM

Project Contents

The following table describes the contents of each of these projects:

Project

Description

SGG-DG-CSV-BASE

Contains the components responsible for “actual” processing of data coming in CSV format. It can be upgraded in future releases without affecting the customization and environment settings that are stored in the SGG-DG-CSV-CM project. This project performs the following functions:

  • Processes notification messages that are sent from the GFP.

  • Calls the customizable local service proxies for pre- and post- processing of passed data

  • Validates passed data against the XSD schema for Plain XML format

  • Transforms passed Plain XML into D1-InitialLoadIMD or D1-DeviceEventSeeder formats according to type of incoming data.

  • Sends result structures to destination JMS queue.

  • Updates statistic information via calling the messageFlowIncResultIMD or messageFlowIncResultEvent method accordingly.

  • Handles errors that occur to provide information to the File Processing component. Error handling contains separate handlers for two stages: before and after the Plain XML is transformed to the final XML structure. The separation is necessary to make Java calls to appropriate methods (messageFlowErrorOccurredPlain, messageFlowErrorOccurredIMD or messageFlowErrorOccurredEvent) according to the current processing stage and data type.

SGG-DG-CSV-CM

Contains environment related configuration settings. It allows the customization and simplifies the future upgrades as well (See Configurng the OSB Project for example values).

SGG-DG-XML-BASE

Contains the components responsible for “actual” processing of data coming in XML format. It can be upgraded in future releases without affecting the customization and environment settings that are in SGG-DG-XML-CM project. This project performs the following functions:

  • Processes notification messages that are sent from GFP.

  • Calls the customizable local service proxies for pre- and post- processing of passed data.

  • Validates passed data.

  • Transform passed data. In current tutorial a simple XQuery code is used just to show the functionality available for transformation.

  • Sends result structures to destination JMS queue in form of acceptable by the D1-DeviceEventSeeder and/or D1-InitialLoadIMD inbound web services.

  • Updates statistic information via calling messageFlowIncResultIMD method.

  • Handles errors to provides information to GFP. Error handling contains separate handlers for two stages: before and after the Plain XML is transformed to the final XML structure. The separation is necessary to make a Java calls to appropriate methods (messageFlowErrorOccurred or messageFlowErrorOccurredIMD) according to the current processing stage.

SGG-DG-XML-CM

Contains environment related configuration settings. It allows the customization and simplifies future upgrades as well.

SGG-DG-SEEDER-BASE

Contains the components responsible for processing of data coming in “native” XML format. It can be upgraded in future releases without affecting the customization and environment settings that are in SGG-DG-SEEDER-CM project. This project performs the following functions:

  • Processes notification messages that are sent from GFP.

  • Calls the customizable local service proxies for pre- and post- processing of passed data.

  • Validates passed data.

  • Splits payload into individual initial measurements and/or device events.

  • Sends result structures to destination JMS queue in form of acceptable by the D1-InitialLoadIMD and/or D1-DeviceEventSeeder inbound web services.

  • Updates statistic information via calling messageFlowIncResultIMD method.

  • Handles errors to provides information to GFP. Error handling contains separate handlers for two stages: before and after the Plain XML is transformed to the final XML structure. The separation is necessary to make a Java calls to appropriate methods (messageFlowErrorOccurred or messageFlowErrorOccurredIMD) according to the current processing stage.

SGG-DG-SEEDER-CM

Contains environment related configuration settings. It allows the customization and simplifies future upgrades as well.