Skip to content

Implement generate_assets_ouput for Application Import #33

@TamimiGitHub

Description

@TamimiGitHub

Current Behaviour

The current behaviour of the importer that assets are generated in the output directly for Event APIs only. Even when the Application mode is set to true (CLI_IMPORT_CREATE_API_APPLICATION=true) the output directory tmp/output/{domain_name}/{application_name} contains asyncapi spec file for EventAPIs

Proposal

  1. Implement cliApplicationVersionImporterGenerateAssetsReturn in CliApplicationImporter.ts that uses getAsyncApiForApplicationVersion
  2. Generate asset output for the respected import asset mode. For example, generate Application assets for CLI_IMPORT_CREATE_API_APPLICATION=true otherwise generate generate assets for event API import

End Goal

Recommit the asyncapi spec for the newly importer Application/Event back to the original repo to make sure repo and EP are in sync.

Importer Version

v0.52.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions