Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-5356

[KAI] VSCode IDE plugin needs ability to download kai_analyzer_rpc binary from remote URL

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • MTA 8.0.0
    • MTA 8.0.0
    • IDE
    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      As part of releasing MTA 8 for Developer Lightspeed we will be publishing a build of the MTA IDE plugin for VSCode to Red Hat Marketplace.

       

      The IDE build we publish is composed of Typescript code that will be assembled, built, published via developer workflows (GitHub Actions).  This will be published as MTA plugin by Red Hat to Microsoft marketplace.  The point is that the IDE plugin will be published as the MTA plugin from Red Hat yet it is not officially built downstream and the IDE plugin is not officially supported.

       

      At runtime, the IDE plugin has a dependency on a golang binary, kai_analyzer_rpc.  This runtime dependency needs to be officially built from Red Hat via downstream processes and officially supported as part of MTA-8.  We believe that it is against policies to take the built binary from downstream and package in the .vsix file.  

       

      To address the above the plan is that:

      • kai_analyzer_rpc will be built via downstream processes and published to a Red Hat URL which allows unauthenticated access
      • the MTA 8 IDE plugin will be built and published via MTA Engineering to Microsoft Marketplace
      • at runtime, the MTA-8 IDE plugin will check if it has a local/cached copy of kai_analyer_rpc, if it does not, it will reach out to the Red Hat URL where it can download the binary in an unauthenticated manner

       

      Note for implementation, let's ensure as we implement this that we can override a few pieces of runtime configuration:

      • full path to kai_analyzer_rpc binary
      • URL to fetch kai_analyer_rcp binary

      QE testing:
      Check these runtime configuration pieces can be overridden.

       

       

      Upstream issue:  https://github.com/konveyor/editor-extensions/issues/529

       

       

              rh-ee-dzager David Zager
              jmatthews John Matthews
              Shveta Sachdeva Shveta Sachdeva
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: