zowe / zowe-cli-cics-plugin

Migrated to zowe/cics-for-zowe-client.
https://github.com/zowe/cics-for-zowe-client
Eclipse Public License 2.0
7 stars 11 forks source link

Add `delete webservice` command #67

Closed ghost closed 4 years ago

ghost commented 4 years ago

Resolves #59. Help text below.

$ zowe cics delete webservice -h

 COMMAND NAME
 ------------

   webservice | web

 DESCRIPTION
 -----------

   Delete a web service from CICS.

 USAGE
 -----

   zowe cics delete webservice <webserviceName> <csdGroup> [options]

 POSITIONAL ARGUMENTS
 --------------------

   webserviceName                (string)

      The name of the web service to delete. The maximum length of the web service
      name is eight characters.

   csdGroup              (string)

      The CICS system definition (CSD) Group for the web service that you want to
      delete. The maximum length of the group name is eight characters.

 OPTIONS
 -------

   --region-name  (string)

      The CICS region name from which to delete the web service

 CICS CONNECTION OPTIONS
 -----------------------

   --host  | -H (string)

      The CICS server host name.

   --port  | -P (number)

      The CICS server port.

      Default value: 443

   --user  | -u (string)

      Mainframe (CICS) user name, which can be the same as your TSO login.

   --password  | --pw (string)

      Mainframe (CICS) password, which can be the same as your TSO password.

   --reject-unauthorized  | --ru (boolean)

      Reject self-signed certificates.

      Default value: true

   --protocol  | -o (string)

      Specifies CMCI protocol (http or https).

      Default value: http
      Allowed values: http, https

 PROFILE OPTIONS
 ---------------

   --cics-profile  | --cics-p (string)

      The name of a (cics) profile to load for this command execution.

 GLOBAL OPTIONS
 --------------

   --response-format-json  | --rfj (boolean)

      Produce JSON formatted data from a command

   --help  | -h (boolean)

      Display help text

   --help-examples  (boolean)

      Display examples for all the commands in a the group

   --help-web  | --hw (boolean)

      Display HTML help in browser

 EXAMPLES
 --------

   - Delete a web service named WEBSVCA from the region named
   MYREGION belonging to the csdgroup MYGRP:

      $ zowe cics delete webservice WEBSVCA MYGRP --region-name MYREGION
codecov[bot] commented 4 years ago

Codecov Report

Merging #67 into master will increase coverage by 1.12%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #67      +/-   ##
=========================================
+ Coverage   92.28%   93.4%   +1.12%     
=========================================
  Files          60      62       +2     
  Lines         622     637      +15     
  Branches       74      75       +1     
=========================================
+ Hits          574     595      +21     
+ Misses         48      42       -6
Impacted Files Coverage Δ
src/cli/-strings-/en.ts 100% <ø> (ø) :arrow_up:
src/cli/delete/webservice/Webservice.handler.ts 100% <100%> (ø)
src/cli/delete/Delete.definition.ts 100% <100%> (ø) :arrow_up:
src/cli/delete/webservice/Webservice.definition.ts 100% <100%> (ø)
src/cli/delete/urimap/Urimap.handler.ts 100% <100%> (ø) :arrow_up:
src/api/methods/delete/Delete.ts 100% <0%> (+17.14%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e6b9d48...3cc9297. Read the comment docs.