Uploaded image for project: 'Magnolia Test Framework'
  1. Magnolia Test Framework
  2. MGNLTEST-478

Solution to disable Receivers

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None

    Description

      info.magnolia.test.fixture.Receivers had been written for disabling/enabling receivers for tests - since self-tests rin against only one instance, the author instance.

      The change in config done by the methods disable, enable cannot work anymore, since apparently publishing config has changed. On 6.2 it was configured via JCR.

      Usages of this class should be removed for now.
      Not yet sure whether we need to fix it.

      Since 6.3 - receivers are configured via micro-profile.
      This makes it a bit tricky to disable receivers on context of core-TF self-tests.

      The location of a micor-profile yaml can be configured with a VM param.

      -Dsmallrye.config.locations=/Users/sang.ngo/dev/mgnl-cloud/config/
      

      This can be done locally, but it complicates local dev - at least partially.
      For Jenkins - we would need to download such yaml-file and provide the location in the Jenkins-pipeline.
      Doable - but, again, complicated.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                hpola Harshini Pola
                cmeier Christoph Meier
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Work Started:

                  Checklists

                    Task DoR