@mcp-abap-adt/adt-clients 37.2.0 → 37.3.0
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 +21 -10
- package/dist/clients/AdtClient.d.ts +8 -4
- package/dist/clients/AdtClient.d.ts.map +1 -1
- package/dist/clients/AdtClient.js +7 -3
- package/dist/clients/AdtClientLegacy.d.ts +36 -9
- package/dist/clients/AdtClientLegacy.d.ts.map +1 -1
- package/dist/clients/AdtClientLegacy.js +89 -22
- package/dist/clients/AdtExecutorLegacy.d.ts +24 -7
- package/dist/clients/AdtExecutorLegacy.d.ts.map +1 -1
- package/dist/clients/AdtExecutorLegacy.js +26 -9
- package/dist/clients/absentOnLegacy.d.ts +13 -5
- package/dist/clients/absentOnLegacy.d.ts.map +1 -1
- package/dist/clients/absentOnLegacy.js +18 -9
- package/dist/clients/createAdtClient.d.ts +5 -4
- package/dist/clients/createAdtClient.d.ts.map +1 -1
- package/dist/clients/createAdtClient.js +5 -4
- package/dist/clients/createAdtExecutor.d.ts +2 -1
- package/dist/clients/createAdtExecutor.d.ts.map +1 -1
- package/dist/clients/createAdtExecutor.js +2 -1
- package/dist/core/class/AdtClassLegacy.d.ts +21 -19
- package/dist/core/class/AdtClassLegacy.d.ts.map +1 -1
- package/dist/core/class/AdtClassLegacy.js +22 -20
- package/dist/core/class/run.d.ts +3 -3
- package/dist/core/class/run.js +3 -3
- package/dist/core/ddl/AdtDdlLegacy.d.ts +23 -1
- package/dist/core/ddl/AdtDdlLegacy.d.ts.map +1 -1
- package/dist/core/ddl/AdtDdlLegacy.js +24 -1
- package/dist/core/functionGroup/AdtFunctionGroupLegacy.d.ts +24 -1
- package/dist/core/functionGroup/AdtFunctionGroupLegacy.d.ts.map +1 -1
- package/dist/core/functionGroup/AdtFunctionGroupLegacy.js +25 -1
- package/dist/core/functionInclude/AdtFunctionIncludeLegacy.d.ts +24 -0
- package/dist/core/functionInclude/AdtFunctionIncludeLegacy.d.ts.map +1 -0
- package/dist/core/functionInclude/AdtFunctionIncludeLegacy.js +26 -0
- package/dist/core/functionModule/AdtFunctionModuleLegacy.d.ts +23 -1
- package/dist/core/functionModule/AdtFunctionModuleLegacy.d.ts.map +1 -1
- package/dist/core/functionModule/AdtFunctionModuleLegacy.js +24 -1
- package/dist/core/include/AdtIncludeLegacy.d.ts +23 -0
- package/dist/core/include/AdtIncludeLegacy.d.ts.map +1 -0
- package/dist/core/include/AdtIncludeLegacy.js +25 -0
- package/dist/core/interface/AdtInterfaceLegacy.d.ts +24 -1
- package/dist/core/interface/AdtInterfaceLegacy.d.ts.map +1 -1
- package/dist/core/interface/AdtInterfaceLegacy.js +25 -1
- package/dist/core/messageClass/AdtMessageClassLegacy.d.ts +23 -0
- package/dist/core/messageClass/AdtMessageClassLegacy.d.ts.map +1 -0
- package/dist/core/messageClass/AdtMessageClassLegacy.js +25 -0
- package/dist/core/package/AdtPackageLegacy.d.ts +30 -4
- package/dist/core/package/AdtPackageLegacy.d.ts.map +1 -1
- package/dist/core/package/AdtPackageLegacy.js +38 -3
- package/dist/core/program/AdtProgramLegacy.d.ts +24 -1
- package/dist/core/program/AdtProgramLegacy.d.ts.map +1 -1
- package/dist/core/program/AdtProgramLegacy.js +25 -1
- package/dist/core/shared/AdtUtilsLegacy.d.ts +96 -8
- package/dist/core/shared/AdtUtilsLegacy.d.ts.map +1 -1
- package/dist/core/shared/AdtUtilsLegacy.js +166 -10
- package/dist/core/shared/abapUnit.d.ts +4 -5
- package/dist/core/shared/abapUnit.d.ts.map +1 -1
- package/dist/core/shared/abapUnit.js +4 -5
- package/dist/core/shared/deleteLegacy.d.ts +13 -6
- package/dist/core/shared/deleteLegacy.d.ts.map +1 -1
- package/dist/core/shared/deleteLegacy.js +13 -6
- package/dist/core/shared/refusalLegacy.d.ts +37 -0
- package/dist/core/shared/refusalLegacy.d.ts.map +1 -0
- package/dist/core/shared/refusalLegacy.js +68 -0
- package/dist/core/transport/AdtRequestLegacy.d.ts +59 -11
- package/dist/core/transport/AdtRequestLegacy.d.ts.map +1 -1
- package/dist/core/transport/AdtRequestLegacy.js +62 -10
- package/dist/executors/abapUnitRunLegacy.d.ts +25 -0
- package/dist/executors/abapUnitRunLegacy.d.ts.map +1 -0
- package/dist/executors/abapUnitRunLegacy.js +45 -0
- package/dist/executors/abapUnitRunner.d.ts +0 -5
- package/dist/executors/abapUnitRunner.d.ts.map +1 -1
- package/dist/executors/abapUnitRunner.js +0 -13
- package/dist/executors/class/ClassExecutorLegacy.d.ts +24 -0
- package/dist/executors/class/ClassExecutorLegacy.d.ts.map +1 -0
- package/dist/executors/class/ClassExecutorLegacy.js +38 -0
- package/dist/executors/class/ClassTestRunnerLegacy.d.ts +10 -18
- package/dist/executors/class/ClassTestRunnerLegacy.d.ts.map +1 -1
- package/dist/executors/class/ClassTestRunnerLegacy.js +15 -34
- package/dist/executors/class/index.d.ts +1 -0
- package/dist/executors/class/index.d.ts.map +1 -1
- package/dist/executors/class/index.js +3 -1
- package/dist/executors/functionGroup/FunctionGroupTestRunner.d.ts +0 -11
- package/dist/executors/functionGroup/FunctionGroupTestRunner.d.ts.map +1 -1
- package/dist/executors/functionGroup/FunctionGroupTestRunner.js +1 -21
- package/dist/executors/functionGroup/FunctionGroupTestRunnerLegacy.d.ts +18 -0
- package/dist/executors/functionGroup/FunctionGroupTestRunnerLegacy.d.ts.map +1 -0
- package/dist/executors/functionGroup/FunctionGroupTestRunnerLegacy.js +28 -0
- package/dist/executors/functionGroup/index.d.ts +2 -1
- package/dist/executors/functionGroup/index.d.ts.map +1 -1
- package/dist/executors/functionGroup/index.js +3 -2
- package/dist/executors/functionModule/FunctionModuleTestRunner.d.ts +0 -11
- package/dist/executors/functionModule/FunctionModuleTestRunner.d.ts.map +1 -1
- package/dist/executors/functionModule/FunctionModuleTestRunner.js +1 -21
- package/dist/executors/functionModule/FunctionModuleTestRunnerLegacy.d.ts +19 -0
- package/dist/executors/functionModule/FunctionModuleTestRunnerLegacy.d.ts.map +1 -0
- package/dist/executors/functionModule/FunctionModuleTestRunnerLegacy.js +34 -0
- package/dist/executors/functionModule/index.d.ts +2 -1
- package/dist/executors/functionModule/index.d.ts.map +1 -1
- package/dist/executors/functionModule/index.js +3 -2
- package/dist/executors/index.d.ts +2 -2
- package/dist/executors/index.d.ts.map +1 -1
- package/dist/executors/index.js +3 -1
- package/dist/executors/program/ProgramExecutorLegacy.d.ts +23 -0
- package/dist/executors/program/ProgramExecutorLegacy.d.ts.map +1 -0
- package/dist/executors/program/ProgramExecutorLegacy.js +37 -0
- package/dist/executors/program/ProgramTestRunner.d.ts +1 -2
- package/dist/executors/program/ProgramTestRunner.d.ts.map +1 -1
- package/dist/executors/program/ProgramTestRunner.js +1 -2
- package/dist/executors/program/ProgramTestRunnerLegacy.d.ts +8 -11
- package/dist/executors/program/ProgramTestRunnerLegacy.d.ts.map +1 -1
- package/dist/executors/program/ProgramTestRunnerLegacy.js +12 -16
- package/dist/executors/program/index.d.ts +1 -0
- package/dist/executors/program/index.d.ts.map +1 -1
- package/dist/executors/program/index.js +3 -1
- package/dist/utils/discoveryEndpoints.d.ts +2 -1
- package/dist/utils/discoveryEndpoints.d.ts.map +1 -1
- package/dist/utils/discoveryEndpoints.js +2 -1
- package/docs/usage/ADT_OBJECT_ENTITIES.md +9 -9
- package/docs/usage/CLIENT_API_REFERENCE.md +64 -9
- package/docs/usage/MIGRATION-24.md +4 -2
- package/docs/usage/OBJECT_LIFECYCLE.md +38 -1
- package/docs/usage/OPERATION_DELAYS.md +1 -1
- package/docs/usage/OPERATION_DELAYS_SUMMARY.md +1 -1
- package/docs/usage/RFC_CONNECTION.md +20 -21
- package/docs/usage/STATEFUL_SESSION_GUIDE.md +1 -1
- package/package.json +8 -5
|
@@ -107,8 +107,8 @@ const ACCEPT_TESTRUNS = 'application/xml';
|
|
|
107
107
|
* objects are named by their ADT URIs: a class, a report, a function group, a
|
|
108
108
|
* function module.
|
|
109
109
|
*
|
|
110
|
-
* The one implementation of this endpoint:
|
|
111
|
-
*
|
|
110
|
+
* The one implementation of this endpoint: a runner's `runSync` sends it, and so
|
|
111
|
+
* does any runner whose `run` is this request.
|
|
112
112
|
*
|
|
113
113
|
* **Measured:** synchronous on a modern and a legacy on-prem system, over HTTP
|
|
114
114
|
* and over RFC — `<aunit:runResult>` in the POST's answer, no `Location` — and
|
|
@@ -125,7 +125,7 @@ const ACCEPT_TESTRUNS = 'application/xml';
|
|
|
125
125
|
* alerts as `/abapunit/runs`; the same body without `<options>` answered `200`
|
|
126
126
|
* with an empty `<aunit:runResult/>` for all four. An include's own URI
|
|
127
127
|
* answered empty even with `<options>` — its tests run through the report. So
|
|
128
|
-
* every runner
|
|
128
|
+
* every runner sends `<options>`.
|
|
129
129
|
*
|
|
130
130
|
* **Reading the result: `kind` carries the distinction, `severity` does not.**
|
|
131
131
|
* A failed assertion and an uncaught exception both come back
|
|
@@ -141,8 +141,7 @@ const ACCEPT_TESTRUNS = 'application/xml';
|
|
|
141
141
|
* container;
|
|
142
142
|
* - `application/xml` for `Content-Type` and `Accept`.
|
|
143
143
|
*
|
|
144
|
-
* `options` absent sends no `<options>` element
|
|
145
|
-
* runner has always sent, unchanged. Given (`{}` included), the scope, risk
|
|
144
|
+
* `options` absent sends no `<options>` element. Given (`{}` included), the scope, risk
|
|
146
145
|
* levels and durations go in `<options>` with the same defaults `/runs` gets;
|
|
147
146
|
* `title` and `context` have no place in this format and are not sent.
|
|
148
147
|
*/
|
|
@@ -2,20 +2,27 @@
|
|
|
2
2
|
* Legacy deletion for older SAP systems (BASIS < 7.50)
|
|
3
3
|
*
|
|
4
4
|
* Uses direct DELETE on the object URL with lockHandle,
|
|
5
|
-
* instead of the modern /sap/bc/adt/deletion/check + /deletion/delete API
|
|
5
|
+
* instead of the modern /sap/bc/adt/deletion/check + /deletion/delete API,
|
|
6
|
+
* which 7.40 SP04 does not serve.
|
|
6
7
|
*
|
|
7
|
-
* One request, the DELETE.
|
|
8
|
-
*
|
|
8
|
+
* One request, the DELETE. Measured on 7.40 SP04: a class, a program, an
|
|
9
|
+
* interface and a function group refuse it without the object's lock handle
|
|
10
|
+
* (`400`, "Parameter lockHandle could not be found."); a function module and
|
|
11
|
+
* a DDL source were deleted without one. So the caller locks, passes the
|
|
12
|
+
* handle and unlocks; nothing here locks. The request is sent as given, with
|
|
13
|
+
* or without a handle, and SAP's answer is the answer.
|
|
9
14
|
*/
|
|
10
15
|
import type { IAdtHeaders } from '@mcp-abap-adt/interfaces-adt';
|
|
11
16
|
import type { IAbapConnection } from '@mcp-abap-adt/interfaces-adt-connection';
|
|
12
17
|
/**
|
|
13
|
-
* Delete an ADT object via direct DELETE request
|
|
18
|
+
* Delete an ADT object via direct DELETE request, under the caller's lock.
|
|
14
19
|
*
|
|
15
20
|
* @param connection - SAP connection
|
|
16
21
|
* @param objectUrl - Full object URL (e.g. /sap/bc/adt/programs/programs/zmy_prog)
|
|
17
|
-
* @param lockHandle -
|
|
18
|
-
*
|
|
22
|
+
* @param lockHandle - The handle from the caller's `lock()`; required by four of
|
|
23
|
+
* the six types on 7.40 SP04, and sent only when given
|
|
24
|
+
* @param transportRequest - Optional transport request number, sent as `corrNr`
|
|
25
|
+
* (not measured on 7.40 SP04: every probe ran in a local package)
|
|
19
26
|
*/
|
|
20
27
|
export declare function deleteObjectDirect(connection: IAbapConnection, headers: IAdtHeaders, objectUrl: string, lockHandle: string | undefined, transportRequest?: string): Promise<import("@mcp-abap-adt/interfaces-adt-connection").IAdtWireResponse<unknown, unknown>>;
|
|
21
28
|
//# sourceMappingURL=deleteLegacy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteLegacy.d.ts","sourceRoot":"","sources":["../../../src/core/shared/deleteLegacy.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"deleteLegacy.d.ts","sourceRoot":"","sources":["../../../src/core/shared/deleteLegacy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAI/E;;;;;;;;;GASG;AACH,wBAAsB,kBAAkB,CACtC,UAAU,EAAE,eAAe,EAC3B,OAAO,EAAE,WAAW,EACpB,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,gBAAgB,CAAC,EAAE,MAAM,iGAW1B"}
|
|
@@ -3,22 +3,29 @@
|
|
|
3
3
|
* Legacy deletion for older SAP systems (BASIS < 7.50)
|
|
4
4
|
*
|
|
5
5
|
* Uses direct DELETE on the object URL with lockHandle,
|
|
6
|
-
* instead of the modern /sap/bc/adt/deletion/check + /deletion/delete API
|
|
6
|
+
* instead of the modern /sap/bc/adt/deletion/check + /deletion/delete API,
|
|
7
|
+
* which 7.40 SP04 does not serve.
|
|
7
8
|
*
|
|
8
|
-
* One request, the DELETE.
|
|
9
|
-
*
|
|
9
|
+
* One request, the DELETE. Measured on 7.40 SP04: a class, a program, an
|
|
10
|
+
* interface and a function group refuse it without the object's lock handle
|
|
11
|
+
* (`400`, "Parameter lockHandle could not be found."); a function module and
|
|
12
|
+
* a DDL source were deleted without one. So the caller locks, passes the
|
|
13
|
+
* handle and unlocks; nothing here locks. The request is sent as given, with
|
|
14
|
+
* or without a handle, and SAP's answer is the answer.
|
|
10
15
|
*/
|
|
11
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
17
|
exports.deleteObjectDirect = deleteObjectDirect;
|
|
13
18
|
const internalUtils_1 = require("../../utils/internalUtils");
|
|
14
19
|
const requestHeaders_1 = require("../../utils/requestHeaders");
|
|
15
20
|
/**
|
|
16
|
-
* Delete an ADT object via direct DELETE request
|
|
21
|
+
* Delete an ADT object via direct DELETE request, under the caller's lock.
|
|
17
22
|
*
|
|
18
23
|
* @param connection - SAP connection
|
|
19
24
|
* @param objectUrl - Full object URL (e.g. /sap/bc/adt/programs/programs/zmy_prog)
|
|
20
|
-
* @param lockHandle -
|
|
21
|
-
*
|
|
25
|
+
* @param lockHandle - The handle from the caller's `lock()`; required by four of
|
|
26
|
+
* the six types on 7.40 SP04, and sent only when given
|
|
27
|
+
* @param transportRequest - Optional transport request number, sent as `corrNr`
|
|
28
|
+
* (not measured on 7.40 SP04: every probe ran in a local package)
|
|
22
29
|
*/
|
|
23
30
|
async function deleteObjectDirect(connection, headers, objectUrl, lockHandle, transportRequest) {
|
|
24
31
|
const url = `${objectUrl}${(0, internalUtils_1.writeQuery)(lockHandle, transportRequest?.trim())}`;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The refusal a legacy handler answers for an operation 7.40 SP04 does
|
|
3
|
+
* not serve (spec §2.1): answered through `failed()`, never thrown, with
|
|
4
|
+
* `origin: 'refusal'` and `AdtObjectErrorCodes.UNSUPPORTED_OPERATION`, and a
|
|
5
|
+
* message naming the operation, the endpoint 7.40 lacks and — where there is
|
|
6
|
+
* one — what to use instead. No request is sent, so `options.analyse` has
|
|
7
|
+
* nothing to read.
|
|
8
|
+
*/
|
|
9
|
+
import type { IAdtError, IAdtResponse } from '@mcp-abap-adt/interfaces-adt';
|
|
10
|
+
/** `operation` refused: 7.40 SP04 has no `endpoint`; `instead`, if any. */
|
|
11
|
+
export declare function legacyRefusal<T, E extends IAdtError = IAdtError>(operation: string, endpoint: string, instead?: string): IAdtResponse<T, E>;
|
|
12
|
+
/**
|
|
13
|
+
* `operation` refused until measured: 7.40 SP04's discovery does not advertise
|
|
14
|
+
* `endpoint`, and no run on it has measured the endpoint. The same shape as
|
|
15
|
+
* {@link legacyRefusal}; the words claim only what discovery shows.
|
|
16
|
+
*/
|
|
17
|
+
export declare function legacyUnmeasuredRefusal<T, E extends IAdtError = IAdtError>(operation: string, endpoint: string): IAdtResponse<T, E>;
|
|
18
|
+
/**
|
|
19
|
+
* 7.40 SP04 has no deletion API: `POST /sap/bc/adt/deletion/check` answered
|
|
20
|
+
* `404` "No application class found for URI" over RFC (spec §5).
|
|
21
|
+
*/
|
|
22
|
+
export declare const DELETION_CHECK = "/sap/bc/adt/deletion/check";
|
|
23
|
+
export declare const DELETION_DELETE = "/sap/bc/adt/deletion/delete";
|
|
24
|
+
/**
|
|
25
|
+
* `checkDeletion` of a handler whose legacy `delete` is the DELETE under the
|
|
26
|
+
* caller's lock (§4.2) — and the refusal of `checkDeletionGroup` (§5), which
|
|
27
|
+
* points to the same delete.
|
|
28
|
+
*/
|
|
29
|
+
export declare function noDeletionCheck<T, E extends IAdtError = IAdtError>(operation?: string): IAdtResponse<T, E>;
|
|
30
|
+
/**
|
|
31
|
+
* `checkDeletion` of a handler whose legacy `delete` is refused too (§4.3,
|
|
32
|
+
* §8): there is no deletion check, and no delete to point to.
|
|
33
|
+
*/
|
|
34
|
+
export declare function noDeletionCheckNorDelete<T, E extends IAdtError = IAdtError>(operation?: string): IAdtResponse<T, E>;
|
|
35
|
+
/** A delete that goes through `/sap/bc/adt/deletion/*` (§4.3). */
|
|
36
|
+
export declare function noDeletionApi<T, E extends IAdtError = IAdtError>(operation?: string, instead?: string): IAdtResponse<T, E>;
|
|
37
|
+
//# sourceMappingURL=refusalLegacy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refusalLegacy.d.ts","sourceRoot":"","sources":["../../../src/core/shared/refusalLegacy.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAI5E,2EAA2E;AAC3E,wBAAgB,aAAa,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,GAAG,SAAS,EAC9D,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,MAAM,GACf,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CASpB;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,GAAG,SAAS,EACxE,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,GACf,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CASpB;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,+BAA+B,CAAC;AAC3D,eAAO,MAAM,eAAe,gCAAgC,CAAC;AAE7D;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,GAAG,SAAS,EAChE,SAAS,SAAkB,GAC1B,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAMpB;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,GAAG,SAAS,EACzE,SAAS,SAAkB,GAC1B,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAMpB;AAED,kEAAkE;AAClE,wBAAgB,aAAa,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,GAAG,SAAS,EAC9D,SAAS,SAAW,EACpB,OAAO,CAAC,EAAE,MAAM,GACf,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAEpB"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* The refusal a legacy handler answers for an operation 7.40 SP04 does
|
|
4
|
+
* not serve (spec §2.1): answered through `failed()`, never thrown, with
|
|
5
|
+
* `origin: 'refusal'` and `AdtObjectErrorCodes.UNSUPPORTED_OPERATION`, and a
|
|
6
|
+
* message naming the operation, the endpoint 7.40 lacks and — where there is
|
|
7
|
+
* one — what to use instead. No request is sent, so `options.analyse` has
|
|
8
|
+
* nothing to read.
|
|
9
|
+
*/
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.DELETION_DELETE = exports.DELETION_CHECK = void 0;
|
|
12
|
+
exports.legacyRefusal = legacyRefusal;
|
|
13
|
+
exports.legacyUnmeasuredRefusal = legacyUnmeasuredRefusal;
|
|
14
|
+
exports.noDeletionCheck = noDeletionCheck;
|
|
15
|
+
exports.noDeletionCheckNorDelete = noDeletionCheckNorDelete;
|
|
16
|
+
exports.noDeletionApi = noDeletionApi;
|
|
17
|
+
const interfaces_adt_1 = require("@mcp-abap-adt/interfaces-adt");
|
|
18
|
+
const adtResponse_1 = require("../../utils/adtResponse");
|
|
19
|
+
/** `operation` refused: 7.40 SP04 has no `endpoint`; `instead`, if any. */
|
|
20
|
+
function legacyRefusal(operation, endpoint, instead) {
|
|
21
|
+
const message = `${operation}: a legacy system (7.40 SP04) has no ${endpoint}.`;
|
|
22
|
+
// The library's own verdict, so `E` is its default `IAdtError` here — the
|
|
23
|
+
// same cast `answering` makes when no strategy supplied one.
|
|
24
|
+
return (0, adtResponse_1.failed)({
|
|
25
|
+
origin: 'refusal',
|
|
26
|
+
code: interfaces_adt_1.AdtObjectErrorCodes.UNSUPPORTED_OPERATION,
|
|
27
|
+
message: instead ? `${message} ${instead}` : message,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* `operation` refused until measured: 7.40 SP04's discovery does not advertise
|
|
32
|
+
* `endpoint`, and no run on it has measured the endpoint. The same shape as
|
|
33
|
+
* {@link legacyRefusal}; the words claim only what discovery shows.
|
|
34
|
+
*/
|
|
35
|
+
function legacyUnmeasuredRefusal(operation, endpoint) {
|
|
36
|
+
// The library's own verdict, as in legacyRefusal.
|
|
37
|
+
return (0, adtResponse_1.failed)({
|
|
38
|
+
origin: 'refusal',
|
|
39
|
+
code: interfaces_adt_1.AdtObjectErrorCodes.UNSUPPORTED_OPERATION,
|
|
40
|
+
message: `${operation}: a legacy system (7.40 SP04) does not advertise ${endpoint} ` +
|
|
41
|
+
'in its discovery, and it is not measured there, so it is refused until a run measures it.',
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* 7.40 SP04 has no deletion API: `POST /sap/bc/adt/deletion/check` answered
|
|
46
|
+
* `404` "No application class found for URI" over RFC (spec §5).
|
|
47
|
+
*/
|
|
48
|
+
exports.DELETION_CHECK = '/sap/bc/adt/deletion/check';
|
|
49
|
+
exports.DELETION_DELETE = '/sap/bc/adt/deletion/delete';
|
|
50
|
+
/**
|
|
51
|
+
* `checkDeletion` of a handler whose legacy `delete` is the DELETE under the
|
|
52
|
+
* caller's lock (§4.2) — and the refusal of `checkDeletionGroup` (§5), which
|
|
53
|
+
* points to the same delete.
|
|
54
|
+
*/
|
|
55
|
+
function noDeletionCheck(operation = 'checkDeletion') {
|
|
56
|
+
return legacyRefusal(operation, exports.DELETION_CHECK, "There is no deletion check on 7.40: delete() with the object's lock handle, from lock(), is the delete.");
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* `checkDeletion` of a handler whose legacy `delete` is refused too (§4.3,
|
|
60
|
+
* §8): there is no deletion check, and no delete to point to.
|
|
61
|
+
*/
|
|
62
|
+
function noDeletionCheckNorDelete(operation = 'checkDeletion') {
|
|
63
|
+
return legacyRefusal(operation, exports.DELETION_CHECK, 'There is no deletion check on 7.40, and this handler refuses delete() as well.');
|
|
64
|
+
}
|
|
65
|
+
/** A delete that goes through `/sap/bc/adt/deletion/*` (§4.3). */
|
|
66
|
+
function noDeletionApi(operation = 'delete', instead) {
|
|
67
|
+
return legacyRefusal(operation, exports.DELETION_DELETE, instead);
|
|
68
|
+
}
|
|
@@ -1,24 +1,34 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AdtRequestLegacy - Transport request handler for legacy SAP systems
|
|
3
|
-
* (BASIS < 7.50).
|
|
3
|
+
* (BASIS < 7.50), over RFC.
|
|
4
4
|
*
|
|
5
5
|
* Legacy systems use `/sap/bc/cts/` instead of `/sap/bc/adt/cts/`.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
* - `
|
|
9
|
-
*
|
|
7
|
+
* Served:
|
|
8
|
+
* - `list`: GET /sap/bc/cts/transportrequests, the user's full list as it came
|
|
9
|
+
* (measured on 7.40 SP04; the measured user had no requests, so a populated
|
|
10
|
+
* list was not seen). Not a saved-configuration search, so `configUri` is
|
|
11
|
+
* refused.
|
|
12
|
+
* - `readMetadata`: the same GET.
|
|
10
13
|
*
|
|
11
|
-
* Refused
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
14
|
+
* Refused without a request, answered through `failed()`:
|
|
15
|
+
* - `create` — measured on 7.40 SP04: the POST answered `400` "user action is
|
|
16
|
+
* not supported".
|
|
17
|
+
* - `updateMetadata`, `delete` — not measured; create and modify are refused.
|
|
18
|
+
* - the other members on `/sap/bc/adt/cts/*`, which 7.40 does not advertise
|
|
19
|
+
* (`searchConfigurations`, `checkDeletion`, `readObjects`, `readActionLog`,
|
|
20
|
+
* `addObject`, `removeObject`, `moveObjects`, `sortAndCompress`,
|
|
21
|
+
* `createTask`, `changeTaskType`).
|
|
22
|
+
*
|
|
23
|
+
* They answer the refusal rather than throwing it — a consumer that supports
|
|
24
|
+
* both kinds of system will call them, and that is a normal case, not an
|
|
25
|
+
* exception.
|
|
16
26
|
*/
|
|
17
|
-
import type { IAdtAnalyseOptions, IAdtError, IAdtOperationOptions, IAdtResponse, IAdtSystemContext, IListTransportsOptions } from '@mcp-abap-adt/interfaces-adt';
|
|
27
|
+
import type { AdtTaskType, IAdtAnalyseOptions, IAdtError, IAdtHeaders, IAdtOperationOptions, IAdtResponse, IAdtSystemContext, IListTransportsOptions } from '@mcp-abap-adt/interfaces-adt';
|
|
18
28
|
import type { IAbapConnection } from '@mcp-abap-adt/interfaces-adt-connection';
|
|
19
29
|
import type { ILogger } from '@mcp-abap-adt/interfaces-utils';
|
|
20
30
|
import { AdtRequest } from './AdtRequest';
|
|
21
|
-
import type { ITransportConfig, ITransportResults, transportDocuments } from './types';
|
|
31
|
+
import type { IAbapObjectEntry, ITransportConfig, ITransportResults, transportDocuments } from './types';
|
|
22
32
|
export declare class AdtRequestLegacy<R extends ITransportResults = typeof transportDocuments> extends AdtRequest<R> {
|
|
23
33
|
private readonly conn;
|
|
24
34
|
constructor(connection: IAbapConnection, logger?: ILogger, systemContext?: IAdtSystemContext, results?: R);
|
|
@@ -57,5 +67,43 @@ export declare class AdtRequestLegacy<R extends ITransportResults = typeof trans
|
|
|
57
67
|
updateMetadata<E extends IAdtError = IAdtError>(): Promise<IAdtResponse<ReturnType<R['metadataUpdated']>, E>>;
|
|
58
68
|
/** Refused: the legacy endpoint's delete shape has never been captured. */
|
|
59
69
|
delete<E extends IAdtError = IAdtError>(): Promise<IAdtResponse<ReturnType<R['deleted']>, E>>;
|
|
70
|
+
/** Refused without a request: searching transport configurations is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
71
|
+
searchConfigurations<E extends IAdtError = IAdtError>(_options?: IAdtOperationOptions<E>): Promise<IAdtResponse<ReturnType<R['searchConfigurations']>, E>>;
|
|
72
|
+
/** Refused without a request: checking the deletion of a transport request is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
73
|
+
checkDeletion<E extends IAdtError = IAdtError>(_config: Partial<ITransportConfig>, _options: {
|
|
74
|
+
headers: IAdtHeaders;
|
|
75
|
+
} & IAdtOperationOptions<E>): Promise<IAdtResponse<ReturnType<R['deletionCheck']>, E>>;
|
|
76
|
+
/** Refused without a request: reading the objects of a transport request is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
77
|
+
readObjects<E extends IAdtError = IAdtError>(_transportNumber: string, _options?: IAdtOperationOptions<E>): Promise<IAdtResponse<ReturnType<R['objects']>, E>>;
|
|
78
|
+
/** Refused without a request: reading the action log of a transport request is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
79
|
+
readActionLog<E extends IAdtError = IAdtError>(_transportNumber: string, _options?: IAdtOperationOptions<E>): Promise<IAdtResponse<ReturnType<R['actionLog']>, E>>;
|
|
80
|
+
/** Refused without a request: adding an object to a transport request is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
81
|
+
addObject<E extends IAdtError = IAdtError>(_transportNumber: string, _object: IAbapObjectEntry, _options: {
|
|
82
|
+
headers: IAdtHeaders;
|
|
83
|
+
} & IAdtOperationOptions<E>): Promise<IAdtResponse<ReturnType<R['addedObject']>, E>>;
|
|
84
|
+
/** Refused without a request: removing an object from a transport request is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
85
|
+
removeObject<E extends IAdtError = IAdtError>(_transportNumber: string, _object: IAbapObjectEntry & {
|
|
86
|
+
position: string;
|
|
87
|
+
}, _options: {
|
|
88
|
+
headers: IAdtHeaders;
|
|
89
|
+
} & IAdtOperationOptions<E>): Promise<IAdtResponse<ReturnType<R['removedObject']>, E>>;
|
|
90
|
+
/** Refused without a request: moving objects between transport requests is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
91
|
+
moveObjects<E extends IAdtError = IAdtError>(_sourceTask: string, _targetNumber: string, _objects: readonly (IAbapObjectEntry & {
|
|
92
|
+
position: string;
|
|
93
|
+
})[], _options: {
|
|
94
|
+
headers: IAdtHeaders;
|
|
95
|
+
} & IAdtOperationOptions<E>): Promise<IAdtResponse<ReturnType<R['movedObjects']>, E>>;
|
|
96
|
+
/** Refused without a request: sorting and compressing a transport task is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
97
|
+
sortAndCompress<E extends IAdtError = IAdtError>(_taskNumber: string, _options?: IAdtOperationOptions<E>): Promise<IAdtResponse<ReturnType<R['sortedAndCompressed']>, E>>;
|
|
98
|
+
/** Refused without a request: creating a task under a transport request is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
99
|
+
createTask<E extends IAdtError = IAdtError>(_transportNumber: string, _options: {
|
|
100
|
+
headers: IAdtHeaders;
|
|
101
|
+
} & {
|
|
102
|
+
targetUser: string;
|
|
103
|
+
} & IAdtOperationOptions<E>): Promise<IAdtResponse<ReturnType<R['createdTask']>, E>>;
|
|
104
|
+
/** Refused without a request: changing the type of a transport task is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
105
|
+
changeTaskType<E extends IAdtError = IAdtError>(_taskNumber: string, _type: AdtTaskType, _options: {
|
|
106
|
+
headers: IAdtHeaders;
|
|
107
|
+
} & IAdtOperationOptions<E>): Promise<IAdtResponse<ReturnType<R['taskTypeChanged']>, E>>;
|
|
60
108
|
}
|
|
61
109
|
//# sourceMappingURL=AdtRequestLegacy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdtRequestLegacy.d.ts","sourceRoot":"","sources":["../../../src/core/transport/AdtRequestLegacy.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"AdtRequestLegacy.d.ts","sourceRoot":"","sources":["../../../src/core/transport/AdtRequestLegacy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,KAAK,EACV,WAAW,EACX,kBAAkB,EAClB,SAAS,EACT,WAAW,EACX,oBAAoB,EACpB,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,EAEvB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAM9D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAajB,qBAAa,gBAAgB,CAC3B,CAAC,SAAS,iBAAiB,GAAG,OAAO,kBAAkB,CACvD,SAAQ,UAAU,CAAC,CAAC,CAAC;IACrB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAkB;gBAGrC,UAAU,EAAE,eAAe,EAC3B,MAAM,CAAC,EAAE,OAAO,EAChB,aAAa,CAAC,EAAE,iBAAiB,EACjC,OAAO,CAAC,EAAE,CAAC;IAMb;;;OAGG;IACY,MAAM,CAAC,CAAC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WAAW,EAClB,QAAQ,EAAE;QAAE,OAAO,EAAE,WAAW,CAAA;KAAE,GAAG,oBAAoB,CAAC,CAAC,CAAC,GAC3D,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;CAK9D"}
|
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* AdtRequestLegacy - Transport request handler for legacy SAP systems
|
|
4
|
-
* (BASIS < 7.50).
|
|
4
|
+
* (BASIS < 7.50), over RFC.
|
|
5
5
|
*
|
|
6
6
|
* Legacy systems use `/sap/bc/cts/` instead of `/sap/bc/adt/cts/`.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
* - `
|
|
10
|
-
*
|
|
8
|
+
* Served:
|
|
9
|
+
* - `list`: GET /sap/bc/cts/transportrequests, the user's full list as it came
|
|
10
|
+
* (measured on 7.40 SP04; the measured user had no requests, so a populated
|
|
11
|
+
* list was not seen). Not a saved-configuration search, so `configUri` is
|
|
12
|
+
* refused.
|
|
13
|
+
* - `readMetadata`: the same GET.
|
|
11
14
|
*
|
|
12
|
-
* Refused
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* Refused without a request, answered through `failed()`:
|
|
16
|
+
* - `create` — measured on 7.40 SP04: the POST answered `400` "user action is
|
|
17
|
+
* not supported".
|
|
18
|
+
* - `updateMetadata`, `delete` — not measured; create and modify are refused.
|
|
19
|
+
* - the other members on `/sap/bc/adt/cts/*`, which 7.40 does not advertise
|
|
20
|
+
* (`searchConfigurations`, `checkDeletion`, `readObjects`, `readActionLog`,
|
|
21
|
+
* `addObject`, `removeObject`, `moveObjects`, `sortAndCompress`,
|
|
22
|
+
* `createTask`, `changeTaskType`).
|
|
23
|
+
*
|
|
24
|
+
* They answer the refusal rather than throwing it — a consumer that supports
|
|
25
|
+
* both kinds of system will call them, and that is a normal case, not an
|
|
26
|
+
* exception.
|
|
17
27
|
*/
|
|
18
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
29
|
exports.AdtRequestLegacy = void 0;
|
|
@@ -25,9 +35,11 @@ const readLegacy_1 = require("./readLegacy");
|
|
|
25
35
|
const unsupported = (what, why) => ({
|
|
26
36
|
origin: 'refusal',
|
|
27
37
|
code: interfaces_adt_1.AdtObjectErrorCodes.UNSUPPORTED_OPERATION,
|
|
28
|
-
message: `${what} is not supported on legacy
|
|
38
|
+
message: `${what} is not supported on a legacy system (7.40 SP04). ${why} ` +
|
|
29
39
|
'Use SE01/SE09/SE10 to manage transports there.',
|
|
30
40
|
});
|
|
41
|
+
/** Why the modern transport members refuse: their collection is not on 7.40. */
|
|
42
|
+
const NOT_ADVERTISED = `${objects_1.TRANSPORT_REQUEST.collection} is not advertised on 7.40 SP04, so this member has no endpoint there.`;
|
|
31
43
|
class AdtRequestLegacy extends AdtRequest_1.AdtRequest {
|
|
32
44
|
conn;
|
|
33
45
|
constructor(connection, logger, systemContext, results) {
|
|
@@ -84,5 +96,45 @@ class AdtRequestLegacy extends AdtRequest_1.AdtRequest {
|
|
|
84
96
|
async delete() {
|
|
85
97
|
return (0, adtResponse_1.failed)(unsupported('Deleting transport requests', `The legacy ${objects_1.TRANSPORT_REQUEST_LEGACY.collection} endpoint has never been captured, so whether it supports deleting a request is unknown.`));
|
|
86
98
|
}
|
|
99
|
+
/** Refused without a request: searching transport configurations is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
100
|
+
async searchConfigurations(_options) {
|
|
101
|
+
return (0, adtResponse_1.failed)(unsupported('Searching transport configurations', NOT_ADVERTISED));
|
|
102
|
+
}
|
|
103
|
+
/** Refused without a request: checking the deletion of a transport request is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
104
|
+
async checkDeletion(_config, _options) {
|
|
105
|
+
return (0, adtResponse_1.failed)(unsupported('Checking the deletion of a transport request', NOT_ADVERTISED));
|
|
106
|
+
}
|
|
107
|
+
/** Refused without a request: reading the objects of a transport request is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
108
|
+
async readObjects(_transportNumber, _options) {
|
|
109
|
+
return (0, adtResponse_1.failed)(unsupported('Reading the objects of a transport request', NOT_ADVERTISED));
|
|
110
|
+
}
|
|
111
|
+
/** Refused without a request: reading the action log of a transport request is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
112
|
+
async readActionLog(_transportNumber, _options) {
|
|
113
|
+
return (0, adtResponse_1.failed)(unsupported('Reading the action log of a transport request', NOT_ADVERTISED));
|
|
114
|
+
}
|
|
115
|
+
/** Refused without a request: adding an object to a transport request is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
116
|
+
async addObject(_transportNumber, _object, _options) {
|
|
117
|
+
return (0, adtResponse_1.failed)(unsupported('Adding an object to a transport request', NOT_ADVERTISED));
|
|
118
|
+
}
|
|
119
|
+
/** Refused without a request: removing an object from a transport request is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
120
|
+
async removeObject(_transportNumber, _object, _options) {
|
|
121
|
+
return (0, adtResponse_1.failed)(unsupported('Removing an object from a transport request', NOT_ADVERTISED));
|
|
122
|
+
}
|
|
123
|
+
/** Refused without a request: moving objects between transport requests is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
124
|
+
async moveObjects(_sourceTask, _targetNumber, _objects, _options) {
|
|
125
|
+
return (0, adtResponse_1.failed)(unsupported('Moving objects between transport requests', NOT_ADVERTISED));
|
|
126
|
+
}
|
|
127
|
+
/** Refused without a request: sorting and compressing a transport task is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
128
|
+
async sortAndCompress(_taskNumber, _options) {
|
|
129
|
+
return (0, adtResponse_1.failed)(unsupported('Sorting and compressing a transport task', NOT_ADVERTISED));
|
|
130
|
+
}
|
|
131
|
+
/** Refused without a request: creating a task under a transport request is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
132
|
+
async createTask(_transportNumber, _options) {
|
|
133
|
+
return (0, adtResponse_1.failed)(unsupported('Creating a task under a transport request', NOT_ADVERTISED));
|
|
134
|
+
}
|
|
135
|
+
/** Refused without a request: changing the type of a transport task is on `/sap/bc/adt/cts/*`, which 7.40 does not advertise. */
|
|
136
|
+
async changeTaskType(_taskNumber, _type, _options) {
|
|
137
|
+
return (0, adtResponse_1.failed)(unsupported('Changing the type of a transport task', NOT_ADVERTISED));
|
|
138
|
+
}
|
|
87
139
|
}
|
|
88
140
|
exports.AdtRequestLegacy = AdtRequestLegacy;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What the legacy ABAP Unit runners share (SAP_BASIS 7.40 SP04, over RFC).
|
|
3
|
+
*
|
|
4
|
+
* 7.40 has no `/sap/bc/adt/abapunit/runs`: `POST /sap/bc/adt/abapunit/testruns`
|
|
5
|
+
* is the run, and it answers the finished result. Measured with `<options>` for
|
|
6
|
+
* a class, a report, a function group and a function module — the body every
|
|
7
|
+
* modern runner's `runSync` sends — and the class's without `<options>` too:
|
|
8
|
+
* each answered the finished result. So a legacy `run` sends that request, and
|
|
9
|
+
* there is no run id to poll or fetch by.
|
|
10
|
+
*/
|
|
11
|
+
import type { IAdtAnalyseOptions, IAdtError, IAdtResponse, IClassUnitTestRunOptions, IResultStrategy } from '@mcp-abap-adt/interfaces-adt';
|
|
12
|
+
import type { IAbapConnection } from '@mcp-abap-adt/interfaces-adt-connection';
|
|
13
|
+
/**
|
|
14
|
+
* Run the tests of whole objects, named by their ADT URIs: the request the
|
|
15
|
+
* modern `runSync` sends, byte for byte. `runOptions` is an object even when
|
|
16
|
+
* the caller gave none, so the `<options>` element is always sent. The answer
|
|
17
|
+
* is read by the strategy given — `run`'s for a legacy `run` —, and judged by
|
|
18
|
+
* `options.analyse`.
|
|
19
|
+
*/
|
|
20
|
+
export declare function runSyncLegacy<T, E extends IAdtError>(connection: IAbapConnection, objectUris: string[], strategy: IResultStrategy<T>, options?: IClassUnitTestRunOptions & IAdtAnalyseOptions<E>): Promise<IAdtResponse<T, E>>;
|
|
21
|
+
/** `getStatus` on a legacy system: refused without a request. */
|
|
22
|
+
export declare function noRunToPoll<T, E extends IAdtError>(): IAdtResponse<T, E>;
|
|
23
|
+
/** `getResult` on a legacy system: refused without a request. */
|
|
24
|
+
export declare function noResultToFetch<T, E extends IAdtError>(): IAdtResponse<T, E>;
|
|
25
|
+
//# sourceMappingURL=abapUnitRunLegacy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abapUnitRunLegacy.d.ts","sourceRoot":"","sources":["../../src/executors/abapUnitRunLegacy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EACV,kBAAkB,EAClB,SAAS,EACT,YAAY,EACZ,wBAAwB,EACxB,eAAe,EAChB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAI/E;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,EAClD,UAAU,EAAE,eAAe,EAC3B,UAAU,EAAE,MAAM,EAAE,EACpB,QAAQ,EAAE,eAAe,CAAC,CAAC,CAAC,EAC5B,OAAO,CAAC,EAAE,wBAAwB,GAAG,kBAAkB,CAAC,CAAC,CAAC,GACzD,OAAO,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAO7B;AAED,iEAAiE;AACjE,wBAAgB,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,KAAK,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAOxE;AAED,iEAAiE;AACjE,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,KAAK,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAO5E"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* What the legacy ABAP Unit runners share (SAP_BASIS 7.40 SP04, over RFC).
|
|
4
|
+
*
|
|
5
|
+
* 7.40 has no `/sap/bc/adt/abapunit/runs`: `POST /sap/bc/adt/abapunit/testruns`
|
|
6
|
+
* is the run, and it answers the finished result. Measured with `<options>` for
|
|
7
|
+
* a class, a report, a function group and a function module — the body every
|
|
8
|
+
* modern runner's `runSync` sends — and the class's without `<options>` too:
|
|
9
|
+
* each answered the finished result. So a legacy `run` sends that request, and
|
|
10
|
+
* there is no run id to poll or fetch by.
|
|
11
|
+
*/
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.runSyncLegacy = runSyncLegacy;
|
|
14
|
+
exports.noRunToPoll = noRunToPoll;
|
|
15
|
+
exports.noResultToFetch = noResultToFetch;
|
|
16
|
+
const interfaces_adt_1 = require("@mcp-abap-adt/interfaces-adt");
|
|
17
|
+
const abapUnit_1 = require("../core/shared/abapUnit");
|
|
18
|
+
const adtResponse_1 = require("../utils/adtResponse");
|
|
19
|
+
/**
|
|
20
|
+
* Run the tests of whole objects, named by their ADT URIs: the request the
|
|
21
|
+
* modern `runSync` sends, byte for byte. `runOptions` is an object even when
|
|
22
|
+
* the caller gave none, so the `<options>` element is always sent. The answer
|
|
23
|
+
* is read by the strategy given — `run`'s for a legacy `run` —, and judged by
|
|
24
|
+
* `options.analyse`.
|
|
25
|
+
*/
|
|
26
|
+
function runSyncLegacy(connection, objectUris, strategy, options) {
|
|
27
|
+
const { analyse, ...runOptions } = options ?? {};
|
|
28
|
+
return (0, adtResponse_1.answering)(() => (0, abapUnit_1.startUnitTestRunSync)(connection, objectUris, runOptions), strategy, analyse);
|
|
29
|
+
}
|
|
30
|
+
/** `getStatus` on a legacy system: refused without a request. */
|
|
31
|
+
function noRunToPoll() {
|
|
32
|
+
return (0, adtResponse_1.failed)({
|
|
33
|
+
origin: 'refusal',
|
|
34
|
+
code: interfaces_adt_1.AdtObjectErrorCodes.UNSUPPORTED_OPERATION,
|
|
35
|
+
message: 'getStatus: a legacy system has no run to poll — it has no /sap/bc/adt/abapunit/runs, and run() answers the finished result, with no run id.',
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
/** `getResult` on a legacy system: refused without a request. */
|
|
39
|
+
function noResultToFetch() {
|
|
40
|
+
return (0, adtResponse_1.failed)({
|
|
41
|
+
origin: 'refusal',
|
|
42
|
+
code: interfaces_adt_1.AdtObjectErrorCodes.UNSUPPORTED_OPERATION,
|
|
43
|
+
message: 'getResult: a legacy system has no result to fetch — it has no /sap/bc/adt/abapunit/results, and run() answers the finished result, with no run id.',
|
|
44
|
+
});
|
|
45
|
+
}
|
|
@@ -56,9 +56,4 @@ export declare abstract class AbapUnitRunner<R extends IAbapUnitRunnerResults> i
|
|
|
56
56
|
/** The result document of a finished run. */
|
|
57
57
|
getResult<E extends IAdtError = IAdtError>(runId: string, options?: IUnitTestResultOptions & IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['result']>, E>>;
|
|
58
58
|
}
|
|
59
|
-
/**
|
|
60
|
-
* The refusal a legacy runner answers without a request, for an object type
|
|
61
|
-
* whose tests no measured legacy endpoint runs.
|
|
62
|
-
*/
|
|
63
|
-
export declare function refusedBelow750<T, E extends IAdtError>(what: string): IAdtResponse<T, E>;
|
|
64
59
|
//# sourceMappingURL=abapUnitRunner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abapUnitRunner.d.ts","sourceRoot":"","sources":["../../src/executors/abapUnitRunner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EACV,kBAAkB,EAClB,SAAS,EACT,YAAY,EACZ,wBAAwB,EACxB,eAAe,EACf,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"abapUnitRunner.d.ts","sourceRoot":"","sources":["../../src/executors/abapUnitRunner.ts"],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ACzD,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAQjD;;;;;;;OAOG;IACH,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,SAAS,EACrC,UAAU,EAAE,MAAM,EAAE,EACpB,OAAO,CAAC,EAAE,wBAAwB,GAAG,kBAAkB,CAAC,CAAC,CAAC,GACzD,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAWpD;;;OAGG;IACG,SAAS,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EAC7C,KAAK,EAAE,MAAM,EACb,eAAe,GAAE,OAAO,GAAG,SAAgB,EAC3C,OAAO,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAC9B,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IASpD,6CAA6C;IACvC,SAAS,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EAC7C,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,sBAAsB,GAAG,kBAAkB,CAAC,CAAC,CAAC,GACvD,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;CAOrD"}
|
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.AbapUnitRunner = exports.abapUnitRunnerDocuments = void 0;
|
|
14
|
-
exports.refusedBelow750 = refusedBelow750;
|
|
15
|
-
const interfaces_adt_1 = require("@mcp-abap-adt/interfaces-adt");
|
|
16
14
|
const abapUnit_1 = require("../core/shared/abapUnit");
|
|
17
15
|
const adtResponse_1 = require("../utils/adtResponse");
|
|
18
16
|
const resultStrategy_1 = require("../utils/resultStrategy");
|
|
@@ -68,14 +66,3 @@ class AbapUnitRunner {
|
|
|
68
66
|
}
|
|
69
67
|
}
|
|
70
68
|
exports.AbapUnitRunner = AbapUnitRunner;
|
|
71
|
-
/**
|
|
72
|
-
* The refusal a legacy runner answers without a request, for an object type
|
|
73
|
-
* whose tests no measured legacy endpoint runs.
|
|
74
|
-
*/
|
|
75
|
-
function refusedBelow750(what) {
|
|
76
|
-
return (0, adtResponse_1.failed)({
|
|
77
|
-
origin: 'refusal',
|
|
78
|
-
code: interfaces_adt_1.AdtObjectErrorCodes.UNSUPPORTED_OPERATION,
|
|
79
|
-
message: `Running ${what} ABAP Unit tests is not supported below BASIS 7.50: the legacy endpoint answered no tests where there are some.`,
|
|
80
|
-
});
|
|
81
|
-
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ClassExecutorLegacy — running a class on legacy SAP systems (BASIS < 7.50).
|
|
3
|
+
*
|
|
4
|
+
* SAP_BASIS 7.40 SP04 has no `IF_OO_ADT_CLASSRUN` and answers
|
|
5
|
+
* `/sap/bc/adt/oo/classrun` with 404 (measured), so `run` and
|
|
6
|
+
* `runWithProfiler` are refused without a request. The trace catalogues
|
|
7
|
+
* `…/abaptraces/objecttypes` and `/processtypes` are not advertised by 7.40
|
|
8
|
+
* and nothing measured them, so they are refused until measured. The trace
|
|
9
|
+
* schedule (`listRequests`, `getRequestsByUri`, `scheduleTrace`) is kept: its
|
|
10
|
+
* collections are advertised and inherited unchanged.
|
|
11
|
+
*/
|
|
12
|
+
import type { IAdtAnalyseOptions, IAdtError, IAdtResponse, IClassExecuteOptions, IClassExecuteWithProfilerOptions, IClassExecutionTarget } from '@mcp-abap-adt/interfaces-adt';
|
|
13
|
+
import { ClassExecutor, type classExecutorDocuments, type IClassExecutorResults } from './ClassExecutor';
|
|
14
|
+
export declare class ClassExecutorLegacy<R extends IClassExecutorResults = typeof classExecutorDocuments> extends ClassExecutor<R> {
|
|
15
|
+
/** Refused without a request: 7.40 has no `IF_OO_ADT_CLASSRUN` and no classrun endpoint. */
|
|
16
|
+
run<E extends IAdtError = IAdtError>(_target: IClassExecutionTarget, _options?: IClassExecuteOptions & IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['run']>, E>>;
|
|
17
|
+
/** Refused without a request, for the same reason as `run`. */
|
|
18
|
+
runWithProfiler<E extends IAdtError = IAdtError>(_target: IClassExecutionTarget, _options: IClassExecuteWithProfilerOptions & IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['run']>, E>>;
|
|
19
|
+
/** Refused until measured: 7.40 does not advertise the catalogue. */
|
|
20
|
+
listObjectTypes<E extends IAdtError = IAdtError>(_options?: IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['types']>, E>>;
|
|
21
|
+
/** Refused until measured: 7.40 does not advertise the catalogue. */
|
|
22
|
+
listProcessTypes<E extends IAdtError = IAdtError>(_options?: IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['types']>, E>>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=ClassExecutorLegacy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClassExecutorLegacy.d.ts","sourceRoot":"","sources":["../../../src/executors/class/ClassExecutorLegacy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EACV,kBAAkB,EAClB,SAAS,EACT,YAAY,EACZ,oBAAoB,EACpB,gCAAgC,EAChC,qBAAqB,EACtB,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EACL,aAAa,EACb,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC3B,MAAM,iBAAiB,CAAC;AAMzB,qBAAa,mBAAmB,CAC9B,CAAC,SAAS,qBAAqB,GAAG,OAAO,sBAAsB,CAC/D,SAAQ,aAAa,CAAC,CAAC,CAAC;IACxB,4FAA4F;IAC7E,GAAG,CAAC,CAAC,SAAS,SAAS,GAAG,SAA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