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

Entity Import ordering in amster

    XMLWordPrintable

    Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.0.0
    • 6.0.0.1, 6.5.0, 6.0.1, 5.5.2
    • Amster
    • None
    • Rank:
      1|hzvy1z:
    • Yes
    • No
    • No
    • 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

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

              Dates

              Created:
              Updated:
              Resolved: