Bug 1187510 - kie-config-cli: add-deployment operation says successfull event though deployment failed.
Summary: kie-config-cli: add-deployment operation says successfull event though deploy...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Maciej Swiderski
QA Contact: Pavel Kralik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-30 10:12 UTC by Marek Baluch
Modified: 2015-12-07 16:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-07 16:53:53 UTC
Type: Enhancement
Embargoed:


Attachments (Terms of Use)

Description Marek Baluch 2015-01-30 10:12:23 UTC
Description of problem:
As per ${summary}.

This happens in two cases:
- When an existing project deployment fails
- When a non existing project deployment is attempted.

Steps to Reproduce:
1. Try to deploy groupId = non, artifactId = existent, version = -1

Actual results:
Result: Deployment non:existent:-1 has been successfully added

Expected results:
Result: Deployment non:existent:-1 has failed with message: XYZ

Additional info:
Input values like valid Runtime Strategy value are not validated.

Comment 2 Maciej Swiderski 2015-01-30 13:32:23 UTC
this is unfortunately current limitation of the kie-config-cli tool as it simply places information about deployment into system git over ssh push operation. So it does not have option to verify if the deployment actually was successful or not although operation of adding it to the system git repository was successful and this this info message - deployment has been successfully added and not deployed.

It is planned to be enhanced when we rewrite the kie-config-cli to use REST api instead of using directly git repo. For now we can either close this as won't fix or transfer it as feature request for next release.

Thoughts?

Comment 3 Maciej Swiderski 2015-12-07 16:53:53 UTC
closing as part of bugzilla cleanup, will be revisited when moving kie-config-cli to REST


Note You need to log in before you can comment on or make changes to this bug.