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

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

XMLWordPrintable

    • Release Notes
    • CR1
    • When user creates a new deployment unit of a project that has a non-default Runtime Strategy configuration the dialog does not reflect it when the deployment is specified by manual input into the form.
    • Workaround Exists
    • Hide

      It does not happen when selecting the Artifact from the artifact list.

      Show
      It does not happen when selecting the Artifact from the artifact list.
    • Hide
      • Import example "Evaluation_Process" in business-central
      • Go to "Settings" -> "Deployments" -> "General Settings"
      • Change Runtime Strategy to "Per Process Instance"
      • Press "Build&Install"
      • Go to "Execution Servers" -> "Add Deployment Unit"
      • Input fields manually:
        Name: evaluation:evaluation:1.0.0-SNAPSHOT
        Group Name: evaluation
        Artifact Id: evaluation
        Version: 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&Install" Go to "Execution Servers" -> "Add Deployment Unit" Input fields manually: Name: evaluation:evaluation:1.0.0-SNAPSHOT Group Name: evaluation Artifact Id: evaluation Version: 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>
    • 2020 Week 01-03 (from Dec 30), 2020 Week 04-06 (from Jan 20), 2020 Week 07-09 (from Feb 10)

      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.

      By RHPAM-2119, this issue was fixed for the case where you "select" a kjar from a list in the Wizard. But if you input GroupId/ArtifactId/Version manually, it still overwrites the strategy with "Singleton" by default.

      See video on this comment: https://issues.redhat.com/browse/RHPAM-2119?focusedCommentId=13936886&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13936886

              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:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: