UNPKG

@zowe/cics-for-zowe-cli

Version:
87 lines 2.61 kB
"use strict"; /** * 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.WebServiceDefinition = void 0; // Does not use the import in anticipation of some internationalization work to be done later. const strings = require("../../-strings-/en").default.DEFINE.RESOURCES.WEBSERVICE; exports.WebServiceDefinition = { name: "webservice", aliases: ["web"], description: strings.DESCRIPTION, handler: __dirname + "/Webservice.handler", type: "command", positionals: [ { name: "webserviceName", description: strings.POSITIONALS.WEBSERVICENAME, type: "string", required: true, }, { name: "csdGroup", description: strings.POSITIONALS.CSDGROUP, type: "string", required: true, }, ], options: [ { name: "pipeline-name", aliases: ["pn"], description: strings.OPTIONS.PIPELINENAME, type: "string", required: true, }, { name: "wsbind", description: strings.OPTIONS.WSBIND, type: "string", required: true, }, { name: "description", aliases: ["desc"], description: strings.OPTIONS.DESCRIPTION, type: "string", }, { name: "validation", description: strings.OPTIONS.VALIDATION, type: "boolean", defaultValue: false, }, { name: "wsdlfile", aliases: ["wsdl"], description: strings.OPTIONS.WSDLFILE, type: "string", }, { name: "region-name", description: strings.OPTIONS.REGIONNAME, type: "string", }, { name: "cics-plex", description: strings.OPTIONS.CICSPLEX, type: "string", }, ], profile: { optional: ["cics"] }, examples: [ { description: strings.EXAMPLES.EX1, options: "WEBSVCA MYGRP --pipeline-name PIPELINE --wsbind /u/exampleapp/wsbind/example.log --region-name MYREGION", }, ], }; //# sourceMappingURL=Webservice.definition.js.map