Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.09 KB

Project_Structure.md

File metadata and controls

39 lines (26 loc) · 1.09 KB

Inside Technolinator

to be updated

Process overview

sequenceDiagram

    GitHub -->> OnPushDispatcher: Send push event
    OnPushDispatcher ->> OnPushDispatcher: Check relevance

    opt Push on default branch

        OnPushDispatcher -->> GitHub: Commit status 'Pending'
        OnPushDispatcher ->>+ PushHandler: Start process

        PushHandler ->>+ RepositoryService: Fetch push-ref content
        RepositoryService -->>- PushHandler: LocalRepository

        PushHandler ->>+ CdxgenClient: Create SBOM using cdxgen
        CdxgenClient -->>- PushHandler: SBOMGenerationResult

        PushHandler ->>+ DependencyTrackClient: Upload SBOM
        DependencyTrackClient -->>- PushHandler: Project

        DependencyTrackClient -->> Dependency-Track: Upsert SBOM
        DependencyTrackClient -->> Dependency-Track: Patch Project

        PushHandler -->>- OnPushDispatcher: Project

        alt Process succeeded
            OnPushDispatcher -->> GitHub: Commit status 'OK'
        else Process failed
            OnPushDispatcher -->> GitHub: Commit status 'Failed'
        end

    end
Loading