Hello,
I've noticed that the zowe zmf command
zowe zmf promote pkg -p 'BKA 000435' --pl 1 --psn 'PROMOTE' --pn 'TEST' -c 'PYTCC002' -t 'COB'has an error. The --component parameter does not work, according to the "ZMF Rest Services API List" url provided by testing the API, this should be named "componentName".
URL of the API Test for Selective Promote
IP-Adress:port/.../promotecomponentName=PYTCC002&componentType=COB
CLI Output for Selective Promote
CommonRest -createPayload package=BKA%200000435&promotionLevel=1&promotionName=TEST&promotionSiteName=PROMOTE&component=PYTCC002&componentType=COB
We found out that, it works with the --componentarray parameter but the Help on the command is wrong
CLI Input for Selective Promote with Componentarray
zowe zmf promote pkg -p 'BKA 000435' --pl 1 --psn 'PROMOTE' --pn 'TEST' --componentarray '[{\"componentName\":\"PYTCC002\"}]' -t 'COB'
zowe zmf promote pkg -p 'BKA 000435' --pl 1 --psn 'PROMOTE' --pn 'TEST' --componentarray '[{\"component\":\"PYTCC002\"}]' -t 'COB'
zowe zmf promote pkg -p 'BKA 000435' --pl 1 --psn 'PROMOTE' --pn 'TEST' --componentarray '[{\"componentName\":\"PYTCC002\"},{\"componentType\":\"COB\"},{\"componentName\":\"PYTCC004\"},{\"componentType\":\"COB\"}]'