dcdx 1.3.0-next.3 → 1.3.0-next.31
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 +2052 -1689
- package/lib/commands/build.js +1153 -1096
- package/lib/commands/database.js +1148 -1091
- package/lib/commands/debug.js +1159 -1099
- package/lib/commands/install.js +1468 -1172
- package/lib/commands/reset.js +1150 -1092
- package/lib/commands/run.js +1150 -1092
- package/lib/commands/stop.js +1150 -1092
- package/lib/commands/update.js +1146 -1090
- package/lib/index.js +1 -1
- package/lib/types/src/apt/helpers/getClusterURL.d.ts +1 -1
- package/lib/types/src/apt/helpers/getHostLicense.d.ts +1 -1
- package/lib/types/src/apt/helpers/provisionCluster.d.ts +1 -0
- 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/helpers/FileWatcher.d.ts +2 -2
- package/lib/types/src/helpers/Installer.d.ts +2 -2
- package/lib/types/src/helpers/upm.d.ts +2 -2
- package/lib/types/src/types/DCAPT.d.ts +92 -56
- package/lib/types/src/types/FileWatcher.d.ts +36 -0
- package/lib/types/src/types/Install.d.ts +36 -0
- package/lib/types/src/types/Installer.d.ts +21 -0
- package/package.json +4 -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.31";
|
|
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,4 +1,4 @@
|
|
|
1
1
|
import { TSupportedApplications } from '../../types/Application';
|
|
2
|
-
export declare const getHostLicense: (product: TSupportedApplications, force?: boolean) => string | (Promise<string> & {
|
|
2
|
+
export declare const getHostLicense: (product: TSupportedApplications, license?: string, force?: boolean) => string | (Promise<string> & {
|
|
3
3
|
cancel: () => void;
|
|
4
4
|
});
|
|
@@ -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 { 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 {
|
|
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
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TBuildOptions, TDebugOptions } from '../types/AMPS';
|
|
2
1
|
import { TSupportedApplications } from '../types/Application';
|
|
3
|
-
|
|
2
|
+
import { TFileWatcherOptions } from '../types/FileWatcher';
|
|
3
|
+
export declare const FileWatcher: (name: TSupportedApplications, options: TFileWatcherOptions, mavenOpts: Array<string>, installOnly?: boolean) => import("chokidar").FSWatcher;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TBuildOptions, TDebugOptions } from '../types/AMPS';
|
|
2
1
|
import { TSupportedApplications } from '../types/Application';
|
|
3
|
-
|
|
2
|
+
import { TInstallerOptions } from '../types/Installer';
|
|
3
|
+
export declare const Installer: (name: TSupportedApplications, path: string, options: TInstallerOptions) => Promise<void>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const uploadToUPM: (baseUrl: string, path: string, username?: string, password?: string, verbose?: boolean) => Promise<
|
|
1
|
+
export declare const uploadToUPM: (baseUrl: string, path: string, username?: string, password?: string, verbose?: boolean) => Promise<boolean>;
|
|
2
2
|
export declare const waitForPluginToBeEnabled: (appKey: string, baseUrl: string, username?: string, password?: string, verbose?: boolean) => Promise<boolean>;
|
|
3
|
-
export declare const registerLicense: (appKey: string, license: string, baseUrl: string, username?: string, password?: string, verbose?: boolean) => Promise<
|
|
3
|
+
export declare const registerLicense: (appKey: string, license: string, baseUrl: string, username?: string, password?: string, verbose?: boolean) => Promise<boolean>;
|
|
@@ -19,24 +19,71 @@ 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
|
+
}>;
|
|
41
|
+
export declare const APTProvisionArgs: z.ZodObject<{
|
|
42
|
+
cwd: z.ZodString;
|
|
43
|
+
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
44
|
+
environment: z.ZodString;
|
|
45
|
+
license: z.ZodOptional<z.ZodString>;
|
|
46
|
+
nodes: z.ZodNumber;
|
|
47
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
cwd: string;
|
|
50
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
51
|
+
environment: string;
|
|
52
|
+
nodes: number;
|
|
53
|
+
license?: string | undefined;
|
|
54
|
+
force?: boolean | undefined;
|
|
55
|
+
}, {
|
|
56
|
+
cwd: string;
|
|
57
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
58
|
+
environment: string;
|
|
59
|
+
nodes: number;
|
|
60
|
+
license?: string | undefined;
|
|
61
|
+
force?: boolean | undefined;
|
|
62
|
+
}>;
|
|
22
63
|
export declare const APTProvisionOptions: z.ZodObject<{
|
|
23
64
|
cwd: z.ZodString;
|
|
24
65
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
25
66
|
environment: z.ZodOptional<z.ZodString>;
|
|
26
|
-
|
|
67
|
+
license: z.ZodOptional<z.ZodString>;
|
|
68
|
+
nodes: z.ZodOptional<z.ZodNumber>;
|
|
27
69
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
70
|
+
appKey: z.ZodOptional<z.ZodString>;
|
|
28
71
|
}, "strip", z.ZodTypeAny, {
|
|
29
72
|
cwd: string;
|
|
30
73
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
31
74
|
environment?: string | undefined;
|
|
32
|
-
|
|
75
|
+
license?: string | undefined;
|
|
76
|
+
nodes?: number | undefined;
|
|
33
77
|
force?: boolean | undefined;
|
|
78
|
+
appKey?: string | undefined;
|
|
34
79
|
}, {
|
|
35
80
|
cwd: string;
|
|
36
81
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
37
82
|
environment?: string | undefined;
|
|
38
|
-
|
|
83
|
+
license?: string | undefined;
|
|
84
|
+
nodes?: number | undefined;
|
|
39
85
|
force?: boolean | undefined;
|
|
86
|
+
appKey?: string | undefined;
|
|
40
87
|
}>;
|
|
41
88
|
export declare const APTPerformanceTestArgs: z.ZodObject<{
|
|
42
89
|
cwd: z.ZodString;
|
|
@@ -44,8 +91,9 @@ export declare const APTPerformanceTestArgs: z.ZodObject<{
|
|
|
44
91
|
outputDir: z.ZodOptional<z.ZodString>;
|
|
45
92
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
46
93
|
environment: z.ZodString;
|
|
47
|
-
|
|
94
|
+
license: z.ZodOptional<z.ZodString>;
|
|
48
95
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
+
appKey: z.ZodString;
|
|
49
97
|
appLicense: z.ZodString;
|
|
50
98
|
}, "strip", z.ZodTypeAny, {
|
|
51
99
|
cwd: string;
|
|
@@ -55,6 +103,7 @@ export declare const APTPerformanceTestArgs: z.ZodObject<{
|
|
|
55
103
|
appLicense: string;
|
|
56
104
|
timestamp?: string | undefined;
|
|
57
105
|
outputDir?: string | undefined;
|
|
106
|
+
license?: string | undefined;
|
|
58
107
|
force?: boolean | undefined;
|
|
59
108
|
}, {
|
|
60
109
|
cwd: string;
|
|
@@ -64,6 +113,7 @@ export declare const APTPerformanceTestArgs: z.ZodObject<{
|
|
|
64
113
|
appLicense: string;
|
|
65
114
|
timestamp?: string | undefined;
|
|
66
115
|
outputDir?: string | undefined;
|
|
116
|
+
license?: string | undefined;
|
|
67
117
|
force?: boolean | undefined;
|
|
68
118
|
}>;
|
|
69
119
|
export declare const APTPerformanceTestOptions: z.ZodObject<{
|
|
@@ -71,44 +121,37 @@ export declare const APTPerformanceTestOptions: z.ZodObject<{
|
|
|
71
121
|
outputDir: z.ZodString;
|
|
72
122
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
73
123
|
environment: z.ZodString;
|
|
74
|
-
|
|
124
|
+
license: z.ZodString;
|
|
75
125
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
+
appKey: z.ZodOptional<z.ZodString>;
|
|
76
127
|
appLicense: z.ZodOptional<z.ZodString>;
|
|
128
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
129
|
+
aws_access_key_id: z.ZodOptional<z.ZodString>;
|
|
130
|
+
aws_secret_access_key: z.ZodOptional<z.ZodString>;
|
|
77
131
|
}, "strip", z.ZodTypeAny, {
|
|
78
132
|
cwd: string;
|
|
79
133
|
outputDir: string;
|
|
80
134
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
81
135
|
environment: string;
|
|
82
|
-
|
|
136
|
+
license: string;
|
|
83
137
|
force?: boolean | undefined;
|
|
138
|
+
appKey?: string | undefined;
|
|
84
139
|
appLicense?: string | undefined;
|
|
140
|
+
baseUrl?: string | undefined;
|
|
141
|
+
aws_access_key_id?: string | undefined;
|
|
142
|
+
aws_secret_access_key?: string | undefined;
|
|
85
143
|
}, {
|
|
86
144
|
cwd: string;
|
|
87
145
|
outputDir: string;
|
|
88
146
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
89
147
|
environment: string;
|
|
90
|
-
|
|
148
|
+
license: string;
|
|
91
149
|
force?: boolean | undefined;
|
|
150
|
+
appKey?: string | undefined;
|
|
92
151
|
appLicense?: string | undefined;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
startPerformanceTest: z.ZodString;
|
|
97
|
-
startLuceneIndexing: z.ZodOptional<z.ZodString>;
|
|
98
|
-
success: z.ZodString;
|
|
99
|
-
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
|
-
}, "strip", z.ZodTypeAny, {
|
|
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;
|
|
106
|
-
}, {
|
|
107
|
-
header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", ...args_1: unknown[]) => string;
|
|
108
|
-
startPerformanceTest: string;
|
|
109
|
-
success: string;
|
|
110
|
-
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;
|
|
111
|
-
startLuceneIndexing?: string | undefined;
|
|
152
|
+
baseUrl?: string | undefined;
|
|
153
|
+
aws_access_key_id?: string | undefined;
|
|
154
|
+
aws_secret_access_key?: string | undefined;
|
|
112
155
|
}>;
|
|
113
156
|
export declare const APTPerformanceReportOptions: z.ZodObject<{
|
|
114
157
|
cwd: z.ZodString;
|
|
@@ -129,8 +172,9 @@ export declare const APTScalabilityTestArgs: z.ZodObject<{
|
|
|
129
172
|
outputDir: z.ZodOptional<z.ZodString>;
|
|
130
173
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
131
174
|
environment: z.ZodString;
|
|
132
|
-
|
|
175
|
+
license: z.ZodOptional<z.ZodString>;
|
|
133
176
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
177
|
+
appKey: z.ZodString;
|
|
134
178
|
appLicense: z.ZodOptional<z.ZodString>;
|
|
135
179
|
}, "strip", z.ZodTypeAny, {
|
|
136
180
|
cwd: string;
|
|
@@ -139,6 +183,7 @@ export declare const APTScalabilityTestArgs: z.ZodObject<{
|
|
|
139
183
|
appKey: string;
|
|
140
184
|
timestamp?: string | undefined;
|
|
141
185
|
outputDir?: string | undefined;
|
|
186
|
+
license?: string | undefined;
|
|
142
187
|
force?: boolean | undefined;
|
|
143
188
|
appLicense?: string | undefined;
|
|
144
189
|
}, {
|
|
@@ -148,6 +193,7 @@ export declare const APTScalabilityTestArgs: z.ZodObject<{
|
|
|
148
193
|
appKey: string;
|
|
149
194
|
timestamp?: string | undefined;
|
|
150
195
|
outputDir?: string | undefined;
|
|
196
|
+
license?: string | undefined;
|
|
151
197
|
force?: boolean | undefined;
|
|
152
198
|
appLicense?: string | undefined;
|
|
153
199
|
}>;
|
|
@@ -156,18 +202,18 @@ export declare const APTScalabilityTestOptions: z.ZodObject<{
|
|
|
156
202
|
outputDir: z.ZodString;
|
|
157
203
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
158
204
|
environment: z.ZodString;
|
|
159
|
-
|
|
205
|
+
license: z.ZodString;
|
|
160
206
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
207
|
+
appKey: z.ZodOptional<z.ZodString>;
|
|
161
208
|
appLicense: z.ZodOptional<z.ZodString>;
|
|
162
|
-
license: z.ZodString;
|
|
163
209
|
}, "strip", z.ZodTypeAny, {
|
|
164
210
|
cwd: string;
|
|
165
211
|
outputDir: string;
|
|
166
212
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
167
213
|
environment: string;
|
|
168
214
|
license: string;
|
|
169
|
-
appKey?: string | undefined;
|
|
170
215
|
force?: boolean | undefined;
|
|
216
|
+
appKey?: string | undefined;
|
|
171
217
|
appLicense?: string | undefined;
|
|
172
218
|
}, {
|
|
173
219
|
cwd: string;
|
|
@@ -175,29 +221,10 @@ export declare const APTScalabilityTestOptions: z.ZodObject<{
|
|
|
175
221
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
176
222
|
environment: string;
|
|
177
223
|
license: string;
|
|
178
|
-
appKey?: string | undefined;
|
|
179
224
|
force?: boolean | undefined;
|
|
225
|
+
appKey?: string | undefined;
|
|
180
226
|
appLicense?: string | undefined;
|
|
181
227
|
}>;
|
|
182
|
-
export declare const APTScalabilityTestMessages: z.ZodObject<{
|
|
183
|
-
header: z.ZodFunction<z.ZodTuple<[z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>, z.ZodEnum<["one-node", "two-node", "four-node"]>], z.ZodUnknown>, z.ZodString>;
|
|
184
|
-
readyForProvisioning: z.ZodString;
|
|
185
|
-
startScalabilityTest: z.ZodString;
|
|
186
|
-
success: z.ZodString;
|
|
187
|
-
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
|
-
}, "strip", z.ZodTypeAny, {
|
|
189
|
-
header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", args_1: "one-node" | "two-node" | "four-node", ...args_2: unknown[]) => string;
|
|
190
|
-
success: string;
|
|
191
|
-
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
|
-
startScalabilityTest: string;
|
|
194
|
-
}, {
|
|
195
|
-
header: (args_0: "jira" | "confluence" | "bitbucket" | "bamboo", args_1: "one-node" | "two-node" | "four-node", ...args_2: unknown[]) => string;
|
|
196
|
-
success: string;
|
|
197
|
-
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
|
-
startScalabilityTest: string;
|
|
200
|
-
}>;
|
|
201
228
|
export declare const APTScalabilityReportOptions: z.ZodObject<{
|
|
202
229
|
cwd: z.ZodString;
|
|
203
230
|
outputDir: z.ZodString;
|
|
@@ -253,28 +280,35 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
253
280
|
cwd: z.ZodString;
|
|
254
281
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
255
282
|
environment: z.ZodOptional<z.ZodString>;
|
|
256
|
-
|
|
283
|
+
license: z.ZodOptional<z.ZodString>;
|
|
284
|
+
nodes: z.ZodOptional<z.ZodNumber>;
|
|
257
285
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
286
|
+
appKey: z.ZodOptional<z.ZodString>;
|
|
258
287
|
}, "strip", z.ZodTypeAny, {
|
|
259
288
|
cwd: string;
|
|
260
289
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
261
290
|
environment?: string | undefined;
|
|
262
|
-
|
|
291
|
+
license?: string | undefined;
|
|
292
|
+
nodes?: number | undefined;
|
|
263
293
|
force?: boolean | undefined;
|
|
294
|
+
appKey?: string | undefined;
|
|
264
295
|
}, {
|
|
265
296
|
cwd: string;
|
|
266
297
|
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
267
298
|
environment?: string | undefined;
|
|
268
|
-
|
|
299
|
+
license?: string | undefined;
|
|
300
|
+
nodes?: number | undefined;
|
|
269
301
|
force?: boolean | undefined;
|
|
302
|
+
appKey?: string | undefined;
|
|
270
303
|
}>, z.ZodObject<{
|
|
271
304
|
cwd: z.ZodString;
|
|
272
305
|
timestamp: z.ZodOptional<z.ZodString>;
|
|
273
306
|
outputDir: z.ZodOptional<z.ZodString>;
|
|
274
307
|
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
275
308
|
environment: z.ZodString;
|
|
276
|
-
|
|
309
|
+
license: z.ZodOptional<z.ZodString>;
|
|
277
310
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
311
|
+
appKey: z.ZodString;
|
|
278
312
|
appLicense: z.ZodString;
|
|
279
313
|
}, "strip", z.ZodTypeAny, {
|
|
280
314
|
cwd: string;
|
|
@@ -284,6 +318,7 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
284
318
|
appLicense: string;
|
|
285
319
|
timestamp?: string | undefined;
|
|
286
320
|
outputDir?: string | undefined;
|
|
321
|
+
license?: string | undefined;
|
|
287
322
|
force?: boolean | undefined;
|
|
288
323
|
}, {
|
|
289
324
|
cwd: string;
|
|
@@ -293,20 +328,21 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
|
293
328
|
appLicense: string;
|
|
294
329
|
timestamp?: string | undefined;
|
|
295
330
|
outputDir?: string | undefined;
|
|
331
|
+
license?: string | undefined;
|
|
296
332
|
force?: boolean | undefined;
|
|
297
333
|
}>>;
|
|
298
334
|
export type TAPTArgs = z.infer<typeof APTArgs>;
|
|
335
|
+
export type TAPTTestMessages = z.infer<typeof APTTestMessages>;
|
|
336
|
+
export type TAPTProvisionArgs = z.infer<typeof APTProvisionArgs>;
|
|
299
337
|
export type TAPTProvisionOptions = z.infer<typeof APTProvisionOptions>;
|
|
300
338
|
export type TAPTReportArgs = z.infer<typeof APTReportArgs>;
|
|
301
339
|
export type TPerformanceTestTypes = z.infer<typeof PerformanceTestTypes>;
|
|
302
340
|
export type TAPTPerformanceTestArgs = z.infer<typeof APTPerformanceTestArgs>;
|
|
303
341
|
export type TAPTPerformanceTestOptions = z.infer<typeof APTPerformanceTestOptions>;
|
|
304
|
-
export type TAPTPerformanceTestMessages = z.infer<typeof APTPerformanceTestMessages>;
|
|
305
342
|
export type TAPTPerformanceReportOptions = z.infer<typeof APTPerformanceReportOptions>;
|
|
306
343
|
export type TScalabilityTestTypes = z.infer<typeof ScalabilityTestTypes>;
|
|
307
344
|
export type TAPTScalabilityTestArgs = z.infer<typeof APTScalabilityTestArgs>;
|
|
308
345
|
export type TAPTScalabilityTestOptions = z.infer<typeof APTScalabilityTestOptions>;
|
|
309
|
-
export type TAPTScalabilityTestMessages = z.infer<typeof APTScalabilityTestMessages>;
|
|
310
346
|
export type TAPTScalabilityReportOptions = z.infer<typeof APTScalabilityReportOptions>;
|
|
311
347
|
export type TAPTTeardownArgs = z.infer<typeof APTTeardownArgs>;
|
|
312
348
|
export type TAPTTeardownOptions = z.infer<typeof APTTeardownOptions>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const FileWatcherOptions: z.ZodObject<{
|
|
3
|
+
install: z.ZodOptional<z.ZodBoolean>;
|
|
4
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
username: z.ZodOptional<z.ZodString>;
|
|
6
|
+
password: z.ZodOptional<z.ZodString>;
|
|
7
|
+
ext: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8
|
+
outputDirectory: z.ZodOptional<z.ZodString>;
|
|
9
|
+
activateProfiles: z.ZodOptional<z.ZodString>;
|
|
10
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
11
|
+
exec: z.ZodOptional<z.ZodString>;
|
|
12
|
+
obr: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
install?: boolean | undefined;
|
|
15
|
+
port?: number | undefined;
|
|
16
|
+
username?: string | undefined;
|
|
17
|
+
password?: string | undefined;
|
|
18
|
+
ext?: string[] | undefined;
|
|
19
|
+
outputDirectory?: string | undefined;
|
|
20
|
+
activateProfiles?: string | undefined;
|
|
21
|
+
cwd?: string | undefined;
|
|
22
|
+
exec?: string | undefined;
|
|
23
|
+
obr?: boolean | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
install?: boolean | undefined;
|
|
26
|
+
port?: number | undefined;
|
|
27
|
+
username?: string | undefined;
|
|
28
|
+
password?: string | undefined;
|
|
29
|
+
ext?: string[] | undefined;
|
|
30
|
+
outputDirectory?: string | undefined;
|
|
31
|
+
activateProfiles?: string | undefined;
|
|
32
|
+
cwd?: string | undefined;
|
|
33
|
+
exec?: string | undefined;
|
|
34
|
+
obr?: boolean | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
export type TFileWatcherOptions = z.infer<typeof FileWatcherOptions>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const InstallArgs: z.ZodObject<{
|
|
3
|
+
username: z.ZodOptional<z.ZodString>;
|
|
4
|
+
password: z.ZodOptional<z.ZodString>;
|
|
5
|
+
watch: z.ZodBoolean;
|
|
6
|
+
outputDirectory: z.ZodOptional<z.ZodString>;
|
|
7
|
+
activateProfiles: z.ZodOptional<z.ZodString>;
|
|
8
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
9
|
+
appKey: z.ZodOptional<z.ZodString>;
|
|
10
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
11
|
+
mpac: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
obr: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
watch: boolean;
|
|
15
|
+
username?: string | undefined;
|
|
16
|
+
password?: string | undefined;
|
|
17
|
+
outputDirectory?: string | undefined;
|
|
18
|
+
activateProfiles?: string | undefined;
|
|
19
|
+
cwd?: string | undefined;
|
|
20
|
+
appKey?: string | undefined;
|
|
21
|
+
baseUrl?: string | undefined;
|
|
22
|
+
mpac?: boolean | undefined;
|
|
23
|
+
obr?: boolean | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
watch: boolean;
|
|
26
|
+
username?: string | undefined;
|
|
27
|
+
password?: string | undefined;
|
|
28
|
+
outputDirectory?: string | undefined;
|
|
29
|
+
activateProfiles?: string | undefined;
|
|
30
|
+
cwd?: string | undefined;
|
|
31
|
+
appKey?: string | undefined;
|
|
32
|
+
baseUrl?: string | undefined;
|
|
33
|
+
mpac?: boolean | undefined;
|
|
34
|
+
obr?: boolean | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
export type TInstallArgs = z.infer<typeof InstallArgs>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const InstallerOptions: z.ZodObject<{
|
|
3
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
4
|
+
username: z.ZodOptional<z.ZodString>;
|
|
5
|
+
password: z.ZodOptional<z.ZodString>;
|
|
6
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
7
|
+
obr: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
port?: number | undefined;
|
|
10
|
+
username?: string | undefined;
|
|
11
|
+
password?: string | undefined;
|
|
12
|
+
cwd?: string | undefined;
|
|
13
|
+
obr?: boolean | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
port?: number | undefined;
|
|
16
|
+
username?: string | undefined;
|
|
17
|
+
password?: string | undefined;
|
|
18
|
+
cwd?: string | undefined;
|
|
19
|
+
obr?: boolean | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
export type TInstallerOptions = z.infer<typeof InstallerOptions>;
|
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.31",
|
|
4
4
|
"author": "Collabsoft <info@collabsoft.net>",
|
|
5
5
|
"description": "The Unofficial CLI for Atlassian Data Center Plugin Development",
|
|
6
6
|
"type": "module",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"@rollup/plugin-node-resolve": "15.2.3",
|
|
49
49
|
"@rollup/plugin-terser": "0.4.4",
|
|
50
50
|
"@types/cli-progress": "^3",
|
|
51
|
+
"@types/content-disposition": "^0",
|
|
51
52
|
"@types/dockerode": "3.3.28",
|
|
52
53
|
"@types/fs-extra": "^11",
|
|
53
54
|
"@types/inquirer": "^9",
|
|
@@ -76,11 +77,13 @@
|
|
|
76
77
|
"chokidar": "3.6.0",
|
|
77
78
|
"cli-progress": "3.12.0",
|
|
78
79
|
"commander": "12.0.0",
|
|
80
|
+
"content-disposition": "0.5.4",
|
|
79
81
|
"date-fns": "4.1.0",
|
|
80
82
|
"docker-compose": "0.24.8",
|
|
81
83
|
"dockerode": "4.0.2",
|
|
82
84
|
"exit-hook": "4.0.0",
|
|
83
85
|
"fast-xml-parser": "4.3.6",
|
|
86
|
+
"fkill": "9.0.0",
|
|
84
87
|
"fs-extra": "11.2.0",
|
|
85
88
|
"glob": "11.0.0",
|
|
86
89
|
"inquirer": "9.2.22",
|