Skip to content

Add asyncapi optimize command #218

Closed

Description

@derberg

This issue is for https://www.openforce.tech/ participants. If you do not participate in this even please pick up other issue from this repo, there is plenty of help needed 😄

Reason/Context

We need to enable the community to use all AsyncAPI tools in CLI if only possible -> https://github.com/asyncapi/optimizer

Description

  • add new command asyncapi optimize that uses https://github.com/asyncapi/optimizer and enable users to optimize single AsyncAPI file
  • user should be able to pass one files to the optimizer asyncapi optimize <context/filepath/url> (getting file from context or filepath or URL is already provided in CLI, you just use load function)
  • by default it would optimize the document and print to the terminal, but user should be able to specify to get only the report, with flag --report
  • by default full optimization is done, but user should be able to specify --rules where user can provide rules that should be applied by optimizer

This issue is for https://www.openforce.tech/ participants. If you do not participate in this even please pick up other issue from this repo, there is plenty of help needed 😄

@KhudaDad414 pinging you so you are aware 😄

Activity

  1. added
    enhancement
    on Feb 8, 2022
  2. alceil commented on Mar 6, 2022

    @alceil

    Hey @derberg , I am Ashish Tom, a contributor to OpenForce 2022. I would like to work on this issue. I would be making a PR as soon as I am done with resolving the issue. Thank you

  3. KhudaDad414 commented on Mar 7, 2022

    @KhudaDad414
    Member

    @alceil that's great. If you have any problems or questions regarding the tool itself, please do let me know.

  4. alceil commented on Mar 8, 2022

    @alceil
  5. alceil commented on Mar 11, 2022

    @alceil

    Hey @KhudaDad414 I have raised a pull request. Could you please review it?

  6. github-actions commented on Jul 10, 2022

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity 😴

    It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

    There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

    Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

    Thank you for your patience ❤️

  7. github-actions commented on Nov 26, 2022

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity 😴

    It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

    There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

    Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

    Thank you for your patience ❤️

  8. asyncapi-bot commented on Feb 9, 2023

    @asyncapi-bot
    Contributor

    🎉 This issue has been resolved in version 0.31.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementreleasedstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions