Skip to content
Home » Working notes

Working notes

sequenceDiagram
    title Phase 1b - GWCC and LOB (Indexed) Go Live and Switch

    participant GWCC_DocEntityStore as GWCC Document Entity Store
    participant DeltaUploader as Delta Document Uploader
    participant EDM_SingleUpload as EDM Single Document Upload
    participant HylandREST as Hyland OnBase REST API
    participant EDM_API as EDM API
    participant EDM_BlobStorage as EDM Blob Storage
    participant GWCC_EventHandler as GWCC EDM Event Handler
    participant Kofax as Kofax (Unindexed)
    participant OBFT as OBFT
    participant HylandOnBase as Hyland OnBase
    participant GWCC_OBFT_EventHandler as GWCC OBFT Event Handler
    participant SchemaTransformer as Schema Transformer

    %% Loop for Metadata Update
    loop Compare and Update Metadata
        GWCC_DocEntityStore ->> DeltaUploader: Compare EDMDocUpdated with CC DocUpdated
        DeltaUploader -->> GWCC_DocEntityStore: Return "Documents for Update"

        DeltaUploader ->> EDM_SingleUpload: Send Newer Documents
        EDM_SingleUpload -->> DeltaUploader: Return "200 Success"

        EDM_SingleUpload ->> HylandREST: Fetch Updated Metadata
        HylandREST -->> EDM_SingleUpload: Return "Metadata Stream"

        EDM_SingleUpload ->> EDM_API: Update Metadata
        EDM_API -->> EDM_SingleUpload: Return "200 Metadata Updated"

        EDM_API ->> EDM_BlobStorage: Update Metadata
        EDM_BlobStorage -->> EDM_API: Return "Metadata Stored"

        EDM_API ->> GWCC_EventHandler: Notify Metadata Update
        GWCC_EventHandler -->> EDM_API: Return "Notification Acknowledged"
    end

    %% Kofax (Unindexed) Flow
    Kofax ->> OBFT: Send Unindexed Document
    OBFT -->> Kofax: Return "200 Document Received"

    OBFT ->> HylandOnBase: Store and Process Unindexed Document
    HylandOnBase -->> OBFT: Return "Document Processed"

    OBFT ->> GWCC_OBFT_EventHandler: Notify New/Updated Metadata
    GWCC_OBFT_EventHandler -->> OBFT: Return "Metadata Notification Acknowledged"

    GWCC_OBFT_EventHandler ->> EDM_SingleUpload: Send OnBase Document Details
    EDM_SingleUpload -->> GWCC_OBFT_EventHandler: Return "200 Document Details Received"

    EDM_SingleUpload ->> SchemaTransformer: Convert Schema
    SchemaTransformer -->> EDM_SingleUpload: Return "New Schema"

    EDM_SingleUpload ->> EDM_API: Store Document
    EDM_API -->> EDM_SingleUpload: Return "200 Document Stored"

    EDM_API ->> EDM_BlobStorage: Store Blob and Metadata
    EDM_BlobStorage -->> EDM_API: Return "Blob and Metadata Stored"

    EDM_API ->> GWCC_EventHandler: Notify New/Updated Metadata
    GWCC_EventHandler -->> EDM_API: Return "Notification Acknowledged"

    GWCC_EventHandler ->> GWCC_DocEntityStore: Store Document and Metadata
    GWCC_DocEntityStore -->> GWCC_EventHandler: Return "200 Metadata Stored"

    %% LOB (Indexed) Flow
    GWCC_DocEntityStore ->> EDM_API: Send Documents
    EDM_API -->> GWCC_DocEntityStore: Return "200 Documents Received"

    EDM_API ->> EDM_BlobStorage: Store Blob and Metadata
    EDM_BlobStorage -->> EDM_API: Return "Blob and Metadata Stored"

    EDM_API ->> GWCC_EventHandler: Notify "New Document"
    GWCC_EventHandler -->> EDM_API: Return "Notification Acknowledged"

    GWCC_EventHandler ->> GWCC_DocEntityStore: Store Document and Metadata
    GWCC_DocEntityStore -->> GWCC_EventHandler: Return "200 Metadata Stored"