UNPKG

@broadcom/ca7-for-zowe-cli

Version:

CA 7 Workload Automation Plug-in for Zowe CLI

89 lines 3.75 kB
"use strict"; /* * Copyright (c) 2025 Broadcom. All Rights Reserved. The term * "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. * * This software and all information contained therein is * confidential and proprietary and shall not be duplicated, * used, disclosed, or disseminated in any way except as * authorized by the applicable license agreement, without the * express written permission of Broadcom. All authorized * reproductions must be marked with this language. * * EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO * THE EXTENT PERMITTED BY APPLICABLE LAW, BROADCOM PROVIDES THIS * SOFTWARE WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT * LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL BROADCOM * BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR * DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS SOFTWARE, * INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS * INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS * EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE. */ const CA7SessionUtils_1 = require("./cli/CA7SessionUtils"); const Constants_1 = require("./Constants"); const config = { commandModuleGlobs: ["**/cli/*/*.definition!(.d).*s"], pluginLifeCycle: __dirname + "/LifeCycleForCA7", 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