Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-10308

Hardcoded list of compatible queryIds that support relationship query.

    Details

      Description

      Per the discussion in OPENIDM-10279, this JIRA is to offer a chance to create an alternative solution to hardcoding the list of queryIds that are compatible with getting wrapped by the relationship query.

      Here is the current hard coded List of compatible queryIds in ManagedObjectSet: 

      private static final Set<String> RELATIONSHIP_QUERY_IDS = new HashSet<>(Arrays.asList(
      "credential-query", "get-by-field-value", "query-all", "for-userName", "credential-internaluser-query"));
      

      For example: the query-all-ids query only returns IDs and wouldn't want to get wrapped by the relationship query.

      Please refer to the discussion here: https://stash.forgerock.org/projects/OPENIDM/repos/openidm/pull-requests/3623/overview?commentId=330705

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ben.apple Ben Apple
                Reporter:
                jason.vincent jason vincent
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: