Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-7437

Implement TerminatedUserSessionReaderOS and TerminatedUserSessionWriterOS

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.12.0-alpha2
    • None
    • None

      Add OS implementation to the TerminatedUserSessionReader and for TerminatedUserSessionWriter interface

      Testing Notes

      1. Run 
        docker-compose -f docker-compose.yml --profile opensearch up -d
      1. Start Optimize with 
        SPRING_PROFILES_ACTIVE=opensearch
      1. The startup will fail and that's ok. Before the problem of crushing the app was missing TerminatedUserSessionWriterOS and TerminatedUserSessionReaderOS. So after the implementation of both of them next failing reason should become missing implementations of CollectionReader or CollectionWriter. 
      1. Shutdown optimize
      2. Restart optimize
      3. Watch that no new errors show up in the logs
      4. Do the same verifications as described in step 2 and make sure that everything is working the same

        This is the controller panel for Smart Panels app

            [OPT-7437] Implement TerminatedUserSessionReaderOS and TerminatedUserSessionWriterOS

            Ruslan Kovalenko created issue -
            Ruslan Kovalenko made changes -
            Assignee New: Ruslan Kovalenko [ ruslan.kovalenko-ext ]
            Ruslan Kovalenko made changes -
            Description Original: At least these files:
            |./backend/src/main/java/org/camunda/optimize/service/events/rollover/EventIndexRolloverService.java|
            |./backend/src/main/java/org/camunda/optimize/service/digest/DigestService.java|

             
            h2. Testing notes

            Please do a thorough regression test because this changes are fundamental to the core working of Optimize. The changes on this ticket should cause no change whatsoever in the behavior of Optimize, since it is exclusively a code refactoring. So please run a quick regression test to make sure nothing has changed
            New: Add implementation to the 
            Ruslan Kovalenko made changes -
            Description Original: Add implementation to the  New: Add os implementation to the TerminatedUserSessionReader interface
            Ruslan Kovalenko made changes -
            Summary Original: Implement TerminatedUserSessionReaderOS New: Implement TerminatedUserSessionReaderOS and TerminatedUserSessionWriterOS
            Ruslan Kovalenko made changes -
            Description Original: Add os implementation to the TerminatedUserSessionReader interface New: Add OS implementation to the TerminatedUserSessionReader and for TerminatedUserSessionWriter interface
            Ruslan Kovalenko made changes -
            Assignee Original: Ruslan Kovalenko [ ruslan.kovalenko-ext ] New: Giuliano Rodrigues Lima [ giuliano.rodrigues-lima ]
            Status Original: Triage [ 10612 ] New: In Review [ 10212 ]
            Giuliano Rodrigues Lima made changes -
            Assignee Original: Giuliano Rodrigues Lima [ giuliano.rodrigues-lima ] New: Ruslan Kovalenko [ ruslan.kovalenko-ext ]
            Status Original: In Review [ 10212 ] New: Rework [ 11413 ]
            Giuliano Rodrigues Lima made changes -
            Fix Version/s New: 3.12.0-alpha2 [ 18691 ]
            Fix Version/s Original: 3.12.0-alpha1 [ 18592 ]
            Ruslan Kovalenko made changes -
            Description Original: Add OS implementation to the TerminatedUserSessionReader and for TerminatedUserSessionWriter interface New: Add OS implementation to the TerminatedUserSessionReader and for TerminatedUserSessionWriter interface
            h2. Testing Notes
             # Run 
            {code:java}
            docker-compose -f docker-compose.yml --profile opensearch up -d{code}

             # Start Optimize with 
            {code:java}
            SPRING_PROFILES_ACTIVE=opensearch{code}

             # The startup will fail and that's ok. Because before the problem of crushing the app was a missing TerminatedUserSessionWriterOS and TerminatedUserSessionReaderOS

             # Shutdown optimize
             # Restart optimize
             # Watch that no new errors show up in the logs
             # Do the same verifications as described in step 2 and make sure that everything is working the same

              Unassigned Unassigned
              ruslan.kovalenko-ext Ruslan Kovalenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: