Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-1090

TraversalStrategy - Root ProjectModel errorneously counted in classificationService.getMigrationEffortByPoints

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.6.0.Final
    • None
    • None
    • None

      It seems the points in the root ProjectModel are counted into the total points no matter what.

      The traversal can be changed by TraversalStrategy, however the root ProjectModel seems to be skipped in the check.

      See the screenshot in link this PR

      The apps give:

      EFFORT:  34 = {1=25, 3=3} = C{1=1, 3=3} + H{1=24}; Trav@13261870{cur: db48f86f jee-example-app-1.0.0-unparsable.ear (ear), strategy: SharedLibsTraversalStrategy, prev: null}, recur, tags: [], excl: []
      

      The shared-libs virtual app gives:

      EFFORT:  30 = {1=24, 3=2} = C{3=2} + H{1=24}; Trav@351448743{cur: null shared-libs (VIRTUAL), strategy: AllTraversalStrategy, prev: null}, recur, tags: [], excl: []
      

      I think the difference comes from the .ear root file.

      Shared apps story points spec: https://docs.google.com/document/d/1nI3OrPA4CcpqJUXsM06K9-yZvppJOIkWGwPG0NOH3S8/edit#heading=h.6ljcwet62k1q

            jesse.sightler@amentra.com Jesse Sightler
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: