• Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • assert-3.0.0
    • None
    • assert
    • None

      Add support for external tasks in bpm-assert as suggested in the PR and the Holisticon fork

      Methods that should be covered by this first version:

      1. assertThat(ExternalTask) to validate ExternalTasks with assertions for topicName and activityId
      2. externalTask chaining-methods for ProcessInstanceAssert to find ExternalTask of an instance (analogously to Task)
      3. convenience methods for finding an ExternalTask by query and process instance (analogously to Task)
      4. convenience methods for completing an ExternalTask with and without additional variables (including the fetchAndLock transparently) - they have to check to having fetchAndLocked the correct external task regarding to its id (there could be multiple active external tasks with the same topic)
      5. convenience method to fetchAndLock with topic, worker and maxResults returning the list of LockedExternalTask
      6. convenience methods for completing a LockedExternalTask with and without additional variables

        This is the controller panel for Smart Panels app

            [CAM-9915] Add external tasks for assertions

            Tobias Metzke-Bernstein created issue -
            Tobias Metzke-Bernstein made changes -
            Description Original: Add support for external tasks in bpm-assert as suggested [in the PR|https://github.com/camunda/camunda-bpm-assert/pull/103] and [the holisticon fork|https://github.com/holunda-io/camunda-bpm-assert/commit/67c45c5f0cc2b92446cef00758a1ad623d723030] New: Add support for external tasks in bpm-assert as suggested [in the PR|https://github.com/camunda/camunda-bpm-assert/pull/103] and [the Holisticon fork|https://github.com/holunda-io/camunda-bpm-assert/commit/67c45c5f0cc2b92446cef00758a1ad623d723030]
            Tobias Metzke-Bernstein made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Tobias Metzke-Bernstein made changes -
            Link New: This issue is duplicated by CAM-9805 [ CAM-9805 ]
            Tobias Metzke-Bernstein made changes -
            Description Original: Add support for external tasks in bpm-assert as suggested [in the PR|https://github.com/camunda/camunda-bpm-assert/pull/103] and [the Holisticon fork|https://github.com/holunda-io/camunda-bpm-assert/commit/67c45c5f0cc2b92446cef00758a1ad623d723030] New: Add support for external tasks in bpm-assert as suggested [in the PR|https://github.com/camunda/camunda-bpm-assert/pull/103] and [the Holisticon fork|https://github.com/holunda-io/camunda-bpm-assert/commit/67c45c5f0cc2b92446cef00758a1ad623d723030]

            Methods that should be covered by this first version:
            # assertThat(ExternalTask) to validate ExternalTasks with assertions for topicName and activityId
            # externalTask chaining-methods for ProcessInstanceAssert to find ExternalTask of an instance (analogously to Task)
            # convenience methods for finding an ExternalTask by query and process instance (analogously to Task)
            # convenience methods for completing an ExternalTask with and without additional variables (including the fetchAndLock transparently) - they have to check to having fetchAndLocked the correct external task regarding to its id (there could be multiple active external tasks with the same topic)
            # convenience method to fetchAndLock with topic, worker and maxResults returning the list of LockedExternalTask
            # convenience methods for completing a LockedExternalTask with and without additional variables

            Methods can be found here:

            1. BpmnAwareTests#assertThat(ExternalTask) returning new ExternalTaskAssert
            2. externalTask(...) methods in ProcessInstanceAssert
            3. externalTask(...) methods in BpmnAwareTests
            4. complete(...) methods in BpmnAwareTests
            5. BpmnAwareTests#fetchAndLock(String, String, int
            6. complete(...) methods in BpmnAwareTests

            Tobias Metzke-Bernstein added a comment - Methods can be found here: BpmnAwareTests#assertThat(ExternalTask) returning new ExternalTaskAssert externalTask(...) methods in ProcessInstanceAssert externalTask(...) methods in BpmnAwareTests complete(...) methods in BpmnAwareTests BpmnAwareTests#fetchAndLock(String, String, int complete(...) methods in BpmnAwareTests
            Tobias Metzke-Bernstein made changes -
            Assignee Original: Tobias Metzke-Bernstein [ tobias.metzke ] New: Nikola Koevski [ nikola.koevski ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            Remaining Estimate New: 0 minutes [ 0 ]
            Original Estimate New: 0 minutes [ 0 ]
            Nikola Koevski made changes -
            Assignee Original: Nikola Koevski [ nikola.koevski ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]

              Unassigned Unassigned
              tobias.metzke Tobias Metzke-Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: