dcdx 1.3.0-next.55 → 1.3.0-next.57
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/assets/versions.json +1 -1
- package/lib/commands/apt.js +351 -54
- package/lib/commands/build.js +82 -25
- package/lib/commands/configure.js +66 -33
- package/lib/commands/database.js +5 -2
- package/lib/commands/debug.js +250 -70
- package/lib/commands/install.js +104 -31
- package/lib/commands/reset.js +178 -35
- package/lib/commands/run.js +178 -35
- package/lib/commands/stop.js +178 -35
- package/lib/index.js +1 -1
- package/lib/types/src/applications/base.d.ts +2 -0
- package/lib/types/src/apt/helpers/persistClusterConfiguration.d.ts +2 -1
- package/lib/types/src/databases/base.d.ts +1 -0
- package/lib/types/src/helpers/PAT.d.ts +10 -0
- package/lib/types/src/helpers/upm.d.ts +1 -1
- package/lib/types/src/types/Config.d.ts +58 -16
- package/lib/types/src/types/Configure.d.ts +36 -4
- package/lib/types/src/types/DCAPT.d.ts +28 -0
- package/lib/types/src/types/Database.d.ts +1 -0
- package/lib/types/src/types/Install.d.ts +18 -0
- package/package.json +2 -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.57";
|
|
7
7
|
|
|
8
8
|
const toAbsolutePath = (relativePath) => {
|
|
9
9
|
const [, filePath] = process.argv;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { TAPTProvisionOptions } from '../../types/DCAPT';
|
|
2
|
+
export declare const persistClusterConfiguration: (options: TAPTProvisionOptions) => void;
|
|
@@ -5,6 +5,7 @@ export declare abstract class Base implements DatabaseEngine {
|
|
|
5
5
|
private sequelize;
|
|
6
6
|
abstract get url(): string;
|
|
7
7
|
constructor(options: TDatabaseOptions);
|
|
8
|
+
select<T extends object>(query: string, values?: Array<unknown>): Promise<Array<T>>;
|
|
8
9
|
run(sql: string | {
|
|
9
10
|
query: string;
|
|
10
11
|
values: unknown[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const uploadToUPM: (baseUrl: string, path: string, username?: string, password?: string, verbose?: boolean) => Promise<boolean>;
|
|
1
|
+
export declare const uploadToUPM: (baseUrl: string, path: string, username?: string, password?: string, pat?: string, verbose?: boolean) => Promise<boolean>;
|
|
2
2
|
export declare const waitForPluginToBeEnabled: (appKey: string, baseUrl: string, username?: string, password?: string, verbose?: boolean) => Promise<boolean>;
|
|
3
3
|
export declare const registerLicense: (appKey: string, license: string, baseUrl: string, username?: string, password?: string, verbose?: boolean) => Promise<boolean>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const Config: z.ZodObject<{
|
|
2
|
+
export declare const Config: z.ZodDefault<z.ZodObject<{
|
|
3
3
|
setup: z.ZodObject<{
|
|
4
|
-
jira: z.ZodOptional<z.ZodObject<{
|
|
4
|
+
jira: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
5
5
|
username: z.ZodString;
|
|
6
6
|
password: z.ZodString;
|
|
7
7
|
title: z.ZodString;
|
|
@@ -73,8 +73,8 @@ export declare const Config: z.ZodObject<{
|
|
|
73
73
|
emailPassword?: string | undefined;
|
|
74
74
|
language?: "en-US" | "zh_CN" | "cs_CZ" | "da_DK" | "nl_NL" | "en_UK" | "et_EE" | "fi_FI" | "fr_FR" | "de_DE" | "hu_HU" | "is_IS" | "it_IT" | "ja_JP" | "ko_KR" | "no_NO" | "pl_PL" | "pt_BR" | "ro_RO" | "ru_RU" | "sk_SK" | "es_ES" | "sv_SE" | undefined;
|
|
75
75
|
avatarPath?: string | undefined;
|
|
76
|
-
}
|
|
77
|
-
confluence: z.ZodOptional<z.ZodObject<{
|
|
76
|
+
}>>>;
|
|
77
|
+
confluence: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
78
78
|
username: z.ZodString;
|
|
79
79
|
password: z.ZodString;
|
|
80
80
|
baseUrl: z.ZodString;
|
|
@@ -128,9 +128,27 @@ export declare const Config: z.ZodObject<{
|
|
|
128
128
|
jiraPassword?: string | undefined;
|
|
129
129
|
jiraUserGroups?: string | undefined;
|
|
130
130
|
jiraAdminGroups?: string | undefined;
|
|
131
|
-
}
|
|
132
|
-
bamboo: z.ZodOptional<z.ZodObject<
|
|
133
|
-
|
|
131
|
+
}>>>;
|
|
132
|
+
bamboo: z.ZodOptional<z.ZodDefault<z.ZodObject<z.objectUtil.extendShape<{
|
|
133
|
+
username: z.ZodString;
|
|
134
|
+
password: z.ZodString;
|
|
135
|
+
}, {}>, "strip", z.ZodTypeAny, {
|
|
136
|
+
username: string;
|
|
137
|
+
password: string;
|
|
138
|
+
}, {
|
|
139
|
+
username: string;
|
|
140
|
+
password: string;
|
|
141
|
+
}>>>;
|
|
142
|
+
bitbucket: z.ZodOptional<z.ZodDefault<z.ZodObject<z.objectUtil.extendShape<{
|
|
143
|
+
username: z.ZodString;
|
|
144
|
+
password: z.ZodString;
|
|
145
|
+
}, {}>, "strip", z.ZodTypeAny, {
|
|
146
|
+
username: string;
|
|
147
|
+
password: string;
|
|
148
|
+
}, {
|
|
149
|
+
username: string;
|
|
150
|
+
password: string;
|
|
151
|
+
}>>>;
|
|
134
152
|
}, "strip", z.ZodTypeAny, {
|
|
135
153
|
jira?: {
|
|
136
154
|
username: string;
|
|
@@ -176,8 +194,14 @@ export declare const Config: z.ZodObject<{
|
|
|
176
194
|
jiraUserGroups?: string | undefined;
|
|
177
195
|
jiraAdminGroups?: string | undefined;
|
|
178
196
|
} | undefined;
|
|
179
|
-
bitbucket?: {
|
|
180
|
-
|
|
197
|
+
bitbucket?: {
|
|
198
|
+
username: string;
|
|
199
|
+
password: string;
|
|
200
|
+
} | undefined;
|
|
201
|
+
bamboo?: {
|
|
202
|
+
username: string;
|
|
203
|
+
password: string;
|
|
204
|
+
} | undefined;
|
|
181
205
|
}, {
|
|
182
206
|
jira?: {
|
|
183
207
|
username: string;
|
|
@@ -223,8 +247,14 @@ export declare const Config: z.ZodObject<{
|
|
|
223
247
|
jiraUserGroups?: string | undefined;
|
|
224
248
|
jiraAdminGroups?: string | undefined;
|
|
225
249
|
} | undefined;
|
|
226
|
-
bitbucket?: {
|
|
227
|
-
|
|
250
|
+
bitbucket?: {
|
|
251
|
+
username: string;
|
|
252
|
+
password: string;
|
|
253
|
+
} | undefined;
|
|
254
|
+
bamboo?: {
|
|
255
|
+
username: string;
|
|
256
|
+
password: string;
|
|
257
|
+
} | undefined;
|
|
228
258
|
}>;
|
|
229
259
|
}, "strip", z.ZodTypeAny, {
|
|
230
260
|
setup: {
|
|
@@ -272,8 +302,14 @@ export declare const Config: z.ZodObject<{
|
|
|
272
302
|
jiraUserGroups?: string | undefined;
|
|
273
303
|
jiraAdminGroups?: string | undefined;
|
|
274
304
|
} | undefined;
|
|
275
|
-
bitbucket?: {
|
|
276
|
-
|
|
305
|
+
bitbucket?: {
|
|
306
|
+
username: string;
|
|
307
|
+
password: string;
|
|
308
|
+
} | undefined;
|
|
309
|
+
bamboo?: {
|
|
310
|
+
username: string;
|
|
311
|
+
password: string;
|
|
312
|
+
} | undefined;
|
|
277
313
|
};
|
|
278
314
|
}, {
|
|
279
315
|
setup: {
|
|
@@ -321,8 +357,14 @@ export declare const Config: z.ZodObject<{
|
|
|
321
357
|
jiraUserGroups?: string | undefined;
|
|
322
358
|
jiraAdminGroups?: string | undefined;
|
|
323
359
|
} | undefined;
|
|
324
|
-
bitbucket?: {
|
|
325
|
-
|
|
360
|
+
bitbucket?: {
|
|
361
|
+
username: string;
|
|
362
|
+
password: string;
|
|
363
|
+
} | undefined;
|
|
364
|
+
bamboo?: {
|
|
365
|
+
username: string;
|
|
366
|
+
password: string;
|
|
367
|
+
} | undefined;
|
|
326
368
|
};
|
|
327
|
-
}
|
|
369
|
+
}>>;
|
|
328
370
|
export type DCDX = z.infer<typeof Config>;
|
|
@@ -12,7 +12,17 @@ export declare const ConfigureOptions: z.ZodObject<{
|
|
|
12
12
|
cwd?: string | undefined;
|
|
13
13
|
config?: string | undefined;
|
|
14
14
|
}>;
|
|
15
|
-
export declare const
|
|
15
|
+
export declare const ConfigureBase: z.ZodObject<{
|
|
16
|
+
username: z.ZodString;
|
|
17
|
+
password: z.ZodString;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
username: string;
|
|
20
|
+
password: string;
|
|
21
|
+
}, {
|
|
22
|
+
username: string;
|
|
23
|
+
password: string;
|
|
24
|
+
}>;
|
|
25
|
+
export declare const ConfigureJira: z.ZodDefault<z.ZodObject<{
|
|
16
26
|
username: z.ZodString;
|
|
17
27
|
password: z.ZodString;
|
|
18
28
|
title: z.ZodString;
|
|
@@ -84,8 +94,8 @@ export declare const ConfigureJira: z.ZodObject<{
|
|
|
84
94
|
emailPassword?: string | undefined;
|
|
85
95
|
language?: "en-US" | "zh_CN" | "cs_CZ" | "da_DK" | "nl_NL" | "en_UK" | "et_EE" | "fi_FI" | "fr_FR" | "de_DE" | "hu_HU" | "is_IS" | "it_IT" | "ja_JP" | "ko_KR" | "no_NO" | "pl_PL" | "pt_BR" | "ro_RO" | "ru_RU" | "sk_SK" | "es_ES" | "sv_SE" | undefined;
|
|
86
96
|
avatarPath?: string | undefined;
|
|
87
|
-
}
|
|
88
|
-
export declare const ConfigureConfluence: z.ZodObject<{
|
|
97
|
+
}>>;
|
|
98
|
+
export declare const ConfigureConfluence: z.ZodDefault<z.ZodObject<{
|
|
89
99
|
username: z.ZodString;
|
|
90
100
|
password: z.ZodString;
|
|
91
101
|
baseUrl: z.ZodString;
|
|
@@ -139,7 +149,29 @@ export declare const ConfigureConfluence: z.ZodObject<{
|
|
|
139
149
|
jiraPassword?: string | undefined;
|
|
140
150
|
jiraUserGroups?: string | undefined;
|
|
141
151
|
jiraAdminGroups?: string | undefined;
|
|
142
|
-
}
|
|
152
|
+
}>>;
|
|
153
|
+
export declare const ConfigureBitbucket: z.ZodDefault<z.ZodObject<z.objectUtil.extendShape<{
|
|
154
|
+
username: z.ZodString;
|
|
155
|
+
password: z.ZodString;
|
|
156
|
+
}, {}>, "strip", z.ZodTypeAny, {
|
|
157
|
+
username: string;
|
|
158
|
+
password: string;
|
|
159
|
+
}, {
|
|
160
|
+
username: string;
|
|
161
|
+
password: string;
|
|
162
|
+
}>>;
|
|
163
|
+
export declare const ConfigureBamboo: z.ZodDefault<z.ZodObject<z.objectUtil.extendShape<{
|
|
164
|
+
username: z.ZodString;
|
|
165
|
+
password: z.ZodString;
|
|
166
|
+
}, {}>, "strip", z.ZodTypeAny, {
|
|
167
|
+
username: string;
|
|
168
|
+
password: string;
|
|
169
|
+
}, {
|
|
170
|
+
username: string;
|
|
171
|
+
password: string;
|
|
172
|
+
}>>;
|
|
143
173
|
export type TConfigureOptions = z.infer<typeof ConfigureOptions>;
|
|
144
174
|
export type TConfigureJira = z.infer<typeof ConfigureJira>;
|
|
145
175
|
export type TConfigureConfluence = z.infer<typeof ConfigureConfluence>;
|
|
176
|
+
export type TConfigureBitbucket = z.infer<typeof ConfigureBitbucket>;
|
|
177
|
+
export type TConfigureBamboo = z.infer<typeof ConfigureBamboo>;
|
|
@@ -23,6 +23,7 @@ export declare const APTTestMessages: z.ZodObject<{
|
|
|
23
23
|
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;
|
|
24
24
|
}>;
|
|
25
25
|
export declare const APTProvisionArgs: z.ZodObject<{
|
|
26
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
26
27
|
cwd: z.ZodString;
|
|
27
28
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
28
29
|
environment: z.ZodString;
|
|
@@ -34,6 +35,7 @@ export declare const APTProvisionArgs: z.ZodObject<{
|
|
|
34
35
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
35
36
|
environment: string;
|
|
36
37
|
nodes: number;
|
|
38
|
+
tag?: string | undefined;
|
|
37
39
|
license?: string | undefined;
|
|
38
40
|
force?: boolean | undefined;
|
|
39
41
|
}, {
|
|
@@ -41,10 +43,12 @@ export declare const APTProvisionArgs: z.ZodObject<{
|
|
|
41
43
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
42
44
|
environment: string;
|
|
43
45
|
nodes: number;
|
|
46
|
+
tag?: string | undefined;
|
|
44
47
|
license?: string | undefined;
|
|
45
48
|
force?: boolean | undefined;
|
|
46
49
|
}>;
|
|
47
50
|
export declare const APTProvisionOptions: z.ZodObject<{
|
|
51
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
48
52
|
cwd: z.ZodString;
|
|
49
53
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
50
54
|
environment: z.ZodOptional<z.ZodString>;
|
|
@@ -54,6 +58,7 @@ export declare const APTProvisionOptions: z.ZodObject<{
|
|
|
54
58
|
}, "strip", z.ZodTypeAny, {
|
|
55
59
|
cwd: string;
|
|
56
60
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
61
|
+
tag?: string | undefined;
|
|
57
62
|
environment?: string | undefined;
|
|
58
63
|
license?: string | undefined;
|
|
59
64
|
nodes?: number | undefined;
|
|
@@ -61,12 +66,14 @@ export declare const APTProvisionOptions: z.ZodObject<{
|
|
|
61
66
|
}, {
|
|
62
67
|
cwd: string;
|
|
63
68
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
69
|
+
tag?: string | undefined;
|
|
64
70
|
environment?: string | undefined;
|
|
65
71
|
license?: string | undefined;
|
|
66
72
|
nodes?: number | undefined;
|
|
67
73
|
force?: boolean | undefined;
|
|
68
74
|
}>;
|
|
69
75
|
export declare const APTPerformanceTestArgs: z.ZodObject<{
|
|
76
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
70
77
|
cwd: z.ZodString;
|
|
71
78
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
72
79
|
environment: z.ZodString;
|
|
@@ -83,6 +90,7 @@ export declare const APTPerformanceTestArgs: z.ZodObject<{
|
|
|
83
90
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
84
91
|
environment: string;
|
|
85
92
|
appLicense: string;
|
|
93
|
+
tag?: string | undefined;
|
|
86
94
|
license?: string | undefined;
|
|
87
95
|
force?: boolean | undefined;
|
|
88
96
|
outputDir?: string | undefined;
|
|
@@ -95,6 +103,7 @@ export declare const APTPerformanceTestArgs: z.ZodObject<{
|
|
|
95
103
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
96
104
|
environment: string;
|
|
97
105
|
appLicense: string;
|
|
106
|
+
tag?: string | undefined;
|
|
98
107
|
license?: string | undefined;
|
|
99
108
|
force?: boolean | undefined;
|
|
100
109
|
outputDir?: string | undefined;
|
|
@@ -104,6 +113,7 @@ export declare const APTPerformanceTestArgs: z.ZodObject<{
|
|
|
104
113
|
timestamp?: string | undefined;
|
|
105
114
|
}>;
|
|
106
115
|
export declare const APTPerformanceTestOptions: z.ZodEffects<z.ZodObject<{
|
|
116
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
107
117
|
cwd: z.ZodString;
|
|
108
118
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
109
119
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -125,6 +135,7 @@ export declare const APTPerformanceTestOptions: z.ZodEffects<z.ZodObject<{
|
|
|
125
135
|
license: string;
|
|
126
136
|
outputDir: string;
|
|
127
137
|
stage: "baseline" | "regression";
|
|
138
|
+
tag?: string | undefined;
|
|
128
139
|
baseUrl?: string | undefined;
|
|
129
140
|
force?: boolean | undefined;
|
|
130
141
|
appKey?: string | undefined;
|
|
@@ -140,6 +151,7 @@ export declare const APTPerformanceTestOptions: z.ZodEffects<z.ZodObject<{
|
|
|
140
151
|
license: string;
|
|
141
152
|
outputDir: string;
|
|
142
153
|
stage: "baseline" | "regression";
|
|
154
|
+
tag?: string | undefined;
|
|
143
155
|
baseUrl?: string | undefined;
|
|
144
156
|
force?: boolean | undefined;
|
|
145
157
|
appKey?: string | undefined;
|
|
@@ -155,6 +167,7 @@ export declare const APTPerformanceTestOptions: z.ZodEffects<z.ZodObject<{
|
|
|
155
167
|
license: string;
|
|
156
168
|
outputDir: string;
|
|
157
169
|
stage: "baseline" | "regression";
|
|
170
|
+
tag?: string | undefined;
|
|
158
171
|
baseUrl?: string | undefined;
|
|
159
172
|
force?: boolean | undefined;
|
|
160
173
|
appKey?: string | undefined;
|
|
@@ -170,6 +183,7 @@ export declare const APTPerformanceTestOptions: z.ZodEffects<z.ZodObject<{
|
|
|
170
183
|
license: string;
|
|
171
184
|
outputDir: string;
|
|
172
185
|
stage: "baseline" | "regression";
|
|
186
|
+
tag?: string | undefined;
|
|
173
187
|
baseUrl?: string | undefined;
|
|
174
188
|
force?: boolean | undefined;
|
|
175
189
|
appKey?: string | undefined;
|
|
@@ -221,6 +235,7 @@ export declare const APTPerformanceReportOptions: z.ZodObject<{
|
|
|
221
235
|
force?: boolean | undefined;
|
|
222
236
|
}>;
|
|
223
237
|
export declare const APTScalabilityTestArgs: z.ZodObject<{
|
|
238
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
224
239
|
cwd: z.ZodString;
|
|
225
240
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
226
241
|
environment: z.ZodString;
|
|
@@ -237,6 +252,7 @@ export declare const APTScalabilityTestArgs: z.ZodObject<{
|
|
|
237
252
|
cwd: string;
|
|
238
253
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
239
254
|
environment: string;
|
|
255
|
+
tag?: string | undefined;
|
|
240
256
|
license?: string | undefined;
|
|
241
257
|
force?: boolean | undefined;
|
|
242
258
|
outputDir?: string | undefined;
|
|
@@ -250,6 +266,7 @@ export declare const APTScalabilityTestArgs: z.ZodObject<{
|
|
|
250
266
|
cwd: string;
|
|
251
267
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
252
268
|
environment: string;
|
|
269
|
+
tag?: string | undefined;
|
|
253
270
|
license?: string | undefined;
|
|
254
271
|
force?: boolean | undefined;
|
|
255
272
|
outputDir?: string | undefined;
|
|
@@ -261,6 +278,7 @@ export declare const APTScalabilityTestArgs: z.ZodObject<{
|
|
|
261
278
|
locust?: boolean | undefined;
|
|
262
279
|
}>;
|
|
263
280
|
export declare const APTScalabilityTestOptions: z.ZodEffects<z.ZodObject<{
|
|
281
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
264
282
|
cwd: z.ZodString;
|
|
265
283
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
266
284
|
environment: z.ZodString;
|
|
@@ -278,6 +296,7 @@ export declare const APTScalabilityTestOptions: z.ZodEffects<z.ZodObject<{
|
|
|
278
296
|
environment: string;
|
|
279
297
|
license: string;
|
|
280
298
|
outputDir: string;
|
|
299
|
+
tag?: string | undefined;
|
|
281
300
|
force?: boolean | undefined;
|
|
282
301
|
appKey?: string | undefined;
|
|
283
302
|
archive?: string | undefined;
|
|
@@ -290,6 +309,7 @@ export declare const APTScalabilityTestOptions: z.ZodEffects<z.ZodObject<{
|
|
|
290
309
|
environment: string;
|
|
291
310
|
license: string;
|
|
292
311
|
outputDir: string;
|
|
312
|
+
tag?: string | undefined;
|
|
293
313
|
force?: boolean | undefined;
|
|
294
314
|
appKey?: string | undefined;
|
|
295
315
|
archive?: string | undefined;
|
|
@@ -302,6 +322,7 @@ export declare const APTScalabilityTestOptions: z.ZodEffects<z.ZodObject<{
|
|
|
302
322
|
environment: string;
|
|
303
323
|
license: string;
|
|
304
324
|
outputDir: string;
|
|
325
|
+
tag?: string | undefined;
|
|
305
326
|
force?: boolean | undefined;
|
|
306
327
|
appKey?: string | undefined;
|
|
307
328
|
archive?: string | undefined;
|
|
@@ -314,6 +335,7 @@ export declare const APTScalabilityTestOptions: z.ZodEffects<z.ZodObject<{
|
|
|
314
335
|
environment: string;
|
|
315
336
|
license: string;
|
|
316
337
|
outputDir: string;
|
|
338
|
+
tag?: string | undefined;
|
|
317
339
|
force?: boolean | undefined;
|
|
318
340
|
appKey?: string | undefined;
|
|
319
341
|
archive?: string | undefined;
|
|
@@ -562,6 +584,7 @@ export declare const APTSCAOptions: z.ZodEffects<z.ZodObject<{
|
|
|
562
584
|
dataDir?: string | undefined;
|
|
563
585
|
}>;
|
|
564
586
|
export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
587
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
565
588
|
cwd: z.ZodString;
|
|
566
589
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
567
590
|
environment: z.ZodOptional<z.ZodString>;
|
|
@@ -571,6 +594,7 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
571
594
|
}, "strip", z.ZodTypeAny, {
|
|
572
595
|
cwd: string;
|
|
573
596
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
597
|
+
tag?: string | undefined;
|
|
574
598
|
environment?: string | undefined;
|
|
575
599
|
license?: string | undefined;
|
|
576
600
|
nodes?: number | undefined;
|
|
@@ -578,11 +602,13 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
578
602
|
}, {
|
|
579
603
|
cwd: string;
|
|
580
604
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
605
|
+
tag?: string | undefined;
|
|
581
606
|
environment?: string | undefined;
|
|
582
607
|
license?: string | undefined;
|
|
583
608
|
nodes?: number | undefined;
|
|
584
609
|
force?: boolean | undefined;
|
|
585
610
|
}>, z.ZodObject<{
|
|
611
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
586
612
|
cwd: z.ZodString;
|
|
587
613
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
588
614
|
environment: z.ZodString;
|
|
@@ -599,6 +625,7 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
599
625
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
600
626
|
environment: string;
|
|
601
627
|
appLicense: string;
|
|
628
|
+
tag?: string | undefined;
|
|
602
629
|
license?: string | undefined;
|
|
603
630
|
force?: boolean | undefined;
|
|
604
631
|
outputDir?: string | undefined;
|
|
@@ -611,6 +638,7 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
611
638
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
612
639
|
environment: string;
|
|
613
640
|
appLicense: string;
|
|
641
|
+
tag?: string | undefined;
|
|
614
642
|
license?: string | undefined;
|
|
615
643
|
force?: boolean | undefined;
|
|
616
644
|
outputDir?: string | undefined;
|
|
@@ -4,6 +4,7 @@ export interface DatabaseEngine {
|
|
|
4
4
|
options: TDatabaseOptions;
|
|
5
5
|
start(clean?: boolean): Promise<void>;
|
|
6
6
|
stop(prune?: boolean): Promise<void>;
|
|
7
|
+
select<T extends object>(query: string, values?: Array<unknown>): Promise<Array<T>>;
|
|
7
8
|
run(sql: string | {
|
|
8
9
|
query: string;
|
|
9
10
|
values: unknown[];
|
|
@@ -13,6 +13,7 @@ export declare const InstallOptions: z.ZodObject<{
|
|
|
13
13
|
restartAfterInstall: z.ZodOptional<z.ZodBoolean>;
|
|
14
14
|
aws_access_key_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
15
15
|
aws_secret_access_key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
16
|
+
pat: z.ZodOptional<z.ZodString>;
|
|
16
17
|
}, "strip", z.ZodTypeAny, {
|
|
17
18
|
baseUrl: string;
|
|
18
19
|
username?: string | undefined;
|
|
@@ -27,6 +28,7 @@ export declare const InstallOptions: z.ZodObject<{
|
|
|
27
28
|
restartAfterInstall?: boolean | undefined;
|
|
28
29
|
aws_access_key_id?: string | undefined;
|
|
29
30
|
aws_secret_access_key?: string | undefined;
|
|
31
|
+
pat?: string | undefined;
|
|
30
32
|
}, {
|
|
31
33
|
baseUrl: string;
|
|
32
34
|
username?: string | undefined;
|
|
@@ -41,6 +43,7 @@ export declare const InstallOptions: z.ZodObject<{
|
|
|
41
43
|
restartAfterInstall?: boolean | undefined;
|
|
42
44
|
aws_access_key_id?: string | undefined;
|
|
43
45
|
aws_secret_access_key?: string | undefined;
|
|
46
|
+
pat?: string | undefined;
|
|
44
47
|
}>;
|
|
45
48
|
export declare const InstallFromAMPSArgs: z.ZodObject<{
|
|
46
49
|
username: z.ZodOptional<z.ZodString>;
|
|
@@ -110,24 +113,28 @@ export declare const InstallFromMPACArgs: z.ZodObject<{
|
|
|
110
113
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
111
114
|
license: z.ZodOptional<z.ZodString>;
|
|
112
115
|
appKey: z.ZodString;
|
|
116
|
+
pat: z.ZodOptional<z.ZodString>;
|
|
113
117
|
}, "strip", z.ZodTypeAny, {
|
|
114
118
|
appKey: string;
|
|
115
119
|
username?: string | undefined;
|
|
116
120
|
password?: string | undefined;
|
|
117
121
|
baseUrl?: string | undefined;
|
|
118
122
|
license?: string | undefined;
|
|
123
|
+
pat?: string | undefined;
|
|
119
124
|
}, {
|
|
120
125
|
appKey: string;
|
|
121
126
|
username?: string | undefined;
|
|
122
127
|
password?: string | undefined;
|
|
123
128
|
baseUrl?: string | undefined;
|
|
124
129
|
license?: string | undefined;
|
|
130
|
+
pat?: string | undefined;
|
|
125
131
|
}>;
|
|
126
132
|
export declare const InstallFromMPACOptions: z.ZodObject<{
|
|
127
133
|
appKey: z.ZodString;
|
|
128
134
|
baseUrl: z.ZodString;
|
|
129
135
|
username: z.ZodString;
|
|
130
136
|
password: z.ZodString;
|
|
137
|
+
pat: z.ZodString;
|
|
131
138
|
license: z.ZodString;
|
|
132
139
|
}, "strip", z.ZodTypeAny, {
|
|
133
140
|
username: string;
|
|
@@ -135,12 +142,14 @@ export declare const InstallFromMPACOptions: z.ZodObject<{
|
|
|
135
142
|
baseUrl: string;
|
|
136
143
|
license: string;
|
|
137
144
|
appKey: string;
|
|
145
|
+
pat: string;
|
|
138
146
|
}, {
|
|
139
147
|
username: string;
|
|
140
148
|
password: string;
|
|
141
149
|
baseUrl: string;
|
|
142
150
|
license: string;
|
|
143
151
|
appKey: string;
|
|
152
|
+
pat: string;
|
|
144
153
|
}>;
|
|
145
154
|
export declare const InstallFromURLArgs: z.ZodObject<{
|
|
146
155
|
path: z.ZodString;
|
|
@@ -148,24 +157,28 @@ export declare const InstallFromURLArgs: z.ZodObject<{
|
|
|
148
157
|
password: z.ZodOptional<z.ZodString>;
|
|
149
158
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
150
159
|
license: z.ZodOptional<z.ZodString>;
|
|
160
|
+
pat: z.ZodOptional<z.ZodString>;
|
|
151
161
|
}, "strip", z.ZodTypeAny, {
|
|
152
162
|
path: string;
|
|
153
163
|
username?: string | undefined;
|
|
154
164
|
password?: string | undefined;
|
|
155
165
|
baseUrl?: string | undefined;
|
|
156
166
|
license?: string | undefined;
|
|
167
|
+
pat?: string | undefined;
|
|
157
168
|
}, {
|
|
158
169
|
path: string;
|
|
159
170
|
username?: string | undefined;
|
|
160
171
|
password?: string | undefined;
|
|
161
172
|
baseUrl?: string | undefined;
|
|
162
173
|
license?: string | undefined;
|
|
174
|
+
pat?: string | undefined;
|
|
163
175
|
}>;
|
|
164
176
|
export declare const InstallFromURLOptions: z.ZodObject<{
|
|
165
177
|
path: z.ZodOptional<z.ZodString>;
|
|
166
178
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
167
179
|
username: z.ZodOptional<z.ZodString>;
|
|
168
180
|
password: z.ZodOptional<z.ZodString>;
|
|
181
|
+
pat: z.ZodOptional<z.ZodString>;
|
|
169
182
|
license: z.ZodOptional<z.ZodString>;
|
|
170
183
|
verbose: z.ZodOptional<z.ZodBoolean>;
|
|
171
184
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -175,6 +188,7 @@ export declare const InstallFromURLOptions: z.ZodObject<{
|
|
|
175
188
|
verbose?: boolean | undefined;
|
|
176
189
|
baseUrl?: string | undefined;
|
|
177
190
|
license?: string | undefined;
|
|
191
|
+
pat?: string | undefined;
|
|
178
192
|
}, {
|
|
179
193
|
path?: string | undefined;
|
|
180
194
|
username?: string | undefined;
|
|
@@ -182,12 +196,14 @@ export declare const InstallFromURLOptions: z.ZodObject<{
|
|
|
182
196
|
verbose?: boolean | undefined;
|
|
183
197
|
baseUrl?: string | undefined;
|
|
184
198
|
license?: string | undefined;
|
|
199
|
+
pat?: string | undefined;
|
|
185
200
|
}>;
|
|
186
201
|
export declare const InstallWithQuickReloadOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
187
202
|
path: z.ZodOptional<z.ZodString>;
|
|
188
203
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
189
204
|
username: z.ZodOptional<z.ZodString>;
|
|
190
205
|
password: z.ZodOptional<z.ZodString>;
|
|
206
|
+
pat: z.ZodOptional<z.ZodString>;
|
|
191
207
|
license: z.ZodOptional<z.ZodString>;
|
|
192
208
|
verbose: z.ZodOptional<z.ZodBoolean>;
|
|
193
209
|
}, {
|
|
@@ -201,6 +217,7 @@ export declare const InstallWithQuickReloadOptions: z.ZodObject<z.objectUtil.ext
|
|
|
201
217
|
verbose?: boolean | undefined;
|
|
202
218
|
baseUrl?: string | undefined;
|
|
203
219
|
license?: string | undefined;
|
|
220
|
+
pat?: string | undefined;
|
|
204
221
|
}, {
|
|
205
222
|
path: string;
|
|
206
223
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
@@ -209,6 +226,7 @@ export declare const InstallWithQuickReloadOptions: z.ZodObject<z.objectUtil.ext
|
|
|
209
226
|
verbose?: boolean | undefined;
|
|
210
227
|
baseUrl?: string | undefined;
|
|
211
228
|
license?: string | undefined;
|
|
229
|
+
pat?: string | undefined;
|
|
212
230
|
}>;
|
|
213
231
|
export type TInstallOptions = z.infer<typeof InstallOptions>;
|
|
214
232
|
export type TInstallFromAMPSArgs = z.infer<typeof InstallFromAMPSArgs>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dcdx",
|
|
3
|
-
"version": "1.3.0-next.
|
|
3
|
+
"version": "1.3.0-next.57",
|
|
4
4
|
"author": "Collabsoft <info@collabsoft.net>",
|
|
5
5
|
"description": "The Unofficial CLI for Atlassian Data Center Plugin Development",
|
|
6
6
|
"type": "module",
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@inquirer/prompts": "7.0.1",
|
|
76
|
+
"@sqb/builder": "4.20.4",
|
|
76
77
|
"@xmldom/xmldom": "0.8.10",
|
|
77
78
|
"axios": "1.6.8",
|
|
78
79
|
"chokidar": "3.6.0",
|