@axway/axway-central-cli 2.17.0-rc.3 → 2.17.0-rc.4

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.
@@ -72,10 +72,7 @@ class SaasAgentValues {
72
72
  this.frequencyTA = '';
73
73
  this.dataplaneConfig = new DataplaneConfig();
74
74
  this.centralConfig = new _types.CentralAgentConfig();
75
- } // getAccessData() {
76
- // return ""
77
- // }
78
-
75
+ }
79
76
 
80
77
  }
81
78
 
@@ -164,16 +161,7 @@ const askForAPIGEEXCredentials = async hostedAgentValues => {
164
161
  msg: SaasPrompts.DEVELOPER_EMAIL_ADDRESS,
165
162
  defaultValue: hostedAgentValues.developerEmailAddress !== '' ? hostedAgentValues.developerEmailAddress : undefined,
166
163
  allowEmptyInput: true
167
- }); // Ask Auth type
168
- // hostedAgentValues.authType = await askList({
169
- // msg: SaasPrompts.AUTHENTICATION_TYPE,
170
- // default: APIGEEXAuthType.IMP_SVC_ACC,
171
- // choices: [
172
- // { name: APIGEEXAuthType.IMP_SVC_ACC, value: APIGEEXAuthType.IMP_SVC_ACC },
173
- // { name: APIGEEXAuthType.ACCESS_CREDENTIAL, value: APIGEEXAuthType.ACCESS_CREDENTIAL },
174
- // ],
175
- // }) as APIGEEXAuthType;
176
-
164
+ });
177
165
  hostedAgentValues.authType = APIGEEXAuthType.IMP_SVC_ACC;
178
166
  console.log(_chalk.default.gray("Please refer to docs.axway.com for information on creating the necessary APIGEE X IAM policies"));
179
167
 
@@ -185,17 +173,7 @@ const askForAPIGEEXCredentials = async hostedAgentValues => {
185
173
  defaultValue: hostedAgentValues.clientEmailAddress !== '' ? hostedAgentValues.clientEmailAddress : undefined,
186
174
  allowEmptyInput: true
187
175
  });
188
- } // else {
189
- // log("by uploading the credential file")
190
- // // fetch the path of the credential file
191
- // let credentialFilePath = '';
192
- // credentialFilePath = (await askInput({
193
- // msg: SaasPrompts.UPLOAD_CREDENTIAL_FILE,
194
- // validate: verifyApigeeXCredentialFile(),
195
- // })) as string;
196
- // hostedAgentValues.credentialJSON = await loadAndVerifyApigeeXCredentialFile(credentialFilePath);
197
- // }
198
-
176
+ }
199
177
 
200
178
  return hostedAgentValues;
201
179
  };
@@ -226,9 +226,7 @@ const createNewDataPlaneResource = async (client, defsManager, envName, dataPlan
226
226
  exports.createNewDataPlaneResource = createNewDataPlaneResource;
227
227
 
228
228
  const createNewDataPlaneSecretResource = async (client, defsManager, envName, dataPlaneType, dataPlaneName, accessData) => {
229
- console.log(`Creating a new DataplaneSecret resource.`);
230
- console.log(dataPlaneType);
231
- console.log(accessData); // NOTE: only a first found set is used
229
+ console.log(`Creating a new DataplaneSecret resource.`); // NOTE: only a first found set is used
232
230
 
233
231
  const defs = defsManager.findDefsByWord("dps");
234
232
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axway/axway-central-cli",
3
- "version": "2.17.0-rc.3",
3
+ "version": "2.17.0-rc.4",
4
4
  "description": "Manage APIs, services and publish to the Unified Catalog",
5
5
  "homepage": "https://platform.axway.com",
6
6
  "author": {