dcdx 1.3.0-next.13 → 1.3.0-next.14
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 +103 -56
- package/lib/index.js +1 -1
- package/lib/types/src/apt/helpers/getClusterURL.d.ts +1 -1
- package/lib/types/src/apt/helpers/provisionCluster.d.ts +1 -0
- package/lib/types/src/apt/helpers/runScalabilityTest.d.ts +2 -2
- package/lib/types/src/types/DCAPT.d.ts +17 -2
- 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.14";
|
|
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<
|
|
2
|
+
export declare const getClusterURL: (cwd: string, product: TSupportedApplications) => Promise<string>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TAPTScalabilityTestOptions, TScalabilityTestTypes } from '../../types/DCAPT';
|
|
2
|
-
export declare const runScalabilityTest: (stage: TScalabilityTestTypes, options: TAPTScalabilityTestOptions) => Promise<void>;
|
|
1
|
+
import { TAPTScalabilityTestMessages, TAPTScalabilityTestOptions, TScalabilityTestTypes } from '../../types/DCAPT';
|
|
2
|
+
export declare const runScalabilityTest: (stage: TScalabilityTestTypes, options: TAPTScalabilityTestOptions, messages: TAPTScalabilityTestMessages) => Promise<void>;
|
|
@@ -74,37 +74,52 @@ export declare const APTPerformanceTestOptions: z.ZodObject<{
|
|
|
74
74
|
appKey: z.ZodOptional<z.ZodString>;
|
|
75
75
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
76
76
|
appLicense: z.ZodOptional<z.ZodString>;
|
|
77
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
78
|
+
aws_access_key_id: z.ZodOptional<z.ZodString>;
|
|
79
|
+
aws_secret_access_key: z.ZodOptional<z.ZodString>;
|
|
80
|
+
license: z.ZodString;
|
|
77
81
|
}, "strip", z.ZodTypeAny, {
|
|
78
82
|
cwd: string;
|
|
79
83
|
outputDir: string;
|
|
80
84
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
81
85
|
environment: string;
|
|
86
|
+
license: string;
|
|
82
87
|
appKey?: string | undefined;
|
|
83
88
|
force?: boolean | undefined;
|
|
84
89
|
appLicense?: string | undefined;
|
|
90
|
+
baseUrl?: string | undefined;
|
|
91
|
+
aws_access_key_id?: string | undefined;
|
|
92
|
+
aws_secret_access_key?: string | undefined;
|
|
85
93
|
}, {
|
|
86
94
|
cwd: string;
|
|
87
95
|
outputDir: string;
|
|
88
96
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
89
97
|
environment: string;
|
|
98
|
+
license: string;
|
|
90
99
|
appKey?: string | undefined;
|
|
91
100
|
force?: boolean | undefined;
|
|
92
101
|
appLicense?: string | undefined;
|
|
102
|
+
baseUrl?: string | undefined;
|
|
103
|
+
aws_access_key_id?: string | undefined;
|
|
104
|
+
aws_secret_access_key?: string | undefined;
|
|
93
105
|
}>;
|
|
94
106
|
export declare const APTPerformanceTestMessages: z.ZodObject<{
|
|
95
107
|
header: z.ZodFunction<z.ZodTuple<[z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>], z.ZodUnknown>, z.ZodString>;
|
|
108
|
+
readyForProvisioning: z.ZodString;
|
|
96
109
|
startPerformanceTest: z.ZodString;
|
|
97
110
|
startLuceneIndexing: z.ZodOptional<z.ZodString>;
|
|
98
111
|
success: z.ZodString;
|
|
99
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>;
|
|
100
113
|
}, "strip", z.ZodTypeAny, {
|
|
101
114
|
header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", ...args_1: unknown[]) => string;
|
|
115
|
+
readyForProvisioning: string;
|
|
102
116
|
startPerformanceTest: string;
|
|
103
117
|
success: string;
|
|
104
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;
|
|
105
119
|
startLuceneIndexing?: string | undefined;
|
|
106
120
|
}, {
|
|
107
121
|
header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", ...args_1: unknown[]) => string;
|
|
122
|
+
readyForProvisioning: string;
|
|
108
123
|
startPerformanceTest: string;
|
|
109
124
|
success: string;
|
|
110
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;
|
|
@@ -187,15 +202,15 @@ export declare const APTScalabilityTestMessages: z.ZodObject<{
|
|
|
187
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>;
|
|
188
203
|
}, "strip", z.ZodTypeAny, {
|
|
189
204
|
header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", args_1: "one-node" | "two-node" | "four-node", ...args_2: unknown[]) => string;
|
|
205
|
+
readyForProvisioning: string;
|
|
190
206
|
success: string;
|
|
191
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;
|
|
192
|
-
readyForProvisioning: string;
|
|
193
208
|
startScalabilityTest: string;
|
|
194
209
|
}, {
|
|
195
210
|
header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", args_1: "one-node" | "two-node" | "four-node", ...args_2: unknown[]) => string;
|
|
211
|
+
readyForProvisioning: string;
|
|
196
212
|
success: string;
|
|
197
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;
|
|
198
|
-
readyForProvisioning: string;
|
|
199
214
|
startScalabilityTest: string;
|
|
200
215
|
}>;
|
|
201
216
|
export declare const APTScalabilityReportOptions: z.ZodObject<{
|