Input Sync

Spring Boot application that acts as both input and processor in a single step. Receives ERP entity data via HTTP, persists it directly to comerzzia database and returns the result immediately — no messaging broker required.

Purpose

  • Receives data from external ERP systems via REST endpoints (XML or JSON format)

  • Validates and processes entity data synchronously

  • Persists to comerzzia database via integration services

  • Returns processed/failed entity counts immediately in the response

Use this mode when the ERP system needs to know the outcome of each call and a messaging broker is not available or not desired.

Integration Flow

flowchart LR
    A[External ERP] -->|HTTP POST| B[REST API<br/>Validation]
    B --> C[Integration Services]
    C --> D[(comerzzia DB)]
    D -->|result| A

    style A fill:none,stroke:#666,stroke-width:3px
    style B fill:none,stroke:#666,stroke-width:3px
    style C fill:none,stroke:#666,stroke-width:3px
    style D fill:none,stroke:#666,stroke-width:3px

Technologies

  • Java 8+

  • Maven 3.6+

  • Spring Boot 2.7.18

REST Application implementation