Uploaded image for project: 'Kurator'
  1. Kurator
  2. KURATOR-173

Refactor the ICurationService and "validate methods" interface between FP-Akka and FP-KurationServices

XMLWordPrintableJSON

      FP-Akka actors invoke specific validateX(String term1, String term2) (e.g. validateGeoreference(latitude, longitude, country, state, locality etc)) methods on the FP-CurationService classes that implement the actor internals, and then invoke methods in the ICurationService interface to obtain results from the relevant curation class.

      There is likely a generalization of a validate(DomainObject object) interface that can be implemented by all the FP-CurationService curation classes.

      ICurationService badly needs to be reworked, only a single curation state is returned for the data record, and getServices() returns an overloaded string of original values and consulted services which then gets parsed by FP-Akka actors.

      Refactor, looking at supporting Kurator needs and looking to maintaing library compatibility with Kepler.

              mole Paul J. Morris
              mole Paul J. Morris
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 3 days
                  3d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified