@axway/axway-central-cli 2.29.0-rc.1 → 2.29.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.
@@ -122,7 +122,6 @@ const agents = exports.agents = {
122
122
 
123
123
  // top priority is region option on command line, second priority is region from config file, default is US
124
124
  installConfig.centralConfig.region = await determineRegion(orgRegion);
125
- console.log(installConfig.centralConfig.region);
126
125
  installConfig.centralConfig.singleEntryPointUrl = _types.SingleEntryPointUrls[installConfig.centralConfig.region];
127
126
  let gatewayTypeChoices = [];
128
127
  Object.values(_types.GatewayTypes).forEach(v => gatewayTypeChoices.push(v));
@@ -77,7 +77,7 @@ CENTRAL_AUTH_PUBLICKEY={{centralConfig.dosaAccount.templatePublicKey}}
77
77
  CENTRAL_ENVIRONMENT={{centralConfig.environment}}
78
78
  CENTRAL_ORGANIZATIONID={{centralConfig.orgId}}
79
79
  CENTRAL_TEAM={{centralConfig.ampcTeamName}}
80
- CENTRAL_REGION = {{centralConfig.region}}
80
+ CENTRAL_REGION={{centralConfig.region}}
81
81
 
82
82
  {{#compare . traceabilityConfig.protocol "https"}}
83
83
  TRACEABILITY_PROTOCOL={{traceabilityConfig.protocol}}
@@ -120,7 +120,7 @@ CENTRAL_AUTH_PUBLICKEY={{centralConfig.dosaAccount.templatePublicKey}}
120
120
  CENTRAL_ENVIRONMENT={{centralConfig.environment}}
121
121
  CENTRAL_ORGANIZATIONID={{centralConfig.orgId}}
122
122
  CENTRAL_TEAM={{centralConfig.ampcTeamName}}
123
- CENTRAL_REGION = {{centralConfig.region}}
123
+ CENTRAL_REGION={{centralConfig.region}}
124
124
 
125
125
  # Logging configs
126
126
  # Define the logging level: info, debug, error
@@ -70,7 +70,7 @@ CENTRAL_AUTH_PUBLICKEY={{centralConfig.dosaAccount.templatePublicKey}}
70
70
  CENTRAL_ENVIRONMENT={{centralConfig.environment}}
71
71
  CENTRAL_ORGANIZATIONID={{centralConfig.orgId}}
72
72
  CENTRAL_TEAM={{centralConfig.ampcTeamName}}
73
- CENTRAL_REGION = {{centralConfig.region}}
73
+ CENTRAL_REGION={{centralConfig.region}}
74
74
 
75
75
  {{#compare . traceabilityConfig.protocol "https"}}
76
76
  TRACEABILITY_PROTOCOL={{traceabilityConfig.protocol}}
@@ -110,7 +110,7 @@ CENTRAL_AUTH_PUBLICKEY={{centralConfig.dosaAccount.templatePublicKey}}
110
110
  CENTRAL_ENVIRONMENT={{centralConfig.environment}}
111
111
  CENTRAL_ORGANIZATIONID={{centralConfig.orgId}}
112
112
  CENTRAL_TEAM={{centralConfig.ampcTeamName}}
113
- CENTRAL_REGION = {{centralConfig.region}}
113
+ CENTRAL_REGION={{centralConfig.region}}
114
114
 
115
115
  # Logging configs
116
116
  # Define the logging level: info, debug, error
@@ -112,7 +112,7 @@ CENTRAL_ORGANIZATIONID={{centralConfig.orgId}}
112
112
  {{#compare . centralConfig.ampcTeamName "" operator="!=" }}
113
113
  CENTRAL_TEAM={{centralConfig.ampcTeamName}}
114
114
  {{/compare}}
115
- CENTRAL_REGION = {{centralConfig.region}}
115
+ CENTRAL_REGION={{centralConfig.region}}
116
116
  {{#compare . traceabilityConfig.protocol "https"}}
117
117
  TRACEABILITY_PROTOCOL={{traceabilityConfig.protocol}}
118
118
  {{/compare}}
@@ -265,7 +265,7 @@ CENTRAL_ORGANIZATIONID={{centralConfig.orgId}}
265
265
  {{#compare . centralConfig.ampcTeamName "" operator="!=" }}
266
266
  CENTRAL_TEAM={{centralConfig.ampcTeamName}}
267
267
  {{/compare}}
268
- CENTRAL_REGION = {{centralConfig.region}}
268
+ CENTRAL_REGION={{centralConfig.region}}
269
269
 
270
270
  # Logging configs
271
271
  # Define the logging level: info, debug, error
@@ -304,7 +304,7 @@ statusPort: 8989
304
304
  env:
305
305
  LOG_LEVEL: info
306
306
  CENTRAL_AGENTNAME: {{centralConfig.daAgentName}}
307
- CENTRAL_REGION = {{centralConfig.region}}
307
+ CENTRAL_REGION={{centralConfig.region}}
308
308
  CENTRAL_AUTH_CLIENTID: {{centralConfig.dosaAccount.clientId}}
309
309
  CENTRAL_ORGANIZATIONID: "{{centralConfig.orgId}}"
310
310
  CENTRAL_ENVIRONMENT: {{centralConfig.environment}}
@@ -54,7 +54,7 @@ CENTRAL_GRPC_ENABLED=true
54
54
  {{#compare . centralConfig.ampcTeamName "" operator="!=" }}
55
55
  CENTRAL_TEAM={{centralConfig.ampcTeamName}}
56
56
  {{/compare}}
57
- CENTRAL_REGION = {{centralConfig.region}}
57
+ CENTRAL_REGION={{centralConfig.region}}
58
58
 
59
59
  # Logging configs
60
60
  # Define the logging level: info, debug, error
@@ -54,7 +54,7 @@ secrets:
54
54
  name: {{agentKeysSecret}}
55
55
 
56
56
  env:
57
- CENTRAL_REGION = {{centralConfig.region}}
57
+ CENTRAL_REGION={{centralConfig.region}}
58
58
  CENTRAL_ORGANIZATIONID: "{{centralConfig.orgId}}"
59
59
  CENTRAL_TEAM: {{centralConfig.ampcTeamName}}
60
60
  CENTRAL_ENVIRONMENT: {{centralConfig.environment}}
@@ -99,7 +99,7 @@ CENTRAL_AUTH_PUBLICKEY={{centralConfig.dosaAccount.templatePublicKey}}
99
99
  CENTRAL_ENVIRONMENT={{centralConfig.environment}}
100
100
  CENTRAL_ORGANIZATIONID={{centralConfig.orgId}}
101
101
  CENTRAL_TEAM={{centralConfig.ampcTeamName}}
102
- CENTRAL_REGION = {{centralConfig.region}}
102
+ CENTRAL_REGION={{centralConfig.region}}
103
103
 
104
104
  # Logging configs
105
105
  # Define the logging level: info, debug, error
@@ -142,7 +142,7 @@ CENTRAL_AUTH_PUBLICKEY={{centralConfig.dosaAccount.templatePublicKey}}
142
142
  CENTRAL_ENVIRONMENT={{centralConfig.environment}}
143
143
  CENTRAL_ORGANIZATIONID={{centralConfig.orgId}}
144
144
  CENTRAL_TEAM={{centralConfig.ampcTeamName}}
145
- CENTRAL_REGION = {{centralConfig.region}}
145
+ CENTRAL_REGION={{centralConfig.region}}
146
146
  {{#compare . traceabilityConfig.protocol "https"}}
147
147
  TRACEABILITY_PROTOCOL={{traceabilityConfig.protocol}}
148
148
  {{/compare}}
@@ -9,7 +9,6 @@ var _basicPrompts = require("../../common/basicPrompts");
9
9
  var _CliConfigManager = require("../../common/CliConfigManager");
10
10
  var _CoreConfigController = require("../../common/CoreConfigController");
11
11
  var _types = require("../../common/types");
12
- var _utils = require("../../common/utils");
13
12
  var _awsAgents = require("./awsAgents");
14
13
  var helpers = _interopRequireWildcard(require("./helpers"));
15
14
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -69,7 +68,6 @@ const getCentralConfig = async (apiServerClient, platformClient, defsManager, ap
69
68
  let centralConfig = installConfig.centralConfig;
70
69
  await centralConfig.setBaseHost();
71
70
  centralConfig.authUrl = `${_CoreConfigController.CoreConfigController.getAuthUrl()}/auth`;
72
- centralConfig.region = String(apiServerClient.region || (await (0, _utils.getConfig)())[_types.ConfigTypes.REGION] || _types.Regions.US).toUpperCase();
73
71
  centralConfig.deployment = apicDeployment || getApicDeployment(centralConfig.region, _CoreConfigController.CoreConfigController.getEnv());
74
72
 
75
73
  // apic config
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axway/axway-central-cli",
3
- "version": "2.29.0-rc.1",
3
+ "version": "2.29.0-rc.3",
4
4
  "description": "Manage APIs, services and publish to the Unified Catalog",
5
5
  "homepage": "https://platform.axway.com",
6
6
  "author": {