@axway/axway-central-cli 2.15.0-rc.3 → 2.15.1

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.
@@ -53,7 +53,7 @@ const {
53
53
  const localhost = 'localhost';
54
54
  exports.localhost = localhost;
55
55
  const prompts = {
56
- hostedAgentOption: 'Will this agent be hosted by Axway',
56
+ hostedAgentOption: 'Will this be an embedded agent',
57
57
  selectGatewayType: 'Select the type of gateway you want to connect'
58
58
  };
59
59
  exports.prompts = prompts;
@@ -130,11 +130,10 @@ const agents = {
130
130
  installConfig.centralConfig.axwayManaged = !!axwayManaged; // top priority is region option on command line, second priority is region from config file, default is US
131
131
 
132
132
  installConfig.centralConfig.region = await determineRegion(region);
133
- installConfig.centralConfig.singleEntryPointUrl = _types.SingleEntryPointUrls[installConfig.centralConfig.region]; // gateway type
134
-
133
+ installConfig.centralConfig.singleEntryPointUrl = _types.SingleEntryPointUrls[installConfig.centralConfig.region];
135
134
  let gatewayType = await (0, _basicPrompts.askList)({
136
135
  msg: prompts.selectGatewayType,
137
- choices: [_types.GatewayTypes.EDGE_GATEWAY, _types.GatewayTypes.AWS_GATEWAY, _types.GatewayTypes.AZURE_GATEWAY, _types.GatewayTypes.ISTIO]
136
+ choices: Object.values(_types.GatewayTypes).filter(v => v !== _types.GatewayTypes.EDGE_GATEWAY_ONLY)
138
137
  });
139
138
 
140
139
  if (gatewayType === _types.GatewayTypes.AWS_GATEWAY) {
@@ -106,10 +106,10 @@ const SaasPrompts = {
106
106
  AUTHENTICATION_TYPE: 'Authenticate with an AssumeRole Policy or an Access Key ID and Secret Access Key',
107
107
  ACCESS_KEY: 'Enter the AWS Access Key ID the agent will use',
108
108
  SECRET_KEY: 'Enter the AWS Secret Access Key the agent will use',
109
- ASSUME_ROLE: 'Enter the role ARN that the agent will Assume',
110
- EXTERNAL_ID: 'Enter the external ID the Assume Role expects',
109
+ ASSUME_ROLE: 'Enter the Role ARN that the agent will Assume',
110
+ EXTERNAL_ID: 'Enter the External ID the Assume Role expects',
111
111
  FREQUENCY: 'How often should the discovery run, leave blank for integrating in CI/CD process',
112
- QUEUE: 'Do you want to run the agent immediately during install'
112
+ QUEUE: 'Do you want to discover immediately after installation'
113
113
  };
114
114
 
115
115
  const askBundleType = async () => {
@@ -138,7 +138,7 @@ const askForAWSCredentials = async hostedAgentValues => {
138
138
  value: AWSAuthType.KEYS
139
139
  }]
140
140
  });
141
- console.log(_chalk.default.blue("Please refer to docs.axway.com for information on creating the necessary AWS IAM policies"));
141
+ console.log(_chalk.default.gray("Please refer to docs.axway.com for information on creating the necessary AWS IAM policies"));
142
142
 
143
143
  if (hostedAgentValues.authType === AWSAuthType.ASSUME) {
144
144
  log("using an assume role policy authentication"); // get assume role arn
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axway/axway-central-cli",
3
- "version": "2.15.0-rc.3",
3
+ "version": "2.15.1",
4
4
  "description": "Manage APIs, services and publish to the Unified Catalog",
5
5
  "homepage": "https://platform.axway.com",
6
6
  "author": {