@axway/axway-central-cli 4.13.0-rc.0 → 4.13.0-rc.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.
@@ -163,6 +163,7 @@ const dockerSuccessMsg = installConfig => {
163
163
  dockerInfo = `To utilize the agent, pull the latest Docker image and run it using the appropriate supplied environment file, (${helpers.configFiles.AGENT_ENV_VARS}):`;
164
164
  console.log(_chalk.default.whiteBright(dockerInfo), '\n');
165
165
  const caImageVersion = `${caImage}:${installConfig.caVersion}`;
166
+ helpers.dockerLoginInfo();
166
167
  console.log(_chalk.default.white('Pull the latest image of the Agent:'));
167
168
  console.log(_chalk.default.cyan(`docker pull ${caImageVersion}`));
168
169
  console.log(_chalk.default.white(_utils.isWindows ? startAgentWinMsg : startAgentLinuxMsg));
@@ -152,6 +152,7 @@ const dockerSuccessMsg = installConfig => {
152
152
  dockerInfo = `To utilize the traceability agent, pull the latest Docker image and run it using the supplied environment file, (${helpers.configFiles.TA_ENV_VARS}):`;
153
153
  }
154
154
  console.log(_chalk.default.whiteBright(dockerInfo), '\n');
155
+ helpers.dockerLoginInfo();
155
156
  if (installConfig.switches.isDaEnabled) {
156
157
  const daImageVersion = `${daImage}:${installConfig.daVersion}`;
157
158
  console.log(_chalk.default.white('Pull the latest image of the Discovery Agent:'));
@@ -356,6 +356,7 @@ ${_chalk.default.cyan(` aws iam create-access-key --user-name AxwayAmplifyAg
356
356
  AWS_AUTH_SECRETKEY=${_chalk.default.yellow(`Your_SecretAccessKey`)}`;
357
357
  runCommands = `${_chalk.default.whiteBright(info)}
358
358
 
359
+ ${helpers.dockerLoginMsg()}
359
360
  Pull the latest image of the Discovery Agent:
360
361
  ${_chalk.default.cyan(`docker pull ${daImage}:${installConfig.daVersion}`)}
361
362
 
@@ -155,6 +155,7 @@ const dockerSuccessMsg = installConfig => {
155
155
  dockerInfo = `To utilize the traceability agent, pull the latest Docker image and run it using the supplied environment file, (${helpers.configFiles.TA_ENV_VARS}):`;
156
156
  }
157
157
  console.log(_chalk.default.whiteBright(dockerInfo), '\n');
158
+ helpers.dockerLoginInfo();
158
159
  if (installConfig.switches.isDaEnabled) {
159
160
  const daImageVersion = `${daImage}:${installConfig.daVersion}`;
160
161
  console.log(_chalk.default.white('Pull the latest image of the Discovery Agent:'));
@@ -106,6 +106,7 @@ const dockerSuccessMsg = installConfig => {
106
106
  const startDaWinMsg = `\nStart the Discovery Agent on a Windows machine`;
107
107
  dockerInfo = `To utilize the agents, pull the latest Docker images and run them using the appropriate supplied environment files, (${helpers.configFiles.DA_ENV_VARS}:`;
108
108
  console.log(_chalk.default.whiteBright(dockerInfo), '\n');
109
+ helpers.dockerLoginInfo();
109
110
  const daImageVersion = `${daImage}:${installConfig.daVersion}`;
110
111
  console.log(_chalk.default.white('Pull the latest image of the Discovery Agent:'));
111
112
  console.log(_chalk.default.cyan(`docker pull ${daImageVersion}`));
@@ -271,6 +271,7 @@ const dockerSuccessMsg = (installConfig, eventLogPath) => {
271
271
  dockerInfo = `To utilize the traceability agent, pull the latest Docker image and run it using the supplied environment file, (${helpers.configFiles.TA_ENV_VARS}):`;
272
272
  }
273
273
  console.log(_cliKit.chalk.whiteBright(dockerInfo), '\n');
274
+ helpers.dockerLoginInfo();
274
275
  if (installConfig.switches.isDaEnabled) {
275
276
  const daImageVersion = `${daImage}:${installConfig.daVersion}`;
276
277
  console.log(_cliKit.chalk.white('Pull the latest image of the Discovery Agent:'));
@@ -126,6 +126,7 @@ const dockerSuccessMsg = installConfig => {
126
126
  dockerInfo = `To utilize the discovery agent, pull the latest Docker image and run it using the supplied environment file, (${helpers.configFiles.DA_ENV_VARS}):`;
127
127
  }
128
128
  console.log(_chalk.default.whiteBright(dockerInfo), '\n');
129
+ helpers.dockerLoginInfo();
129
130
  if (installConfig.switches.isDaEnabled) {
130
131
  const daImageVersion = `${daImage}:${installConfig.daVersion}`;
131
132
  console.log(_chalk.default.white('Pull the latest image of the Discovery Agent:'));
@@ -3,9 +3,21 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.helmInstallInfo = exports.helmImageSecretInfo = void 0;
6
+ exports.helmInstallInfo = exports.helmImageSecretInfo = exports.dockerLoginMsg = exports.dockerLoginInfo = void 0;
7
7
  var _chalk = _interopRequireDefault(require("chalk"));
8
8
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
+ const dockerLoginMsg = () => {
10
+ return `${_chalk.default.white('Login to the Axway Docker repository:')}
11
+ ${_chalk.default.cyan('docker login docker.repository.axway.com --username <client_id> --password <client_secret>')}
12
+ ${_chalk.default.white('* client_id - service account id for your Amplify Platform organization')}
13
+ ${_chalk.default.white('* client_secret - service account secret for your Amplify Platform organization')}
14
+ `;
15
+ };
16
+ exports.dockerLoginMsg = dockerLoginMsg;
17
+ const dockerLoginInfo = () => {
18
+ console.log(dockerLoginMsg());
19
+ };
20
+ exports.dockerLoginInfo = dockerLoginInfo;
9
21
  const helmImageSecretInfo = async namespace => {
10
22
  let dockerSecretCmd = `kubectl create secret docker-registry <image-pull-secret-name> --namespace ${namespace} \\`;
11
23
  dockerSecretCmd += `\n --docker-server=docker.repository.axway.com \\`;
@@ -132,6 +132,7 @@ const dockerSuccessMsg = installConfig => {
132
132
  dockerInfo = `To utilize the traceability agent, pull the latest Docker image and run it using the supplied environment file, (${helpers.configFiles.TA_ENV_VARS}):`;
133
133
  }
134
134
  console.log(_chalk.default.whiteBright(dockerInfo), '\n');
135
+ helpers.dockerLoginInfo();
135
136
  if (installConfig.switches.isDaEnabled) {
136
137
  const daImageVersion = `${daImage}:${installConfig.daVersion}`;
137
138
  console.log(_chalk.default.white('Pull the latest image of the Discovery Agent:'));
@@ -253,6 +253,7 @@ const dockerSuccessMsg = installConfig => {
253
253
  dockerInfo = `To utilize the traceability agent, pull the latest Docker image and run it using the supplied environment file, (${helpers.configFiles.TA_ENV_VARS}):`;
254
254
  }
255
255
  console.log(_chalk.default.whiteBright(dockerInfo), '\n');
256
+ helpers.dockerLoginInfo();
256
257
  if (installConfig.switches.isDaEnabled) {
257
258
  const daImageVersion = `${daImage}:${installConfig.daVersion}`;
258
259
  console.log(_chalk.default.white('Pull the latest image of the Discovery Agent:'));
@@ -128,6 +128,7 @@ const dockerSuccessMsg = installConfig => {
128
128
  dockerInfo = `To utilize the traceability agent, pull the latest Docker image and run it using the supplied environment file, (${helpers.configFiles.TA_ENV_VARS}):`;
129
129
  }
130
130
  console.log(_chalk.default.whiteBright(dockerInfo), '\n');
131
+ helpers.dockerLoginInfo();
131
132
  if (installConfig.switches.isDaEnabled) {
132
133
  const daImageVersion = `${daImage}:${installConfig.daVersion}`;
133
134
  console.log(_chalk.default.white('Pull the latest image of the Discovery Agent:'));
@@ -149,6 +149,7 @@ const dockerSuccessMsg = installConfig => {
149
149
  dockerInfo = `To utilize the traceability agent, pull the latest Docker image and run it using the supplied environment file, (${helpers.configFiles.TA_ENV_VARS}):`;
150
150
  }
151
151
  console.log(_chalk.default.whiteBright(dockerInfo), '\n');
152
+ helpers.dockerLoginInfo();
152
153
  if (installConfig.switches.isDaEnabled) {
153
154
  const daImageVersion = `${daImage}:${installConfig.daVersion}`;
154
155
  console.log(_chalk.default.white('Pull the latest image of the Discovery Agent:'));
@@ -111,6 +111,7 @@ const dockerSuccessMsg = installConfig => {
111
111
  dockerInfo = `To utilize the traceability agent, pull the latest Docker image and run it using the supplied environment file, (${helpers.configFiles.TA_ENV_VARS}):`;
112
112
  }
113
113
  console.log(_chalk.default.whiteBright(dockerInfo), '\n');
114
+ helpers.dockerLoginInfo();
114
115
  if (installConfig.switches.isDaEnabled) {
115
116
  const daImageVersion = `${daImage}:${installConfig.daVersion}`;
116
117
  console.log(_chalk.default.white('Pull the latest image of the Discovery Agent:'));
@@ -162,6 +162,7 @@ const dockerSuccessMsg = installConfig => {
162
162
  if (installConfig.switches.isTaEnabled) {
163
163
  dockerInfo = `To utilize the agent, pull the latest Docker image and run it using the appropriate supplied environment file, (${helpers.configFiles.AGENT_ENV_VARS}):`;
164
164
  console.log(_chalk.default.whiteBright(dockerInfo), '\n');
165
+ helpers.dockerLoginInfo();
165
166
  const caImageVersion = `${caImage}:${installConfig.taVersion}`;
166
167
  console.log(_chalk.default.white('Pull the latest image of the Agent:'));
167
168
  console.log(_chalk.default.cyan(`docker pull ${caImageVersion}`));
@@ -101,6 +101,7 @@ const dockerSuccessMsg = installConfig => {
101
101
  dockerInfo = `To utilize the traceability agent, pull the latest Docker image and run it using the supplied environment file, (${helpers.configFiles.TA_ENV_VARS}):`;
102
102
  }
103
103
  console.log(_chalk.default.whiteBright(dockerInfo), '\n');
104
+ helpers.dockerLoginInfo();
104
105
  if (installConfig.switches.isDaEnabled) {
105
106
  const daImageVersion = `${daImage}:${installConfig.daVersion}`;
106
107
  console.log(_chalk.default.white('Pull the latest image of the Discovery Agent:'));
@@ -38,14 +38,14 @@ let Kind = exports.Kind = /*#__PURE__*/function (Kind) {
38
38
  * NOTE: order of this array is used to orchestrate bulk api calls (see utils/compareDocsByKind)
39
39
  */
40
40
  const KindTypes = exports.KindTypes = [Kind.Environment, Kind.APIService, Kind.APIServiceRevision, Kind.APIServiceInstance, Kind.Secret, Kind.Webhook, Kind.ConsumerSubscriptionDefinition, Kind.ConsumerInstance];
41
- const PublicDockerRepoBaseUrl = exports.PublicDockerRepoBaseUrl = 'repository.axway.com/ampc-public-docker-release';
41
+ const PublicDockerRepoBaseUrl = exports.PublicDockerRepoBaseUrl = 'docker.repository.axway.com';
42
42
  let BasePaths = exports.BasePaths = /*#__PURE__*/function (BasePaths) {
43
43
  BasePaths["ApiServer"] = "/apis";
44
44
  BasePaths["ApiCentral"] = "/api/v1";
45
45
  BasePaths["Platform"] = "/platform/api/v1";
46
46
  BasePaths["V7Agents"] = "/artifactory/ampc-public-generic-release/v7-agents";
47
47
  BasePaths["AWSAgents"] = "/artifactory/ampc-public-generic-release/aws-agents";
48
- BasePaths["DockerAgentPublicRepo"] = "/agent";
48
+ BasePaths["DockerAgentPublicRepo"] = "/ampc-docker-prod/1.2";
49
49
  return BasePaths;
50
50
  }({});
51
51
  let ConfigTypes = exports.ConfigTypes = /*#__PURE__*/function (ConfigTypes) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axway/axway-central-cli",
3
- "version": "4.13.0-rc.0",
3
+ "version": "4.13.0-rc.1",
4
4
  "description": "Manage APIs, services and publish to the Amplify Marketplace",
5
5
  "homepage": "https://platform.axway.com",
6
6
  "author": {