Bug 1203085

Summary: Query parameter of 'Deployment calls' are not specified in development guide.
Product: [Retired] JBoss BPMS Platform 6 Reporter: Abhijit humbe <abhumbe>
Component: DocumentationAssignee: Vidya <viyengar>
Status: CLOSED EOL QA Contact: Lukáš Petrovický <lpetrovi>
Severity: medium Docs Contact: Dawn Eisner <deisner>
Priority: high    
Version: 6.0.3CC: brms-docs
Target Milestone: ---   
Target Release: One-off release   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Build Name: 22684, Development Guide-6.0-1 Build Date: 03-11-2014 02:10:16 Topic ID: 26707-592667 [Specified]
Last Closed: 2020-03-27 19:40:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Abhijit humbe 2015-03-18 04:52:33 UTC
Title: Deployment calls
Query parameter of 'Deployment calls' are not specified in development guide.


Describe the issue:
Deployment REST API accept 'strategy' as query parameter to define runtime strategy.But its not specified in product documentation.'SINGLETON' is the default value for runtime strategy.We can change it by passing required value for 'strategy'

/deployment/{deploymentId}/deploy [POST]

Suggestions for improvement:

[POST] /deployment/ {deploymentId} /deploy 

Takes a strategy query parameter:
 This parameter describes the runtime strategy used for the deployment.
 This parameter takes the following (case- in sensitive) values: 
   - SINGLETON
   - PER_REQUEST
   - PER_PROCESS_INSTANCE 

The default runtime strategy used for a deployment is SINGLETON . 

Example:

[POST]   /deployment/{deploymentId}/deploy?strategy=PER_REQUEST 

Additional information: