ZMF plugin for ZOWE CLI: zowe zmf build comp

Hello,
I've noticed, that the zmf cli plugin for zowe CLI has a double abbreviation on the parameters --buildProc and --basepath  (--bp).
If I try to execute the command: 
"zowe zmf build comp --package "BK# 015889" --componenttype "COB" --component "#1"--buildproc "COBBD0" --language "COBOLE" --zmf-profile "zmfREST""
I get the error:
"
Command Error:
Rest API failure with HTTP(S) status 404
Error Details:
HTTP(S) error status "404" received.
Review request details (resource, base path, credentials, payload) and ensure correctness.

 

Protocol:  https
Host:      changeman-rest-t.ad.raiffeisen.it
Port:      443
Base Path: COBBD0
Resource:  /component/build
Request:   PUT
Headers:   [{"Accept-Encoding":"br, deflate, gzip"},{"Content-Type":"application/x-www-form-urlencoded"},{"Content_Length":"586"}]
Payload:   'component=%231&componentType=COB&package=BK%23%20015889&buildProc=COBBD0&jobCard01=%2F%2FZOWEJOBN%20JOB%20(RZ)%2CMSGCLASS%3DX%2CMSGLEVEL%3D(1%2C1)%2CCLASS%3DU%2C&jobCard02=%2F%2F%20%20%20%20%20%20%20%20%20%20%20%20%20REGION%3D0M%2CSYSAFF%3DTST1%2C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20&jobCard03=%2F%2F%20%20%20%20%20%20%20%20%20%20%20%20%20NOTIFY%3D%26SYSUID.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20&jobCard04=%2F%2F*%20GENERATED%20FROM%20ZOWE%20ZMF%20CLI%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20&language=COBOLE'
"
because it tries to take the parameter of buildproc as basepath. If I try to specify both --buildproc and --basepath as parameters I get the error message:
"
Syntax Error:
You cannot specify the following option multiple times:
--buildproc (--bp)

 

Syntax Error:
You cannot specify the following option multiple times:
--basePath (--bp)

 

Use "zowe zmf build comp --help" to view command description, usage, and options.
".

 

Even if I give the zmf-profile with the basePath specified I cannot execute it.

 

Thanks in advance
Felix

Labels:

ChangeMan ZMF
  • Suggested Answer

    0  

    This problem is caused by a conflict in the abbreviation used for both basePath and buildProc - both are using --bp. I will change the buildproc to another abbreviation in an upcoming new version of the cli plugin.

  • 0 in reply to   

    Ok, thank you. Do you think we may try some workaround with the actual version?

  • Suggested Answer

    0   in reply to 

    I have fixed this in V2.0.8

    An updated version of the Changeman ZMF plugin for zowe cli is now available. 
    Please note that you MUST uninstall the Micro Focus branded version of the plugin before attempting to install this new Rocket branded version
    To uninstall the existing plugin issue the following command:

    zowe plugins uninstall @microfocus/zmf-cli-plugin 

    You can then check that the plugin has been removed :
    zowe plugins list

    The new version of the Changeman ZMF plugin for zowe cli is now published to npm and so is installed directly from NPM. You will not find this new version in the Open Text MarketPlace location.

    To install the new version 
    zowe plugins install @rocketsoftware/zmf-cli-plugin

    This version fixes a few minor bugs previously reported in the Community Forum.