Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-13084

Entity Import ordering in amster

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.0.1, 6.5.0, 6.0.1, 5.5.2
    • Component/s: Amster
    • Labels:
      None
    • Needs backport:
      Yes
    • Needs QA verification:
      No
    • Functional tests:
      No
    • Are the reproduction steps defined?:
      Yes and I used the same an in the description

      Description

      Bug description

      ServicesTest is highlighting multiple test failures for an AMster import with the message:

      java.lang.AssertionError: Expecting actual not to be null at com.forgerock.openam.amster.loadster.AbstractTest.assertThatFilesAreIdentical(AbstractTest.java:200) at com.forgerock.openam.amster.loadster.AbstractTest.<cuppa test>(AbstractTest.java:124)

       

      How to reproduce the issue

      Run the test, or export and import an openam am configuration with AuditLogging and Audit log types configured,

      Expected behaviour
      Import is succesful 
      Failed to import /Users/philipanderson/Stash/openam/tests/openam-shell-tests/target/tmp/amster-export/realms/root-Realm-SRCVKpMtzq46NkR/Syslog/Syslog.json  : 400 Bad Request: The resource instance /json/realms/root/realms/Realm-SRCVKpMtzq46NkR/realm-config/services/audit/Syslog/Syslog cannot be createdWork around

      Workaround:

      You can manually import the Audit-service and then the sub entities.

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              philip.anderson Philip Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: