dcdx 1.2.0 → 1.3.0-next.2
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 +11114 -0
- package/lib/commands/build.js +1831 -772
- package/lib/commands/database.js +1553 -718
- package/lib/commands/debug.js +1872 -865
- package/lib/commands/install.js +9456 -0
- package/lib/commands/reset.js +1720 -799
- package/lib/commands/run.js +1684 -770
- package/lib/commands/stop.js +1720 -799
- package/lib/commands/update.js +9093 -0
- package/lib/index.js +73 -2
- package/lib/types/src/applications/bamboo.d.ts +0 -2
- package/lib/types/src/applications/base.d.ts +5 -4
- package/lib/types/src/applications/bitbucket.d.ts +0 -2
- package/lib/types/src/applications/confluence.d.ts +0 -2
- package/lib/types/src/applications/jira.d.ts +0 -2
- package/lib/types/src/apt/helpers/dcapt.d.ts +6 -0
- package/lib/types/src/apt/helpers/generatePerformanceReport.d.ts +2 -0
- package/lib/types/src/apt/helpers/generateScalabilityReport.d.ts +2 -0
- package/lib/types/src/apt/helpers/getAWSCredentials.d.ts +2 -0
- package/lib/types/src/apt/helpers/getAptDirectory.d.ts +1 -0
- package/lib/types/src/apt/helpers/getClusterURL.d.ts +2 -0
- package/lib/types/src/apt/helpers/getDuration.d.ts +3 -0
- package/lib/types/src/apt/helpers/getEnvironmentName.d.ts +1 -0
- package/lib/types/src/apt/helpers/getHostLicense.d.ts +4 -0
- package/lib/types/src/apt/helpers/getNodeNumberForStage.d.ts +2 -0
- package/lib/types/src/apt/helpers/getOutputDirectory.d.ts +1 -0
- package/lib/types/src/apt/helpers/getProduct.d.ts +2 -0
- package/lib/types/src/apt/helpers/getReindexProgress.d.ts +1 -0
- package/lib/types/src/apt/helpers/getReport.d.ts +2 -0
- package/lib/types/src/apt/helpers/getReportDirectory.d.ts +1 -0
- package/lib/types/src/apt/helpers/getResults.d.ts +2 -0
- package/lib/types/src/apt/helpers/getResultsDirectory.d.ts +2 -0
- package/lib/types/src/apt/helpers/getRunForStage.d.ts +2 -0
- package/lib/types/src/apt/helpers/installApp.d.ts +1 -0
- package/lib/types/src/apt/helpers/persistClusterConfiguration.d.ts +1 -0
- package/lib/types/src/apt/helpers/persistTestConfiguration.d.ts +2 -0
- package/lib/types/src/apt/helpers/persistsAWSCredentials.d.ts +1 -0
- package/lib/types/src/apt/helpers/provisionCluster.d.ts +8 -0
- package/lib/types/src/apt/helpers/reindex.d.ts +1 -0
- package/lib/types/src/apt/helpers/runPerformanceTest.d.ts +2 -0
- package/lib/types/src/apt/helpers/runScalabilityTest.d.ts +2 -0
- package/lib/types/src/apt/helpers/teardownCluster.d.ts +2 -0
- package/lib/types/src/apt/helpers/waitForUserInput.d.ts +2 -0
- package/lib/types/src/apt/messages.d.ts +30 -0
- package/lib/types/src/apt/performance.d.ts +2 -0
- package/lib/types/src/apt/scalability.d.ts +2 -0
- package/lib/types/src/commands/apt.d.ts +2 -0
- package/lib/types/src/commands/install.d.ts +2 -0
- package/lib/types/src/commands/update.d.ts +2 -0
- package/lib/types/src/helpers/ActionHandler.d.ts +8 -3
- package/lib/types/src/helpers/CustomBuilder.d.ts +12 -0
- package/lib/types/src/helpers/FileWatcher.d.ts +2 -2
- package/lib/types/src/helpers/Installer.d.ts +3 -0
- package/lib/types/src/helpers/amps.d.ts +1 -0
- package/lib/types/src/helpers/capitalize.d.ts +1 -0
- package/lib/types/src/helpers/generateVersionList.d.ts +3 -0
- package/lib/types/src/helpers/getDatabaseEngine.d.ts +1 -1
- package/lib/types/src/helpers/getVersions.d.ts +1 -0
- package/lib/types/src/helpers/isOfType.d.ts +1 -0
- package/lib/types/src/helpers/licences.d.ts +1 -0
- package/lib/types/src/helpers/readLinesInFile.d.ts +1 -0
- package/lib/types/src/helpers/replaceLinesInFile.d.ts +1 -0
- package/lib/types/src/helpers/upm.d.ts +3 -0
- package/lib/types/src/types/AMPS.d.ts +40 -13
- package/lib/types/src/types/Application.d.ts +15 -11
- package/lib/types/src/types/DCAPT.d.ts +302 -0
- package/package.json +20 -8
|
@@ -1,41 +1,54 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const BuildOptions: z.ZodObject<{
|
|
3
|
+
install: z.ZodBoolean;
|
|
4
|
+
username: z.ZodOptional<z.ZodString>;
|
|
5
|
+
password: z.ZodOptional<z.ZodString>;
|
|
3
6
|
watch: z.ZodOptional<z.ZodBoolean>;
|
|
4
7
|
ext: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5
|
-
install: z.ZodBoolean;
|
|
6
8
|
outputDirectory: z.ZodOptional<z.ZodString>;
|
|
7
9
|
activateProfiles: z.ZodOptional<z.ZodString>;
|
|
8
10
|
cwd: z.ZodOptional<z.ZodString>;
|
|
11
|
+
exec: z.ZodOptional<z.ZodString>;
|
|
12
|
+
obr: z.ZodOptional<z.ZodBoolean>;
|
|
9
13
|
}, "strip", z.ZodTypeAny, {
|
|
10
14
|
install: boolean;
|
|
15
|
+
username?: string | undefined;
|
|
16
|
+
password?: string | undefined;
|
|
11
17
|
watch?: boolean | undefined;
|
|
12
18
|
ext?: string[] | undefined;
|
|
13
19
|
outputDirectory?: string | undefined;
|
|
14
20
|
activateProfiles?: string | undefined;
|
|
15
21
|
cwd?: string | undefined;
|
|
22
|
+
exec?: string | undefined;
|
|
23
|
+
obr?: boolean | undefined;
|
|
16
24
|
}, {
|
|
17
25
|
install: boolean;
|
|
26
|
+
username?: string | undefined;
|
|
27
|
+
password?: string | undefined;
|
|
18
28
|
watch?: boolean | undefined;
|
|
19
29
|
ext?: string[] | undefined;
|
|
20
30
|
outputDirectory?: string | undefined;
|
|
21
31
|
activateProfiles?: string | undefined;
|
|
22
32
|
cwd?: string | undefined;
|
|
33
|
+
exec?: string | undefined;
|
|
34
|
+
obr?: boolean | undefined;
|
|
23
35
|
}>;
|
|
24
36
|
export declare const DebugOptions: z.ZodIntersection<z.ZodObject<Omit<{
|
|
37
|
+
install: z.ZodOptional<z.ZodBoolean>;
|
|
25
38
|
debug: z.ZodDefault<z.ZodBoolean>;
|
|
26
39
|
database: z.ZodDefault<z.ZodEnum<["postgresql", "mysql", "mssql"]>>;
|
|
27
40
|
name: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
28
|
-
port: z.ZodEffects<z.ZodEffects<z.ZodString, number, string>, number, string
|
|
41
|
+
port: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, number, string>, number, string>>;
|
|
29
42
|
clean: z.ZodDefault<z.ZodBoolean>;
|
|
30
43
|
prune: z.ZodDefault<z.ZodBoolean>;
|
|
31
44
|
tag: z.ZodDefault<z.ZodString>;
|
|
45
|
+
databaseTag: z.ZodDefault<z.ZodString>;
|
|
32
46
|
contextPath: z.ZodOptional<z.ZodString>;
|
|
33
47
|
xms: z.ZodDefault<z.ZodString>;
|
|
34
48
|
xmx: z.ZodDefault<z.ZodString>;
|
|
35
49
|
watch: z.ZodDefault<z.ZodBoolean>;
|
|
36
|
-
ext: z.ZodArray<z.ZodString, "many"
|
|
37
|
-
|
|
38
|
-
outputDirectory: z.ZodString;
|
|
50
|
+
ext: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
51
|
+
outputDirectory: z.ZodOptional<z.ZodString>;
|
|
39
52
|
activateProfiles: z.ZodOptional<z.ZodString>;
|
|
40
53
|
cwd: z.ZodOptional<z.ZodString>;
|
|
41
54
|
}, "name">, "strip", z.ZodTypeAny, {
|
|
@@ -45,52 +58,66 @@ export declare const DebugOptions: z.ZodIntersection<z.ZodObject<Omit<{
|
|
|
45
58
|
clean: boolean;
|
|
46
59
|
prune: boolean;
|
|
47
60
|
tag: string;
|
|
61
|
+
databaseTag: string;
|
|
48
62
|
xms: string;
|
|
49
63
|
xmx: string;
|
|
50
64
|
watch: boolean;
|
|
51
|
-
|
|
52
|
-
install: boolean;
|
|
53
|
-
outputDirectory: string;
|
|
65
|
+
install?: boolean | undefined;
|
|
54
66
|
contextPath?: string | undefined;
|
|
67
|
+
ext?: string[] | undefined;
|
|
68
|
+
outputDirectory?: string | undefined;
|
|
55
69
|
activateProfiles?: string | undefined;
|
|
56
70
|
cwd?: string | undefined;
|
|
57
71
|
}, {
|
|
58
|
-
|
|
59
|
-
ext: string[];
|
|
60
|
-
install: boolean;
|
|
61
|
-
outputDirectory: string;
|
|
72
|
+
install?: boolean | undefined;
|
|
62
73
|
debug?: boolean | undefined;
|
|
63
74
|
database?: "postgresql" | "mysql" | "mssql" | undefined;
|
|
75
|
+
port?: string | undefined;
|
|
64
76
|
clean?: boolean | undefined;
|
|
65
77
|
prune?: boolean | undefined;
|
|
66
78
|
tag?: string | undefined;
|
|
79
|
+
databaseTag?: string | undefined;
|
|
67
80
|
contextPath?: string | undefined;
|
|
68
81
|
xms?: string | undefined;
|
|
69
82
|
xmx?: string | undefined;
|
|
70
83
|
watch?: boolean | undefined;
|
|
84
|
+
ext?: string[] | undefined;
|
|
85
|
+
outputDirectory?: string | undefined;
|
|
71
86
|
activateProfiles?: string | undefined;
|
|
72
87
|
cwd?: string | undefined;
|
|
73
88
|
}>, z.ZodObject<{
|
|
89
|
+
install: z.ZodBoolean;
|
|
90
|
+
username: z.ZodOptional<z.ZodString>;
|
|
91
|
+
password: z.ZodOptional<z.ZodString>;
|
|
74
92
|
watch: z.ZodOptional<z.ZodBoolean>;
|
|
75
93
|
ext: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
76
|
-
install: z.ZodBoolean;
|
|
77
94
|
outputDirectory: z.ZodOptional<z.ZodString>;
|
|
78
95
|
activateProfiles: z.ZodOptional<z.ZodString>;
|
|
79
96
|
cwd: z.ZodOptional<z.ZodString>;
|
|
97
|
+
exec: z.ZodOptional<z.ZodString>;
|
|
98
|
+
obr: z.ZodOptional<z.ZodBoolean>;
|
|
80
99
|
}, "strip", z.ZodTypeAny, {
|
|
81
100
|
install: boolean;
|
|
101
|
+
username?: string | undefined;
|
|
102
|
+
password?: string | undefined;
|
|
82
103
|
watch?: boolean | undefined;
|
|
83
104
|
ext?: string[] | undefined;
|
|
84
105
|
outputDirectory?: string | undefined;
|
|
85
106
|
activateProfiles?: string | undefined;
|
|
86
107
|
cwd?: string | undefined;
|
|
108
|
+
exec?: string | undefined;
|
|
109
|
+
obr?: boolean | undefined;
|
|
87
110
|
}, {
|
|
88
111
|
install: boolean;
|
|
112
|
+
username?: string | undefined;
|
|
113
|
+
password?: string | undefined;
|
|
89
114
|
watch?: boolean | undefined;
|
|
90
115
|
ext?: string[] | undefined;
|
|
91
116
|
outputDirectory?: string | undefined;
|
|
92
117
|
activateProfiles?: string | undefined;
|
|
93
118
|
cwd?: string | undefined;
|
|
119
|
+
exec?: string | undefined;
|
|
120
|
+
obr?: boolean | undefined;
|
|
94
121
|
}>>;
|
|
95
122
|
export type TBuildOptions = z.infer<typeof BuildOptions>;
|
|
96
123
|
export type TDebugOptions = z.infer<typeof DebugOptions>;
|
|
@@ -10,20 +10,21 @@ export interface Application {
|
|
|
10
10
|
}
|
|
11
11
|
export declare const SupportedApplications: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
12
12
|
export declare const ApplicationOptions: z.ZodObject<{
|
|
13
|
+
install: z.ZodOptional<z.ZodBoolean>;
|
|
13
14
|
debug: z.ZodDefault<z.ZodBoolean>;
|
|
14
15
|
database: z.ZodDefault<z.ZodEnum<["postgresql", "mysql", "mssql"]>>;
|
|
15
16
|
name: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
16
|
-
port: z.ZodEffects<z.ZodEffects<z.ZodString, number, string>, number, string
|
|
17
|
+
port: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, number, string>, number, string>>;
|
|
17
18
|
clean: z.ZodDefault<z.ZodBoolean>;
|
|
18
19
|
prune: z.ZodDefault<z.ZodBoolean>;
|
|
19
20
|
tag: z.ZodDefault<z.ZodString>;
|
|
21
|
+
databaseTag: z.ZodDefault<z.ZodString>;
|
|
20
22
|
contextPath: z.ZodOptional<z.ZodString>;
|
|
21
23
|
xms: z.ZodDefault<z.ZodString>;
|
|
22
24
|
xmx: z.ZodDefault<z.ZodString>;
|
|
23
25
|
watch: z.ZodDefault<z.ZodBoolean>;
|
|
24
|
-
ext: z.ZodArray<z.ZodString, "many"
|
|
25
|
-
|
|
26
|
-
outputDirectory: z.ZodString;
|
|
26
|
+
ext: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
27
|
+
outputDirectory: z.ZodOptional<z.ZodString>;
|
|
27
28
|
activateProfiles: z.ZodOptional<z.ZodString>;
|
|
28
29
|
cwd: z.ZodOptional<z.ZodString>;
|
|
29
30
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -34,32 +35,35 @@ export declare const ApplicationOptions: z.ZodObject<{
|
|
|
34
35
|
clean: boolean;
|
|
35
36
|
prune: boolean;
|
|
36
37
|
tag: string;
|
|
38
|
+
databaseTag: string;
|
|
37
39
|
xms: string;
|
|
38
40
|
xmx: string;
|
|
39
41
|
watch: boolean;
|
|
40
|
-
|
|
41
|
-
install: boolean;
|
|
42
|
-
outputDirectory: string;
|
|
42
|
+
install?: boolean | undefined;
|
|
43
43
|
contextPath?: string | undefined;
|
|
44
|
+
ext?: string[] | undefined;
|
|
45
|
+
outputDirectory?: string | undefined;
|
|
44
46
|
activateProfiles?: string | undefined;
|
|
45
47
|
cwd?: string | undefined;
|
|
46
48
|
}, {
|
|
47
49
|
name: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
48
|
-
|
|
49
|
-
ext: string[];
|
|
50
|
-
install: boolean;
|
|
51
|
-
outputDirectory: string;
|
|
50
|
+
install?: boolean | undefined;
|
|
52
51
|
debug?: boolean | undefined;
|
|
53
52
|
database?: "postgresql" | "mysql" | "mssql" | undefined;
|
|
53
|
+
port?: string | undefined;
|
|
54
54
|
clean?: boolean | undefined;
|
|
55
55
|
prune?: boolean | undefined;
|
|
56
56
|
tag?: string | undefined;
|
|
57
|
+
databaseTag?: string | undefined;
|
|
57
58
|
contextPath?: string | undefined;
|
|
58
59
|
xms?: string | undefined;
|
|
59
60
|
xmx?: string | undefined;
|
|
60
61
|
watch?: boolean | undefined;
|
|
62
|
+
ext?: string[] | undefined;
|
|
63
|
+
outputDirectory?: string | undefined;
|
|
61
64
|
activateProfiles?: string | undefined;
|
|
62
65
|
cwd?: string | undefined;
|
|
63
66
|
}>;
|
|
64
67
|
export type TApplicationOptions = z.infer<typeof ApplicationOptions>;
|
|
65
68
|
export type TSupportedApplications = z.infer<typeof SupportedApplications>;
|
|
69
|
+
export type TTimebombLicenses = Record<TSupportedApplications & 'app', string>;
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const PerformanceTestTypes: z.ZodEnum<["baseline", "regression"]>;
|
|
3
|
+
export declare const ScalabilityTestTypes: z.ZodEnum<["one-node", "two-node", "four-node"]>;
|
|
4
|
+
export declare const TestResults: z.ZodEnum<["path", "Summary run status", "Application nodes count", "Finished", "Compliant", "Success", "Has app-specific actions"]>;
|
|
5
|
+
export declare const ReportTypes: z.ZodEnum<["performance", "scalability"]>;
|
|
6
|
+
export declare const APTReportArgs: z.ZodObject<{
|
|
7
|
+
type: z.ZodEnum<["performance", "scalability"]>;
|
|
8
|
+
timestamp: z.ZodString;
|
|
9
|
+
cwd: z.ZodString;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
type: "performance" | "scalability";
|
|
12
|
+
cwd: string;
|
|
13
|
+
timestamp: string;
|
|
14
|
+
}, {
|
|
15
|
+
type: "performance" | "scalability";
|
|
16
|
+
cwd: string;
|
|
17
|
+
timestamp: string;
|
|
18
|
+
}>;
|
|
19
|
+
export declare const APTProvisionOptions: z.ZodObject<{
|
|
20
|
+
cwd: z.ZodString;
|
|
21
|
+
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
22
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
23
|
+
appKey: z.ZodOptional<z.ZodString>;
|
|
24
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
cwd: string;
|
|
27
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
28
|
+
environment?: string | undefined;
|
|
29
|
+
appKey?: string | undefined;
|
|
30
|
+
force?: boolean | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
cwd: string;
|
|
33
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
34
|
+
environment?: string | undefined;
|
|
35
|
+
appKey?: string | undefined;
|
|
36
|
+
force?: boolean | undefined;
|
|
37
|
+
}>;
|
|
38
|
+
export declare const APTPerformanceTestArgs: z.ZodObject<{
|
|
39
|
+
cwd: z.ZodString;
|
|
40
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
41
|
+
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
42
|
+
environment: z.ZodString;
|
|
43
|
+
appKey: z.ZodString;
|
|
44
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
appLicense: z.ZodString;
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
|
+
cwd: string;
|
|
48
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
49
|
+
environment: string;
|
|
50
|
+
appKey: string;
|
|
51
|
+
appLicense: string;
|
|
52
|
+
timestamp?: string | undefined;
|
|
53
|
+
force?: boolean | undefined;
|
|
54
|
+
}, {
|
|
55
|
+
cwd: string;
|
|
56
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
57
|
+
environment: string;
|
|
58
|
+
appKey: string;
|
|
59
|
+
appLicense: string;
|
|
60
|
+
timestamp?: string | undefined;
|
|
61
|
+
force?: boolean | undefined;
|
|
62
|
+
}>;
|
|
63
|
+
export declare const APTPerformanceTestOptions: z.ZodObject<{
|
|
64
|
+
cwd: z.ZodString;
|
|
65
|
+
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
66
|
+
environment: z.ZodString;
|
|
67
|
+
appKey: z.ZodOptional<z.ZodString>;
|
|
68
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
69
|
+
appLicense: z.ZodOptional<z.ZodString>;
|
|
70
|
+
outputDir: z.ZodString;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
cwd: string;
|
|
73
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
74
|
+
environment: string;
|
|
75
|
+
outputDir: string;
|
|
76
|
+
appKey?: string | undefined;
|
|
77
|
+
force?: boolean | undefined;
|
|
78
|
+
appLicense?: string | undefined;
|
|
79
|
+
}, {
|
|
80
|
+
cwd: string;
|
|
81
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
82
|
+
environment: string;
|
|
83
|
+
outputDir: string;
|
|
84
|
+
appKey?: string | undefined;
|
|
85
|
+
force?: boolean | undefined;
|
|
86
|
+
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;
|
|
106
|
+
}>;
|
|
107
|
+
export declare const APTPerformanceReportOptions: z.ZodObject<{
|
|
108
|
+
cwd: z.ZodString;
|
|
109
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
110
|
+
outputDir: z.ZodString;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
cwd: string;
|
|
113
|
+
outputDir: string;
|
|
114
|
+
force?: boolean | undefined;
|
|
115
|
+
}, {
|
|
116
|
+
cwd: string;
|
|
117
|
+
outputDir: string;
|
|
118
|
+
force?: boolean | undefined;
|
|
119
|
+
}>;
|
|
120
|
+
export declare const APTScalabilityTestArgs: z.ZodObject<{
|
|
121
|
+
cwd: z.ZodString;
|
|
122
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
123
|
+
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
124
|
+
environment: z.ZodString;
|
|
125
|
+
appKey: z.ZodString;
|
|
126
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
127
|
+
appLicense: z.ZodOptional<z.ZodString>;
|
|
128
|
+
}, "strip", z.ZodTypeAny, {
|
|
129
|
+
cwd: string;
|
|
130
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
131
|
+
environment: string;
|
|
132
|
+
appKey: string;
|
|
133
|
+
timestamp?: string | undefined;
|
|
134
|
+
force?: boolean | undefined;
|
|
135
|
+
appLicense?: string | undefined;
|
|
136
|
+
}, {
|
|
137
|
+
cwd: string;
|
|
138
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
139
|
+
environment: string;
|
|
140
|
+
appKey: string;
|
|
141
|
+
timestamp?: string | undefined;
|
|
142
|
+
force?: boolean | undefined;
|
|
143
|
+
appLicense?: string | undefined;
|
|
144
|
+
}>;
|
|
145
|
+
export declare const APTScalabilityTestOptions: z.ZodObject<{
|
|
146
|
+
cwd: z.ZodString;
|
|
147
|
+
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
148
|
+
environment: z.ZodString;
|
|
149
|
+
appKey: z.ZodOptional<z.ZodString>;
|
|
150
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
151
|
+
appLicense: z.ZodOptional<z.ZodString>;
|
|
152
|
+
outputDir: z.ZodString;
|
|
153
|
+
license: z.ZodString;
|
|
154
|
+
}, "strip", z.ZodTypeAny, {
|
|
155
|
+
cwd: string;
|
|
156
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
157
|
+
environment: string;
|
|
158
|
+
outputDir: string;
|
|
159
|
+
license: string;
|
|
160
|
+
appKey?: string | undefined;
|
|
161
|
+
force?: boolean | undefined;
|
|
162
|
+
appLicense?: string | undefined;
|
|
163
|
+
}, {
|
|
164
|
+
cwd: string;
|
|
165
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
166
|
+
environment: string;
|
|
167
|
+
outputDir: string;
|
|
168
|
+
license: string;
|
|
169
|
+
appKey?: string | undefined;
|
|
170
|
+
force?: boolean | undefined;
|
|
171
|
+
appLicense?: string | undefined;
|
|
172
|
+
}>;
|
|
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
|
+
export declare const APTScalabilityReportOptions: z.ZodObject<{
|
|
193
|
+
cwd: z.ZodString;
|
|
194
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
195
|
+
outputDir: z.ZodString;
|
|
196
|
+
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
cwd: string;
|
|
198
|
+
outputDir: string;
|
|
199
|
+
force?: boolean | undefined;
|
|
200
|
+
}, {
|
|
201
|
+
cwd: string;
|
|
202
|
+
outputDir: string;
|
|
203
|
+
force?: boolean | undefined;
|
|
204
|
+
}>;
|
|
205
|
+
export declare const APTTeardownArgs: z.ZodObject<{
|
|
206
|
+
cwd: z.ZodString;
|
|
207
|
+
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
208
|
+
environment: z.ZodString;
|
|
209
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
210
|
+
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
cwd: string;
|
|
212
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
213
|
+
environment: string;
|
|
214
|
+
force?: boolean | undefined;
|
|
215
|
+
}, {
|
|
216
|
+
cwd: string;
|
|
217
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
218
|
+
environment: string;
|
|
219
|
+
force?: boolean | undefined;
|
|
220
|
+
}>;
|
|
221
|
+
export declare const APTTeardownOptions: z.ZodObject<{
|
|
222
|
+
cwd: z.ZodString;
|
|
223
|
+
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
224
|
+
environment: z.ZodString;
|
|
225
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
226
|
+
aws_access_key_id: z.ZodOptional<z.ZodString>;
|
|
227
|
+
aws_secret_access_key: z.ZodOptional<z.ZodString>;
|
|
228
|
+
}, "strip", z.ZodTypeAny, {
|
|
229
|
+
cwd: string;
|
|
230
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
231
|
+
environment: string;
|
|
232
|
+
force?: boolean | undefined;
|
|
233
|
+
aws_access_key_id?: string | undefined;
|
|
234
|
+
aws_secret_access_key?: string | undefined;
|
|
235
|
+
}, {
|
|
236
|
+
cwd: string;
|
|
237
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
238
|
+
environment: string;
|
|
239
|
+
force?: boolean | undefined;
|
|
240
|
+
aws_access_key_id?: string | undefined;
|
|
241
|
+
aws_secret_access_key?: string | undefined;
|
|
242
|
+
}>;
|
|
243
|
+
export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
|
|
244
|
+
cwd: z.ZodString;
|
|
245
|
+
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
246
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
247
|
+
appKey: z.ZodOptional<z.ZodString>;
|
|
248
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
249
|
+
}, "strip", z.ZodTypeAny, {
|
|
250
|
+
cwd: string;
|
|
251
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
252
|
+
environment?: string | undefined;
|
|
253
|
+
appKey?: string | undefined;
|
|
254
|
+
force?: boolean | undefined;
|
|
255
|
+
}, {
|
|
256
|
+
cwd: string;
|
|
257
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
258
|
+
environment?: string | undefined;
|
|
259
|
+
appKey?: string | undefined;
|
|
260
|
+
force?: boolean | undefined;
|
|
261
|
+
}>, z.ZodObject<{
|
|
262
|
+
cwd: z.ZodString;
|
|
263
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
264
|
+
product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
|
|
265
|
+
environment: z.ZodString;
|
|
266
|
+
appKey: z.ZodString;
|
|
267
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
+
appLicense: z.ZodString;
|
|
269
|
+
}, "strip", z.ZodTypeAny, {
|
|
270
|
+
cwd: string;
|
|
271
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
272
|
+
environment: string;
|
|
273
|
+
appKey: string;
|
|
274
|
+
appLicense: string;
|
|
275
|
+
timestamp?: string | undefined;
|
|
276
|
+
force?: boolean | undefined;
|
|
277
|
+
}, {
|
|
278
|
+
cwd: string;
|
|
279
|
+
product: "jira" | "confluence" | "bitbucket" | "bamboo";
|
|
280
|
+
environment: string;
|
|
281
|
+
appKey: string;
|
|
282
|
+
appLicense: string;
|
|
283
|
+
timestamp?: string | undefined;
|
|
284
|
+
force?: boolean | undefined;
|
|
285
|
+
}>>;
|
|
286
|
+
export type TAPTArgs = z.infer<typeof APTArgs>;
|
|
287
|
+
export type TAPTProvisionOptions = z.infer<typeof APTProvisionOptions>;
|
|
288
|
+
export type TAPTReportArgs = z.infer<typeof APTReportArgs>;
|
|
289
|
+
export type TPerformanceTestTypes = z.infer<typeof PerformanceTestTypes>;
|
|
290
|
+
export type TAPTPerformanceTestArgs = z.infer<typeof APTPerformanceTestArgs>;
|
|
291
|
+
export type TAPTPerformanceTestOptions = z.infer<typeof APTPerformanceTestOptions>;
|
|
292
|
+
export type TAPTPerformanceTestMessages = z.infer<typeof APTPerformanceTestMessages>;
|
|
293
|
+
export type TAPTPerformanceReportOptions = z.infer<typeof APTPerformanceReportOptions>;
|
|
294
|
+
export type TScalabilityTestTypes = z.infer<typeof ScalabilityTestTypes>;
|
|
295
|
+
export type TAPTScalabilityTestArgs = z.infer<typeof APTScalabilityTestArgs>;
|
|
296
|
+
export type TAPTScalabilityTestOptions = z.infer<typeof APTScalabilityTestOptions>;
|
|
297
|
+
export type TAPTScalabilityTestMessages = z.infer<typeof APTScalabilityTestMessages>;
|
|
298
|
+
export type TAPTScalabilityReportOptions = z.infer<typeof APTScalabilityReportOptions>;
|
|
299
|
+
export type TAPTTeardownArgs = z.infer<typeof APTTeardownArgs>;
|
|
300
|
+
export type TAPTTeardownOptions = z.infer<typeof APTTeardownOptions>;
|
|
301
|
+
export type TTestResults = z.infer<typeof TestResults>;
|
|
302
|
+
export type TReportTypes = z.infer<typeof ReportTypes>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dcdx",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0-next.2",
|
|
4
4
|
"author": "Collabsoft <info@collabsoft.net>",
|
|
5
5
|
"description": "The Unofficial CLI for Atlassian Data Center Plugin Development",
|
|
6
6
|
"type": "module",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"watch": "yarn run nodemon --watch src -e '.ts' --exec 'yarn build'",
|
|
29
29
|
"start": "./lib/index.js",
|
|
30
30
|
"prepack": "yarn generate:versions && yarn build",
|
|
31
|
-
"test": "yarn run vitest --coverage --disable-console-intercept --watch=false --silent=false",
|
|
32
|
-
"test:ui": "yarn run vitest --coverage --disable-console-intercept --silent=false --ui"
|
|
31
|
+
"test": "yarn run vitest run --coverage --coverage.include=src --disable-console-intercept --watch=false --silent=false --reporter=junit --outputFile=./test/results/junit.xml",
|
|
32
|
+
"test:ui": "yarn run vitest --coverage --coverage.include=src --disable-console-intercept --silent=false --ui"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
35
35
|
"type": "git",
|
|
36
|
-
"url": "
|
|
36
|
+
"url": "https://github.com/collabsoft-net/dcdx.git"
|
|
37
37
|
},
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"bugs": {
|
|
@@ -47,41 +47,53 @@
|
|
|
47
47
|
"@rollup/plugin-json": "6.1.0",
|
|
48
48
|
"@rollup/plugin-node-resolve": "15.2.3",
|
|
49
49
|
"@rollup/plugin-terser": "0.4.4",
|
|
50
|
+
"@types/cli-progress": "^3",
|
|
50
51
|
"@types/dockerode": "3.3.28",
|
|
52
|
+
"@types/fs-extra": "^11",
|
|
53
|
+
"@types/inquirer": "^9",
|
|
51
54
|
"@types/js-yaml": "4",
|
|
52
55
|
"@types/node": "18.16.0",
|
|
53
56
|
"@types/pg": "8",
|
|
54
57
|
"@typescript-eslint/eslint-plugin": "7.6.0",
|
|
55
58
|
"@typescript-eslint/parser": "7.6.0",
|
|
56
|
-
"@vitest/coverage-v8": "
|
|
57
|
-
"@vitest/ui": "
|
|
59
|
+
"@vitest/coverage-v8": "2.1.5",
|
|
60
|
+
"@vitest/ui": "2.1.5",
|
|
58
61
|
"eslint": "9.0.0",
|
|
59
62
|
"eslint-plugin-simple-import-sort": "12.0.0",
|
|
60
63
|
"nodemon": "3.1.0",
|
|
61
64
|
"rollup": "4.14.1",
|
|
62
65
|
"rollup-plugin-executable": "1.6.3",
|
|
63
|
-
"semantic-release": "
|
|
66
|
+
"semantic-release": "24.2.0",
|
|
64
67
|
"typescript": "5.4.4",
|
|
65
68
|
"typescript-eslint": "7.6.0",
|
|
66
|
-
"vitest": "1.
|
|
69
|
+
"vitest": "2.1.5",
|
|
67
70
|
"vitest-mock-process": "1.0.4"
|
|
68
71
|
},
|
|
69
72
|
"dependencies": {
|
|
73
|
+
"@inquirer/prompts": "7.0.1",
|
|
70
74
|
"@xmldom/xmldom": "0.8.10",
|
|
71
75
|
"axios": "1.6.8",
|
|
72
76
|
"chokidar": "3.6.0",
|
|
77
|
+
"cli-progress": "3.12.0",
|
|
73
78
|
"commander": "12.0.0",
|
|
79
|
+
"date-fns": "4.1.0",
|
|
74
80
|
"docker-compose": "0.24.8",
|
|
75
81
|
"dockerode": "4.0.2",
|
|
76
82
|
"exit-hook": "4.0.0",
|
|
77
83
|
"fast-xml-parser": "4.3.6",
|
|
84
|
+
"fs-extra": "11.2.0",
|
|
85
|
+
"glob": "11.0.0",
|
|
86
|
+
"inquirer": "9.2.22",
|
|
87
|
+
"inquirer-press-to-continue": "1.2.0",
|
|
78
88
|
"js-yaml": "4.1.0",
|
|
79
89
|
"mysql2": "3.9.4",
|
|
80
90
|
"pg": "8.11.5",
|
|
91
|
+
"puppeteer": "23.7.1",
|
|
81
92
|
"sequelize": "6.37.2",
|
|
82
93
|
"simple-git": "3.24.0",
|
|
83
94
|
"tedious": "18.1.0",
|
|
84
95
|
"xpath": "0.0.34",
|
|
96
|
+
"yaml": "2.6.0",
|
|
85
97
|
"zod": "3.23.6"
|
|
86
98
|
},
|
|
87
99
|
"release": {
|