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

[CLI] [.NET] Analysis on .NET application won't start if provider is not specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • MTA 7.1.0
    • MTA 7.1.0
    • MTA CLI
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem:

      If the user tries to perform an analysis on a .NET application without providing the "provider" argument, the analysis won't start. 

      Version-Release number of selected component (if applicable): 7.1.0-9 

      How reproducible: Always 

      Steps to Reproduce:
      1. Run the following command:

      /mta-cli analyze --input ~/apps/dotnet-HelloWorld/ --output ~/Desktop/report-hello --overwrite --rules ~/apps/dotnet-david-rules/

      Hello World example app

      rules

      Actual results:

       

      INFO[0000] running windup shim                           args="convert --outputdir=/opt/shimoutput /opt/xmlrules" output=/home/abrugaro/Desktop/report-hello volumes="{\"/home/abrugaro/apps/dotnet-david-rules/\":\"/opt/xmlrules/dotnet-david-rules\",\"/tmp/transform-output-997458456\":\"/opt/shimoutput\"}"
      INFO[0000] generating shim log in file                   file=/home/abrugaro/Desktop/report-hello/shim.log
      /usr/bin/podman run --rm --name hpywbzjrcGEbAlzu --entrypoint /usr/local/bin/windup-shim -v /tmp/transform-output-997458456:/opt/shimoutput:z -v /home/abrugaro/apps/dotnet-david-rules:/opt/xmlrules/dotnet-david-rules:z registry.redhat.io/mta/mta-cli-rhel9:7.1.0 convert --outputdir=/opt/shimoutput /opt/xmlrulesError: provider c# not supported. Use --providerOverride or --provider option
      
       

      Expected results:

      MTA should detect if the application provided is a .NET application and select the dotnet provider.

       

      Additional info:

              rh-ee-dzager David Zager
              rh-ee-abrugaro Alejandro Brugarolas
              Alejandro Brugarolas Alejandro Brugarolas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: