@provartesting/provardx-cli 0.0.4 → 0.0.5
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/Utility/errorCode.d.ts +1 -1
- package/lib/Utility/fileSupport.d.ts +1 -0
- package/lib/Utility/fileSupport.js +3 -0
- package/lib/Utility/fileSupport.js.map +1 -1
- package/lib/Utility/jsonSupport.js.map +1 -1
- package/lib/Utility/propertyFileValidator.js.map +1 -1
- package/lib/Utility/provarConfig.js.map +1 -1
- package/lib/Utility/provardxExecutor.d.ts +7 -0
- package/lib/Utility/provardxExecutor.js +31 -0
- package/lib/Utility/provardxExecutor.js.map +1 -0
- package/lib/Utility/sfProvarCommandResult.js.map +1 -1
- package/lib/Utility/stringSupport.d.ts +2 -0
- package/lib/Utility/stringSupport.js +10 -0
- package/lib/Utility/stringSupport.js.map +1 -1
- package/lib/Utility/userSupport.d.ts +15 -0
- package/lib/Utility/userSupport.js +56 -0
- package/lib/Utility/userSupport.js.map +1 -0
- package/lib/commands/provar/{config → automation/config}/generate.d.ts +1 -1
- package/lib/commands/provar/{config → automation/config}/generate.js +4 -4
- package/lib/commands/provar/automation/config/generate.js.map +1 -0
- package/lib/commands/provar/{config → automation/config}/get.d.ts +1 -1
- package/lib/commands/provar/{config → automation/config}/get.js +5 -5
- package/lib/commands/provar/automation/config/get.js.map +1 -0
- package/lib/commands/provar/{config → automation/config}/load.d.ts +1 -1
- package/lib/commands/provar/{config → automation/config}/load.js +5 -5
- package/lib/commands/provar/automation/config/load.js.map +1 -0
- package/lib/commands/provar/{config → automation/config}/set.d.ts +1 -1
- package/lib/commands/provar/{config → automation/config}/set.js +5 -5
- package/lib/commands/provar/automation/config/set.js.map +1 -0
- package/lib/commands/provar/{config → automation/config}/validate.d.ts +1 -1
- package/lib/commands/provar/{config → automation/config}/validate.js +3 -3
- package/lib/commands/provar/automation/config/validate.js.map +1 -0
- package/lib/commands/provar/automation/metadata/download.d.ts +13 -0
- package/lib/commands/provar/automation/metadata/download.js +94 -0
- package/lib/commands/provar/automation/metadata/download.js.map +1 -0
- package/lib/constants/commandConstants.d.ts +6 -5
- package/lib/constants/commandConstants.js +6 -5
- package/lib/constants/commandConstants.js.map +1 -1
- package/lib/constants/sfCommandConstants.d.ts +4 -0
- package/lib/constants/sfCommandConstants.js +6 -0
- package/lib/constants/sfCommandConstants.js.map +1 -0
- package/messages/provar.metadata.download.md +23 -0
- package/oclif.manifest.json +207 -41
- package/package.json +15 -8
- package/lib/commands/provar/config/generate.js.map +0 -1
- package/lib/commands/provar/config/get.js.map +0 -1
- package/lib/commands/provar/config/load.js.map +0 -1
- package/lib/commands/provar/config/set.js.map +0 -1
- package/lib/commands/provar/config/validate.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ErrorCode = 'MISSING_FILE' | 'MALFORMED_FILE' | 'MISSING_PROPERTY' | 'MISSING_PROPERTIES' | 'INVALID_VALUES' | 'INVALID_VALUE' | 'MISSING_VALUE' | 'INVALID_FILE_EXTENSION' | 'GENERATE_OPERATION_DENIED' | 'INVALID_PATH' | 'INSUFFICIENT_PERMISSIONS' | 'INVALID_ARGUMENT' | 'INVALID_PROPERTY' | 'UNKNOWN_PROPERTY';
|
|
1
|
+
export type ErrorCode = 'MISSING_FILE' | 'MALFORMED_FILE' | 'MISSING_PROPERTY' | 'MISSING_PROPERTIES' | 'INVALID_VALUES' | 'INVALID_VALUE' | 'MISSING_VALUE' | 'INVALID_FILE_EXTENSION' | 'GENERATE_OPERATION_DENIED' | 'INVALID_PATH' | 'INSUFFICIENT_PERMISSIONS' | 'INVALID_ARGUMENT' | 'INVALID_PROPERTY' | 'UNKNOWN_PROPERTY' | 'DOWNLOAD_ERROR';
|
|
@@ -17,4 +17,7 @@ export function getExtension(filename) {
|
|
|
17
17
|
const i = filename.lastIndexOf('.');
|
|
18
18
|
return i < 0 ? '' : filename.substr(i);
|
|
19
19
|
}
|
|
20
|
+
export function fileContainsString(fileContent, searchString) {
|
|
21
|
+
return fileContent.includes(searchString);
|
|
22
|
+
}
|
|
20
23
|
//# sourceMappingURL=fileSupport.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileSupport.js","sourceRoot":"","sources":["../../src/Utility/fileSupport.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAE1E;;;GAGG;AAEH,MAAM,UAAU,YAAY,CAAC,QAAgB;IAC3C,EAAE,CAAC,aAAa,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,mBAAmB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;AAC3E,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,QAAgB;IAC3C,MAAM,CAAC,GAAG,QAAQ,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACpC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACzC,CAAC"}
|
|
1
|
+
{"version":3,"file":"fileSupport.js","sourceRoot":"","sources":["../../src/Utility/fileSupport.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAE1E;;;GAGG;AAEH,MAAM,UAAU,YAAY,CAAC,QAAgB;IAC3C,EAAE,CAAC,aAAa,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,mBAAmB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;AAC3E,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,QAAgB;IAC3C,MAAM,CAAC,GAAG,QAAQ,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACpC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACzC,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,WAAmB,EAAE,YAAoB;IAC1E,OAAO,WAAW,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;AAC5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsonSupport.js","sourceRoot":"","sources":["../../src/Utility/jsonSupport.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;GAGG;AAEH,oBAAoB;AACpB,MAAM,UAAU,iBAAiB,CAAC,QAAa,EAAE,QAAgB;IAC/D,MAAM,YAAY,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACzC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"jsonSupport.js","sourceRoot":"","sources":["../../src/Utility/jsonSupport.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;GAGG;AAEH,oBAAoB;AACpB,MAAM,UAAU,iBAAiB,CAAC,QAAa,EAAE,QAAgB;IAC/D,MAAM,YAAY,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACzC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QAC7C,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IACvC,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,QAAa,EAAE,QAAgB;IACjE,MAAM,YAAY,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACzC,KAAK,MAAM,cAAc,IAAI,YAAY,EAAE,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+1,31 @@
|
|
|
1
|
+
import { promisify } from 'node:util';
|
|
2
|
+
import { exec } from 'node:child_process';
|
|
3
|
+
import { cli } from 'cli-ux';
|
|
4
|
+
/**
|
|
5
|
+
* Executes the provided dx command.
|
|
6
|
+
*
|
|
7
|
+
* @param command Command string
|
|
8
|
+
* @param message Message to be displayed while command execution is in progress.
|
|
9
|
+
*/
|
|
10
|
+
/* eslint-disable */
|
|
11
|
+
export async function executeCommand(command, message) {
|
|
12
|
+
if (message) {
|
|
13
|
+
cli.action.start(message);
|
|
14
|
+
}
|
|
15
|
+
let isSucessful = false;
|
|
16
|
+
const execPromise = promisify(exec);
|
|
17
|
+
try {
|
|
18
|
+
const result = await execPromise(command);
|
|
19
|
+
isSucessful = true;
|
|
20
|
+
return result.stdout;
|
|
21
|
+
}
|
|
22
|
+
catch (e) {
|
|
23
|
+
return e.stdout;
|
|
24
|
+
}
|
|
25
|
+
finally {
|
|
26
|
+
if (message) {
|
|
27
|
+
cli.action.stop(isSucessful ? 'successful' : 'failed');
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=provardxExecutor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provardxExecutor.js","sourceRoot":"","sources":["../../src/Utility/provardxExecutor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAC7B;;;;;GAKG;AACH,oBAAoB;AACpB,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,OAAe,EAAE,OAAe;IACnE,IAAI,OAAO,EAAE,CAAC;QACZ,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAC5B,CAAC;IACD,IAAI,WAAW,GAAG,KAAK,CAAC;IACxB,MAAM,WAAW,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;IACpC,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,OAAO,CAAC,CAAC;QAC1C,WAAW,GAAG,IAAI,CAAC;QACnB,OAAO,MAAM,CAAC,MAAM,CAAC;IACvB,CAAC;IAAC,OAAO,CAAM,EAAE,CAAC;QAChB,OAAO,CAAC,CAAC,MAAM,CAAC;IAClB,CAAC;YAAS,CAAC;QACT,IAAI,OAAO,EAAE,CAAC;YACZ,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;QACzD,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sfProvarCommandResult.js","sourceRoot":"","sources":["../../src/Utility/sfProvarCommandResult.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAgBH,oBAAoB;AACpB,MAAM,UAAU,cAAc,CAC5B,KAAU,EACV,YAA0B,EAC1B,QAA0B,EAC1B,GAAa,EACb,KAAc;IAEd,IAAI,MAAM,GAA0B,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAEtD,IAAI,YAAY,CAAC,SAAS,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"sfProvarCommandResult.js","sourceRoot":"","sources":["../../src/Utility/sfProvarCommandResult.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAgBH,oBAAoB;AACpB,MAAM,UAAU,cAAc,CAC5B,KAAU,EACV,YAA0B,EAC1B,QAA0B,EAC1B,GAAa,EACb,KAAc;IAEd,IAAI,MAAM,GAA0B,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAEtD,IAAI,YAAY,CAAC,SAAS,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACxC,MAAM,YAAY,GAAY,YAAY,CAAC,SAAS,EAAE,CAAC;QACvD,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;YACnB,MAAM,QAAQ,CAAC,WAAW,CAAC,uBAAuB,EAAE,YAAY,CAAC,mBAAmB,EAAE,CAAC,CAAC;QAC1F,CAAC;QACD,MAAM,GAAG;YACP,OAAO,EAAE,KAAK;YACd,MAAM,EAAE,YAAY;SACrB,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5F,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAChC,MAAM,GAAG;YACP,OAAO,EAAE,IAAI;YACb,KAAK,EAAE,KAAK;SACb,CAAC;IACJ,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -4,3 +4,5 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export declare function substringAfter(str: string, separator: string): string;
|
|
6
6
|
export declare function addQuotesAround(array: string[]): string[];
|
|
7
|
+
export declare function removeSpaces(str: string): string;
|
|
8
|
+
export declare function getStringAfterSubstring(content: string, searchString: string): string;
|
|
@@ -24,4 +24,14 @@ export function substringAfter(str, separator) {
|
|
|
24
24
|
export function addQuotesAround(array) {
|
|
25
25
|
return array.map((item) => "'" + item + "'");
|
|
26
26
|
}
|
|
27
|
+
export function removeSpaces(str) {
|
|
28
|
+
return str.replace(/\s/g, '');
|
|
29
|
+
}
|
|
30
|
+
export function getStringAfterSubstring(content, searchString) {
|
|
31
|
+
const index = content.toLowerCase().indexOf(searchString.toLowerCase());
|
|
32
|
+
if (index === -1) {
|
|
33
|
+
return '';
|
|
34
|
+
}
|
|
35
|
+
return content.slice(index);
|
|
36
|
+
}
|
|
27
37
|
//# sourceMappingURL=stringSupport.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stringSupport.js","sourceRoot":"","sources":["../../src/Utility/stringSupport.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;GAGG;AAEH,MAAM,UAAU,cAAc,CAAC,GAAW,EAAE,SAAiB;IAC3D,IAAI,CAAC,GAAG,EAAE;
|
|
1
|
+
{"version":3,"file":"stringSupport.js","sourceRoot":"","sources":["../../src/Utility/stringSupport.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;GAGG;AAEH,MAAM,UAAU,cAAc,CAAC,GAAW,EAAE,SAAiB;IAC3D,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,OAAO,GAAG,CAAC;IACb,CAAC;IACD,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;QACtB,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,MAAM,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IACnC,IAAI,GAAG,KAAK,CAAC,CAAC,EAAE,CAAC;QACf,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO,GAAG,CAAC,SAAS,CAAC,GAAG,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;AAC/C,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,KAAe;IAC7C,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,GAAG,IAAI,GAAG,GAAG,CAAC,CAAC;AAC/C,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,GAAW;IACtC,OAAO,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AAChC,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,OAAe,EAAE,YAAoB;IAC3E,MAAM,KAAK,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC,CAAC;IACxE,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;QACjB,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,OAAO,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAC9B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import ErrorHandler from './errorHandler.js';
|
|
2
|
+
export default class UserSupport {
|
|
3
|
+
/**
|
|
4
|
+
* Updates the dx properties json string before it is send to command executer.
|
|
5
|
+
*/
|
|
6
|
+
prepareRawProperties(rawProperties: string): string;
|
|
7
|
+
/**
|
|
8
|
+
* Gets the dx user info and generated the password for dx user if not already created.
|
|
9
|
+
*
|
|
10
|
+
* @param overrides Connection overrides provided in dx property file.
|
|
11
|
+
*/
|
|
12
|
+
getDxUsersInfo(overrides: any, errorHandler: ErrorHandler): Promise<any>;
|
|
13
|
+
private generatePasswordIfNotPresent;
|
|
14
|
+
private handleSpecialCharacters;
|
|
15
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { sfCommandConstants } from '../constants/sfCommandConstants.js';
|
|
2
|
+
import { executeCommand } from './provardxExecutor.js';
|
|
3
|
+
export default class UserSupport {
|
|
4
|
+
/**
|
|
5
|
+
* Updates the dx properties json string before it is send to command executer.
|
|
6
|
+
*/
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
prepareRawProperties(rawProperties) {
|
|
9
|
+
return '"' + rawProperties.replace(/"/g, '\\"') + '"';
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Gets the dx user info and generated the password for dx user if not already created.
|
|
13
|
+
*
|
|
14
|
+
* @param overrides Connection overrides provided in dx property file.
|
|
15
|
+
*/
|
|
16
|
+
async getDxUsersInfo(overrides, errorHandler) {
|
|
17
|
+
const dxUsers = [];
|
|
18
|
+
if (overrides === undefined || overrides.length === 0) {
|
|
19
|
+
return dxUsers;
|
|
20
|
+
}
|
|
21
|
+
for (const override of overrides) {
|
|
22
|
+
const username = override.username;
|
|
23
|
+
const message = 'Validating and retrieving dx user info: ' + username;
|
|
24
|
+
let dxUserInfo = await executeCommand(sfCommandConstants.DISPLAY_USER_INFO + username, message);
|
|
25
|
+
let jsonDxUser = JSON.parse(dxUserInfo);
|
|
26
|
+
if (jsonDxUser.status !== 0) {
|
|
27
|
+
errorHandler.addErrorsToList('DOWNLOAD_ERROR', `The following connectionOverride username is not valid: ${username}`);
|
|
28
|
+
continue;
|
|
29
|
+
}
|
|
30
|
+
({ jsonDxUser, dxUserInfo } = await this.generatePasswordIfNotPresent(jsonDxUser, username, dxUserInfo));
|
|
31
|
+
jsonDxUser.result.connection = override['connection'];
|
|
32
|
+
jsonDxUser.result.password = this.handleSpecialCharacters(jsonDxUser.result.password);
|
|
33
|
+
dxUsers.push(jsonDxUser);
|
|
34
|
+
}
|
|
35
|
+
if (dxUsers.length === 0) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return dxUsers;
|
|
39
|
+
}
|
|
40
|
+
async generatePasswordIfNotPresent(jsonDxUser, username, dxUserInfo) {
|
|
41
|
+
if (jsonDxUser.result.password == null) {
|
|
42
|
+
const generatePasswordCommand = sfCommandConstants.GENERATE_PASSWORD + username;
|
|
43
|
+
await executeCommand(generatePasswordCommand, 'Generating password for user: ' + username);
|
|
44
|
+
dxUserInfo = await executeCommand(sfCommandConstants.DISPLAY_USER_INFO + username, 'Getting generated password for user: ' + username);
|
|
45
|
+
jsonDxUser = JSON.parse(dxUserInfo.toString());
|
|
46
|
+
}
|
|
47
|
+
return { jsonDxUser, dxUserInfo };
|
|
48
|
+
}
|
|
49
|
+
handleSpecialCharacters(password) {
|
|
50
|
+
if (password) {
|
|
51
|
+
password = encodeURIComponent(password);
|
|
52
|
+
}
|
|
53
|
+
return password;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=userSupport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userSupport.js","sourceRoot":"","sources":["../../src/Utility/userSupport.ts"],"names":[],"mappings":"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AAG,IAAI,CAAC,uBAAuB,CAAC,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YACtF,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC3B,CAAC;QACD,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACzB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAEO,KAAK,CAAC,4BAA4B,CAAC,UAAe,EAAE,QAAa,EAAE,UAAe;QACxF,IAAI,UAAU,CAAC,MAAM,CAAC,QAAQ,IAAI,IAAI,EAAE,CAAC;YACvC,MAAM,uBAAuB,GAAG,kBAAkB,CAAC,iBAAiB,GAAG,QAAQ,CAAC;YAChF,MAAM,cAAc,CAAC,uBAAuB,EAAE,gCAAgC,GAAG,QAAQ,CAAC,CAAC;YAC3F,UAAU,GAAG,MAAM,cAAc,CAC/B,kBAAkB,CAAC,iBAAiB,GAAG,QAAQ,EAC/C,uCAAuC,GAAG,QAAQ,CACnD,CAAC;YACF,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAC;QACjD,CAAC;QACD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;IACpC,CAAC;IAEO,uBAAuB,CAAC,QAAgB;QAC9C,IAAI,QAAQ,EAAE,CAAC;YACb,QAAQ,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAC;QAC1C,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
-
import { SfProvarCommandResult } from '
|
|
2
|
+
import { SfProvarCommandResult } from '../../../../Utility/sfProvarCommandResult.js';
|
|
3
3
|
export default class SfProvarConfigGenerate extends SfCommand<SfProvarCommandResult> {
|
|
4
4
|
static readonly summary: string;
|
|
5
5
|
static readonly description: string;
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
import fs from 'node:fs';
|
|
8
8
|
import { Messages } from '@salesforce/core';
|
|
9
9
|
import { Flags, SfCommand } from '@salesforce/sf-plugins-core';
|
|
10
|
-
import { populateResult } from '
|
|
11
|
-
import { generateFile, getExtension } from '
|
|
12
|
-
import ErrorHandler from '
|
|
13
|
-
import { errorMessages } from '
|
|
10
|
+
import { populateResult } from '../../../../Utility/sfProvarCommandResult.js';
|
|
11
|
+
import { generateFile, getExtension } from '../../../../Utility/fileSupport.js';
|
|
12
|
+
import ErrorHandler from '../../../../Utility/errorHandler.js';
|
|
13
|
+
import { errorMessages } from '../../../../constants/errorMessages.js';
|
|
14
14
|
/**
|
|
15
15
|
* Generates the boiler plate provardx-properties.json
|
|
16
16
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../../../src/commands/provar/automation/config/generate.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAyB,cAAc,EAAE,MAAM,8CAA8C,CAAC;AACrG,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,YAAY,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAEvE;;;GAGG;AAEH,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,6BAA6B,EAAE,2BAA2B,CAAC,CAAC;AAEnG,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,SAAgC;IAC3E,MAAM,CAAU,OAAO,GAAG,Q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C1G,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,CAAC;YAClD,CAAC;QACH,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,CAAC;QAClD,CAAC;QAED,OAAO,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC,YAAY,EAAE,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACjF,CAAC;IAEO,sBAAsB,CAAC,kBAA0B;QACvD,IAAI,CAAC;YACH,YAAY,CAAC,kBAAkB,CAAC,CAAC;YACjC,oBAAoB;QACtB,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YACpB,IAAI,KAAK,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;gBAC5B,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,cAAc,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;YAChF,CAAC;iBAAM,IAAI,KAAK,CAAC,IAAI,KAAK,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;gBAC7D,IAAI,CAAC,YAAY,CAAC,eAAe,CAC/B,0BAA0B,EAC1B,wDAAwD,CACzD,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
-
import { SfProvarCommandResult } from '
|
|
2
|
+
import { SfProvarCommandResult } from '../../../../Utility/sfProvarCommandResult.js';
|
|
3
3
|
export default class SfProvarConfigGet extends SfCommand<SfProvarCommandResult> {
|
|
4
4
|
static readonly summary: string;
|
|
5
5
|
static readonly description: string;
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
import * as fileSystem from 'node:fs';
|
|
8
8
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
9
9
|
import { Messages } from '@salesforce/core';
|
|
10
|
-
import { populateResult } from '
|
|
11
|
-
import ErrorHandler from '
|
|
12
|
-
import { ProvarConfig } from '
|
|
13
|
-
import { errorMessages } from '
|
|
14
|
-
import { checkNestedProperty, getNestedProperty } from '
|
|
10
|
+
import { populateResult } from '../../../../Utility/sfProvarCommandResult.js';
|
|
11
|
+
import ErrorHandler from '../../../../Utility/errorHandler.js';
|
|
12
|
+
import { ProvarConfig } from '../../../../Utility/provarConfig.js';
|
|
13
|
+
import { errorMessages } from '../../../../constants/errorMessages.js';
|
|
14
|
+
import { checkNestedProperty, getNestedProperty } from '../../../../Utility/jsonSupport.js';
|
|
15
15
|
/**
|
|
16
16
|
* Gets the value for specified propertykey under arguments from provardx-properties.json
|
|
17
17
|
* laoded under config.json
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../src/commands/provar/automation/config/get.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,UAAU,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAyB,cAAc,EAAE,MAAM,8CAA8C,CAAC;AACrG,OAAO,YAAY,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAE5F;;;;GAIG;AAEH,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,6BAA6B,EAAE,sBAAsB,CAAC,CAAC;AAE9F,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,SAAgC;IACtE,MAAM,C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C,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,cAAc,CAAC,CAAC;IACjG,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
-
import { SfProvarCommandResult } from '
|
|
2
|
+
import { SfProvarCommandResult } from '../../../../Utility/sfProvarCommandResult.js';
|
|
3
3
|
export default class SfProvarConfigLoad extends SfCommand<SfProvarCommandResult> {
|
|
4
4
|
static readonly summary: string;
|
|
5
5
|
static readonly description: string;
|
|
@@ -8,11 +8,11 @@ import * as fileSystem from 'node:fs';
|
|
|
8
8
|
import { resolve } from 'node:path';
|
|
9
9
|
import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
|
|
10
10
|
import { Messages } from '@salesforce/core';
|
|
11
|
-
import { populateResult } from '
|
|
12
|
-
import ErrorHandler from '
|
|
13
|
-
import { ProvarConfig } from '
|
|
14
|
-
import PropertyFileValidator from '
|
|
15
|
-
import { errorMessages } from '
|
|
11
|
+
import { populateResult } from '../../../../Utility/sfProvarCommandResult.js';
|
|
12
|
+
import ErrorHandler from '../../../../Utility/errorHandler.js';
|
|
13
|
+
import { ProvarConfig } from '../../../../Utility/provarConfig.js';
|
|
14
|
+
import PropertyFileValidator from '../../../../Utility/propertyFileValidator.js';
|
|
15
|
+
import { errorMessages } from '../../../../constants/errorMessages.js';
|
|
16
16
|
/**
|
|
17
17
|
* Loads the path to provardx-properties.json to the user directory ${user}/.sf/config.json
|
|
18
18
|
* So, that further any command can be run at any location by picking up the properties.json file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"load.js","sourceRoot":"","sources":["../../../../../src/commands/provar/automation/config/load.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,UAAU,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6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AG,IAAI,qBAAqB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC3E,MAAM,MAAM,GAAiB,MAAM,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAE9E,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,kBAAkB,CAAC,EAAE,CAAC;YAC/C,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,cAAc,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;YAC9E,OAAO,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC,YAAY,EAAE,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QACjF,CAAC;QACD,MAAM,CAAC,GAAG,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAAC;QAChE,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;QACrB,IAAI,CAAC,CAAC,MAAM,qBAAqB,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC;YAC9C,MAAM,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC;YAC9C,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;QACvB,CAAC;QAED,OAAO,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC,YAAY,EAAE,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACjF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
-
import { SfProvarCommandResult } from '
|
|
2
|
+
import { SfProvarCommandResult } from '../../../../Utility/sfProvarCommandResult.js';
|
|
3
3
|
export default class SfProvarConfigSet extends SfCommand<SfProvarCommandResult> {
|
|
4
4
|
static readonly summary: string;
|
|
5
5
|
static readonly description: string;
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
import * as fileSystem from 'node:fs';
|
|
8
8
|
import { SfCommand, parseVarArgs } from '@salesforce/sf-plugins-core';
|
|
9
9
|
import { Messages } from '@salesforce/core';
|
|
10
|
-
import { populateResult } from '
|
|
11
|
-
import ErrorHandler from '
|
|
12
|
-
import { errorMessages } from '
|
|
13
|
-
import { ProvarConfig } from '
|
|
14
|
-
import { parseJSONString, setNestedProperty } from '
|
|
10
|
+
import { populateResult } from '../../../../Utility/sfProvarCommandResult.js';
|
|
11
|
+
import ErrorHandler from '../../../../Utility/errorHandler.js';
|
|
12
|
+
import { errorMessages } from '../../../../constants/errorMessages.js';
|
|
13
|
+
import { ProvarConfig } from '../../../../Utility/provarConfig.js';
|
|
14
|
+
import { parseJSONString, setNestedProperty } from '../../../../Utility/jsonSupport.js';
|
|
15
15
|
/**
|
|
16
16
|
* Sets the specified property key and value inside provardx-properties.json
|
|
17
17
|
* loaded under config file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set.js","sourceRoot":"","sources":["../../../../../src/commands/provar/automation/config/set.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,UAAU,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAyB,cAAc,EAAE,MAAM,8CAA8C,CAAC;AACrG,OAAO,YAAY,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAExF;;;;GAIG;AAEH,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,6BAA6B,EAAE,sBAAsB,CAAC,CAAC;AAE9F,M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;gBACtE,CAAC;qBAAM,CAAC;oBACN,mBAAmB,CAAC,YAAY,CAAC,GAAG,aAAa,CAAC;gBACpD,CAAC;YACH,CAAC;YACD,IAAI,IAAI,CAAC,YAAY,CAAC,SAAS,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC;gBAC9C,UAAU,CAAC,aAAa,CAAC,kBAAkB,EAAE,IAAI,CAAC,SAAS,CAAC,mBAAmB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;YAC7F,CAAC;QACH,CAAC;QAAC,OAAO,GAAQ,EAAE,CAAC;YAClB,IAAI,GAAG,CAAC,IAAI,KAAK,4BAA4B,EAAE,CAAC;gBAC9C,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,kBAAkB,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;YACxF,CAAC;iBAAM,IAAI,GAAG,CAAC,IAAI,KAAK,aAAa,EAAE,CAAC;gBACtC,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,gBAAgB,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;YACxF,CAAC;iBAAM,CAAC;gBACN,MAAM,GAAG,CAAC;YACZ,CAAC;QACH,CAAC;QACD,OAAO,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC,YAAY,EAAE,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACjF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
-
import { SfProvarCommandResult } from '
|
|
2
|
+
import { SfProvarCommandResult } from '../../../../Utility/sfProvarCommandResult.js';
|
|
3
3
|
export default class SfProvarConfigValidate extends SfCommand<SfProvarCommandResult> {
|
|
4
4
|
static readonly summary: string;
|
|
5
5
|
static readonly description: string;
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
8
8
|
import { Messages } from '@salesforce/core';
|
|
9
|
-
import ErrorHandler from '
|
|
10
|
-
import { populateResult } from '
|
|
11
|
-
import PropertyFileValidator from '
|
|
9
|
+
import ErrorHandler from '../../../../Utility/errorHandler.js';
|
|
10
|
+
import { populateResult } from '../../../../Utility/sfProvarCommandResult.js';
|
|
11
|
+
import PropertyFileValidator from '../../../../Utility/propertyFileValidator.js';
|
|
12
12
|
/**
|
|
13
13
|
* Validates the provardx-properties.json against JSON standards and provardx schema
|
|
14
14
|
* mentioned under PropertyFileSchema.ts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../../../src/commands/provar/automation/config/validate.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,YAAY,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAyB,cAAc,EAAE,MAAM,8CAA8C,CAAC;AACrG,OAAO,qBAAqB,MAAM,8CAA8C,CAAC;AAEjF;;;;GAIG;AAEH,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,6BAA6B,EAAE,2BAA2B,CAAC,CAAC;AAEnG,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,SAAgC;IAC3E,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAC3D,YAAY,GAAiB,IAAI,YAAY,EAAE,CAAC;IAEjD,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;QAC3D,MAAM,qBAAqB,GAAG,IAAI,qBAAqB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC3E,MAAM,qBAAqB,CAAC,QAAQ,EAAE,CAAC;QAEvC,OAAO,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC,YAAY,EAAE,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACjF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
+
import { SfProvarCommandResult } from '../../../../Utility/sfProvarCommandResult.js';
|
|
3
|
+
export default class ProvarMetadataDownload extends SfCommand<SfProvarCommandResult> {
|
|
4
|
+
static readonly summary: string;
|
|
5
|
+
static readonly description: string;
|
|
6
|
+
static readonly examples: string[];
|
|
7
|
+
static readonly flags: {
|
|
8
|
+
connections: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
9
|
+
};
|
|
10
|
+
private errorHandler;
|
|
11
|
+
run(): Promise<SfProvarCommandResult>;
|
|
12
|
+
private doConnectionOverrides;
|
|
13
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import fileSystem from 'node:fs';
|
|
2
|
+
import { spawnSync } from 'node:child_process';
|
|
3
|
+
import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
|
|
4
|
+
import { Messages } from '@salesforce/core';
|
|
5
|
+
import ErrorHandler from '../../../../Utility/errorHandler.js';
|
|
6
|
+
import { ProvarConfig } from '../../../../Utility/provarConfig.js';
|
|
7
|
+
import { errorMessages } from '../../../../constants/errorMessages.js';
|
|
8
|
+
import { populateResult } from '../../../../Utility/sfProvarCommandResult.js';
|
|
9
|
+
import UserSupport from '../../../../Utility/userSupport.js';
|
|
10
|
+
import { fileContainsString } from '../../../../Utility/fileSupport.js';
|
|
11
|
+
import { removeSpaces, getStringAfterSubstring } from '../../../../Utility/stringSupport.js';
|
|
12
|
+
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
|
|
13
|
+
const messages = Messages.loadMessages('@provartesting/provardx-cli', 'provar.metadata.download');
|
|
14
|
+
export default class ProvarMetadataDownload extends SfCommand {
|
|
15
|
+
static summary = messages.getMessage('summary');
|
|
16
|
+
static description = messages.getMessage('description');
|
|
17
|
+
static examples = messages.getMessages('examples');
|
|
18
|
+
static flags = {
|
|
19
|
+
connections: Flags.string({
|
|
20
|
+
summary: messages.getMessage('flags.connections.summary'),
|
|
21
|
+
char: 'c',
|
|
22
|
+
required: true,
|
|
23
|
+
}),
|
|
24
|
+
};
|
|
25
|
+
errorHandler = new ErrorHandler();
|
|
26
|
+
async run() {
|
|
27
|
+
const { flags } = await this.parse(ProvarMetadataDownload);
|
|
28
|
+
const config = await ProvarConfig.loadConfig(this.errorHandler);
|
|
29
|
+
const propertiesFilePath = config.get('PROVARDX_PROPERTIES_FILE_PATH')?.toString();
|
|
30
|
+
if (propertiesFilePath === undefined || !fileSystem.existsSync(propertiesFilePath)) {
|
|
31
|
+
this.errorHandler.addErrorsToList('MISSING_FILE', errorMessages.MISSINGFILEERROR);
|
|
32
|
+
return populateResult(flags, this.errorHandler, messages, this.log.bind(this));
|
|
33
|
+
}
|
|
34
|
+
try {
|
|
35
|
+
const propertiesdata = fileSystem.readFileSync(propertiesFilePath, { encoding: 'utf8' });
|
|
36
|
+
/* eslint-disable */
|
|
37
|
+
const propertiesInstance = JSON.parse(propertiesdata);
|
|
38
|
+
if (flags.connections) {
|
|
39
|
+
propertiesInstance.connectionName = removeSpaces(flags.connections);
|
|
40
|
+
}
|
|
41
|
+
this.doConnectionOverrides(propertiesInstance);
|
|
42
|
+
const rawProperties = JSON.stringify(propertiesInstance);
|
|
43
|
+
const userSupport = new UserSupport();
|
|
44
|
+
const updateProperties = userSupport.prepareRawProperties(rawProperties);
|
|
45
|
+
const userInfo = await userSupport.getDxUsersInfo(propertiesInstance.connectionOverride, this.errorHandler);
|
|
46
|
+
if (userInfo === null) {
|
|
47
|
+
return populateResult(flags, this.errorHandler, messages, this.log.bind(this));
|
|
48
|
+
}
|
|
49
|
+
const userInfoString = userSupport.prepareRawProperties(JSON.stringify({ dxUsers: userInfo }));
|
|
50
|
+
const provarDxJarPath = propertiesInstance.provarHome + '/provardx/provardx.jar';
|
|
51
|
+
const downloadMetadatacommand = 'java -cp "' +
|
|
52
|
+
provarDxJarPath +
|
|
53
|
+
'" com.provar.provardx.DxCommandExecuter ' +
|
|
54
|
+
updateProperties +
|
|
55
|
+
' ' +
|
|
56
|
+
userInfoString +
|
|
57
|
+
' Metadata';
|
|
58
|
+
const javaProcessOutput = spawnSync(downloadMetadatacommand, { shell: true });
|
|
59
|
+
const downloadSuccessMessage = 'Download completed successfully';
|
|
60
|
+
if (!fileContainsString(javaProcessOutput.stderr.toString(), downloadSuccessMessage)) {
|
|
61
|
+
const errorMessage = getStringAfterSubstring(javaProcessOutput.stderr.toString(), 'ERROR');
|
|
62
|
+
this.errorHandler.addErrorsToList('DOWNLOAD_ERROR', `${errorMessage}`);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
catch (error) {
|
|
66
|
+
if (error.name === 'SyntaxError') {
|
|
67
|
+
this.errorHandler.addErrorsToList('MALFORMED_FILE', errorMessages.MALFORMEDFILEERROR);
|
|
68
|
+
}
|
|
69
|
+
else if (error.name === 'MULTIPLE_ERRORSError') {
|
|
70
|
+
return populateResult(flags, this.errorHandler, messages, this.log.bind(this));
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
this.errorHandler.addErrorsToList('DOWNLOAD_ERROR', `${error.errorMessage}`);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return populateResult(flags, this.errorHandler, messages, this.log.bind(this));
|
|
77
|
+
}
|
|
78
|
+
doConnectionOverrides(properties) {
|
|
79
|
+
if (!properties.connectionOverride && !properties.connectionName) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
if (properties.connectionName && properties.connectionOverride) {
|
|
83
|
+
const connections = properties.connectionName.split(',');
|
|
84
|
+
const connectionOverride = [];
|
|
85
|
+
for (const override of properties.connectionOverride) {
|
|
86
|
+
if (connections.indexOf(override.connection) !== -1) {
|
|
87
|
+
connectionOverride.push(override);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
properties.connectionOverride = connectionOverride;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
//# sourceMappingURL=download.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"download.js","sourceRoot":"","sources":["../../../../../src/commands/provar/automation/metadata/download.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,YAAY,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAyB,cAAc,EAAE,MAAM,8CAA8C,CAAC;AACrG,OAAO,WAAW,MAAM,oCAAoC,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAE7F,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,6BAA6B,EAAE,0BA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G,UAAU,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACzD,MAAM,kBAAkB,GAAG,EAAE,CAAC;YAC9B,KAAK,MAAM,QAAQ,IAAI,UAAU,CAAC,kBAAkB,EAAE,CAAC;gBACrD,IAAI,WAAW,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;oBACpD,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBACpC,CAAC;YACH,CAAC;YACD,UAAU,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QACrD,CAAC;IACH,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export declare enum commandConstants {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
SF_PROVAR_AUTOMATION_CONFIG_GENERATE_COMMAND = "provar automation config generate",
|
|
3
|
+
SF_PROVAR_AUTOMATION_CONFIG_LOAD_COMMAND = "provar automation config load",
|
|
4
|
+
SF_PROVAR_AUTOMATION_CONFIG_VALIDATE_COMMAND = "provar automation config validate",
|
|
5
|
+
SF_PROVAR_AUTOMATION_CONFIG_SET_COMMAND = "provar automation config set",
|
|
6
|
+
SF_PROVAR_AUTOMATION_CONFIG_GET_COMMAND = "provar automation config get",
|
|
7
|
+
SF_PROVAR_AUTOMATION_METADATA_DOWNLOAD_COMMAND = "provar automation metadata download"
|
|
7
8
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export var commandConstants;
|
|
2
2
|
(function (commandConstants) {
|
|
3
|
-
commandConstants["
|
|
4
|
-
commandConstants["
|
|
5
|
-
commandConstants["
|
|
6
|
-
commandConstants["
|
|
7
|
-
commandConstants["
|
|
3
|
+
commandConstants["SF_PROVAR_AUTOMATION_CONFIG_GENERATE_COMMAND"] = "provar automation config generate";
|
|
4
|
+
commandConstants["SF_PROVAR_AUTOMATION_CONFIG_LOAD_COMMAND"] = "provar automation config load";
|
|
5
|
+
commandConstants["SF_PROVAR_AUTOMATION_CONFIG_VALIDATE_COMMAND"] = "provar automation config validate";
|
|
6
|
+
commandConstants["SF_PROVAR_AUTOMATION_CONFIG_SET_COMMAND"] = "provar automation config set";
|
|
7
|
+
commandConstants["SF_PROVAR_AUTOMATION_CONFIG_GET_COMMAND"] = "provar automation config get";
|
|
8
|
+
commandConstants["SF_PROVAR_AUTOMATION_METADATA_DOWNLOAD_COMMAND"] = "provar automation metadata download";
|
|
8
9
|
})(commandConstants || (commandConstants = {}));
|
|
9
10
|
//# sourceMappingURL=commandConstants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commandConstants.js","sourceRoot":"","sources":["../../src/constants/commandConstants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"commandConstants.js","sourceRoot":"","sources":["../../src/constants/commandConstants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,sGAAkF,CAAA;IAClF,8FAA0E,CAAA;IAC1E,sGAAkF,CAAA;IAClF,4FAAwE,CAAA;IACxE,4FAAwE,CAAA;IACxE,0GAAsF,CAAA;AACxF,CAAC,EAPW,gBAAgB,KAAhB,gBAAgB,QAO3B"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var sfCommandConstants;
|
|
2
|
+
(function (sfCommandConstants) {
|
|
3
|
+
sfCommandConstants["DISPLAY_USER_INFO"] = "sf org display user --json --target-org ";
|
|
4
|
+
sfCommandConstants["GENERATE_PASSWORD"] = "sf org generate password --target-org ";
|
|
5
|
+
})(sfCommandConstants || (sfCommandConstants = {}));
|
|
6
|
+
//# sourceMappingURL=sfCommandConstants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sfCommandConstants.js","sourceRoot":"","sources":["../../src/constants/sfCommandConstants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,oFAA8D,CAAA;IAC9D,kFAA4D,CAAA;AAC9D,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Download any required metadata for a specified Provar Salesforce connection.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Download any required metadata for a specified Provar Salesforce connection.
|
|
8
|
+
|
|
9
|
+
# examples
|
|
10
|
+
|
|
11
|
+
- <%= config.bin %> <%= command.id %>
|
|
12
|
+
|
|
13
|
+
# flags.connections.summary
|
|
14
|
+
|
|
15
|
+
Comma-separated list of names of Provar Salesforce connections to use, as defined in the project.
|
|
16
|
+
|
|
17
|
+
# error.MULTIPLE_ERRORS
|
|
18
|
+
|
|
19
|
+
%s
|
|
20
|
+
|
|
21
|
+
# success_message
|
|
22
|
+
|
|
23
|
+
The metadata was downloaded successfully.
|
package/oclif.manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"provar:config:generate": {
|
|
3
|
+
"provar:automation:config:generate": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
6
|
"description": "Generates a boilerplate ProvarDX properties file.",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"hasDynamicHelp": false,
|
|
36
36
|
"hiddenAliases": [],
|
|
37
|
-
"id": "provar:config:generate",
|
|
37
|
+
"id": "provar:automation:config:generate",
|
|
38
38
|
"pluginAlias": "@provartesting/provardx-cli",
|
|
39
39
|
"pluginName": "@provartesting/provardx-cli",
|
|
40
40
|
"pluginType": "core",
|
|
@@ -46,20 +46,39 @@
|
|
|
46
46
|
"lib",
|
|
47
47
|
"commands",
|
|
48
48
|
"provar",
|
|
49
|
+
"automation",
|
|
49
50
|
"config",
|
|
50
51
|
"generate.js"
|
|
51
52
|
],
|
|
52
53
|
"aliasPermutations": [],
|
|
53
54
|
"permutations": [
|
|
54
|
-
"provar:config:generate",
|
|
55
|
-
"
|
|
56
|
-
"config:generate
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
55
|
+
"provar:automation:config:generate",
|
|
56
|
+
"automation:provar:config:generate",
|
|
57
|
+
"automation:config:provar:generate",
|
|
58
|
+
"automation:config:generate:provar",
|
|
59
|
+
"provar:config:automation:generate",
|
|
60
|
+
"config:provar:automation:generate",
|
|
61
|
+
"config:automation:provar:generate",
|
|
62
|
+
"config:automation:generate:provar",
|
|
63
|
+
"provar:config:generate:automation",
|
|
64
|
+
"config:provar:generate:automation",
|
|
65
|
+
"config:generate:provar:automation",
|
|
66
|
+
"config:generate:automation:provar",
|
|
67
|
+
"provar:automation:generate:config",
|
|
68
|
+
"automation:provar:generate:config",
|
|
69
|
+
"automation:generate:provar:config",
|
|
70
|
+
"automation:generate:config:provar",
|
|
71
|
+
"provar:generate:automation:config",
|
|
72
|
+
"generate:provar:automation:config",
|
|
73
|
+
"generate:automation:provar:config",
|
|
74
|
+
"generate:automation:config:provar",
|
|
75
|
+
"provar:generate:config:automation",
|
|
76
|
+
"generate:provar:config:automation",
|
|
77
|
+
"generate:config:provar:automation",
|
|
78
|
+
"generate:config:automation:provar"
|
|
60
79
|
]
|
|
61
80
|
},
|
|
62
|
-
"provar:config:get": {
|
|
81
|
+
"provar:automation:config:get": {
|
|
63
82
|
"aliases": [],
|
|
64
83
|
"args": {},
|
|
65
84
|
"description": "Retrieves a value from the loaded properties file.",
|
|
@@ -77,7 +96,7 @@
|
|
|
77
96
|
},
|
|
78
97
|
"hasDynamicHelp": false,
|
|
79
98
|
"hiddenAliases": [],
|
|
80
|
-
"id": "provar:config:get",
|
|
99
|
+
"id": "provar:automation:config:get",
|
|
81
100
|
"pluginAlias": "@provartesting/provardx-cli",
|
|
82
101
|
"pluginName": "@provartesting/provardx-cli",
|
|
83
102
|
"pluginType": "core",
|
|
@@ -89,20 +108,39 @@
|
|
|
89
108
|
"lib",
|
|
90
109
|
"commands",
|
|
91
110
|
"provar",
|
|
111
|
+
"automation",
|
|
92
112
|
"config",
|
|
93
113
|
"get.js"
|
|
94
114
|
],
|
|
95
115
|
"aliasPermutations": [],
|
|
96
116
|
"permutations": [
|
|
97
|
-
"provar:config:get",
|
|
98
|
-
"
|
|
99
|
-
"config:get
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
117
|
+
"provar:automation:config:get",
|
|
118
|
+
"automation:provar:config:get",
|
|
119
|
+
"automation:config:provar:get",
|
|
120
|
+
"automation:config:get:provar",
|
|
121
|
+
"provar:config:automation:get",
|
|
122
|
+
"config:provar:automation:get",
|
|
123
|
+
"config:automation:provar:get",
|
|
124
|
+
"config:automation:get:provar",
|
|
125
|
+
"provar:config:get:automation",
|
|
126
|
+
"config:provar:get:automation",
|
|
127
|
+
"config:get:provar:automation",
|
|
128
|
+
"config:get:automation:provar",
|
|
129
|
+
"provar:automation:get:config",
|
|
130
|
+
"automation:provar:get:config",
|
|
131
|
+
"automation:get:provar:config",
|
|
132
|
+
"automation:get:config:provar",
|
|
133
|
+
"provar:get:automation:config",
|
|
134
|
+
"get:provar:automation:config",
|
|
135
|
+
"get:automation:provar:config",
|
|
136
|
+
"get:automation:config:provar",
|
|
137
|
+
"provar:get:config:automation",
|
|
138
|
+
"get:provar:config:automation",
|
|
139
|
+
"get:config:provar:automation",
|
|
140
|
+
"get:config:automation:provar"
|
|
103
141
|
]
|
|
104
142
|
},
|
|
105
|
-
"provar:config:load": {
|
|
143
|
+
"provar:automation:config:load": {
|
|
106
144
|
"aliases": [],
|
|
107
145
|
"args": {},
|
|
108
146
|
"description": "Validates and loads a ProvarDX properties file for later use.",
|
|
@@ -129,7 +167,7 @@
|
|
|
129
167
|
},
|
|
130
168
|
"hasDynamicHelp": false,
|
|
131
169
|
"hiddenAliases": [],
|
|
132
|
-
"id": "provar:config:load",
|
|
170
|
+
"id": "provar:automation:config:load",
|
|
133
171
|
"pluginAlias": "@provartesting/provardx-cli",
|
|
134
172
|
"pluginName": "@provartesting/provardx-cli",
|
|
135
173
|
"pluginType": "core",
|
|
@@ -141,20 +179,39 @@
|
|
|
141
179
|
"lib",
|
|
142
180
|
"commands",
|
|
143
181
|
"provar",
|
|
182
|
+
"automation",
|
|
144
183
|
"config",
|
|
145
184
|
"load.js"
|
|
146
185
|
],
|
|
147
186
|
"aliasPermutations": [],
|
|
148
187
|
"permutations": [
|
|
149
|
-
"provar:config:load",
|
|
150
|
-
"
|
|
151
|
-
"config:load
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
188
|
+
"provar:automation:config:load",
|
|
189
|
+
"automation:provar:config:load",
|
|
190
|
+
"automation:config:provar:load",
|
|
191
|
+
"automation:config:load:provar",
|
|
192
|
+
"provar:config:automation:load",
|
|
193
|
+
"config:provar:automation:load",
|
|
194
|
+
"config:automation:provar:load",
|
|
195
|
+
"config:automation:load:provar",
|
|
196
|
+
"provar:config:load:automation",
|
|
197
|
+
"config:provar:load:automation",
|
|
198
|
+
"config:load:provar:automation",
|
|
199
|
+
"config:load:automation:provar",
|
|
200
|
+
"provar:automation:load:config",
|
|
201
|
+
"automation:provar:load:config",
|
|
202
|
+
"automation:load:provar:config",
|
|
203
|
+
"automation:load:config:provar",
|
|
204
|
+
"provar:load:automation:config",
|
|
205
|
+
"load:provar:automation:config",
|
|
206
|
+
"load:automation:provar:config",
|
|
207
|
+
"load:automation:config:provar",
|
|
208
|
+
"provar:load:config:automation",
|
|
209
|
+
"load:provar:config:automation",
|
|
210
|
+
"load:config:provar:automation",
|
|
211
|
+
"load:config:automation:provar"
|
|
155
212
|
]
|
|
156
213
|
},
|
|
157
|
-
"provar:config:set": {
|
|
214
|
+
"provar:automation:config:set": {
|
|
158
215
|
"aliases": [],
|
|
159
216
|
"args": {},
|
|
160
217
|
"description": "Sets a property in the loaded properties file.",
|
|
@@ -172,7 +229,7 @@
|
|
|
172
229
|
},
|
|
173
230
|
"hasDynamicHelp": false,
|
|
174
231
|
"hiddenAliases": [],
|
|
175
|
-
"id": "provar:config:set",
|
|
232
|
+
"id": "provar:automation:config:set",
|
|
176
233
|
"pluginAlias": "@provartesting/provardx-cli",
|
|
177
234
|
"pluginName": "@provartesting/provardx-cli",
|
|
178
235
|
"pluginType": "core",
|
|
@@ -184,20 +241,39 @@
|
|
|
184
241
|
"lib",
|
|
185
242
|
"commands",
|
|
186
243
|
"provar",
|
|
244
|
+
"automation",
|
|
187
245
|
"config",
|
|
188
246
|
"set.js"
|
|
189
247
|
],
|
|
190
248
|
"aliasPermutations": [],
|
|
191
249
|
"permutations": [
|
|
192
|
-
"provar:config:set",
|
|
193
|
-
"
|
|
194
|
-
"config:set
|
|
195
|
-
"
|
|
196
|
-
"
|
|
197
|
-
"
|
|
250
|
+
"provar:automation:config:set",
|
|
251
|
+
"automation:provar:config:set",
|
|
252
|
+
"automation:config:provar:set",
|
|
253
|
+
"automation:config:set:provar",
|
|
254
|
+
"provar:config:automation:set",
|
|
255
|
+
"config:provar:automation:set",
|
|
256
|
+
"config:automation:provar:set",
|
|
257
|
+
"config:automation:set:provar",
|
|
258
|
+
"provar:config:set:automation",
|
|
259
|
+
"config:provar:set:automation",
|
|
260
|
+
"config:set:provar:automation",
|
|
261
|
+
"config:set:automation:provar",
|
|
262
|
+
"provar:automation:set:config",
|
|
263
|
+
"automation:provar:set:config",
|
|
264
|
+
"automation:set:provar:config",
|
|
265
|
+
"automation:set:config:provar",
|
|
266
|
+
"provar:set:automation:config",
|
|
267
|
+
"set:provar:automation:config",
|
|
268
|
+
"set:automation:provar:config",
|
|
269
|
+
"set:automation:config:provar",
|
|
270
|
+
"provar:set:config:automation",
|
|
271
|
+
"set:provar:config:automation",
|
|
272
|
+
"set:config:provar:automation",
|
|
273
|
+
"set:config:automation:provar"
|
|
198
274
|
]
|
|
199
275
|
},
|
|
200
|
-
"provar:config:validate": {
|
|
276
|
+
"provar:automation:config:validate": {
|
|
201
277
|
"aliases": [],
|
|
202
278
|
"args": {},
|
|
203
279
|
"description": "Checks if the loaded properties file has all the required properties set.",
|
|
@@ -215,7 +291,7 @@
|
|
|
215
291
|
},
|
|
216
292
|
"hasDynamicHelp": false,
|
|
217
293
|
"hiddenAliases": [],
|
|
218
|
-
"id": "provar:config:validate",
|
|
294
|
+
"id": "provar:automation:config:validate",
|
|
219
295
|
"pluginAlias": "@provartesting/provardx-cli",
|
|
220
296
|
"pluginName": "@provartesting/provardx-cli",
|
|
221
297
|
"pluginType": "core",
|
|
@@ -227,19 +303,109 @@
|
|
|
227
303
|
"lib",
|
|
228
304
|
"commands",
|
|
229
305
|
"provar",
|
|
306
|
+
"automation",
|
|
230
307
|
"config",
|
|
231
308
|
"validate.js"
|
|
232
309
|
],
|
|
233
310
|
"aliasPermutations": [],
|
|
234
311
|
"permutations": [
|
|
235
|
-
"provar:config:validate",
|
|
236
|
-
"
|
|
237
|
-
"config:validate
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
312
|
+
"provar:automation:config:validate",
|
|
313
|
+
"automation:provar:config:validate",
|
|
314
|
+
"automation:config:provar:validate",
|
|
315
|
+
"automation:config:validate:provar",
|
|
316
|
+
"provar:config:automation:validate",
|
|
317
|
+
"config:provar:automation:validate",
|
|
318
|
+
"config:automation:provar:validate",
|
|
319
|
+
"config:automation:validate:provar",
|
|
320
|
+
"provar:config:validate:automation",
|
|
321
|
+
"config:provar:validate:automation",
|
|
322
|
+
"config:validate:provar:automation",
|
|
323
|
+
"config:validate:automation:provar",
|
|
324
|
+
"provar:automation:validate:config",
|
|
325
|
+
"automation:provar:validate:config",
|
|
326
|
+
"automation:validate:provar:config",
|
|
327
|
+
"automation:validate:config:provar",
|
|
328
|
+
"provar:validate:automation:config",
|
|
329
|
+
"validate:provar:automation:config",
|
|
330
|
+
"validate:automation:provar:config",
|
|
331
|
+
"validate:automation:config:provar",
|
|
332
|
+
"provar:validate:config:automation",
|
|
333
|
+
"validate:provar:config:automation",
|
|
334
|
+
"validate:config:provar:automation",
|
|
335
|
+
"validate:config:automation:provar"
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
"provar:automation:metadata:download": {
|
|
339
|
+
"aliases": [],
|
|
340
|
+
"args": {},
|
|
341
|
+
"description": "Download any required metadata for a specified Provar Salesforce connection.",
|
|
342
|
+
"examples": [
|
|
343
|
+
"<%= config.bin %> <%= command.id %>"
|
|
344
|
+
],
|
|
345
|
+
"flags": {
|
|
346
|
+
"json": {
|
|
347
|
+
"description": "Format output as json.",
|
|
348
|
+
"helpGroup": "GLOBAL",
|
|
349
|
+
"name": "json",
|
|
350
|
+
"allowNo": false,
|
|
351
|
+
"type": "boolean"
|
|
352
|
+
},
|
|
353
|
+
"connections": {
|
|
354
|
+
"char": "c",
|
|
355
|
+
"name": "connections",
|
|
356
|
+
"required": true,
|
|
357
|
+
"summary": "Comma-separated list of names of Provar Salesforce connections to use, as defined in the project.",
|
|
358
|
+
"hasDynamicHelp": false,
|
|
359
|
+
"multiple": false,
|
|
360
|
+
"type": "option"
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"hasDynamicHelp": false,
|
|
364
|
+
"hiddenAliases": [],
|
|
365
|
+
"id": "provar:automation:metadata:download",
|
|
366
|
+
"pluginAlias": "@provartesting/provardx-cli",
|
|
367
|
+
"pluginName": "@provartesting/provardx-cli",
|
|
368
|
+
"pluginType": "core",
|
|
369
|
+
"strict": true,
|
|
370
|
+
"summary": "Download any required metadata for a specified Provar Salesforce connection.",
|
|
371
|
+
"enableJsonFlag": true,
|
|
372
|
+
"isESM": true,
|
|
373
|
+
"relativePath": [
|
|
374
|
+
"lib",
|
|
375
|
+
"commands",
|
|
376
|
+
"provar",
|
|
377
|
+
"automation",
|
|
378
|
+
"metadata",
|
|
379
|
+
"download.js"
|
|
380
|
+
],
|
|
381
|
+
"aliasPermutations": [],
|
|
382
|
+
"permutations": [
|
|
383
|
+
"provar:automation:metadata:download",
|
|
384
|
+
"automation:provar:metadata:download",
|
|
385
|
+
"automation:metadata:provar:download",
|
|
386
|
+
"automation:metadata:download:provar",
|
|
387
|
+
"provar:metadata:automation:download",
|
|
388
|
+
"metadata:provar:automation:download",
|
|
389
|
+
"metadata:automation:provar:download",
|
|
390
|
+
"metadata:automation:download:provar",
|
|
391
|
+
"provar:metadata:download:automation",
|
|
392
|
+
"metadata:provar:download:automation",
|
|
393
|
+
"metadata:download:provar:automation",
|
|
394
|
+
"metadata:download:automation:provar",
|
|
395
|
+
"provar:automation:download:metadata",
|
|
396
|
+
"automation:provar:download:metadata",
|
|
397
|
+
"automation:download:provar:metadata",
|
|
398
|
+
"automation:download:metadata:provar",
|
|
399
|
+
"provar:download:automation:metadata",
|
|
400
|
+
"download:provar:automation:metadata",
|
|
401
|
+
"download:automation:provar:metadata",
|
|
402
|
+
"download:automation:metadata:provar",
|
|
403
|
+
"provar:download:metadata:automation",
|
|
404
|
+
"download:provar:metadata:automation",
|
|
405
|
+
"download:metadata:provar:automation",
|
|
406
|
+
"download:metadata:automation:provar"
|
|
241
407
|
]
|
|
242
408
|
}
|
|
243
409
|
},
|
|
244
|
-
"version": "0.0.
|
|
410
|
+
"version": "0.0.5"
|
|
245
411
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provartesting/provardx-cli",
|
|
3
3
|
"description": "A plugin for the Salesforce CLI to orchestrate testing activities and report quality metrics to Provar Manager",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.5",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@oclif/core": "^3.18.1",
|
|
8
8
|
"@salesforce/core": "^6.5.1",
|
|
9
9
|
"@salesforce/kit": "^3.0.15",
|
|
10
10
|
"@salesforce/sf-plugins-core": "^7.1.4",
|
|
11
|
+
"@salesforce/ts-types": "^2.0.9",
|
|
12
|
+
"cli-ux": "^6.0.9",
|
|
11
13
|
"jsonschema": "^1.4.1"
|
|
12
14
|
},
|
|
13
15
|
"devDependencies": {
|
|
@@ -15,13 +17,13 @@
|
|
|
15
17
|
"@salesforce/cli-plugins-testkit": "^5.1.7",
|
|
16
18
|
"@salesforce/dev-scripts": "^8.3.0",
|
|
17
19
|
"eslint-plugin-sf-plugin": "^1.17.2",
|
|
20
|
+
"mochawesome": "^7.1.3",
|
|
18
21
|
"oclif": "^4.3.4",
|
|
19
22
|
"shx": "0.3.4",
|
|
20
23
|
"sinon": "10.0.0",
|
|
21
24
|
"ts-node": "^10.9.1",
|
|
22
25
|
"typescript": "^5.1.6",
|
|
23
|
-
"wireit": "^0.14.0"
|
|
24
|
-
"mochawesome": "^7.1.3"
|
|
26
|
+
"wireit": "^0.14.0"
|
|
25
27
|
},
|
|
26
28
|
"engines": {
|
|
27
29
|
"node": ">=18.0.0"
|
|
@@ -48,14 +50,19 @@
|
|
|
48
50
|
"@oclif/plugin-help"
|
|
49
51
|
],
|
|
50
52
|
"topics": {
|
|
51
|
-
"
|
|
52
|
-
"description": "commands to
|
|
53
|
+
"provar": {
|
|
54
|
+
"description": "CLI commands to interact with Provar.",
|
|
53
55
|
"subtopics": {
|
|
54
|
-
"
|
|
55
|
-
"description": "commands
|
|
56
|
+
"automation": {
|
|
57
|
+
"description": "These commands are used to interact with Provar Automation.",
|
|
56
58
|
"subtopics": {
|
|
57
59
|
"config": {
|
|
58
|
-
"description": "commands to generate and manipulate provardx-properties file"
|
|
60
|
+
"description": "commands to generate and manipulate provardx-properties file."
|
|
61
|
+
},
|
|
62
|
+
"subtopics": {
|
|
63
|
+
"metadata": {
|
|
64
|
+
"description": "commands to download metadata for required connections."
|
|
65
|
+
}
|
|
59
66
|
}
|
|
60
67
|
}
|
|
61
68
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../../src/commands/provar/config/generate.ts"],"names":[],"mappings":"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