@axway/axway-central-cli 4.7.0-rc.1 → 4.7.0-rc.2
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.
|
@@ -16,7 +16,6 @@ var _Renderer = _interopRequireDefault(require("../../common/Renderer"));
|
|
|
16
16
|
var _types = require("../../common/types");
|
|
17
17
|
var _utils = require("../../common/utils");
|
|
18
18
|
var akamaiAgents = _interopRequireWildcard(require("./akamaiAgents"));
|
|
19
|
-
var akamaiSaasAgents = _interopRequireWildcard(require("./akamaiSaasAgents"));
|
|
20
19
|
var apigeeXAgents = _interopRequireWildcard(require("./apigeexAgents"));
|
|
21
20
|
var awsAgents = _interopRequireWildcard(require("./awsAgents"));
|
|
22
21
|
var awsSaaSAgents = _interopRequireWildcard(require("./awsSaasAgents"));
|
|
@@ -42,6 +41,8 @@ var sensediaAgents = _interopRequireWildcard(require("./sensediaAgents"));
|
|
|
42
41
|
var wso2Agents = _interopRequireWildcard(require("./wso2Agents"));
|
|
43
42
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
44
43
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
44
|
+
// import * as akamaiSaasAgents from './akamaiSaasAgents';
|
|
45
|
+
|
|
45
46
|
const {
|
|
46
47
|
log
|
|
47
48
|
} = (0, _snooplogg.default)('engage: install: agents');
|
|
@@ -72,7 +73,7 @@ const agentInstallFlows = {
|
|
|
72
73
|
[_types.GatewayTypes.WSO2]: wso2Agents.WSO2InstallMethods
|
|
73
74
|
};
|
|
74
75
|
const saasAgentInstallFlows = {
|
|
75
|
-
[
|
|
76
|
+
// [GatewayTypes.AKAMAI]: akamaiSaasAgents.AkamaiSaaSInstallMethods,
|
|
76
77
|
[_types.SaaSGatewayTypes.AWS_GATEWAY]: awsSaaSAgents.AWSSaaSInstallMethods,
|
|
77
78
|
[_types.SaaSGatewayTypes.GITHUB]: gitHubAgents.GitHubSaaSInstallMethods,
|
|
78
79
|
[_types.SaaSGatewayTypes.APIGEEX_GATEWAY]: apigeeSaaSAgents.APIGEEXSaaSInstallMethods,
|
|
@@ -168,7 +169,9 @@ const agents = exports.agents = {
|
|
|
168
169
|
}
|
|
169
170
|
|
|
170
171
|
// if this check gets bigger, may think about an array of agents that can be both ground and embedded until ground agents become obsolete
|
|
171
|
-
if (gatewayType === _types.GatewayTypes.AWS_GATEWAY || gatewayType === _types.GatewayTypes.AZURE_GATEWAY || gatewayType === _types.GatewayTypes.AZURE_EVENTHUB || gatewayType === _types.GatewayTypes.APIGEEX_GATEWAY || gatewayType === _types.GatewayTypes.TRACEABLE
|
|
172
|
+
if (gatewayType === _types.GatewayTypes.AWS_GATEWAY || gatewayType === _types.GatewayTypes.AZURE_GATEWAY || gatewayType === _types.GatewayTypes.AZURE_EVENTHUB || gatewayType === _types.GatewayTypes.APIGEEX_GATEWAY || gatewayType === _types.GatewayTypes.TRACEABLE
|
|
173
|
+
// gatewayType === GatewayTypes.AKAMAI
|
|
174
|
+
) {
|
|
172
175
|
// hosted vs on premise
|
|
173
176
|
installConfig.switches.isHostedInstall = (await (0, _basicPrompts.askList)({
|
|
174
177
|
msg: prompts.hostedAgentOption,
|