Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9206

Process instances info is accessible through different containers URLs within the same kie-server

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 7.38.0.Final
    • Fix Version/s: None
    • Component/s: KieServer, SpringBoot
    • Labels:
      None
    • Sprint:
      2020 Week 37-39 (from Sep 7)
    • Steps to Reproduce:
      Hide

      While doing some tests with regards to JBPM-9178, I've come across the following issue by following below steps:

      1. Build and install locally all artifacts regarding Jira ticket JBPM-9178
      2. Build and install all kjars, modules and business service application from https://github.com/elguardian/springboot-kjar-multiversion and start business-service-application up.
      3. Execute a curl post to create an instance of evaluation_v1
      4. Do the same for evaluation_v2
      5. Now I run a curl get to retrieve the information regarding process Id 1, but I use container evaluation_v2 URL instead:
      6. Same goes the other way around. If I run a curl get to get process ID 2 (created through container evaluation_v2) but through container evaluation_v1 URL:
      Show
      While doing some tests with regards to JBPM-9178 , I've come across the following issue by following below steps: Build and install locally all artifacts regarding Jira ticket  JBPM-9178 Build and install all kjars, modules and business service application from  https://github.com/elguardian/springboot-kjar-multiversion  and start business-service-application up. Execute a curl post to create an instance of  evaluation_v1 :  http://localhost:8090/rest/server/containers/evaluation_v1/processes/Evaluation.Evaluation/instances id 1 (for example) is successfully returned Do the same for  evaluation_v2 http://localhost:8090/rest/server/containers/evaluation_v2/processes/Evaluation.Evaluation/instances Eg. Id 2 is returned. Now I run a curl get to retrieve the information regarding process Id 1, but I use container  evaluation_v2  URL instead: http://localhost:8090/rest/server/containers/evaluation_v2/processes/instances/1 Info regarding process id 1 is fetched successfully. Same goes the other way around. If I run a curl get to get process ID 2 (created through container evaluation_v2) but through container  evaluation_v1  URL: http://localhost:8090/rest/server/containers/evaluation_v1/processes/instances/2 Info regarding process id 2 is fetched successfully.
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      While doing some tests with regards to JBPM-9178, I've come across the following:

      When having more multiple kjars deployed on the same kie server but in different containers, you are able to retrieve a specific process instance info created in a particular container by calling the URL of a different container where the process instance was not created.

      All info related to a process/tasks etc created in a particular container, should only be accessible by calling the right URL container (the one where these were created initially)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ftirados Francisco Javier Tirado Sarti
                  Reporter:
                  antferna Antonio Fernandez Alhambra
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: