SolaceLabs / solace-tools-typescript

This repository contains tools to enable interaction with the Solace PubSub+ Platform including an AsyncAPI Importer
https://api.solace.dev/
Apache License 2.0
5 stars 3 forks source link

AsyncAPI Importer - should allow longer message names #117

Closed 195858 closed 1 year ago

195858 commented 1 year ago

Describe the bug Importer rejects AsyncAPIs for which EP message names would exceed 60 characters.

The EP API does not impose this constraint and therefore longer names should be allowed.

EP allows up to 1048 characters - https://api.solace.dev/cloud/reference/createevent

To Reproduce Steps to reproduce the behavior:

  1. command line ep-async-api-importer -fp ~/Downloads/CE_OUTBOUNDDELIVERYEVENTS.yaml -d OUTBOUNDELIVERYEVENTS Async APi File - https://gist.github.com/195858/b6c24132d3fdb3a3a064a5c663d7e650
  2. configuration CLI_TEST_SETUP_DOMAINS_FOR_APIS=false CLI_ASSETS_APPLICATION_DOMAIN_ENFORCEMENT_POLICY=off CLI_IMPORT_BROKER_TYPE=solace A clear and concise description of what happens.

Expected behavior The Async AI at https://gist.github.com/195858/b6c24132d3fdb3a3a064a5c663d7e650 should pass validation and the required events should be created in EP.

Log files If applicable, add log file(s) to help troubleshoot the problem.

Additional context Add any other context about the problem here.