Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5540

UIMA-AS: Aggregate type priorities are not merged properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.10.2AS
    • Async Scaleout
    • None

    Description

      The UIMA-AS aggregate merges type priorities from all delegates. When all delegates report back, the aggregate does not merge its type priorities. The consequence is that the aggregate's type priorities are clobbered due to this:
      aggregateMetadata.setTypePriorities(getCasManagerWrapper().getMetadata().getTypePriorities());
      In the above, the CasManager contains type priorities from all delegates only.

      When UIMA-AS client receives Meta from an aggregate service, the type priorities are missing if an aggregate was the only one that defined it. If type priorities are moved from aggregate to a delegate all is well since the merge successfully added them to the aggregate meta.

      The fix is to merge an aggregate type priorities with the delegate type priorities before calling
      aggregateMetadata.setTypePriorities(...);

      Attachments

        Activity

          People

            cwiklik Jaroslaw Cwiklik
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: