@broadcom/endevor-bridge-for-git-for-zowe-cli
Version:
Endevor Bridge for Git plug-in for Zowe CLI
94 lines • 4.07 kB
JavaScript
"use strict";
/*
* Copyright (c) 2019 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.
*/
Object.defineProperty(exports, "__esModule", { value: true });
const _1 = require("./");
const EBGSession_1 = require("./cli/sessions/EBGSession");
const config = {
commandModuleGlobs: ["**/cli/*/*.definition!(.d).*s"],
pluginSummary: _1.PluginConstants.PLUGIN_SUMMARY,
rootCommandDescription: _1.PluginConstants.PLUGIN_DESCRIPTION,
envVariablePrefix: _1.PluginConstants.ENV_PREFIX_KEY,
defaultHome: _1.PluginConstants.HOME_DIR,
productDisplayName: _1.PluginConstants.PLUGIN_DISPLAY_NAME,
name: _1.PluginConstants.PLUGIN_GROUP_NAME,
pluginAliases: [_1.PluginConstants.PLUGIN_NAME_ALIAS],
pluginHealthCheck: "./lib/healthCheck.handler",
logging: {
additionalLogging: [
{
apiName: _1.PluginConstants.PLUGIN_GROUP_NAME
}
],
appLogging: {
logFile: _1.PluginConstants.LOG_LOCATION + _1.PluginConstants.LOG_FILENAME
}
},
secondaryTextColor: "yellow",
profiles: [
{
type: EBGSession_1.EBGSession.PROFILE_TYPE,
schema: {
type: "object",
title: "Endevor Bridge for Bridge Profile",
description: "An EBG profile is required to issue commands in the ebg command group. " +
"The EBG profile contains the connection details for the Endevor Bridge for Git server of your choice.",
properties: {
protocol: {
type: "string",
optionDefinition: EBGSession_1.EBGSession.EBG_OPTION_PROTOCOL,
includeInTemplate: true
},
host: {
type: "string",
optionDefinition: EBGSession_1.EBGSession.EBG_OPTION_HOST,
includeInTemplate: true
},
port: {
type: "number",
optionDefinition: EBGSession_1.EBGSession.EBG_OPTION_PORT,
includeInTemplate: true
},
user: {
type: "string",
secure: true,
optionDefinition: EBGSession_1.EBGSession.EBG_OPTION_USER,
includeInTemplate: true,
},
token: {
type: "string",
secure: true,
optionDefinition: EBGSession_1.EBGSession.EBG_OPTION_GIT_PERSONAL_ACCESS_TOKEN,
includeInTemplate: true
},
rejectUnauthorized: {
type: "boolean",
optionDefinition: EBGSession_1.EBGSession.EBG_OPTION_REJECT_UNAUTHORIZED
}
}
}
}
]
};
module.exports = config;
//# sourceMappingURL=imperative.js.map