sf-debug-log 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commands/trace/new.d.ts +1 -0
- package/lib/commands/trace/new.js +32 -34
- package/lib/commands/trace/new.js.map +1 -1
- package/lib/utils.d.ts +5 -0
- package/lib/utils.js +36 -1
- package/lib/utils.js.map +1 -1
- package/oclif.manifest.json +2 -1
- package/package.json +2 -2
|
@@ -12,5 +12,6 @@ export default class TraceNew extends SfCommand<TraceNewResult> {
|
|
|
12
12
|
time: import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
13
13
|
};
|
|
14
14
|
run(): Promise<TraceNewResult>;
|
|
15
|
+
private selectToProceed;
|
|
15
16
|
private selectDebugLevel;
|
|
16
17
|
}
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const sf_plugins_core_1 = require("@salesforce/sf-plugins-core");
|
|
4
4
|
const core_1 = require("@salesforce/core");
|
|
5
5
|
const utils_1 = require("../../utils");
|
|
6
|
-
const MILLISECONDS_PER_MINUTE = 60000;
|
|
7
6
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
8
7
|
const messages = core_1.Messages.loadMessages('sf-debug-log', 'trace.new');
|
|
9
8
|
class TraceNew extends sf_plugins_core_1.SfCommand {
|
|
@@ -15,26 +14,46 @@ class TraceNew extends sf_plugins_core_1.SfCommand {
|
|
|
15
14
|
try {
|
|
16
15
|
this.spinner.start('Retriving debug levels...');
|
|
17
16
|
user = flags.user ? flags.user : conn.getUsername();
|
|
18
|
-
const
|
|
17
|
+
const userId = await (0, utils_1.getUserId)(conn, user);
|
|
18
|
+
const [activeFlag, debugLevels] = await Promise.all([(0, utils_1.getActiveTraceFlag)(conn, userId), (0, utils_1.getDebugLevels)(conn)]);
|
|
19
19
|
this.spinner.stop();
|
|
20
|
+
if (activeFlag?.Id) {
|
|
21
|
+
const shouldProceed = await this.selectToProceed();
|
|
22
|
+
if (!shouldProceed) {
|
|
23
|
+
return { isSuccess: false, error: 'Trace Flag already exists for this user.' };
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
this.spinner.start('Deleting existing Trace Flag...');
|
|
27
|
+
await conn.tooling.sobject('TraceFlag').delete(activeFlag.Id);
|
|
28
|
+
this.spinner.stop();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
20
31
|
const debuglevel = await this.selectDebugLevel(debugLevels);
|
|
21
32
|
this.spinner.start('Creating Trace Flag...');
|
|
22
|
-
result = await createTraceFlag(conn, userId, debuglevel, flags.time);
|
|
33
|
+
result = await (0, utils_1.createTraceFlag)(conn, userId, debuglevel, flags.time);
|
|
34
|
+
this.spinner.stop();
|
|
35
|
+
if (!result.isSuccess) {
|
|
36
|
+
this.error(`Error to create Trace Flag: ${result.error}`);
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
this.log(`User Trace Flag successfully created for ${user}`);
|
|
40
|
+
}
|
|
41
|
+
return result;
|
|
23
42
|
}
|
|
24
43
|
catch (err) {
|
|
25
|
-
|
|
44
|
+
return {
|
|
26
45
|
isSuccess: false,
|
|
27
46
|
error: err instanceof Error ? err.message : String(err),
|
|
28
47
|
};
|
|
29
48
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
return
|
|
49
|
+
}
|
|
50
|
+
async selectToProceed() {
|
|
51
|
+
const proceed = await this.prompt({
|
|
52
|
+
type: 'confirm',
|
|
53
|
+
name: 'proceed',
|
|
54
|
+
message: 'Trace Flag already exists for this user. Do you want to proceed?',
|
|
55
|
+
});
|
|
56
|
+
return proceed.proceed;
|
|
38
57
|
}
|
|
39
58
|
async selectDebugLevel(debugLevels) {
|
|
40
59
|
const debuglevel = await this.prompt({
|
|
@@ -67,30 +86,9 @@ TraceNew.flags = {
|
|
|
67
86
|
}),
|
|
68
87
|
time: sf_plugins_core_1.Flags.integer({
|
|
69
88
|
summary: messages.getMessage('flags.time.summary'),
|
|
89
|
+
char: 't',
|
|
70
90
|
default: 60,
|
|
71
91
|
}),
|
|
72
92
|
};
|
|
73
93
|
exports.default = TraceNew;
|
|
74
|
-
async function getDebugLevels(conn) {
|
|
75
|
-
const results = await conn.tooling.query('SELECT Id, DeveloperName, Workflow, Validation, Callout, ApexCode, ApexProfiling, Visualforce, System, Database, Wave, Nba FROM DebugLevel');
|
|
76
|
-
if (results?.records) {
|
|
77
|
-
return results.records;
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
throw new Error('Error to retrieve Debug Levels');
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
async function createTraceFlag(conn, userId, debugLevelId, time) {
|
|
84
|
-
const result = await conn.tooling.sobject('TraceFlag').create({
|
|
85
|
-
TracedEntityId: userId,
|
|
86
|
-
DebugLevelId: debugLevelId,
|
|
87
|
-
StartDate: new Date(Date.now()).toISOString(),
|
|
88
|
-
logtype: 'USER_DEBUG',
|
|
89
|
-
ExpirationDate: new Date(Date.now() + time * MILLISECONDS_PER_MINUTE).toISOString(),
|
|
90
|
-
});
|
|
91
|
-
return {
|
|
92
|
-
isSuccess: result.success,
|
|
93
|
-
error: result.success ? undefined : result.errors[0].message,
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
94
|
//# sourceMappingURL=new.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new.js","sourceRoot":"","sources":["../../../src/commands/trace/new.ts"],"names":[],"mappings":";;AAAA,iEAA+D;AAC/D,2CAAwD;AAExD,
|
|
1
|
+
{"version":3,"file":"new.js","sourceRoot":"","sources":["../../../src/commands/trace/new.ts"],"names":[],"mappings":";;AAAA,iEAA+D;AAC/D,2CAAwD;AAExD,uCAA6F;AAE7F,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAA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|
import { Connection } from '@salesforce/core';
|
|
2
|
+
import { Record } from 'jsforce';
|
|
3
|
+
import { TraceNewResult } from './commands/trace/new';
|
|
2
4
|
export declare function createFile(path: string, contents: string): Promise<void>;
|
|
3
5
|
export declare function getUserId(connection: Connection, inputUser: string): Promise<string>;
|
|
6
|
+
export declare function getActiveTraceFlag(conn: Connection, userId: string): Promise<Record | undefined>;
|
|
7
|
+
export declare function getDebugLevels(conn: Connection): Promise<Record[]>;
|
|
8
|
+
export declare function createTraceFlag(conn: Connection, userId: string, debugLevelId: string, time: number): Promise<TraceNewResult>;
|
package/lib/utils.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getUserId = exports.createFile = void 0;
|
|
3
|
+
exports.createTraceFlag = exports.getDebugLevels = exports.getActiveTraceFlag = exports.getUserId = exports.createFile = void 0;
|
|
4
4
|
const path_1 = require("path");
|
|
5
5
|
const util_1 = require("util");
|
|
6
6
|
const fs_1 = require("fs");
|
|
7
7
|
const mkdirPromise = (0, util_1.promisify)(fs_1.mkdir);
|
|
8
8
|
const writeFilePromise = (0, util_1.promisify)(fs_1.writeFile);
|
|
9
|
+
const MILLISECONDS_PER_MINUTE = 60000;
|
|
9
10
|
async function createFile(path, contents) {
|
|
10
11
|
await mkdirPromise((0, path_1.dirname)(path), { recursive: true });
|
|
11
12
|
await writeFilePromise(path, contents);
|
|
@@ -38,4 +39,38 @@ function isId(input) {
|
|
|
38
39
|
const idRegex = /[a-zA-Z0-9]{15}|[a-zA-Z0-9]{18}/;
|
|
39
40
|
return idRegex.test(input);
|
|
40
41
|
}
|
|
42
|
+
async function getActiveTraceFlag(conn, userId) {
|
|
43
|
+
const results = await conn.tooling.query(`SELECT Id, TracedEntityId, DebugLevelId, StartDate, ExpirationDate FROM TraceFlag WHERE TracedEntityId = '${userId}' AND ExpirationDate > ${new Date(Date.now()).toISOString()}`);
|
|
44
|
+
if (results?.records?.length > 0) {
|
|
45
|
+
return results.records[0];
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
return undefined;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.getActiveTraceFlag = getActiveTraceFlag;
|
|
52
|
+
async function getDebugLevels(conn) {
|
|
53
|
+
const results = await conn.tooling.query('SELECT Id, DeveloperName, Workflow, Validation, Callout, ApexCode, ApexProfiling, Visualforce, System, Database, Wave, Nba FROM DebugLevel');
|
|
54
|
+
if (results?.records) {
|
|
55
|
+
return results.records;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
throw new Error('Error to retrieve Debug Levels');
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.getDebugLevels = getDebugLevels;
|
|
62
|
+
async function createTraceFlag(conn, userId, debugLevelId, time) {
|
|
63
|
+
const result = await conn.tooling.sobject('TraceFlag').create({
|
|
64
|
+
TracedEntityId: userId,
|
|
65
|
+
DebugLevelId: debugLevelId,
|
|
66
|
+
StartDate: new Date(Date.now()).toISOString(),
|
|
67
|
+
logtype: 'USER_DEBUG',
|
|
68
|
+
ExpirationDate: new Date(Date.now() + time * MILLISECONDS_PER_MINUTE).toISOString(),
|
|
69
|
+
});
|
|
70
|
+
return {
|
|
71
|
+
isSuccess: result.success,
|
|
72
|
+
error: result.success ? undefined : result.errors[0].message,
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
exports.createTraceFlag = createTraceFlag;
|
|
41
76
|
//# sourceMappingURL=utils.js.map
|
package/lib/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,+BAAiC;AACjC,2BAAsC;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,+BAAiC;AACjC,2BAAs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,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,GAAG,uBAAuB,CAAC,CAAC,WAAW,EAAE;KACpF,CAAC,CAAC;IACH,OAAO;QACL,SAAS,EAAE,MAAM,CAAC,OAAO;QACzB,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO;KAC7D,CAAC;AACJ,CAAC;AAjBD,0CAiBC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
2
|
+
"version": "0.0.21",
|
|
3
3
|
"commands": {
|
|
4
4
|
"debug:retrieve": {
|
|
5
5
|
"id": "debug:retrieve",
|
|
@@ -93,6 +93,7 @@
|
|
|
93
93
|
"time": {
|
|
94
94
|
"name": "time",
|
|
95
95
|
"type": "option",
|
|
96
|
+
"char": "t",
|
|
96
97
|
"summary": "The time for the trace flag.",
|
|
97
98
|
"multiple": false,
|
|
98
99
|
"default": 60
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sf-debug-log",
|
|
3
3
|
"description": "Manage Salesforce Debug Logs",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.21",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@oclif/core": "^2.11.8",
|
|
7
7
|
"@salesforce/core": "^5.2.0",
|
|
@@ -196,4 +196,4 @@
|
|
|
196
196
|
}
|
|
197
197
|
},
|
|
198
198
|
"author": "Raffaele Preziosi"
|
|
199
|
-
}
|
|
199
|
+
}
|