Bug 1073687
| Summary: | Deployment of Kjar over REST: Strategy parameter ignored | ||
|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Bernard Tison <btison> |
| Component: | Business Central | Assignee: | Mauricio Salatino <msalatin> |
| Status: | CLOSED NOTABUG | QA Contact: | Ivo Bek <ibek> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.1 | CC: | mbaluch |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-03-07 12:27:37 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
Bernard Tison
2014-03-06 23:48:45 UTC
Hi Bernard, I believe you should set the strategy as a parameter in the url like: http://127.0.0.1:8080/business-central/rest/deployment/org.jboss.btison.bpms.testbed.datamodel-version:kjar:0.0.1/deploy?strategy=PER_PROCESS_INSTANCE that's why your strategy wasn't used Hi Ivo, As you point out, specifying the strategy as a query parameter works. However this is a change compared to BPMS 6.0.0.GA, so I wanted to make sure this is as intended. Also, you could argue that in a REST API query parameters should be used for GET requests only, and that POST should use form data. I know this is not mandated by spec, but seems to be viewed as a common practice. I checked the documentation in https://hudson.jboss.org/hudson/job/droolsjbpm-knowledge/lastSuccessfulBuild/artifact/kie-docs/jbpm-docs/target/docbook/publish/en-US/html/jBPMRemoteAPI.html, which correctly describes the current behaviour. So I guess we can close this bug. Thx Bernard Closing as NOT A BUG based on Bernard's comment above. |