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

Add support to run functional tests against old onRetrieve script context for effectiveRoles and effectiveAssignments

    XMLWordPrintable

    Details

    • QA Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Infrastructure - Test

      Description

      See https://bugster.forgerock.org/jira/browse/OPENIDM-14900 for context, specifically the functional test changes. https://bugster.forgerock.org/jira/browse/OPENIDM-11601 replaced the onRetrieve script hooks to calculate effectiveRoles and effectiveAssignments with queryConfig elements which engaged the java-based relationship derived virtual property functionality to calculate effectiveRoles and effectiveAssignments. Yet these onRetrive script hooks are widespread in customer deployments. Thus current master bits must pass the sync-related functional tests with the old onRetrieve script context. Thus functional test infrastructure must support running the functional tests, modified as part of https://bugster.forgerock.org/jira/browse/OPENIDM-14900, against a modified managed.json, where the queryConfig elements currently in master, are replaced by the onRetrieve elements removed as part of https://stash.forgerock.org/projects/OPENIDM/repos/openidm/pull-requests/5985/diff#openidm-relationship/src/test/resources/managed.json

      Thus this task covers infrastructure to run entire test suites against two versions of managed.json: the first, which is currently in master, and the second, where the queryConfig elements are replaced with the onRetrieve elements as in the link immediately above.

        Attachments

          Issue Links

            Activity

              People

              brmiller Brendan Miller
              dhogan Dirk Hogan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: