@zowe/cics-for-zowe-sdk
Version:
Zowe SDK for IBM CICS Transaction Server
111 lines • 4.32 kB
JavaScript
;
/**
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Copyright Contributors to the Zowe Project.
*
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCICSProfileDefinition = void 0;
const getCICSProfileDefinition = () => {
return {
type: "cics",
schema: {
type: "object",
title: "CICS Profile",
version: "6.8.0",
description: "A cics profile is required to issue commands in the cics command group that interact with " +
"CICS regions. The cics profile contains your host, port, user name, and password " +
"for the IBM CICS management client interface (CMCI) server of your choice.",
properties: {
host: {
type: "string",
optionDefinition: {
name: "host",
aliases: ["H"],
description: "The CMCI server host name",
type: "string",
},
},
port: {
type: "number",
optionDefinition: {
name: "port",
aliases: ["P"],
description: "The CMCI server port",
type: "number",
defaultValue: 1490,
},
},
user: {
type: "string",
secure: true,
optionDefinition: {
name: "user",
aliases: ["u"],
description: "Your username to connect to CICS",
type: "string",
implies: ["password"],
},
},
password: {
type: "string",
secure: true,
optionDefinition: {
name: "password",
aliases: ["p"],
description: "Your password to connect to CICS",
type: "string",
implies: ["user"],
},
},
regionName: {
type: "string",
optionDefinition: {
name: "region-name",
description: "The name of the CICS region name to interact with",
type: "string",
},
},
cicsPlex: {
type: "string",
optionDefinition: {
name: "cics-plex",
description: "The name of the CICSPlex to interact with",
type: "string",
},
},
rejectUnauthorized: {
type: "boolean",
optionDefinition: {
name: "reject-unauthorized",
aliases: ["ru"],
description: "Reject self-signed certificates.",
type: "boolean",
defaultValue: true,
group: "Cics Connection Options",
},
},
protocol: {
type: "string",
optionDefinition: {
name: "protocol",
aliases: ["o"],
description: "Specifies CMCI protocol (http or https).",
type: "string",
defaultValue: "https",
allowableValues: { values: ["http", "https"], caseSensitive: false },
group: "Cics Connection Options",
},
},
},
required: [],
},
};
};
exports.getCICSProfileDefinition = getCICSProfileDefinition;
//# sourceMappingURL=CICSProfileDefinition.js.map