-
Story
-
Resolution: Done
-
Low
-
None
-
None
-
Policy 6/8-6/19, Policy 6/23-7/06, Policy 7/06-7/17
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