dcdx 1.3.0-next.2 → 1.3.0-next.21

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/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.2";
6
+ var version = "1.3.0-next.21";
7
7
 
8
8
  const toAbsolutePath = (relativePath) => {
9
9
  const [, filePath] = process.argv;
@@ -1,2 +1,2 @@
1
1
  import { TSupportedApplications } from '../../types/Application';
2
- export declare const getClusterURL: (cwd: string, product: TSupportedApplications) => Promise<any>;
2
+ export declare const getClusterURL: (cwd: string, product: TSupportedApplications) => Promise<string>;
@@ -1 +1 @@
1
- export declare const getOutputDirectory: (timestamp?: string) => string;
1
+ export declare const getOutputDirectory: (cwd?: string, timestamp?: string) => string;
@@ -4,5 +4,6 @@ export declare const provisionCluster: (options: TAPTProvisionOptions, mustUseDe
4
4
  environment: string;
5
5
  aws_access_key_id: string;
6
6
  aws_secret_access_key: string;
7
+ baseUrl: string;
7
8
  license: string;
8
9
  }>;
@@ -0,0 +1,2 @@
1
+ import { TAPTPerformanceTestOptions, TAPTTestMessages, TPerformanceTestTypes } from '../../types/DCAPT';
2
+ export declare const runLuceneTimingTest: (stage: TPerformanceTestTypes, options: TAPTPerformanceTestOptions, messages: TAPTTestMessages) => Promise<void>;
@@ -1,2 +1,2 @@
1
- import { TAPTPerformanceTestMessages, TAPTPerformanceTestOptions, TPerformanceTestTypes } from '../../types/DCAPT';
2
- export declare const runPerformanceTest: (stage: TPerformanceTestTypes, options: TAPTPerformanceTestOptions, messages: TAPTPerformanceTestMessages) => Promise<void>;
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 { TAPTScalabilityTestOptions, TScalabilityTestTypes } from '../../types/DCAPT';
2
- export declare const runScalabilityTest: (stage: TScalabilityTestTypes, options: TAPTScalabilityTestOptions) => Promise<void>;
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 { TAPTPerformanceTestMessages, TAPTScalabilityTestMessages } from '../types/DCAPT';
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: TAPTPerformanceTestMessages;
20
- export declare const Run2: TAPTPerformanceTestMessages;
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: TAPTScalabilityTestMessages;
25
+ export declare const ScalabilityTestMessages: TAPTTestMessages;
25
26
  export declare const ScalabilityReportMessages: {
26
27
  header: string;
27
28
  };
@@ -5,16 +5,38 @@ export declare const TestResults: z.ZodEnum<["path", "Summary run status", "Appl
5
5
  export declare const ReportTypes: z.ZodEnum<["performance", "scalability"]>;
6
6
  export declare const APTReportArgs: z.ZodObject<{
7
7
  type: z.ZodEnum<["performance", "scalability"]>;
8
- timestamp: z.ZodString;
9
8
  cwd: z.ZodString;
9
+ timestamp: z.ZodString;
10
+ outputDir: z.ZodOptional<z.ZodString>;
10
11
  }, "strip", z.ZodTypeAny, {
11
12
  type: "performance" | "scalability";
12
13
  cwd: string;
13
14
  timestamp: string;
15
+ outputDir?: string | undefined;
14
16
  }, {
15
17
  type: "performance" | "scalability";
16
18
  cwd: string;
17
19
  timestamp: string;
20
+ outputDir?: string | undefined;
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;
18
40
  }>;
19
41
  export declare const APTProvisionOptions: z.ZodObject<{
20
42
  cwd: z.ZodString;
@@ -38,6 +60,7 @@ export declare const APTProvisionOptions: z.ZodObject<{
38
60
  export declare const APTPerformanceTestArgs: z.ZodObject<{
39
61
  cwd: z.ZodString;
40
62
  timestamp: z.ZodOptional<z.ZodString>;
63
+ outputDir: z.ZodOptional<z.ZodString>;
41
64
  product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
42
65
  environment: z.ZodString;
43
66
  appKey: z.ZodString;
@@ -50,6 +73,7 @@ export declare const APTPerformanceTestArgs: z.ZodObject<{
50
73
  appKey: string;
51
74
  appLicense: string;
52
75
  timestamp?: string | undefined;
76
+ outputDir?: string | undefined;
53
77
  force?: boolean | undefined;
54
78
  }, {
55
79
  cwd: string;
@@ -58,56 +82,50 @@ export declare const APTPerformanceTestArgs: z.ZodObject<{
58
82
  appKey: string;
59
83
  appLicense: string;
60
84
  timestamp?: string | undefined;
85
+ outputDir?: string | undefined;
61
86
  force?: boolean | undefined;
62
87
  }>;
63
88
  export declare const APTPerformanceTestOptions: z.ZodObject<{
64
89
  cwd: z.ZodString;
90
+ outputDir: z.ZodString;
65
91
  product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
66
92
  environment: z.ZodString;
67
93
  appKey: z.ZodOptional<z.ZodString>;
68
94
  force: z.ZodOptional<z.ZodBoolean>;
69
95
  appLicense: z.ZodOptional<z.ZodString>;
70
- outputDir: z.ZodString;
96
+ baseUrl: z.ZodOptional<z.ZodString>;
97
+ aws_access_key_id: z.ZodOptional<z.ZodString>;
98
+ aws_secret_access_key: z.ZodOptional<z.ZodString>;
99
+ license: z.ZodString;
71
100
  }, "strip", z.ZodTypeAny, {
72
101
  cwd: string;
102
+ outputDir: string;
73
103
  product: "jira" | "confluence" | "bitbucket" | "bamboo";
74
104
  environment: string;
75
- outputDir: string;
105
+ license: string;
76
106
  appKey?: string | undefined;
77
107
  force?: boolean | undefined;
78
108
  appLicense?: string | undefined;
109
+ baseUrl?: string | undefined;
110
+ aws_access_key_id?: string | undefined;
111
+ aws_secret_access_key?: string | undefined;
79
112
  }, {
80
113
  cwd: string;
114
+ outputDir: string;
81
115
  product: "jira" | "confluence" | "bitbucket" | "bamboo";
82
116
  environment: string;
83
- outputDir: string;
117
+ license: string;
84
118
  appKey?: string | undefined;
85
119
  force?: boolean | undefined;
86
120
  appLicense?: string | undefined;
87
- }>;
88
- export declare const APTPerformanceTestMessages: z.ZodObject<{
89
- header: z.ZodFunction<z.ZodTuple<[z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>], z.ZodUnknown>, z.ZodString>;
90
- startPerformanceTest: z.ZodString;
91
- startLuceneIndexing: z.ZodOptional<z.ZodString>;
92
- success: z.ZodString;
93
- 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>;
94
- }, "strip", z.ZodTypeAny, {
95
- header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", ...args_1: unknown[]) => string;
96
- startPerformanceTest: string;
97
- success: string;
98
- 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;
99
- startLuceneIndexing?: string | undefined;
100
- }, {
101
- header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", ...args_1: unknown[]) => string;
102
- startPerformanceTest: string;
103
- success: string;
104
- 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;
105
- startLuceneIndexing?: string | undefined;
121
+ baseUrl?: string | undefined;
122
+ aws_access_key_id?: string | undefined;
123
+ aws_secret_access_key?: string | undefined;
106
124
  }>;
107
125
  export declare const APTPerformanceReportOptions: z.ZodObject<{
108
126
  cwd: z.ZodString;
109
- force: z.ZodOptional<z.ZodBoolean>;
110
127
  outputDir: z.ZodString;
128
+ force: z.ZodOptional<z.ZodBoolean>;
111
129
  }, "strip", z.ZodTypeAny, {
112
130
  cwd: string;
113
131
  outputDir: string;
@@ -120,6 +138,7 @@ export declare const APTPerformanceReportOptions: z.ZodObject<{
120
138
  export declare const APTScalabilityTestArgs: z.ZodObject<{
121
139
  cwd: z.ZodString;
122
140
  timestamp: z.ZodOptional<z.ZodString>;
141
+ outputDir: z.ZodOptional<z.ZodString>;
123
142
  product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
124
143
  environment: z.ZodString;
125
144
  appKey: z.ZodString;
@@ -131,6 +150,7 @@ export declare const APTScalabilityTestArgs: z.ZodObject<{
131
150
  environment: string;
132
151
  appKey: string;
133
152
  timestamp?: string | undefined;
153
+ outputDir?: string | undefined;
134
154
  force?: boolean | undefined;
135
155
  appLicense?: string | undefined;
136
156
  }, {
@@ -139,60 +159,42 @@ export declare const APTScalabilityTestArgs: z.ZodObject<{
139
159
  environment: string;
140
160
  appKey: string;
141
161
  timestamp?: string | undefined;
162
+ outputDir?: string | undefined;
142
163
  force?: boolean | undefined;
143
164
  appLicense?: string | undefined;
144
165
  }>;
145
166
  export declare const APTScalabilityTestOptions: z.ZodObject<{
146
167
  cwd: z.ZodString;
168
+ outputDir: z.ZodString;
147
169
  product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
148
170
  environment: z.ZodString;
149
171
  appKey: z.ZodOptional<z.ZodString>;
150
172
  force: z.ZodOptional<z.ZodBoolean>;
151
173
  appLicense: z.ZodOptional<z.ZodString>;
152
- outputDir: z.ZodString;
153
174
  license: z.ZodString;
154
175
  }, "strip", z.ZodTypeAny, {
155
176
  cwd: string;
177
+ outputDir: string;
156
178
  product: "jira" | "confluence" | "bitbucket" | "bamboo";
157
179
  environment: string;
158
- outputDir: string;
159
180
  license: string;
160
181
  appKey?: string | undefined;
161
182
  force?: boolean | undefined;
162
183
  appLicense?: string | undefined;
163
184
  }, {
164
185
  cwd: string;
186
+ outputDir: string;
165
187
  product: "jira" | "confluence" | "bitbucket" | "bamboo";
166
188
  environment: string;
167
- outputDir: string;
168
189
  license: string;
169
190
  appKey?: string | undefined;
170
191
  force?: boolean | undefined;
171
192
  appLicense?: string | undefined;
172
193
  }>;
173
- export declare const APTScalabilityTestMessages: z.ZodObject<{
174
- header: z.ZodFunction<z.ZodTuple<[z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>, z.ZodEnum<["one-node", "two-node", "four-node"]>], z.ZodUnknown>, z.ZodString>;
175
- readyForProvisioning: z.ZodString;
176
- startScalabilityTest: z.ZodString;
177
- success: z.ZodString;
178
- 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>;
179
- }, "strip", z.ZodTypeAny, {
180
- header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", args_1: "one-node" | "two-node" | "four-node", ...args_2: unknown[]) => string;
181
- success: string;
182
- 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;
183
- readyForProvisioning: string;
184
- startScalabilityTest: string;
185
- }, {
186
- header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", args_1: "one-node" | "two-node" | "four-node", ...args_2: unknown[]) => string;
187
- success: string;
188
- 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;
189
- readyForProvisioning: string;
190
- startScalabilityTest: string;
191
- }>;
192
194
  export declare const APTScalabilityReportOptions: z.ZodObject<{
193
195
  cwd: z.ZodString;
194
- force: z.ZodOptional<z.ZodBoolean>;
195
196
  outputDir: z.ZodString;
197
+ force: z.ZodOptional<z.ZodBoolean>;
196
198
  }, "strip", z.ZodTypeAny, {
197
199
  cwd: string;
198
200
  outputDir: string;
@@ -261,6 +263,7 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
261
263
  }>, z.ZodObject<{
262
264
  cwd: z.ZodString;
263
265
  timestamp: z.ZodOptional<z.ZodString>;
266
+ outputDir: z.ZodOptional<z.ZodString>;
264
267
  product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
265
268
  environment: z.ZodString;
266
269
  appKey: z.ZodString;
@@ -273,6 +276,7 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
273
276
  appKey: string;
274
277
  appLicense: string;
275
278
  timestamp?: string | undefined;
279
+ outputDir?: string | undefined;
276
280
  force?: boolean | undefined;
277
281
  }, {
278
282
  cwd: string;
@@ -281,20 +285,20 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
281
285
  appKey: string;
282
286
  appLicense: string;
283
287
  timestamp?: string | undefined;
288
+ outputDir?: string | undefined;
284
289
  force?: boolean | undefined;
285
290
  }>>;
286
291
  export type TAPTArgs = z.infer<typeof APTArgs>;
292
+ export type TAPTTestMessages = z.infer<typeof APTTestMessages>;
287
293
  export type TAPTProvisionOptions = z.infer<typeof APTProvisionOptions>;
288
294
  export type TAPTReportArgs = z.infer<typeof APTReportArgs>;
289
295
  export type TPerformanceTestTypes = z.infer<typeof PerformanceTestTypes>;
290
296
  export type TAPTPerformanceTestArgs = z.infer<typeof APTPerformanceTestArgs>;
291
297
  export type TAPTPerformanceTestOptions = z.infer<typeof APTPerformanceTestOptions>;
292
- export type TAPTPerformanceTestMessages = z.infer<typeof APTPerformanceTestMessages>;
293
298
  export type TAPTPerformanceReportOptions = z.infer<typeof APTPerformanceReportOptions>;
294
299
  export type TScalabilityTestTypes = z.infer<typeof ScalabilityTestTypes>;
295
300
  export type TAPTScalabilityTestArgs = z.infer<typeof APTScalabilityTestArgs>;
296
301
  export type TAPTScalabilityTestOptions = z.infer<typeof APTScalabilityTestOptions>;
297
- export type TAPTScalabilityTestMessages = z.infer<typeof APTScalabilityTestMessages>;
298
302
  export type TAPTScalabilityReportOptions = z.infer<typeof APTScalabilityReportOptions>;
299
303
  export type TAPTTeardownArgs = z.infer<typeof APTTeardownArgs>;
300
304
  export type TAPTTeardownOptions = z.infer<typeof APTTeardownOptions>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcdx",
3
- "version": "1.3.0-next.2",
3
+ "version": "1.3.0-next.21",
4
4
  "author": "Collabsoft <info@collabsoft.net>",
5
5
  "description": "The Unofficial CLI for Atlassian Data Center Plugin Development",
6
6
  "type": "module",