Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2119

Default runtime strategy of "New Deployment Unit" wizard should respect kie-deployment-descriptor.xml

XMLWordPrintable

    • Release Notes
    • Hide
      • Import example "Evaluation_Process" in business-central
      • Go to "Settings" -> "Deployments" -> "General Settings"
      • Change Runtime Strategy to "Per Process Instance"
      • Press "Build"
      • Go to "Execution Servers" -> "Add Deployment Unit"
      • Select the artifact (evaluation:evaluation:1.0.0-SNAPSHOT)
      • Press "Next" (Even if you press "Finish" without "Next", the result is the same)
      • You will see that Runtime Strategy is "Singleton"
      • Press "Finish"
      • Start the Deployment
      • Click the deployment link (e.g. http://localhost:8080/kie-server/services/rest/server/containers/evaluation:evaluation:1.0.0-SNAPSHOT)
      • You will see that Runtime Strategy is "Singleton"
                <config-items>
                    <itemName>RuntimeStrategy</itemName>
                    <itemValue>SINGLETON</itemValue>
                    <itemType>BPM</itemType>
                </config-items>
        
      Show
      Import example "Evaluation_Process" in business-central Go to "Settings" -> "Deployments" -> "General Settings" Change Runtime Strategy to "Per Process Instance" Press "Build" Go to "Execution Servers" -> "Add Deployment Unit" Select the artifact (evaluation:evaluation:1.0.0-SNAPSHOT) Press "Next" (Even if you press "Finish" without "Next", the result is the same) You will see that Runtime Strategy is "Singleton" Press "Finish" Start the Deployment Click the deployment link (e.g. http://localhost:8080/kie-server/services/rest/server/containers/evaluation:evaluation:1.0.0-SNAPSHOT ) You will see that Runtime Strategy is "Singleton" <config-items> <itemName> RuntimeStrategy </itemName> <itemValue> SINGLETON </itemValue> <itemType> BPM </itemType> </config-items>
    • 2019 Week 41-43 (from Okt 7), 2019 Week 44-46 (from Okt 28), 2019 Week 47-49 (from Nov 18), 2019 Week 50-52 (from Dec 9), 2020 Week 01-03 (from Dec 30)

      Even if you configure "PER_PROCESS_INSTANCE" in kie-deployment-descriptor.xml, default runtime strategy (select-box value) of "New Deployment Unit" wizard in [Execution Servers] is "SINGLETON". So users may overwrite the value on deployment without notice.

      Note, if you directly press "Deploy" in Project perspective, it will respect the "PER_PROCESS_INSTANCE" in kie-deployment-descriptor.xml. This issue happens when you use "New Deployment Unit" wizard in [Execution Servers].

        1. 123.mp4
          3.72 MB
        2. runtime-strategy.gif
          runtime-strategy.gif
          3.73 MB

            xiabai@redhat.com Xiaofeng Bai
            rhn-support-tkobayas Toshiya Kobayashi
            Jan Stastny Jan Stastny
            Jan Stastny Jan Stastny
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: