@mcp-abap-adt/adt-clients 3.14.6 → 4.0.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/README.md +10 -8
- package/dist/clients/AdtRuntimeClient.d.ts +43 -449
- package/dist/clients/AdtRuntimeClient.d.ts.map +1 -1
- package/dist/clients/AdtRuntimeClient.js +97 -588
- package/dist/clients/AdtRuntimeClientExperimental.d.ts +2 -64
- package/dist/clients/AdtRuntimeClientExperimental.d.ts.map +1 -1
- package/dist/clients/AdtRuntimeClientExperimental.js +2 -90
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +33 -1
- package/dist/runtime/applicationLog/ApplicationLog.d.ts +11 -0
- package/dist/runtime/applicationLog/ApplicationLog.d.ts.map +1 -0
- package/dist/runtime/applicationLog/ApplicationLog.js +23 -0
- package/dist/runtime/applicationLog/index.d.ts +1 -0
- package/dist/runtime/applicationLog/index.d.ts.map +1 -1
- package/dist/runtime/applicationLog/index.js +3 -1
- package/dist/runtime/atc/AtcLog.d.ts +10 -0
- package/dist/runtime/atc/AtcLog.d.ts.map +1 -0
- package/dist/runtime/atc/AtcLog.js +20 -0
- package/dist/runtime/atc/index.d.ts +1 -0
- package/dist/runtime/atc/index.d.ts.map +1 -1
- package/dist/runtime/atc/index.js +3 -1
- package/dist/runtime/ddic/DdicActivation.d.ts +9 -0
- package/dist/runtime/ddic/DdicActivation.d.ts.map +1 -0
- package/dist/runtime/ddic/DdicActivation.js +17 -0
- package/dist/runtime/ddic/index.d.ts +1 -0
- package/dist/runtime/ddic/index.d.ts.map +1 -1
- package/dist/runtime/ddic/index.js +3 -0
- package/dist/runtime/debugger/AbapDebugger.d.ts +36 -0
- package/dist/runtime/debugger/AbapDebugger.d.ts.map +1 -0
- package/dist/runtime/debugger/AbapDebugger.js +95 -0
- package/dist/runtime/debugger/AmdpDebugger.d.ts +26 -0
- package/dist/runtime/debugger/AmdpDebugger.d.ts.map +1 -0
- package/dist/runtime/debugger/AmdpDebugger.js +61 -0
- package/dist/runtime/debugger/Debugger.d.ts +14 -0
- package/dist/runtime/debugger/Debugger.d.ts.map +1 -0
- package/dist/runtime/debugger/Debugger.js +37 -0
- package/dist/runtime/debugger/index.d.ts +5 -2
- package/dist/runtime/debugger/index.d.ts.map +1 -1
- package/dist/runtime/debugger/index.js +7 -1
- package/dist/runtime/dumps/RuntimeDumps.d.ts +13 -0
- package/dist/runtime/dumps/RuntimeDumps.d.ts.map +1 -0
- package/dist/runtime/dumps/RuntimeDumps.js +29 -0
- package/dist/runtime/dumps/index.d.ts +1 -0
- package/dist/runtime/dumps/index.d.ts.map +1 -1
- package/dist/runtime/dumps/index.js +3 -1
- package/dist/runtime/feeds/FeedRepository.d.ts +27 -0
- package/dist/runtime/feeds/FeedRepository.d.ts.map +1 -0
- package/dist/runtime/feeds/FeedRepository.js +254 -0
- package/dist/runtime/feeds/index.d.ts +3 -1
- package/dist/runtime/feeds/index.d.ts.map +1 -1
- package/dist/runtime/feeds/index.js +5 -1
- package/dist/runtime/feeds/read.d.ts +18 -1
- package/dist/runtime/feeds/read.d.ts.map +1 -1
- package/dist/runtime/feeds/read.js +45 -2
- package/dist/runtime/feeds/types.d.ts +2 -0
- package/dist/runtime/feeds/types.d.ts.map +1 -0
- package/dist/runtime/feeds/types.js +2 -0
- package/dist/runtime/gatewayErrorLog/GatewayErrorLog.d.ts +15 -0
- package/dist/runtime/gatewayErrorLog/GatewayErrorLog.d.ts.map +1 -0
- package/dist/runtime/gatewayErrorLog/GatewayErrorLog.js +25 -0
- package/dist/runtime/gatewayErrorLog/index.d.ts +7 -0
- package/dist/runtime/gatewayErrorLog/index.d.ts.map +1 -0
- package/dist/runtime/gatewayErrorLog/index.js +11 -0
- package/dist/runtime/gatewayErrorLog/read.d.ts +26 -0
- package/dist/runtime/gatewayErrorLog/read.d.ts.map +1 -0
- package/dist/runtime/gatewayErrorLog/read.js +50 -0
- package/dist/runtime/gatewayErrorLog/types.d.ts +2 -0
- package/dist/runtime/gatewayErrorLog/types.d.ts.map +1 -0
- package/dist/runtime/gatewayErrorLog/types.js +2 -0
- package/dist/runtime/index.d.ts +5 -1
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +5 -1
- package/dist/runtime/memory/MemorySnapshots.d.ts +61 -0
- package/dist/runtime/memory/MemorySnapshots.d.ts.map +1 -0
- package/dist/runtime/memory/MemorySnapshots.js +87 -0
- package/dist/runtime/memory/index.d.ts +1 -0
- package/dist/runtime/memory/index.d.ts.map +1 -1
- package/dist/runtime/memory/index.js +3 -1
- package/dist/runtime/systemMessages/SystemMessages.d.ts +15 -0
- package/dist/runtime/systemMessages/SystemMessages.d.ts.map +1 -0
- package/dist/runtime/systemMessages/SystemMessages.js +25 -0
- package/dist/runtime/systemMessages/index.d.ts +7 -0
- package/dist/runtime/systemMessages/index.d.ts.map +1 -0
- package/dist/runtime/systemMessages/index.js +11 -0
- package/dist/runtime/systemMessages/read.d.ts +25 -0
- package/dist/runtime/systemMessages/read.d.ts.map +1 -0
- package/dist/runtime/systemMessages/read.js +49 -0
- package/dist/runtime/systemMessages/types.d.ts +2 -0
- package/dist/runtime/systemMessages/types.d.ts.map +1 -0
- package/dist/runtime/systemMessages/types.js +2 -0
- package/dist/runtime/traces/CrossTraceDomain.d.ts +13 -0
- package/dist/runtime/traces/CrossTraceDomain.d.ts.map +1 -0
- package/dist/runtime/traces/CrossTraceDomain.js +29 -0
- package/dist/runtime/traces/ProfilerDomain.d.ts +25 -0
- package/dist/runtime/traces/ProfilerDomain.d.ts.map +1 -0
- package/dist/runtime/traces/ProfilerDomain.js +63 -0
- package/dist/runtime/traces/St05Trace.d.ts +10 -0
- package/dist/runtime/traces/St05Trace.d.ts.map +1 -0
- package/dist/runtime/traces/St05Trace.js +20 -0
- package/dist/runtime/traces/index.d.ts +3 -0
- package/dist/runtime/traces/index.d.ts.map +1 -1
- package/dist/runtime/traces/index.js +7 -1
- package/dist/runtime/types.d.ts +2 -0
- package/dist/runtime/types.d.ts.map +1 -0
- package/dist/runtime/types.js +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -94,8 +94,9 @@ npm install @mcp-abap-adt/adt-clients
|
|
|
94
94
|
- Example: `await client.getClass().create({...}, { activateOnCreate: true })`
|
|
95
95
|
|
|
96
96
|
2. **AdtRuntimeClient**
|
|
97
|
-
- Stable runtime operations for ABAP debugging, traces, dumps, and
|
|
98
|
-
-
|
|
97
|
+
- Stable runtime operations for ABAP debugging, traces, dumps, logs, feeds, and more
|
|
98
|
+
- Factory accessors: `getProfiler()`, `getCrossTrace()`, `getSt05Trace()`, `getDebugger()`, `getApplicationLog()`, `getAtcLog()`, `getDdicActivation()`, `getDumps()`, `getFeeds()`, `getSystemMessages()`, `getGatewayErrorLog()`
|
|
99
|
+
- Example: `await runtimeClient.getDebugger().getAbap().launch()`
|
|
99
100
|
|
|
100
101
|
3. **AdtExecutor**
|
|
101
102
|
- Typed execution API based on `IExecutor`
|
|
@@ -106,8 +107,8 @@ npm install @mcp-abap-adt/adt-clients
|
|
|
106
107
|
|
|
107
108
|
4. **AdtRuntimeClientExperimental**
|
|
108
109
|
- Runtime APIs in progress that may change without backward-compatibility guarantees
|
|
109
|
-
- Current scope: AMDP
|
|
110
|
-
- Example: `await experimentalRuntime.
|
|
110
|
+
- Current scope: AMDP data preview (AMDP debugger is now part of `AdtRuntimeClient.getDebugger().getAmdp()`)
|
|
111
|
+
- Example: `await experimentalRuntime.startAmdpDataPreview(...)`
|
|
111
112
|
|
|
112
113
|
5. **AdtClientsWS**
|
|
113
114
|
- Realtime request/event facade over `IWebSocketTransport`
|
|
@@ -239,16 +240,17 @@ const deState = await dePromise;
|
|
|
239
240
|
import { AdtRuntimeClient } from '@mcp-abap-adt/adt-clients';
|
|
240
241
|
|
|
241
242
|
const runtime = new AdtRuntimeClient(connection);
|
|
243
|
+
const abapDebugger = runtime.getDebugger().getAbap();
|
|
242
244
|
|
|
243
245
|
// Executes stepInto + getStack in one batch request
|
|
244
|
-
const batchResponse = await
|
|
246
|
+
const batchResponse = await abapDebugger.stepIntoBatch();
|
|
245
247
|
|
|
246
248
|
// Also available:
|
|
247
|
-
await
|
|
248
|
-
await
|
|
249
|
+
await abapDebugger.stepOutBatch();
|
|
250
|
+
await abapDebugger.stepContinueBatch();
|
|
249
251
|
```
|
|
250
252
|
|
|
251
|
-
For non-step actions
|
|
253
|
+
For non-step actions use `executeAction(action, value?)`.
|
|
252
254
|
Step actions (`stepInto`, `stepOut`, `stepContinue`) are reserved for batch-only execution.
|
|
253
255
|
|
|
254
256
|
### Using AdtExecutor (Execution API)
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AdtRuntimeClient - Runtime Operations Client
|
|
3
3
|
*
|
|
4
|
-
* Provides access to runtime-related ADT operations:
|
|
5
|
-
* - Profiler traces
|
|
6
|
-
* -
|
|
7
|
-
* -
|
|
8
|
-
* -
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
4
|
+
* Provides access to runtime-related ADT operations through domain object factories:
|
|
5
|
+
* - getProfiler() — Profiler traces
|
|
6
|
+
* - getCrossTrace() — Cross trace analysis
|
|
7
|
+
* - getSt05Trace() — ST05 performance traces
|
|
8
|
+
* - getDebugger() — Composite debugger (ABAP, AMDP, memory snapshots)
|
|
9
|
+
* - getApplicationLog() — Application log analysis
|
|
10
|
+
* - getAtcLog() — ATC check failure and execution logs
|
|
11
|
+
* - getDdicActivation() — DDIC activation graph
|
|
12
|
+
* - getDumps() — Runtime dump analysis
|
|
13
|
+
* - getFeeds() — Feed repository (list feeds, variants, parse Atom feeds)
|
|
14
|
+
* - getSystemMessages() — System messages (SM02)
|
|
15
|
+
* - getGatewayErrorLog() — Gateway error log (/IWFND/ERROR_LOG)
|
|
13
16
|
*
|
|
14
17
|
* Usage:
|
|
15
18
|
* ```typescript
|
|
@@ -18,455 +21,46 @@
|
|
|
18
21
|
* const client = new AdtRuntimeClient(connection, logger);
|
|
19
22
|
*
|
|
20
23
|
* // Profiler traces
|
|
21
|
-
* const traceFiles = await client.
|
|
22
|
-
* const traceParams = await client.
|
|
24
|
+
* const traceFiles = await client.getProfiler().list();
|
|
25
|
+
* const traceParams = await client.getProfiler().getParameters();
|
|
23
26
|
*
|
|
24
27
|
* // Debugging
|
|
25
|
-
* await client.
|
|
26
|
-
* const callStack = await client.getCallStack();
|
|
28
|
+
* await client.getDebugger().getAbap().launch({ debuggingMode: 'external' });
|
|
29
|
+
* const callStack = await client.getDebugger().getAbap().getCallStack();
|
|
27
30
|
*
|
|
28
31
|
* // Logs
|
|
29
|
-
* const appLog = await client.
|
|
30
|
-
* const atcLogs = await client.
|
|
32
|
+
* const appLog = await client.getApplicationLog().getObject('Z_MY_LOG');
|
|
33
|
+
* const atcLogs = await client.getAtcLog().getCheckFailureLogs();
|
|
31
34
|
* ```
|
|
32
35
|
*/
|
|
33
|
-
import type {
|
|
34
|
-
import { type IGetApplicationLogObjectOptions, type IGetApplicationLogSourceOptions } from '../runtime/applicationLog/read';
|
|
35
|
-
import { type IGetCheckFailureLogsOptions } from '../runtime/atc/logs';
|
|
36
|
-
import { type IGetActivationGraphOptions } from '../runtime/ddic/activationGraph';
|
|
37
|
-
import { type IAbapDebuggerStepMethod, type IDebuggerBatchPayload, type IGetDebuggerOptions, type IGetSystemAreaOptions, type IGetVariableAsCsvOptions, type IGetVariableAsJsonOptions, type IGetVariableValueStatementOptions, type ILaunchDebuggerOptions, type IStopDebuggerOptions } from '../runtime/debugger/abap';
|
|
38
|
-
import { type IRuntimeDumpReadOptions, type IRuntimeDumpsListOptions } from '../runtime/dumps';
|
|
39
|
-
import { type IListCrossTracesOptions } from '../runtime/traces/crossTrace';
|
|
40
|
-
import { type IProfilerTraceDbAccessesOptions, type IProfilerTraceHitListOptions, type IProfilerTraceParameters, type IProfilerTraceStatementsOptions } from '../runtime/traces/profiler';
|
|
36
|
+
import type { IAbapConnection, IApplicationLog, IAtcLog, ICrossTrace, IDdicActivation, IDebugger, IFeedRepository, IGatewayErrorLog, ILogger, IProfiler, IRuntimeDumps, ISt05Trace, ISystemMessages } from '@mcp-abap-adt/interfaces';
|
|
41
37
|
export declare class AdtRuntimeClient {
|
|
42
|
-
protected connection: IAbapConnection;
|
|
43
|
-
protected logger
|
|
38
|
+
protected readonly connection: IAbapConnection;
|
|
39
|
+
protected readonly logger: ILogger;
|
|
40
|
+
private _profiler?;
|
|
41
|
+
private _crossTrace?;
|
|
42
|
+
private _st05Trace?;
|
|
43
|
+
private _debugger?;
|
|
44
|
+
private _applicationLog?;
|
|
45
|
+
private _atcLog?;
|
|
46
|
+
private _ddicActivation?;
|
|
47
|
+
private _dumps?;
|
|
48
|
+
private _feeds?;
|
|
49
|
+
private _systemMessages?;
|
|
50
|
+
private _gatewayErrorLog?;
|
|
44
51
|
constructor(connection: IAbapConnection, logger?: ILogger, options?: {
|
|
45
52
|
enableAcceptCorrection?: boolean;
|
|
46
53
|
});
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
getProfilerTraceParameters(): Promise<AxiosResponse>;
|
|
59
|
-
/**
|
|
60
|
-
* Get trace parameters for callstack aggregation
|
|
61
|
-
*
|
|
62
|
-
* @returns Axios response with callstack aggregation parameters
|
|
63
|
-
*/
|
|
64
|
-
getProfilerTraceParametersForCallstack(): Promise<AxiosResponse>;
|
|
65
|
-
/**
|
|
66
|
-
* Get trace parameters for AMDP trace
|
|
67
|
-
*
|
|
68
|
-
* @returns Axios response with AMDP trace parameters
|
|
69
|
-
*/
|
|
70
|
-
getProfilerTraceParametersForAmdp(): Promise<AxiosResponse>;
|
|
71
|
-
/**
|
|
72
|
-
* Build profiler trace parameters XML payload.
|
|
73
|
-
*
|
|
74
|
-
* @param options - Trace parameters options
|
|
75
|
-
* @returns XML payload used by ADT runtime trace parameters endpoint
|
|
76
|
-
*/
|
|
77
|
-
buildProfilerTraceParametersXml(options?: IProfilerTraceParameters): string;
|
|
78
|
-
/**
|
|
79
|
-
* Create profiler trace parameters (returns response with profiler URI in headers).
|
|
80
|
-
*
|
|
81
|
-
* @param options - Trace parameters options
|
|
82
|
-
* @returns Axios response from ADT endpoint
|
|
83
|
-
*/
|
|
84
|
-
createProfilerTraceParameters(options?: IProfilerTraceParameters): Promise<AxiosResponse>;
|
|
85
|
-
/**
|
|
86
|
-
* Extract profiler URI from createProfilerTraceParameters response headers.
|
|
87
|
-
*
|
|
88
|
-
* @param response - ADT response from createProfilerTraceParameters
|
|
89
|
-
* @returns Profiler URI usable as profilerId query parameter
|
|
90
|
-
*/
|
|
91
|
-
extractProfilerIdFromResponse(response: AxiosResponse): string | undefined;
|
|
92
|
-
/**
|
|
93
|
-
* Return default profiler parameters aligned with Eclipse defaults.
|
|
94
|
-
*/
|
|
95
|
-
getDefaultProfilerTraceParameters(): Omit<IProfilerTraceParameters, 'description'>;
|
|
96
|
-
/**
|
|
97
|
-
* Get profiler trace hitlist for a specific trace.
|
|
98
|
-
*
|
|
99
|
-
* @param traceIdOrUri - Trace ID or full trace URI
|
|
100
|
-
* @param options - Optional filters
|
|
101
|
-
* @returns Axios response with hitlist
|
|
102
|
-
*/
|
|
103
|
-
getProfilerTraceHitList(traceIdOrUri: string, options?: IProfilerTraceHitListOptions): Promise<AxiosResponse>;
|
|
104
|
-
/**
|
|
105
|
-
* Get profiler trace statements for a specific trace.
|
|
106
|
-
*
|
|
107
|
-
* @param traceIdOrUri - Trace ID or full trace URI
|
|
108
|
-
* @param options - Optional statement filters
|
|
109
|
-
* @returns Axios response with statements
|
|
110
|
-
*/
|
|
111
|
-
getProfilerTraceStatements(traceIdOrUri: string, options?: IProfilerTraceStatementsOptions): Promise<AxiosResponse>;
|
|
112
|
-
/**
|
|
113
|
-
* Get profiler trace DB accesses for a specific trace.
|
|
114
|
-
*
|
|
115
|
-
* @param traceIdOrUri - Trace ID or full trace URI
|
|
116
|
-
* @param options - Optional filters
|
|
117
|
-
* @returns Axios response with DB accesses
|
|
118
|
-
*/
|
|
119
|
-
getProfilerTraceDbAccesses(traceIdOrUri: string, options?: IProfilerTraceDbAccessesOptions): Promise<AxiosResponse>;
|
|
120
|
-
/**
|
|
121
|
-
* List ABAP profiler trace requests
|
|
122
|
-
*
|
|
123
|
-
* @returns Axios response with list of trace requests
|
|
124
|
-
*/
|
|
125
|
-
listProfilerTraceRequests(): Promise<AxiosResponse>;
|
|
126
|
-
/**
|
|
127
|
-
* Get trace requests filtered by URI
|
|
128
|
-
*
|
|
129
|
-
* @param uri - Object URI to filter by
|
|
130
|
-
* @returns Axios response with filtered trace requests
|
|
131
|
-
*/
|
|
132
|
-
getProfilerTraceRequestsByUri(uri: string): Promise<AxiosResponse>;
|
|
133
|
-
/**
|
|
134
|
-
* List available object types for tracing
|
|
135
|
-
*
|
|
136
|
-
* @returns Axios response with list of object types
|
|
137
|
-
*/
|
|
138
|
-
listProfilerObjectTypes(): Promise<AxiosResponse>;
|
|
139
|
-
/**
|
|
140
|
-
* List available process types for tracing
|
|
141
|
-
*
|
|
142
|
-
* @returns Axios response with list of process types
|
|
143
|
-
*/
|
|
144
|
-
listProfilerProcessTypes(): Promise<AxiosResponse>;
|
|
145
|
-
/**
|
|
146
|
-
* List cross traces
|
|
147
|
-
*
|
|
148
|
-
* @param options - Optional filters
|
|
149
|
-
* @returns Axios response with list of traces
|
|
150
|
-
*/
|
|
151
|
-
listCrossTraces(options?: IListCrossTracesOptions): Promise<AxiosResponse>;
|
|
152
|
-
/**
|
|
153
|
-
* Get cross trace details
|
|
154
|
-
*
|
|
155
|
-
* @param traceId - Trace ID
|
|
156
|
-
* @param includeSensitiveData - Whether to include sensitive data
|
|
157
|
-
* @returns Axios response with trace details
|
|
158
|
-
*/
|
|
159
|
-
getCrossTrace(traceId: string, includeSensitiveData?: boolean): Promise<AxiosResponse>;
|
|
160
|
-
/**
|
|
161
|
-
* Get cross trace records
|
|
162
|
-
*
|
|
163
|
-
* @param traceId - Trace ID
|
|
164
|
-
* @returns Axios response with trace records
|
|
165
|
-
*/
|
|
166
|
-
getCrossTraceRecords(traceId: string): Promise<AxiosResponse>;
|
|
167
|
-
/**
|
|
168
|
-
* Get cross trace record content
|
|
169
|
-
*
|
|
170
|
-
* @param traceId - Trace ID
|
|
171
|
-
* @param recordNumber - Record number
|
|
172
|
-
* @returns Axios response with record content
|
|
173
|
-
*/
|
|
174
|
-
getCrossTraceRecordContent(traceId: string, recordNumber: number): Promise<AxiosResponse>;
|
|
175
|
-
/**
|
|
176
|
-
* Get cross trace activations
|
|
177
|
-
*
|
|
178
|
-
* @returns Axios response with trace activations
|
|
179
|
-
*/
|
|
180
|
-
getCrossTraceActivations(): Promise<AxiosResponse>;
|
|
181
|
-
/**
|
|
182
|
-
* Launch debugger session
|
|
183
|
-
*
|
|
184
|
-
* @param options - Debugger launch options
|
|
185
|
-
* @returns Axios response with debugger session
|
|
186
|
-
*/
|
|
187
|
-
launchDebugger(options?: ILaunchDebuggerOptions): Promise<AxiosResponse>;
|
|
188
|
-
/**
|
|
189
|
-
* Stop debugger session
|
|
190
|
-
*
|
|
191
|
-
* @param options - Debugger stop options
|
|
192
|
-
* @returns Axios response
|
|
193
|
-
*/
|
|
194
|
-
stopDebugger(options?: IStopDebuggerOptions): Promise<AxiosResponse>;
|
|
195
|
-
/**
|
|
196
|
-
* Get debugger session
|
|
197
|
-
*
|
|
198
|
-
* @param options - Debugger get options
|
|
199
|
-
* @returns Axios response with debugger session
|
|
200
|
-
*/
|
|
201
|
-
getDebugger(options?: IGetDebuggerOptions): Promise<AxiosResponse>;
|
|
202
|
-
/**
|
|
203
|
-
* Get memory sizes
|
|
204
|
-
*
|
|
205
|
-
* @param includeAbap - Include ABAP memory (optional)
|
|
206
|
-
* @returns Axios response with memory sizes
|
|
207
|
-
*/
|
|
208
|
-
getDebuggerMemorySizes(includeAbap?: boolean): Promise<AxiosResponse>;
|
|
209
|
-
/**
|
|
210
|
-
* Get system area
|
|
211
|
-
*
|
|
212
|
-
* @param systemarea - System area name
|
|
213
|
-
* @param options - System area options
|
|
214
|
-
* @returns Axios response with system area data
|
|
215
|
-
*/
|
|
216
|
-
getDebuggerSystemArea(systemarea: string, options?: IGetSystemAreaOptions): Promise<AxiosResponse>;
|
|
217
|
-
/**
|
|
218
|
-
* Synchronize breakpoints
|
|
219
|
-
*
|
|
220
|
-
* @param checkConflict - Check for conflicts (optional)
|
|
221
|
-
* @returns Axios response with breakpoints
|
|
222
|
-
*/
|
|
223
|
-
synchronizeBreakpoints(checkConflict?: boolean): Promise<AxiosResponse>;
|
|
224
|
-
/**
|
|
225
|
-
* Get breakpoint statements
|
|
226
|
-
*
|
|
227
|
-
* @returns Axios response with breakpoint statements
|
|
228
|
-
*/
|
|
229
|
-
getBreakpointStatements(): Promise<AxiosResponse>;
|
|
230
|
-
/**
|
|
231
|
-
* Get breakpoint message types
|
|
232
|
-
*
|
|
233
|
-
* @returns Axios response with message types
|
|
234
|
-
*/
|
|
235
|
-
getBreakpointMessageTypes(): Promise<AxiosResponse>;
|
|
236
|
-
/**
|
|
237
|
-
* Get breakpoint conditions
|
|
238
|
-
*
|
|
239
|
-
* @returns Axios response with breakpoint conditions
|
|
240
|
-
*/
|
|
241
|
-
getBreakpointConditions(): Promise<AxiosResponse>;
|
|
242
|
-
/**
|
|
243
|
-
* Validate breakpoints
|
|
244
|
-
*
|
|
245
|
-
* @returns Axios response with validation results
|
|
246
|
-
*/
|
|
247
|
-
validateBreakpoints(): Promise<AxiosResponse>;
|
|
248
|
-
/**
|
|
249
|
-
* Get VIT breakpoints
|
|
250
|
-
*
|
|
251
|
-
* @returns Axios response with VIT breakpoints
|
|
252
|
-
*/
|
|
253
|
-
getVitBreakpoints(): Promise<AxiosResponse>;
|
|
254
|
-
/**
|
|
255
|
-
* Get variable max length
|
|
256
|
-
*
|
|
257
|
-
* @param variableName - Variable name
|
|
258
|
-
* @param part - Variable part
|
|
259
|
-
* @param maxLength - Max length (optional)
|
|
260
|
-
* @returns Axios response with max length
|
|
261
|
-
*/
|
|
262
|
-
getVariableMaxLength(variableName: string, part: string, maxLength?: number): Promise<AxiosResponse>;
|
|
263
|
-
/**
|
|
264
|
-
* Get variable subcomponents
|
|
265
|
-
*
|
|
266
|
-
* @param variableName - Variable name
|
|
267
|
-
* @param part - Variable part
|
|
268
|
-
* @param component - Component name (optional)
|
|
269
|
-
* @param line - Line number (optional)
|
|
270
|
-
* @returns Axios response with subcomponents
|
|
271
|
-
*/
|
|
272
|
-
getVariableSubcomponents(variableName: string, part: string, component?: string, line?: number): Promise<AxiosResponse>;
|
|
273
|
-
/**
|
|
274
|
-
* Get variable as CSV
|
|
275
|
-
*
|
|
276
|
-
* @param variableName - Variable name
|
|
277
|
-
* @param part - Variable part
|
|
278
|
-
* @param options - CSV options
|
|
279
|
-
* @returns Axios response with CSV data
|
|
280
|
-
*/
|
|
281
|
-
getVariableAsCsv(variableName: string, part: string, options?: IGetVariableAsCsvOptions): Promise<AxiosResponse>;
|
|
282
|
-
/**
|
|
283
|
-
* Get variable as JSON
|
|
284
|
-
*
|
|
285
|
-
* @param variableName - Variable name
|
|
286
|
-
* @param part - Variable part
|
|
287
|
-
* @param options - JSON options
|
|
288
|
-
* @returns Axios response with JSON data
|
|
289
|
-
*/
|
|
290
|
-
getVariableAsJson(variableName: string, part: string, options?: IGetVariableAsJsonOptions): Promise<AxiosResponse>;
|
|
291
|
-
/**
|
|
292
|
-
* Get variable value statement
|
|
293
|
-
*
|
|
294
|
-
* @param variableName - Variable name
|
|
295
|
-
* @param part - Variable part
|
|
296
|
-
* @param options - Value statement options
|
|
297
|
-
* @returns Axios response with value statement
|
|
298
|
-
*/
|
|
299
|
-
getVariableValueStatement(variableName: string, part: string, options?: IGetVariableValueStatementOptions): Promise<AxiosResponse>;
|
|
300
|
-
/**
|
|
301
|
-
* Execute debugger action
|
|
302
|
-
*
|
|
303
|
-
* @param action - Action name
|
|
304
|
-
* @param value - Action value (optional)
|
|
305
|
-
* @returns Axios response
|
|
306
|
-
*/
|
|
307
|
-
executeDebuggerAction(action: string, value?: string): Promise<AxiosResponse>;
|
|
308
|
-
/**
|
|
309
|
-
* Get call stack
|
|
310
|
-
*
|
|
311
|
-
* @returns Axios response with call stack
|
|
312
|
-
*/
|
|
313
|
-
getCallStack(): Promise<AxiosResponse>;
|
|
314
|
-
/**
|
|
315
|
-
* Insert watchpoint
|
|
316
|
-
*
|
|
317
|
-
* @param variableName - Variable name
|
|
318
|
-
* @param condition - Watchpoint condition (optional)
|
|
319
|
-
* @returns Axios response
|
|
320
|
-
*/
|
|
321
|
-
insertWatchpoint(variableName: string, condition?: string): Promise<AxiosResponse>;
|
|
322
|
-
/**
|
|
323
|
-
* Get watchpoints
|
|
324
|
-
*
|
|
325
|
-
* @returns Axios response with watchpoints
|
|
326
|
-
*/
|
|
327
|
-
getWatchpoints(): Promise<AxiosResponse>;
|
|
328
|
-
/**
|
|
329
|
-
* Execute batch request
|
|
330
|
-
*
|
|
331
|
-
* @param requests - Batch requests (XML body)
|
|
332
|
-
* @returns Axios response with batch results
|
|
333
|
-
*/
|
|
334
|
-
executeBatchRequest(requests: string): Promise<AxiosResponse>;
|
|
335
|
-
/**
|
|
336
|
-
* Build multipart debugger batch payload from raw application/http parts.
|
|
337
|
-
*
|
|
338
|
-
* @param requests - Inner HTTP request parts for debugger batch
|
|
339
|
-
* @returns Boundary and multipart body
|
|
340
|
-
*/
|
|
341
|
-
buildDebuggerBatchPayload(requests: string[]): IDebuggerBatchPayload;
|
|
342
|
-
/**
|
|
343
|
-
* Build standard debugger batch payload: step operation + getStack.
|
|
344
|
-
*
|
|
345
|
-
* @param stepMethod - Step method to execute
|
|
346
|
-
* @returns Boundary and multipart body
|
|
347
|
-
*/
|
|
348
|
-
buildDebuggerStepWithStackBatchPayload(stepMethod: IAbapDebuggerStepMethod): IDebuggerBatchPayload;
|
|
349
|
-
/**
|
|
350
|
-
* Execute debugger step operation via multipart batch and fetch stack in the same batch.
|
|
351
|
-
*
|
|
352
|
-
* @param stepMethod - Step method to execute
|
|
353
|
-
* @returns Axios response with multipart batch result
|
|
354
|
-
*/
|
|
355
|
-
executeDebuggerStepBatch(stepMethod: IAbapDebuggerStepMethod): Promise<AxiosResponse>;
|
|
356
|
-
/**
|
|
357
|
-
* Execute debugger stepInto via multipart batch with stack fetch.
|
|
358
|
-
*
|
|
359
|
-
* @returns Axios response with multipart batch result
|
|
360
|
-
*/
|
|
361
|
-
stepIntoDebuggerBatch(): Promise<AxiosResponse>;
|
|
362
|
-
/**
|
|
363
|
-
* Execute debugger stepOut via multipart batch with stack fetch.
|
|
364
|
-
*
|
|
365
|
-
* @returns Axios response with multipart batch result
|
|
366
|
-
*/
|
|
367
|
-
stepOutDebuggerBatch(): Promise<AxiosResponse>;
|
|
368
|
-
/**
|
|
369
|
-
* Execute debugger continue via multipart batch with stack fetch.
|
|
370
|
-
*
|
|
371
|
-
* @returns Axios response with multipart batch result
|
|
372
|
-
*/
|
|
373
|
-
stepContinueDebuggerBatch(): Promise<AxiosResponse>;
|
|
374
|
-
/**
|
|
375
|
-
* Get application log object properties
|
|
376
|
-
*
|
|
377
|
-
* @param objectName - Application log object name
|
|
378
|
-
* @param options - Optional parameters
|
|
379
|
-
* @returns Axios response with application log object properties
|
|
380
|
-
*/
|
|
381
|
-
getApplicationLogObject(objectName: string, options?: IGetApplicationLogObjectOptions): Promise<AxiosResponse>;
|
|
382
|
-
/**
|
|
383
|
-
* Get application log object source
|
|
384
|
-
*
|
|
385
|
-
* @param objectName - Application log object name
|
|
386
|
-
* @param options - Optional parameters
|
|
387
|
-
* @returns Axios response with application log object source
|
|
388
|
-
*/
|
|
389
|
-
getApplicationLogSource(objectName: string, options?: IGetApplicationLogSourceOptions): Promise<AxiosResponse>;
|
|
390
|
-
/**
|
|
391
|
-
* Validate application log object name
|
|
392
|
-
*
|
|
393
|
-
* @param objectName - Application log object name to validate
|
|
394
|
-
* @returns Axios response with validation result
|
|
395
|
-
*/
|
|
396
|
-
validateApplicationLogName(objectName: string): Promise<AxiosResponse>;
|
|
397
|
-
/**
|
|
398
|
-
* Get ATC check failure logs
|
|
399
|
-
*
|
|
400
|
-
* @param options - Optional filters
|
|
401
|
-
* @returns Axios response with check failure logs
|
|
402
|
-
*/
|
|
403
|
-
getAtcCheckFailureLogs(options?: IGetCheckFailureLogsOptions): Promise<AxiosResponse>;
|
|
404
|
-
/**
|
|
405
|
-
* Get ATC execution log
|
|
406
|
-
*
|
|
407
|
-
* @param executionId - Execution ID
|
|
408
|
-
* @returns Axios response with execution log
|
|
409
|
-
*/
|
|
410
|
-
getAtcExecutionLog(executionId: string): Promise<AxiosResponse>;
|
|
411
|
-
/**
|
|
412
|
-
* Get DDIC activation graph with logs
|
|
413
|
-
*
|
|
414
|
-
* @param options - Optional parameters
|
|
415
|
-
* @returns Axios response with activation graph
|
|
416
|
-
*/
|
|
417
|
-
getDdicActivationGraph(options?: IGetActivationGraphOptions): Promise<AxiosResponse>;
|
|
418
|
-
/**
|
|
419
|
-
* Get ST05 trace state
|
|
420
|
-
*
|
|
421
|
-
* @returns Axios response with trace state
|
|
422
|
-
*/
|
|
423
|
-
getSt05TraceState(): Promise<AxiosResponse>;
|
|
424
|
-
/**
|
|
425
|
-
* Get ST05 trace directory
|
|
426
|
-
*
|
|
427
|
-
* @returns Axios response with trace directory information
|
|
428
|
-
*/
|
|
429
|
-
getSt05TraceDirectory(): Promise<AxiosResponse>;
|
|
430
|
-
/**
|
|
431
|
-
* Build a runtime dump ID prefix from its known components.
|
|
432
|
-
*
|
|
433
|
-
* @see buildDumpIdPrefix in runtime/dumps/read.ts
|
|
434
|
-
*/
|
|
435
|
-
buildDumpIdPrefix(datetime: string, hostname: string, sysid: string, instance: string): string;
|
|
436
|
-
/**
|
|
437
|
-
* Build ADT runtime dumps query expression for user filtering.
|
|
438
|
-
*
|
|
439
|
-
* @example and( equals( user, CB9980000423 ) )
|
|
440
|
-
*/
|
|
441
|
-
buildRuntimeDumpsUserQuery(user?: string): string | undefined;
|
|
442
|
-
/**
|
|
443
|
-
* List runtime dumps feed.
|
|
444
|
-
*/
|
|
445
|
-
listRuntimeDumps(options?: IRuntimeDumpsListOptions): Promise<AxiosResponse>;
|
|
446
|
-
/**
|
|
447
|
-
* List runtime dumps filtered by user.
|
|
448
|
-
*/
|
|
449
|
-
listRuntimeDumpsByUser(user?: string, options?: Omit<IRuntimeDumpsListOptions, 'query'>): Promise<AxiosResponse>;
|
|
450
|
-
/**
|
|
451
|
-
* Read a specific runtime dump by its dump ID.
|
|
452
|
-
*
|
|
453
|
-
* @param options.view Select dump representation:
|
|
454
|
-
* - `default` -> `/sap/bc/adt/runtime/dump/{id}`
|
|
455
|
-
* - `summary` -> `/sap/bc/adt/runtime/dump/{id}/summary`
|
|
456
|
-
* - `formatted` -> `/sap/bc/adt/runtime/dump/{id}/formatted`
|
|
457
|
-
*/
|
|
458
|
-
getRuntimeDumpById(dumpId: string, options?: IRuntimeDumpReadOptions): Promise<AxiosResponse>;
|
|
459
|
-
/**
|
|
460
|
-
* Get feeds
|
|
461
|
-
*
|
|
462
|
-
* @returns Axios response with feeds
|
|
463
|
-
*/
|
|
464
|
-
getFeeds(): Promise<AxiosResponse>;
|
|
465
|
-
/**
|
|
466
|
-
* Get feed variants
|
|
467
|
-
*
|
|
468
|
-
* @returns Axios response with feed variants
|
|
469
|
-
*/
|
|
470
|
-
getFeedVariants(): Promise<AxiosResponse>;
|
|
54
|
+
getProfiler(): IProfiler;
|
|
55
|
+
getCrossTrace(): ICrossTrace;
|
|
56
|
+
getSt05Trace(): ISt05Trace;
|
|
57
|
+
getDebugger(): IDebugger;
|
|
58
|
+
getApplicationLog(): IApplicationLog;
|
|
59
|
+
getAtcLog(): IAtcLog;
|
|
60
|
+
getDdicActivation(): IDdicActivation;
|
|
61
|
+
getDumps(): IRuntimeDumps;
|
|
62
|
+
getFeeds(): IFeedRepository;
|
|
63
|
+
getSystemMessages(): ISystemMessages;
|
|
64
|
+
getGatewayErrorLog(): IGatewayErrorLog;
|
|
471
65
|
}
|
|
472
66
|
//# sourceMappingURL=AdtRuntimeClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdtRuntimeClient.d.ts","sourceRoot":"","sources":["../../src/clients/AdtRuntimeClient.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"AdtRuntimeClient.d.ts","sourceRoot":"","sources":["../../src/clients/AdtRuntimeClient.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,KAAK,EACV,eAAe,EACf,eAAe,EACf,OAAO,EACP,WAAW,EACX,eAAe,EACf,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,OAAO,EACP,SAAS,EACT,aAAa,EACb,UAAU,EACV,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAalC,qBAAa,gBAAgB;IAC3B,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,eAAe,CAAC;IAC/C,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IAEnC,OAAO,CAAC,SAAS,CAAC,CAAW;IAC7B,OAAO,CAAC,WAAW,CAAC,CAAa;IACjC,OAAO,CAAC,UAAU,CAAC,CAAY;IAC/B,OAAO,CAAC,SAAS,CAAC,CAAW;IAC7B,OAAO,CAAC,eAAe,CAAC,CAAiB;IACzC,OAAO,CAAC,OAAO,CAAC,CAAS;IACzB,OAAO,CAAC,eAAe,CAAC,CAAiB;IACzC,OAAO,CAAC,MAAM,CAAC,CAAe;IAC9B,OAAO,CAAC,MAAM,CAAC,CAAiB;IAChC,OAAO,CAAC,eAAe,CAAC,CAAiB;IACzC,OAAO,CAAC,gBAAgB,CAAC,CAAkB;gBAGzC,UAAU,EAAE,eAAe,EAC3B,MAAM,CAAC,EAAE,OAAO,EAChB,OAAO,CAAC,EAAE;QAAE,sBAAsB,CAAC,EAAE,OAAO,CAAA;KAAE;IAoChD,WAAW,IAAI,SAAS;IAOxB,aAAa,IAAI,WAAW;IAO5B,YAAY,IAAI,UAAU;IAO1B,WAAW,IAAI,SAAS;IAOxB,iBAAiB,IAAI,eAAe;IAOpC,SAAS,IAAI,OAAO;IAOpB,iBAAiB,IAAI,eAAe;IAOpC,QAAQ,IAAI,aAAa;IAWzB,QAAQ,IAAI,eAAe;IAO3B,iBAAiB,IAAI,eAAe;IAOpC,kBAAkB,IAAI,gBAAgB;CAMvC"}
|