@axway/axway-central-cli 3.8.1 → 3.9.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.
|
@@ -39,9 +39,9 @@ class AWSDataplaneConfig extends DataplaneConfig {
|
|
|
39
39
|
class Sampling {
|
|
40
40
|
constructor() {
|
|
41
41
|
_defineProperty(this, "percentage", void 0);
|
|
42
|
-
_defineProperty(this, "
|
|
42
|
+
_defineProperty(this, "onlyErrors", void 0);
|
|
43
43
|
this.percentage = 1;
|
|
44
|
-
this.
|
|
44
|
+
this.onlyErrors = true;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
class Sanitize {
|
|
@@ -156,7 +156,7 @@ const SaasPrompts = {
|
|
|
156
156
|
TA_FREQUENCY: 'How often should the traffic collection run, leave blank for manual trigger only',
|
|
157
157
|
QUEUE: 'Do you want to discover immediately after installation',
|
|
158
158
|
SAMP_PERCENTAGE: 'Enter the percentage of transactions to sample',
|
|
159
|
-
|
|
159
|
+
SAMP_ONLY_ERRS: 'Do you want to sample only the error transactions for Business and Consumer Insights',
|
|
160
160
|
REDACT_SHOW: 'Enter a regular expression for {0}s that may be shown',
|
|
161
161
|
ENTER_SANITIZE_RULE: 'Do you want to add sanitization rules for {0}s',
|
|
162
162
|
SANITIZE_KEY: 'Enter a regular expression for {0} keys that values should be sanitized',
|
|
@@ -266,8 +266,8 @@ const askForSampling = async hostedAgentValues => {
|
|
|
266
266
|
});
|
|
267
267
|
|
|
268
268
|
// ask sampling all errorsSN
|
|
269
|
-
hostedAgentValues.sampling.
|
|
270
|
-
msg: SaasPrompts.
|
|
269
|
+
hostedAgentValues.sampling.onlyErrors = (await (0, _basicPrompts.askList)({
|
|
270
|
+
msg: SaasPrompts.SAMP_ONLY_ERRS,
|
|
271
271
|
choices: _types.YesNoChoices
|
|
272
272
|
})) === _types.YesNo.Yes;
|
|
273
273
|
return hostedAgentValues;
|
|
@@ -54,9 +54,9 @@ class AzureDataplaneConfig extends DataplaneConfig {
|
|
|
54
54
|
class Sampling {
|
|
55
55
|
constructor() {
|
|
56
56
|
_defineProperty(this, "percentage", void 0);
|
|
57
|
-
_defineProperty(this, "
|
|
57
|
+
_defineProperty(this, "onlyErrors", void 0);
|
|
58
58
|
this.percentage = 1;
|
|
59
|
-
this.
|
|
59
|
+
this.onlyErrors = true;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
class Sanitize {
|
|
@@ -174,7 +174,7 @@ const SaasPrompts = {
|
|
|
174
174
|
TA_FREQUENCY: 'How often should the traffic collection run, leave blank for manual trigger only',
|
|
175
175
|
QUEUE: 'Do you want to discover immediately after installation',
|
|
176
176
|
SAMP_PERCENTAGE: 'Enter the percentage of transactions to sample',
|
|
177
|
-
|
|
177
|
+
SAMP_ONLY_ERRS: 'Do you want to sample only the error transactions for Business and Consumer Insights',
|
|
178
178
|
REDACT_SHOW: 'Enter a regular expression for {0}s that may be shown',
|
|
179
179
|
ENTER_SANITIZE_RULE: 'Do you want to add sanitization rules for {0}s',
|
|
180
180
|
SANITIZE_KEY: 'Enter a regular expression for {0} keys that values should be sanitized',
|
|
@@ -288,8 +288,8 @@ const askForSampling = async hostedAgentValues => {
|
|
|
288
288
|
});
|
|
289
289
|
|
|
290
290
|
// ask sampling all errorsSN
|
|
291
|
-
hostedAgentValues.sampling.
|
|
292
|
-
msg: SaasPrompts.
|
|
291
|
+
hostedAgentValues.sampling.onlyErrors = (await (0, _basicPrompts.askList)({
|
|
292
|
+
msg: SaasPrompts.SAMP_ONLY_ERRS,
|
|
293
293
|
choices: _types.YesNoChoices
|
|
294
294
|
})) === _types.YesNo.Yes;
|
|
295
295
|
return hostedAgentValues;
|