@broadcom/ca7-for-zowe-cli
Version:
CA 7 Workload Automation Plug-in for Zowe CLI
71 lines • 2.81 kB
JavaScript
"use strict";
/*
* Copyright © 202X Broadcom Inc. and/or its subsidiaries
* © 202X Broadcom Inc and/or its subsidiaries; All rights reserved
*/
const CA7SessionUtils_1 = require("./cli/CA7SessionUtils");
const Constants_1 = require("./Constants");
const config = {
commandModuleGlobs: ["**/cli/*/*.definition!(.d).*s"],
pluginHealthCheck: __dirname + "/healthCheck.Handler",
pluginSummary: Constants_1.Constants.PLUGIN_SUMMARY,
envVariablePrefix: Constants_1.Constants.ENV_PREFIX,
defaultHome: Constants_1.Constants.HOME_DIR,
pluginAliases: ["7"],
rootCommandDescription: Constants_1.Constants.DESCRIPTION,
productDisplayName: Constants_1.Constants.DISPLAY_NAME,
name: "ca7",
apimlConnLookup: [
{
apiId: "com.broadcom.ca7services",
gatewayUrl: "api/v1",
connProfType: "ca7"
}
],
profiles: [
{
type: "ca7",
schema: {
type: "object",
title: "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.",
properties: {
host: {
type: "string",
optionDefinition: CA7SessionUtils_1.CA7SessionUtils.CA7_OPTION_HOST
},
port: {
type: "number",
optionDefinition: CA7SessionUtils_1.CA7SessionUtils.CA7_OPTION_PORT
},
user: {
type: "string",
secure: true,
optionDefinition: CA7SessionUtils_1.CA7SessionUtils.CA7_OPTION_USER
},
password: {
type: "string",
secure: true,
optionDefinition: CA7SessionUtils_1.CA7SessionUtils.CA7_OPTION_PASSWORD
},
basePath: {
type: "string",
optionDefinition: CA7SessionUtils_1.CA7SessionUtils.CA7_OPTION_BASE_PATH
},
protocol: {
type: "string",
optionDefinition: CA7SessionUtils_1.CA7SessionUtils.CA7_OPTION_PROTOCOL
},
rejectUnauthorized: {
type: "boolean",
optionDefinition: CA7SessionUtils_1.CA7SessionUtils.CA7_OPTION_REJECT_UNAUTHORIZED
}
},
required: []
}
}
]
};
module.exports = config;
//# sourceMappingURL=imperative.js.map