@axway/axway-central-cli 4.13.0-rc.2 → 4.13.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80,16 +80,12 @@ const gatewayConnectivity = async installConfig => {
80
80
  };
81
81
  exports.gatewayConnectivity = gatewayConnectivity;
82
82
  const generateOutput = async installConfig => {
83
- const awsAgentValues = installConfig.gatewayConfig;
84
83
  const daImage = `${_types.PublicDockerRepoBaseUrl}${_types.BasePaths.DockerAgentPublicRepo}/${installConfig.dockerRepoVersion}/${_types.AgentNames.AWS_DA}`;
85
84
  const taImage = `${_types.PublicDockerRepoBaseUrl}${_types.BasePaths.DockerAgentPublicRepo}/${installConfig.dockerRepoVersion}/${_types.AgentNames.AWS_TA}`;
86
85
  let dockerEnvConfig = '';
87
86
  let runCommands = '';
88
87
  const info = `To utilize the agents, pull the latest Docker images and run them using the appropriate supplied environment files, (${helpers.configFiles.DA_ENV_VARS} & ${helpers.configFiles.TA_ENV_VARS}):`;
89
88
  dockerEnvConfig = `
90
- - Create AWS Access and Secret Keys and copy resulting ${_chalk.default.yellow(`"AccessKeyId"`)} & ${_chalk.default.yellow(`"SecretAccessKey"`)}:
91
- ${_chalk.default.cyan(` aws iam create-access-key --user-name AxwayAmplifyAgentsUser-${awsAgentValues.region} ${helpers.eolChar}
92
- --query "AccessKey.{"AccessKeyId":AccessKeyId,"SecretAccessKey":SecretAccessKey}"`)}
93
89
  - Add "AccessKeyId" & "SecretAccessKey" variables to both agent .env files, ${ConfigFiles.DAEnvVars} & ${ConfigFiles.TAEnvVars}:
94
90
  AWS_AUTH_ACCESSKEY=${_chalk.default.yellow(`Your_AccessKeyId`)}
95
91
  AWS_AUTH_SECRETKEY=${_chalk.default.yellow(`Your_SecretAccessKey`)}`;
@@ -51,6 +51,7 @@ AWS_AUTH_SECRETKEY={{secretKey}}
51
51
  {{#if fullTransactionLogging}}
52
52
  AWS_FULLTRANSACTIONLOGGING={{fullTransactionLogging}}
53
53
  {{/if}}
54
+ AWS_LOGGROUP={{logGroup}}
54
55
 
55
56
  # Amplify Central configs
56
57
  {{#if traceabilityConfig.usageReportingOffline}}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.docsUrl = exports.commonCmdArgsDescription = exports.cliVersionHeader = exports.YesNoChoices = exports.YesNo = exports.WAIT_TIMEOUT = exports.TrueFalseChoices = exports.TrueFalse = exports.TraceableRegionType = exports.TraceabilityConfig = exports.SaaSGatewayTypes = exports.Regions = exports.PublicDockerRepoBaseUrl = exports.Protocol = exports.ProdBaseUrls = exports.PreprodRegions = exports.PreprodBaseUrls = exports.Platforms = exports.OutputTypes = exports.MAX_TABLE_STRING_LENGTH = exports.MAX_FILE_SIZE = exports.MAX_CACHE_FILE_SIZE = exports.LoggingSource = exports.LanguageTypes = exports.KindTypes = exports.Kind = exports.IstioProfileChoices = exports.IstioInstallValues = exports.IstioAgentValues = exports.IDPType = exports.IDPConfiguration = exports.IDPClientSecretAuthMethod = exports.IDPAuthType = exports.IDPAuthConfiguration = exports.IDPAuthClientSecret = exports.IDPAuthAccessToken = exports.GatewayTypes = exports.GatewayTypeToDataPlane = exports.GatewayMode = exports.EnvironmentConfigInfo = exports.DosaAccount = exports.DataPlaneNames = exports.DOSAConfigInfo = exports.ConfigTypes = exports.ComponentType = exports.CloudFormationConfig = exports.Certificate = exports.CentralAgentConfig = exports.CACHE_FILE_TTL_MILLISECONDS = exports.BundleType = exports.BasePaths = exports.AzureDataplaneMode = exports.AuthUrls = exports.ApigeeMetricsFilterConfig = exports.AgentTypes = exports.AgentResourceKind = exports.AgentNames = exports.AgentInstallSwitches = exports.AgentInstallConfig = exports.AgentConfigTypes = exports.AWSRegions = exports.APIGEEXDISCOVERYMODES = exports.APIGEEXAuthType = exports.APICDeployments = exports.ABORT_TIMEOUT = void 0;
6
+ exports.docsUrl = exports.commonCmdArgsDescription = exports.cliVersionHeader = exports.YesNoChoices = exports.YesNo = exports.WAIT_TIMEOUT = exports.TrueFalseChoices = exports.TrueFalse = exports.TraceableRegionType = exports.TraceabilityConfig = exports.SaaSGatewayTypes = exports.Regions = exports.PublicDockerRepoBaseUrl = exports.Protocol = exports.ProdBaseUrls = exports.PreprodRegions = exports.PreprodBaseUrls = exports.Platforms = exports.OutputTypes = exports.MAX_TABLE_STRING_LENGTH = exports.MAX_FILE_SIZE = exports.MAX_CACHE_FILE_SIZE = exports.LoggingSource = exports.LanguageTypes = exports.KindTypes = exports.Kind = exports.IstioProfileChoices = exports.IstioInstallValues = exports.IstioAgentValues = exports.IDPType = exports.IDPConfiguration = exports.IDPClientSecretAuthMethod = exports.IDPAuthType = exports.IDPAuthConfiguration = exports.IDPAuthClientSecret = exports.IDPAuthAccessToken = exports.GatewayTypes = exports.GatewayTypeToDataPlane = exports.GatewayMode = exports.EnvironmentConfigInfo = exports.DosaAccount = exports.DataPlaneNames = exports.DOSAConfigInfo = exports.ConfigTypes = exports.ComponentType = exports.Certificate = exports.CentralAgentConfig = exports.CACHE_FILE_TTL_MILLISECONDS = exports.BundleType = exports.BasePaths = exports.AzureDataplaneMode = exports.AuthUrls = exports.ApigeeMetricsFilterConfig = exports.AgentTypes = exports.AgentResourceKind = exports.AgentNames = exports.AgentInstallSwitches = exports.AgentInstallConfig = exports.AgentConfigTypes = exports.AWSRegions = exports.APIGEEXDISCOVERYMODES = exports.APIGEEXAuthType = exports.APICDeployments = exports.ABORT_TIMEOUT = void 0;
7
7
  var _utils = require("./utils");
8
8
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
9
9
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
@@ -507,59 +507,6 @@ let Certificate = exports.Certificate = /*#__PURE__*/function (Certificate) {
507
507
  Certificate["GENERATE"] = "GENERATE";
508
508
  return Certificate;
509
509
  }({});
510
- class CloudFormationConfig {
511
- constructor() {
512
- _defineProperty(this, "AgentResourcesBucket", void 0);
513
- _defineProperty(this, "APIGWCWRoleSetup", void 0);
514
- _defineProperty(this, "APIGWTrafficLogGroupName", void 0);
515
- _defineProperty(this, "DeploymentType", void 0);
516
- _defineProperty(this, "EC2VPCID", void 0);
517
- _defineProperty(this, "EC2KeyName", void 0);
518
- _defineProperty(this, "EC2InstanceType", void 0);
519
- _defineProperty(this, "EC2SSHLocation", void 0);
520
- _defineProperty(this, "EC2PublicIPAddress", void 0);
521
- _defineProperty(this, "ECSClusterName", void 0);
522
- _defineProperty(this, "ECSCentralOrganizationID", void 0);
523
- _defineProperty(this, "ECSCentralEnvironmentName", void 0);
524
- _defineProperty(this, "ECSCentralDiscoveryAgentName", void 0);
525
- _defineProperty(this, "ECSCentralTraceabilityAgentName", void 0);
526
- _defineProperty(this, "ECSCentralClientID", void 0);
527
- _defineProperty(this, "ECSCentralRegion", void 0);
528
- _defineProperty(this, "DiscoveryAgentLogGroupName", void 0);
529
- _defineProperty(this, "DiscoveryAgentVersion", void 0);
530
- _defineProperty(this, "TraceabilityAgentLogGroupName", void 0);
531
- _defineProperty(this, "TraceabilityAgentVersion", void 0);
532
- _defineProperty(this, "SSMPrivateKeyParameter", void 0);
533
- _defineProperty(this, "SSMPublicKeyParameter", void 0);
534
- _defineProperty(this, "SecurityGroup", void 0);
535
- _defineProperty(this, "Subnet", void 0);
536
- this.AgentResourcesBucket = '';
537
- this.APIGWCWRoleSetup = 'true';
538
- this.APIGWTrafficLogGroupName = 'aws-apigw-traffic-logs';
539
- this.DeploymentType = 'EC2';
540
- this.EC2VPCID = '';
541
- this.EC2KeyName = '';
542
- this.EC2InstanceType = 't3.micro';
543
- this.EC2SSHLocation = '0.0.0.0/0';
544
- this.EC2PublicIPAddress = 'true';
545
- this.ECSClusterName = '';
546
- this.ECSCentralOrganizationID = '';
547
- this.ECSCentralEnvironmentName = '';
548
- this.ECSCentralClientID = '';
549
- this.ECSCentralDiscoveryAgentName = '';
550
- this.ECSCentralTraceabilityAgentName = '';
551
- this.ECSCentralRegion = '';
552
- this.DiscoveryAgentLogGroupName = 'amplify-discovery-agent-logs';
553
- this.DiscoveryAgentVersion = 'latest';
554
- this.TraceabilityAgentLogGroupName = 'amplify-traceability-agent-logs';
555
- this.TraceabilityAgentVersion = 'latest';
556
- this.SSMPrivateKeyParameter = 'AmplifyPrivateKey';
557
- this.SSMPublicKeyParameter = 'AmplifyPublicKey';
558
- this.SecurityGroup = '';
559
- this.Subnet = '';
560
- }
561
- }
562
- exports.CloudFormationConfig = CloudFormationConfig;
563
510
  class IstioAgentValues {
564
511
  constructor() {
565
512
  _defineProperty(this, "alsEnabled", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axway/axway-central-cli",
3
- "version": "4.13.0-rc.2",
3
+ "version": "4.13.0-rc.3",
4
4
  "description": "Manage APIs, services and publish to the Amplify Marketplace",
5
5
  "homepage": "https://platform.axway.com",
6
6
  "author": {