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
  3. MTA-3393

[QE] Verify for ( [CLI] [.NET] Analysis on .NET application won't start if provider is not specified )

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • MTA 7.1.0
    • None
    • QE-Task
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False

      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-abrugaro Alejandro Brugarolas
              istein@redhat.com Ilanit Stein
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: