Skip to content

Commit

Permalink
Merge pull request #25 from zowe/add-broadcom-conformant-components-v2
Browse files Browse the repository at this point in the history
Adds the Broadcom V2 Zowe CLI Conformant Plug-ins
  • Loading branch information
awharn authored Jun 2, 2022
2 parents 39fdebb + 5376e4b commit fc01d15
Show file tree
Hide file tree
Showing 30 changed files with 40,287 additions and 0 deletions.
22,929 changes: 22,929 additions & 0 deletions commandGroups/ca7.jsonc

Large diffs are not rendered by default.

6,636 changes: 6,636 additions & 0 deletions commandGroups/file-master-plus.jsonc

Large diffs are not rendered by default.

2,398 changes: 2,398 additions & 0 deletions commandGroups/mat-pma-util.jsonc

Large diffs are not rendered by default.

3,697 changes: 3,697 additions & 0 deletions commandGroups/mat.jsonc

Large diffs are not rendered by default.

1,965 changes: 1,965 additions & 0 deletions commandGroups/ops.jsonc

Large diffs are not rendered by default.

157 changes: 157 additions & 0 deletions profiles/create/ca7.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
// Copyright (c) 2022 Broadcom. All Rights Reserved. The term
// "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
{
"name": "ca7-profile",
"aliases": [
"ca7"
],
"summary": "Create a ca7 profile",
"description": "A CA7 profile is required to issue commands in the CA7 command group. The CA7 profile contains your host and port for the CA7 instance of your choice.",
"type": "command",
"handler": "",
"deprecatedReplacement": "The 'config init' command",
"customize": {
"profileTypeIdentifier": "ca7"
},
"positionals": [
{
"name": "profileName",
"description": "Specifies the name of the new ca7 profile. You can load this profile by using the name on commands that support the \"--ca7-profile\" option.",
"type": "string",
"required": true
}
],
"options": [
{
"name": "host",
"aliases": [
"H"
],
"type": "string",
"description": "Host name of the CA7 API service that is running on the mainframe system.",
"required": true,
"group": "CA7 Connection Options"
},
{
"name": "port",
"aliases": [
"P"
],
"type": "number",
"description": "Port for the CA7 API service that is running on the mainframe system.",
"required": true,
"group": "CA7 Connection Options"
},
{
"name": "user",
"aliases": [
"u"
],
"type": "string",
"description": "User name for authenticating connections to the CA7 API service that is running on the mainframe system.",
"required": true,
"group": "CA7 Connection Options"
},
{
"name": "password",
"aliases": [
"pass",
"pw"
],
"type": "string",
"description": "Password for authenticating connections to the CA7 API service that is running on the mainframe system.",
"required": true,
"group": "CA7 Connection Options"
},
{
"name": "base-path",
"aliases": [
"bp"
],
"description": "The base path for your API mediation layer instance. Specify this option to prepend the base path to all resources when making REST requests. Do not specify this option if you are not using an API mediation layer.",
"type": "string",
"group": "CA7 Connection Options"
},
{
"name": "protocol",
"aliases": [
"o"
],
"description": "Specifies protocol to use for CA7 connection (http or https).",
"type": "string",
"required": true,
"allowableValues": {
"values": [
"http",
"https"
],
"caseSensitive": false
},
"group": "CA7 Connection Options"
},
{
"name": "reject-unauthorized",
"aliases": [
"ru"
],
"description": "Reject self-signed certificates.",
"type": "boolean",
"defaultValue": true,
"group": "CA7 Connection Options"
},
{
"name": "overwrite",
"aliases": [
"ow"
],
"description": "Overwrite the ca7 profile when a profile of the same name exists.",
"type": "boolean",
"group": "Options"
},
{
"name": "disable-defaults",
"aliases": [
"dd"
],
"description": "Disable populating profile values of undefined properties with default values.",
"type": "boolean",
"group": "Options"
},
{
"name": "response-format-json",
"aliases": [
"rfj"
],
"group": "Global options",
"description": "Produce JSON formatted data from a command",
"type": "boolean"
},
{
"name": "help",
"aliases": [
"h"
],
"group": "Global options",
"description": "Display help text",
"type": "boolean"
},
{
"name": "help-examples",
"group": "Global options",
"description": "Display examples for all the commands in a group",
"type": "boolean",
"aliases": []
},
{
"name": "help-web",
"aliases": [
"hw"
],
"group": "Global options",
"description": "Display HTML help in browser",
"type": "boolean"
}
],
"passOn": [],
"children": []
}
174 changes: 174 additions & 0 deletions profiles/create/fmp.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
// Copyright (c) 2022 Broadcom. All Rights Reserved. The term
// "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
{
"name": "fmp-profile",
"aliases": [
"fmp"
],
"summary": "Create a fmp profile",
"description": "File Master Plus profile schema.",
"type": "command",
"handler": "",
"deprecatedReplacement": "The 'config init' command",
"customize": {
"profileTypeIdentifier": "fmp"
},
"positionals": [
{
"name": "profileName",
"description": "Specifies the name of the new fmp profile. You can load this profile by using the name on commands that support the \"--fmp-profile\" option.",
"type": "string",
"required": true
}
],
"options": [
{
"name": "host",
"aliases": [
"H"
],
"description": "Specifies File Master Plus server host name.",
"type": "string",
"required": false,
"group": "FMP Connection Options"
},
{
"name": "port",
"aliases": [
"P"
],
"description": "Specifies File Master Plus server port.",
"type": "number",
"defaultValue": 51914,
"required": false,
"group": "FMP Connection Options"
},
{
"name": "user",
"aliases": [
"u"
],
"description": "Specifies Mainframe user name. May be the same as TSO login.",
"type": "string",
"required": false,
"group": "FMP Connection Options"
},
{
"name": "password",
"aliases": [
"pass",
"pw"
],
"description": "Specifies Mainframe password. May be the same as TSO password.",
"type": "string",
"required": false,
"group": "FMP Connection Options"
},
{
"name": "protocol",
"aliases": [
"o"
],
"description": "Specifies File Master Plus REST API protocol.",
"type": "string",
"defaultValue": "https",
"required": false,
"allowableValues": {
"values": [
"http",
"https"
],
"caseSensitive": false
},
"group": "FMP Connection Options"
},
{
"name": "reject-unauthorized",
"aliases": [
"ru"
],
"description": "Reject self-signed certificates.",
"type": "boolean",
"defaultValue": true,
"required": false,
"group": "FMP Connection Options"
},
{
"name": "base-path",
"aliases": [
"bp"
],
"description": "The base path for your API mediation layer instance. Specify this option to prepend the base path to all FMP resources when making REST requests. Do not specify this option if you are not using an API mediation layer.",
"type": "string",
"group": "FMP Connection Options"
},
{
"name": "overwrite",
"aliases": [
"ow"
],
"description": "Overwrite the fmp profile when a profile of the same name exists.",
"type": "boolean",
"group": "Options"
},
{
"name": "disable-defaults",
"aliases": [
"dd"
],
"description": "Disable populating profile values of undefined properties with default values.",
"type": "boolean",
"group": "Options"
},
{
"name": "response-format-json",
"aliases": [
"rfj"
],
"group": "Global options",
"description": "Produce JSON formatted data from a command",
"type": "boolean"
},
{
"name": "help",
"aliases": [
"h"
],
"group": "Global options",
"description": "Display help text",
"type": "boolean"
},
{
"name": "help-examples",
"group": "Global options",
"description": "Display examples for all the commands in a group",
"type": "boolean",
"aliases": []
},
{
"name": "help-web",
"aliases": [
"hw"
],
"group": "Global options",
"description": "Display HTML help in browser",
"type": "boolean"
}
],
"examples": [
{
"options": "fmp123 --host fmphost --port 19853 --user mfuser --password m4pass --protocol http",
"description": "Create a fmp profile with http protocol"
},
{
"options": "fmp234 --host fmphost --port 19854 --user mfuser --password m4pass --protocol https --reject-unauthorized false",
"description": "Create a fmp profile with https protocol and allow self-signed certificates"
},
{
"options": "fmpAPIML --host fmpAPIML --port 2020 --user mfuser --pass mfp4ss --protocol https --reject-unauthorized false --base-path /api/v1/serviceID",
"description": "Create a fmp profile with API Mediation layer"
}
],
"passOn": [],
"children": []
}
Loading

0 comments on commit fc01d15

Please sign in to comment.