UNPKG

zowe-cli-cics-deploy-plugin

Version:

IBM CICS Bundle generation and deployment for Zowe CLI

61 lines 3.34 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 IBM Corp, 2019 * */ Object.defineProperty(exports, "__esModule", { value: true }); exports.DeployBundleDefinition = void 0; const Name_option_1 = require("../../shared/Name.option"); const Bundledir_option_1 = require("./options/Bundledir.option"); const Cicsplex_option_1 = require("../../shared/Cicsplex.option"); const Scope_option_1 = require("../../shared/Scope.option"); const Csdgroup_option_1 = require("../../shared/Csdgroup.option"); const Resgroup_option_1 = require("../../shared/Resgroup.option"); const Cicshlq_option_1 = require("../../shared/Cicshlq.option"); const Cpsmhlq_option_1 = require("../../shared/Cpsmhlq.option"); const Jobcard_option_1 = require("../../shared/Jobcard.option"); const Timeout_option_1 = require("../../shared/Timeout.option"); const TargetState_option_1 = require("./options/TargetState.option"); const Verbose_option_1 = require("../../shared/Verbose.option"); const Description_option_1 = require("./options/Description.option"); const ZosmfOptions_1 = require("../../shared/ZosmfOptions"); /** * Imperative command for the Bundle sub-option of Deploy. * */ exports.DeployBundleDefinition = { name: "bundle", aliases: ["b", "bun", "bund"], summary: "Deploy a CICS bundle", description: "Deploy a CICS bundle from zFS to one or more CICS regions within a CICSplex. " + "The DFHDPLOY utility is used to install and make available a BUNDLE resource " + "in the target group of CICS regions.", type: "command", handler: __dirname + "/DeployBundle.handler", options: [Name_option_1.NameOption, Bundledir_option_1.BundledirOption, Cicsplex_option_1.CicsplexOption, Scope_option_1.ScopeOption, Csdgroup_option_1.CsdgroupOption, Resgroup_option_1.ResgroupOption, Cicshlq_option_1.CicshlqOption, Cpsmhlq_option_1.CpsmhlqOption, Description_option_1.DescriptionOption, Jobcard_option_1.JobcardOption, Timeout_option_1.TimeoutOption, TargetState_option_1.TargetStateOption, Verbose_option_1.VerboseOption] .concat(ZosmfOptions_1.ZosmfOptions.CICS_DEPLOY_ZOSMF_CONNECTION_OPTIONS), profile: { optional: ["cics-deploy", "zosmf"] }, examples: [ { description: "Deploy a CICS bundle with a specific name and location to a default set of target regions", options: `--name EXAMPLE --bundle-directory /u/example/bundleDir` }, { description: "Deploy a CICS bundle, but declare a timeout if the processing takes too long", options: `--name EXAMPLE --bundle-directory /u/example/bundleDir --timeout 60` }, { description: "Deploy a CICS bundle to a specific target environment by using specific zosmf & cics-deploy profiles", options: `--name EXAMPLE --bundle-directory /u/example/bundleDir --cicsplex TESTPLEX --scope SCOPE --res-group BUNDGRP ` + `--cics-hlq CICSTS55.CICS720 --cpsm-hlq CICSTS55.CPSM550 --zosmf-profile testplex --cics-deploy-profile devcics` } ] }; //# sourceMappingURL=DeployBundle.definition.js.map