dcdx 1.3.0-next.15 → 1.3.0-next.17
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.
- package/lib/commands/apt.js +301 -196
- package/lib/index.js +1 -1
- package/lib/types/src/apt/helpers/runLuceneTimingTest.d.ts +2 -0
- package/lib/types/src/apt/helpers/runPerformanceTest.d.ts +2 -2
- package/lib/types/src/apt/helpers/runScalabilityTest.d.ts +2 -2
- package/lib/types/src/apt/messages.d.ts +5 -4
- package/lib/types/src/types/DCAPT.d.ts +20 -43
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { program } from 'commander';
|
|
|
3
3
|
import { realpathSync, existsSync } from 'fs';
|
|
4
4
|
import { dirname, join } from 'path';
|
|
5
5
|
|
|
6
|
-
var version = "1.3.0-next.
|
|
6
|
+
var version = "1.3.0-next.17";
|
|
7
7
|
|
|
8
8
|
const toAbsolutePath = (relativePath) => {
|
|
9
9
|
const [, filePath] = process.argv;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const runPerformanceTest: (stage: TPerformanceTestTypes, options: TAPTPerformanceTestOptions, messages:
|
|
1
|
+
import { TAPTPerformanceTestOptions, TAPTTestMessages, TPerformanceTestTypes } from '../../types/DCAPT';
|
|
2
|
+
export declare const runPerformanceTest: (stage: TPerformanceTestTypes, options: TAPTPerformanceTestOptions, messages: TAPTTestMessages) => Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const runScalabilityTest: (stage: TScalabilityTestTypes, options: TAPTScalabilityTestOptions, messages:
|
|
1
|
+
import { TAPTScalabilityTestOptions, TAPTTestMessages, TScalabilityTestTypes } from '../../types/DCAPT';
|
|
2
|
+
export declare const runScalabilityTest: (stage: TScalabilityTestTypes, options: TAPTScalabilityTestOptions, messages: TAPTTestMessages) => Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TSupportedApplications } from '../types/Application';
|
|
2
|
-
import {
|
|
2
|
+
import { TAPTTestMessages } from '../types/DCAPT';
|
|
3
3
|
export declare const emptyLine: () => void;
|
|
4
4
|
export declare const generic: {
|
|
5
5
|
header: string;
|
|
@@ -16,12 +16,13 @@ export declare const provisioning: {
|
|
|
16
16
|
awsCredentialsPersisted: string;
|
|
17
17
|
terraformConfigurationPersisted: string;
|
|
18
18
|
};
|
|
19
|
-
export declare const Run1:
|
|
20
|
-
export declare const Run2:
|
|
19
|
+
export declare const Run1: TAPTTestMessages;
|
|
20
|
+
export declare const Run2: TAPTTestMessages;
|
|
21
|
+
export declare const LuceneTimingTest: TAPTTestMessages;
|
|
21
22
|
export declare const PerformanceReportMessages: {
|
|
22
23
|
header: string;
|
|
23
24
|
};
|
|
24
|
-
export declare const ScalabilityTestMessages:
|
|
25
|
+
export declare const ScalabilityTestMessages: TAPTTestMessages;
|
|
25
26
|
export declare const ScalabilityReportMessages: {
|
|
26
27
|
header: string;
|
|
27
28
|
};
|
|
@@ -19,6 +19,25 @@ export declare const APTReportArgs: z.ZodObject<{
|
|
|
19
19
|
timestamp: string;
|
|
20
20
|
outputDir?: string | undefined;
|
|
21
21
|
}>;
|
|
22
|
+
export declare const APTTestMessages: z.ZodObject<{
|
|
23
|
+
header: z.ZodFunction<z.ZodTuple<[z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>, z.ZodUnion<[z.ZodEnum<["baseline", "regression"]>, z.ZodEnum<["one-node", "two-node", "four-node"]>]>], z.ZodUnknown>, z.ZodString>;
|
|
24
|
+
readyForProvisioning: z.ZodString;
|
|
25
|
+
startTest: z.ZodString;
|
|
26
|
+
success: z.ZodString;
|
|
27
|
+
failure: z.ZodFunction<z.ZodTuple<[z.ZodUnion<[z.ZodEnum<["baseline", "regression"]>, z.ZodEnum<["one-node", "two-node", "four-node"]>]>, z.ZodString, z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>, z.ZodString, z.ZodString, z.ZodRecord<z.ZodEnum<["path", "Summary run status", "Application nodes count", "Finished", "Compliant", "Success", "Has app-specific actions"]>, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>], z.ZodUnknown>, z.ZodUnknown>;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", args_1: "baseline" | "regression" | "one-node" | "two-node" | "four-node", ...args_2: unknown[]) => string;
|
|
30
|
+
readyForProvisioning: string;
|
|
31
|
+
startTest: string;
|
|
32
|
+
success: string;
|
|
33
|
+
failure: (args_0: "baseline" | "regression" | "one-node" | "two-node" | "four-node", args_1: string, args_2: "jira" | "confluence" | "bitbucket" | "bamboo", args_3: string, args_4: string, args_5: Partial<Record<"path" | "Summary run status" | "Application nodes count" | "Finished" | "Compliant" | "Success" | "Has app-specific actions", string | undefined>>, ...args_6: unknown[]) => unknown;
|
|
34
|
+
}, {
|
|
35
|
+
header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", args_1: "baseline" | "regression" | "one-node" | "two-node" | "four-node", ...args_2: unknown[]) => string;
|
|
36
|
+
readyForProvisioning: string;
|
|
37
|
+
startTest: string;
|
|
38
|
+
success: string;
|
|
39
|
+
failure: (args_0: "baseline" | "regression" | "one-node" | "two-node" | "four-node", args_1: string, args_2: "jira" | "confluence" | "bitbucket" | "bamboo", args_3: string, args_4: string, args_5: Partial<Record<"path" | "Summary run status" | "Application nodes count" | "Finished" | "Compliant" | "Success" | "Has app-specific actions", string | undefined>>, ...args_6: unknown[]) => unknown;
|
|
40
|
+
}>;
|
|
22
41
|
export declare const APTProvisionOptions: z.ZodObject<{
|
|
23
42
|
cwd: z.ZodString;
|
|
24
43
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
@@ -103,28 +122,6 @@ export declare const APTPerformanceTestOptions: z.ZodObject<{
|
|
|
103
122
|
aws_access_key_id?: string | undefined;
|
|
104
123
|
aws_secret_access_key?: string | undefined;
|
|
105
124
|
}>;
|
|
106
|
-
export declare const APTPerformanceTestMessages: z.ZodObject<{
|
|
107
|
-
header: z.ZodFunction<z.ZodTuple<[z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>], z.ZodUnknown>, z.ZodString>;
|
|
108
|
-
readyForProvisioning: z.ZodString;
|
|
109
|
-
startPerformanceTest: z.ZodString;
|
|
110
|
-
startLuceneIndexing: z.ZodOptional<z.ZodString>;
|
|
111
|
-
success: z.ZodString;
|
|
112
|
-
failure: z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>, z.ZodString, z.ZodString, z.ZodRecord<z.ZodEnum<["path", "Summary run status", "Application nodes count", "Finished", "Compliant", "Success", "Has app-specific actions"]>, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>], z.ZodUnknown>, z.ZodUnknown>;
|
|
113
|
-
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", ...args_1: unknown[]) => string;
|
|
115
|
-
readyForProvisioning: string;
|
|
116
|
-
startPerformanceTest: string;
|
|
117
|
-
success: string;
|
|
118
|
-
failure: (args_0: string, args_1: "jira" | "confluence" | "bitbucket" | "bamboo", args_2: string, args_3: string, args_4: Partial<Record<"path" | "Summary run status" | "Application nodes count" | "Finished" | "Compliant" | "Success" | "Has app-specific actions", string | undefined>>, ...args_5: unknown[]) => unknown;
|
|
119
|
-
startLuceneIndexing?: string | undefined;
|
|
120
|
-
}, {
|
|
121
|
-
header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", ...args_1: unknown[]) => string;
|
|
122
|
-
readyForProvisioning: string;
|
|
123
|
-
startPerformanceTest: string;
|
|
124
|
-
success: string;
|
|
125
|
-
failure: (args_0: string, args_1: "jira" | "confluence" | "bitbucket" | "bamboo", args_2: string, args_3: string, args_4: Partial<Record<"path" | "Summary run status" | "Application nodes count" | "Finished" | "Compliant" | "Success" | "Has app-specific actions", string | undefined>>, ...args_5: unknown[]) => unknown;
|
|
126
|
-
startLuceneIndexing?: string | undefined;
|
|
127
|
-
}>;
|
|
128
125
|
export declare const APTPerformanceReportOptions: z.ZodObject<{
|
|
129
126
|
cwd: z.ZodString;
|
|
130
127
|
outputDir: z.ZodString;
|
|
@@ -194,25 +191,6 @@ export declare const APTScalabilityTestOptions: z.ZodObject<{
|
|
|
194
191
|
force?: boolean | undefined;
|
|
195
192
|
appLicense?: string | undefined;
|
|
196
193
|
}>;
|
|
197
|
-
export declare const APTScalabilityTestMessages: z.ZodObject<{
|
|
198
|
-
header: z.ZodFunction<z.ZodTuple<[z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>, z.ZodEnum<["one-node", "two-node", "four-node"]>], z.ZodUnknown>, z.ZodString>;
|
|
199
|
-
readyForProvisioning: z.ZodString;
|
|
200
|
-
startScalabilityTest: z.ZodString;
|
|
201
|
-
success: z.ZodString;
|
|
202
|
-
failure: z.ZodFunction<z.ZodTuple<[z.ZodEnum<["one-node", "two-node", "four-node"]>, z.ZodString, z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>, z.ZodString, z.ZodString, z.ZodRecord<z.ZodEnum<["path", "Summary run status", "Application nodes count", "Finished", "Compliant", "Success", "Has app-specific actions"]>, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>], z.ZodUnknown>, z.ZodUnknown>;
|
|
203
|
-
}, "strip", z.ZodTypeAny, {
|
|
204
|
-
header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", args_1: "one-node" | "two-node" | "four-node", ...args_2: unknown[]) => string;
|
|
205
|
-
readyForProvisioning: string;
|
|
206
|
-
success: string;
|
|
207
|
-
failure: (args_0: "one-node" | "two-node" | "four-node", args_1: string, args_2: "jira" | "confluence" | "bitbucket" | "bamboo", args_3: string, args_4: string, args_5: Partial<Record<"path" | "Summary run status" | "Application nodes count" | "Finished" | "Compliant" | "Success" | "Has app-specific actions", string | undefined>>, ...args_6: unknown[]) => unknown;
|
|
208
|
-
startScalabilityTest: string;
|
|
209
|
-
}, {
|
|
210
|
-
header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", args_1: "one-node" | "two-node" | "four-node", ...args_2: unknown[]) => string;
|
|
211
|
-
readyForProvisioning: string;
|
|
212
|
-
success: string;
|
|
213
|
-
failure: (args_0: "one-node" | "two-node" | "four-node", args_1: string, args_2: "jira" | "confluence" | "bitbucket" | "bamboo", args_3: string, args_4: string, args_5: Partial<Record<"path" | "Summary run status" | "Application nodes count" | "Finished" | "Compliant" | "Success" | "Has app-specific actions", string | undefined>>, ...args_6: unknown[]) => unknown;
|
|
214
|
-
startScalabilityTest: string;
|
|
215
|
-
}>;
|
|
216
194
|
export declare const APTScalabilityReportOptions: z.ZodObject<{
|
|
217
195
|
cwd: z.ZodString;
|
|
218
196
|
outputDir: z.ZodString;
|
|
@@ -311,17 +289,16 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
311
289
|
force?: boolean | undefined;
|
|
312
290
|
}>>;
|
|
313
291
|
export type TAPTArgs = z.infer<typeof APTArgs>;
|
|
292
|
+
export type TAPTTestMessages = z.infer<typeof APTTestMessages>;
|
|
314
293
|
export type TAPTProvisionOptions = z.infer<typeof APTProvisionOptions>;
|
|
315
294
|
export type TAPTReportArgs = z.infer<typeof APTReportArgs>;
|
|
316
295
|
export type TPerformanceTestTypes = z.infer<typeof PerformanceTestTypes>;
|
|
317
296
|
export type TAPTPerformanceTestArgs = z.infer<typeof APTPerformanceTestArgs>;
|
|
318
297
|
export type TAPTPerformanceTestOptions = z.infer<typeof APTPerformanceTestOptions>;
|
|
319
|
-
export type TAPTPerformanceTestMessages = z.infer<typeof APTPerformanceTestMessages>;
|
|
320
298
|
export type TAPTPerformanceReportOptions = z.infer<typeof APTPerformanceReportOptions>;
|
|
321
299
|
export type TScalabilityTestTypes = z.infer<typeof ScalabilityTestTypes>;
|
|
322
300
|
export type TAPTScalabilityTestArgs = z.infer<typeof APTScalabilityTestArgs>;
|
|
323
301
|
export type TAPTScalabilityTestOptions = z.infer<typeof APTScalabilityTestOptions>;
|
|
324
|
-
export type TAPTScalabilityTestMessages = z.infer<typeof APTScalabilityTestMessages>;
|
|
325
302
|
export type TAPTScalabilityReportOptions = z.infer<typeof APTScalabilityReportOptions>;
|
|
326
303
|
export type TAPTTeardownArgs = z.infer<typeof APTTeardownArgs>;
|
|
327
304
|
export type TAPTTeardownOptions = z.infer<typeof APTTeardownOptions>;
|