Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-2202

Cleanup all usage of Pair<A, B>

XMLWordPrintable

      As an ONAP Policy Developer, I want to have common class that implements a Pair<A, B> in policy/common available to all the other repositories for usage so that the code base doesn't not have duplicated the same Pair<A, B> code in all the repositories.

      Some repos use Pairs as first, second, others use key, value. If it makes sense, then have multiple types available and fully covered by JUnit tests.

      Remove class definitions in each repo as they would not be needed.

       

      I think one got removed from SDNR actor in Guilin, these 2 are left to do:

       

      models/models-interactions -> RestManager has a Pair class defined

      drools-pdp -> drools/utils/Pair..java

       

            waynedunican Wayne Dunican
            pdragosh pdragosh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: