@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
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* AdtMessageClassLegacy - message class handler for legacy SAP systems
|
|
4
|
+
* (BASIS < 7.50).
|
|
5
|
+
*
|
|
6
|
+
* Overrides:
|
|
7
|
+
* - checkDeletion() and delete() — refused without a request: both go through
|
|
8
|
+
* `/sap/bc/adt/deletion/*`, which 7.40 does not serve (spec §4.3, §5). A
|
|
9
|
+
* direct `DELETE` of the message class is not measured, so it is not offered.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AdtMessageClassLegacy = void 0;
|
|
13
|
+
const refusalLegacy_1 = require("../shared/refusalLegacy");
|
|
14
|
+
const AdtMessageClass_1 = require("./AdtMessageClass");
|
|
15
|
+
class AdtMessageClassLegacy extends AdtMessageClass_1.AdtMessageClass {
|
|
16
|
+
/** Refused without a request: 7.40 has no `/sap/bc/adt/deletion/check` (§5). */
|
|
17
|
+
async checkDeletion(_config, _options) {
|
|
18
|
+
return (0, refusalLegacy_1.noDeletionCheckNorDelete)();
|
|
19
|
+
}
|
|
20
|
+
/** Refused without a request: 7.40 has no `/sap/bc/adt/deletion/delete` (§4.3). */
|
|
21
|
+
async delete(_config, _options) {
|
|
22
|
+
return (0, refusalLegacy_1.noDeletionApi)();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.AdtMessageClassLegacy = AdtMessageClassLegacy;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AdtPackageLegacy - Package handler for legacy SAP systems (BASIS < 7.50)
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Every package operation is refused on legacy. The `/sap/bc/adt/packages`
|
|
5
|
+
* collection is advertised, but 7.40 SP04 does not serve the item resource over
|
|
6
|
+
* RFC: `GET /sap/bc/adt/packages/{name}` answered `404`, and
|
|
7
|
+
* `POST /sap/bc/adt/packages` answered `405`. `lock`, `unlock`, `readTransport`
|
|
8
|
+
* and `check` address that same item resource, so they refuse without a
|
|
9
|
+
* request. A package's contents come through `repository/nodestructure`
|
|
10
|
+
* (`DEVC/K`), another endpoint family that `getPackage()` does not offer.
|
|
6
11
|
*/
|
|
7
|
-
import type { IAdtError, IAdtResponse } from '@mcp-abap-adt/interfaces-adt';
|
|
12
|
+
import type { IAdtAnalyseOptions, IAdtError, IAdtHeaders, IAdtOperationOptions, IAdtResponse } from '@mcp-abap-adt/interfaces-adt';
|
|
8
13
|
import { AdtPackage } from './AdtPackage';
|
|
9
|
-
import type { IPackageResults, packageDocuments } from './types';
|
|
14
|
+
import type { IPackageConfig, IPackageResults, packageDocuments } from './types';
|
|
10
15
|
/**
|
|
11
16
|
* Every member answers the refusal rather than throwing it.
|
|
12
17
|
*
|
|
@@ -22,5 +27,26 @@ export declare class AdtPackageLegacy<R extends IPackageResults = typeof package
|
|
|
22
27
|
validate<E extends IAdtError = IAdtError>(): Promise<IAdtResponse<ReturnType<R['validation']>, E>>;
|
|
23
28
|
updateMetadata<E extends IAdtError = IAdtError>(): Promise<IAdtResponse<ReturnType<R['metadataUpdated']>, E>>;
|
|
24
29
|
delete<E extends IAdtError = IAdtError>(): Promise<IAdtResponse<ReturnType<R['deletion']>, E>>;
|
|
30
|
+
/**
|
|
31
|
+
* Refused without a request, on its own grounds: 7.40 has no deletion API —
|
|
32
|
+
* `POST /sap/bc/adt/deletion/check` answers `404` (spec §5) — and the
|
|
33
|
+
* package `delete` refuses as well (§8).
|
|
34
|
+
*/
|
|
35
|
+
checkDeletion<E extends IAdtError = IAdtError>(_config: Partial<IPackageConfig>, _options: {
|
|
36
|
+
headers: IAdtHeaders;
|
|
37
|
+
} & IAdtOperationOptions<E>): Promise<IAdtResponse<ReturnType<R['deletionCheck']>, E>>;
|
|
38
|
+
/**
|
|
39
|
+
* `lock`, `unlock`, `readTransport` and `check` address `PACKAGE.uri(name)`
|
|
40
|
+
* (or name it, for the check run), the item resource 7.40 SP04 answered
|
|
41
|
+
* `404` to. Refused without a request; not measured themselves (spec §8).
|
|
42
|
+
*/
|
|
43
|
+
lock<E extends IAdtError = IAdtError>(_config: Partial<IPackageConfig>, _options?: IAdtAnalyseOptions<E>): Promise<IAdtResponse<string, E>>;
|
|
44
|
+
unlock<E extends IAdtError = IAdtError>(_config: Partial<IPackageConfig>, _lockHandle: string, _options?: IAdtAnalyseOptions<E>): Promise<IAdtResponse<void, E>>;
|
|
45
|
+
readTransport<E extends IAdtError = IAdtError>(_config: Partial<IPackageConfig>, _options?: {
|
|
46
|
+
withLongPolling?: boolean;
|
|
47
|
+
} & IAdtOperationOptions<E>): Promise<IAdtResponse<ReturnType<R['transport']>, E>>;
|
|
48
|
+
check<E extends IAdtError = IAdtError>(_config: Partial<IPackageConfig>, _status: string | undefined, _options: {
|
|
49
|
+
headers: IAdtHeaders;
|
|
50
|
+
} & IAdtOperationOptions<E>): Promise<IAdtResponse<ReturnType<R['check']>, E>>;
|
|
25
51
|
}
|
|
26
52
|
//# sourceMappingURL=AdtPackageLegacy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdtPackageLegacy.d.ts","sourceRoot":"","sources":["../../../src/core/package/AdtPackageLegacy.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"AdtPackageLegacy.d.ts","sourceRoot":"","sources":["../../../src/core/package/AdtPackageLegacy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EACV,kBAAkB,EAClB,SAAS,EACT,WAAW,EACX,oBAAoB,EACpB,YAAY,EACb,MAAM,8BAA8B,CAAC;AAQtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,gBAAgB,EACjB,MAAM,SAAS,CAAC;AAcjB;;;;;;;GAOG;AACH,qBAAa,gBAAgB,CAC3B,CAAC,SAAS,eAAe,GAAG,OAAO,gBAAgB,CACnD,SAAQ,UAAU,CAAC,CAAC,CAAC;IACN,MAAM,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,KAAK,OAAO,CAC/D,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,C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C,YAAY,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAIpB,MAAM,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EACnD,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,EAChC,WAAW,EAAE,MAAM,EACnB,QAAQ,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAC/B,OAAO,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAIlB,aAAa,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EAC1D,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,EAChC,QAAQ,CAAC,EAAE;QAAE,eAAe,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,oBAAoB,CAAC,CAAC,CAAC,GACjE,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAOxC,KAAK,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EAClD,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,EAChC,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,QAAQ,EAAE;QAAE,OAAO,EAAE,WAAW,CAAA;KAAE,GAAG,oBAAoB,CAAC,CAAC,CAAC,GAC3D,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;CAMpD"}
|
|
@@ -2,18 +2,28 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* AdtPackageLegacy - Package handler for legacy SAP systems (BASIS < 7.50)
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* Every package operation is refused on legacy. The `/sap/bc/adt/packages`
|
|
6
|
+
* collection is advertised, but 7.40 SP04 does not serve the item resource over
|
|
7
|
+
* RFC: `GET /sap/bc/adt/packages/{name}` answered `404`, and
|
|
8
|
+
* `POST /sap/bc/adt/packages` answered `405`. `lock`, `unlock`, `readTransport`
|
|
9
|
+
* and `check` address that same item resource, so they refuse without a
|
|
10
|
+
* request. A package's contents come through `repository/nodestructure`
|
|
11
|
+
* (`DEVC/K`), another endpoint family that `getPackage()` does not offer.
|
|
7
12
|
*/
|
|
8
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
14
|
exports.AdtPackageLegacy = void 0;
|
|
10
15
|
const interfaces_adt_1 = require("@mcp-abap-adt/interfaces-adt");
|
|
16
|
+
const objects_1 = require("../../endpoints/objects");
|
|
11
17
|
const adtResponse_1 = require("../../utils/adtResponse");
|
|
18
|
+
const refusalLegacy_1 = require("../shared/refusalLegacy");
|
|
12
19
|
const AdtPackage_1 = require("./AdtPackage");
|
|
20
|
+
/** The resource 7.40 SP04 answered 404 to, shown without a name. */
|
|
21
|
+
const ITEM_RESOURCE = `${objects_1.PACKAGE.collection}/{name}`;
|
|
13
22
|
const UNSUPPORTED = {
|
|
14
23
|
origin: 'refusal',
|
|
15
24
|
code: interfaces_adt_1.AdtObjectErrorCodes.UNSUPPORTED_OPERATION,
|
|
16
|
-
message: 'Package operations are not supported on legacy
|
|
25
|
+
message: 'Package operations are not supported on a legacy system (7.40 SP04): ' +
|
|
26
|
+
'the package item resource answers 404 and the collection answers 405 to a create. ' +
|
|
17
27
|
'Use SAP GUI (SE80 or SE21) to manage packages.',
|
|
18
28
|
};
|
|
19
29
|
/**
|
|
@@ -43,5 +53,30 @@ class AdtPackageLegacy extends AdtPackage_1.AdtPackage {
|
|
|
43
53
|
async delete() {
|
|
44
54
|
return (0, adtResponse_1.failed)(UNSUPPORTED);
|
|
45
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Refused without a request, on its own grounds: 7.40 has no deletion API —
|
|
58
|
+
* `POST /sap/bc/adt/deletion/check` answers `404` (spec §5) — and the
|
|
59
|
+
* package `delete` refuses as well (§8).
|
|
60
|
+
*/
|
|
61
|
+
async checkDeletion(_config, _options) {
|
|
62
|
+
return (0, refusalLegacy_1.noDeletionCheckNorDelete)();
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* `lock`, `unlock`, `readTransport` and `check` address `PACKAGE.uri(name)`
|
|
66
|
+
* (or name it, for the check run), the item resource 7.40 SP04 answered
|
|
67
|
+
* `404` to. Refused without a request; not measured themselves (spec §8).
|
|
68
|
+
*/
|
|
69
|
+
async lock(_config, _options) {
|
|
70
|
+
return (0, refusalLegacy_1.legacyRefusal)('lock', ITEM_RESOURCE);
|
|
71
|
+
}
|
|
72
|
+
async unlock(_config, _lockHandle, _options) {
|
|
73
|
+
return (0, refusalLegacy_1.legacyRefusal)('unlock', ITEM_RESOURCE);
|
|
74
|
+
}
|
|
75
|
+
async readTransport(_config, _options) {
|
|
76
|
+
return (0, refusalLegacy_1.legacyRefusal)('readTransport', `${ITEM_RESOURCE}/transport`);
|
|
77
|
+
}
|
|
78
|
+
async check(_config, _status, _options) {
|
|
79
|
+
return (0, refusalLegacy_1.legacyRefusal)('check', `${ITEM_RESOURCE} to check (the check run names it)`);
|
|
80
|
+
}
|
|
46
81
|
}
|
|
47
82
|
exports.AdtPackageLegacy = AdtPackageLegacy;
|
|
@@ -1,14 +1,37 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AdtProgramLegacy - Program handler for legacy SAP systems (BASIS < 7.50)
|
|
3
3
|
*
|
|
4
|
-
* Overrides delete() to
|
|
4
|
+
* Overrides delete() to send `DELETE <URI>?lockHandle=…` under the lock handle the
|
|
5
|
+
* caller holds (7.40 SP04 has no /sap/bc/adt/deletion/ API).
|
|
6
|
+
* checkDeletion() is refused without a request: 7.40 has no deletion API.
|
|
5
7
|
*/
|
|
6
8
|
import type { IAdtError, IAdtHeaders, IAdtOperationOptions, IAdtResponse } from '@mcp-abap-adt/interfaces-adt';
|
|
7
9
|
import { AdtProgram } from './AdtProgram';
|
|
8
10
|
import type { IProgramConfig, IProgramResults, programDocuments } from './types';
|
|
9
11
|
export declare class AdtProgramLegacy<R extends IProgramResults = typeof programDocuments> extends AdtProgram<R> {
|
|
12
|
+
/**
|
|
13
|
+
* Delete program — legacy override.
|
|
14
|
+
*
|
|
15
|
+
* One stateless request: `DELETE <object URI>?lockHandle=<options.lockHandle>`,
|
|
16
|
+
* plus `&corrNr=<transportRequest>` when `transportRequest` is given. Pass the
|
|
17
|
+
* handle from your own `lock()` and release it with `unlock()` afterwards;
|
|
18
|
+
* this member does not lock. Measured on 7.40 SP04: lock, delete with the
|
|
19
|
+
* handle, unlock deleted a program. Without a handle SAP answered `400`
|
|
20
|
+
* "Parameter lockHandle could not be found." for a program; the request still goes
|
|
21
|
+
* and that answer reaches you.
|
|
22
|
+
* A delete with `corrNr` in a transportable package was not measured.
|
|
23
|
+
* `/sap/bc/adt/deletion/*` does not exist there.
|
|
24
|
+
*/
|
|
10
25
|
delete<E extends IAdtError = IAdtError>(config: Partial<IProgramConfig>, options: {
|
|
11
26
|
headers: IAdtHeaders;
|
|
12
27
|
} & IAdtOperationOptions<E>): Promise<IAdtResponse<ReturnType<R['deletion']>, E>>;
|
|
28
|
+
/**
|
|
29
|
+
* Refused without a request: 7.40 has no deletion API —
|
|
30
|
+
* `POST /sap/bc/adt/deletion/check` answers `404` (spec §5). `delete` with
|
|
31
|
+
* the object's lock handle is the delete.
|
|
32
|
+
*/
|
|
33
|
+
checkDeletion<E extends IAdtError = IAdtError>(_config: Partial<IProgramConfig>, _options: {
|
|
34
|
+
headers: IAdtHeaders;
|
|
35
|
+
} & IAdtOperationOptions<E>): Promise<IAdtResponse<ReturnType<R['deletionCheck']>, E>>;
|
|
13
36
|
}
|
|
14
37
|
//# sourceMappingURL=AdtProgramLegacy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdtProgramLegacy.d.ts","sourceRoot":"","sources":["../../../src/core/program/AdtProgramLegacy.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"AdtProgramLegacy.d.ts","sourceRoot":"","sources":["../../../src/core/program/AdtProgramLegacy.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EACV,SAAS,EACT,WAAW,EACX,oBAAoB,EACpB,YAAY,EAEb,MAAM,8BAA8B,CAAC;AAMtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,gBAAgB,EACjB,MAAM,SAAS,CAAC;AAEjB,qBAAa,gBAAgB,CAC3B,CAAC,SAAS,eAAe,GAAG,OAAO,gBAAgB,CACnD,SAAQ,UAAU,CAAC,CAAC,CAAC;IACrB;;;;;;;;;;;;OAYG;IACY,MAAM,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EACnD,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC,EAC/B,OAAO,EAAE;QAAE,OAAO,EAAE,WAAW,CAAA;KAAE,GAAG,oBAAoB,CAAC,CAAC,CAAC,GAC1D,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAkBtD;;;;OAIG;IACY,aAAa,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EAC1D,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,EAChC,QAAQ,EAAE;QAAE,OAAO,EAAE,WAAW,CAAA;KAAE,GAAG,oBAAoB,CAAC,CAAC,CAAC,GAC3D,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;CAG5D"}
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* AdtProgramLegacy - Program handler for legacy SAP systems (BASIS < 7.50)
|
|
4
4
|
*
|
|
5
|
-
* Overrides delete() to
|
|
5
|
+
* Overrides delete() to send `DELETE <URI>?lockHandle=…` under the lock handle the
|
|
6
|
+
* caller holds (7.40 SP04 has no /sap/bc/adt/deletion/ API).
|
|
7
|
+
* checkDeletion() is refused without a request: 7.40 has no deletion API.
|
|
6
8
|
*/
|
|
7
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
10
|
exports.AdtProgramLegacy = void 0;
|
|
@@ -10,12 +12,34 @@ const objects_1 = require("../../endpoints/objects");
|
|
|
10
12
|
const adtResponse_1 = require("../../utils/adtResponse");
|
|
11
13
|
const callTimeout_1 = require("../../utils/callTimeout");
|
|
12
14
|
const deleteLegacy_1 = require("../shared/deleteLegacy");
|
|
15
|
+
const refusalLegacy_1 = require("../shared/refusalLegacy");
|
|
13
16
|
const AdtProgram_1 = require("./AdtProgram");
|
|
14
17
|
class AdtProgramLegacy extends AdtProgram_1.AdtProgram {
|
|
18
|
+
/**
|
|
19
|
+
* Delete program — legacy override.
|
|
20
|
+
*
|
|
21
|
+
* One stateless request: `DELETE <object URI>?lockHandle=<options.lockHandle>`,
|
|
22
|
+
* plus `&corrNr=<transportRequest>` when `transportRequest` is given. Pass the
|
|
23
|
+
* handle from your own `lock()` and release it with `unlock()` afterwards;
|
|
24
|
+
* this member does not lock. Measured on 7.40 SP04: lock, delete with the
|
|
25
|
+
* handle, unlock deleted a program. Without a handle SAP answered `400`
|
|
26
|
+
* "Parameter lockHandle could not be found." for a program; the request still goes
|
|
27
|
+
* and that answer reaches you.
|
|
28
|
+
* A delete with `corrNr` in a transportable package was not measured.
|
|
29
|
+
* `/sap/bc/adt/deletion/*` does not exist there.
|
|
30
|
+
*/
|
|
15
31
|
async delete(config, options) {
|
|
16
32
|
const name = config.programName;
|
|
17
33
|
const objectUrl = `${objects_1.PROGRAM.uri(name)}`;
|
|
18
34
|
return (0, adtResponse_1.answering)(() => (0, deleteLegacy_1.deleteObjectDirect)((0, callTimeout_1.withCallTimeout)(this.connection, options?.timeout), options.headers, objectUrl, options?.lockHandle, config.transportRequest), this.results.deletion, options?.analyse);
|
|
19
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* Refused without a request: 7.40 has no deletion API —
|
|
38
|
+
* `POST /sap/bc/adt/deletion/check` answers `404` (spec §5). `delete` with
|
|
39
|
+
* the object's lock handle is the delete.
|
|
40
|
+
*/
|
|
41
|
+
async checkDeletion(_config, _options) {
|
|
42
|
+
return (0, refusalLegacy_1.noDeletionCheck)();
|
|
43
|
+
}
|
|
20
44
|
}
|
|
21
45
|
exports.AdtProgramLegacy = AdtProgramLegacy;
|
|
@@ -1,13 +1,40 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* AdtUtilsLegacy - Utility operations for legacy SAP systems (
|
|
2
|
+
* AdtUtilsLegacy - Utility operations for legacy SAP systems (7.40 SP04)
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* - getSqlQuery → /sap/bc/adt/datapreview/freestyle (not available)
|
|
8
|
-
* - activateObjectsGroup → /sap/bc/adt/activation/runs (not available, uses /sap/bc/adt/activation)
|
|
4
|
+
* Every override below refuses without a request, answered through `failed()`
|
|
5
|
+
* (spec §2.1, §10.2), except `activateObjectsGroup`, which sends the legacy
|
|
6
|
+
* request.
|
|
9
7
|
*
|
|
10
|
-
*
|
|
8
|
+
* Not in the legacy discovery catalogue, refused:
|
|
9
|
+
* - getTableColumns → /sap/bc/adt/datapreview/ddic/{name}/metadata
|
|
10
|
+
* - getTableContents → /sap/bc/adt/datapreview/ddic
|
|
11
|
+
* - getSqlQuery → /sap/bc/adt/datapreview/freestyle
|
|
12
|
+
* - getObjectProperties → /sap/bc/adt/repository/informationsystem/objectproperties/values
|
|
13
|
+
*
|
|
14
|
+
* Measured over RFC on SAP_BASIS 7.40 SP04 — the endpoint answered `404` —
|
|
15
|
+
* refused:
|
|
16
|
+
* - getWhereUsed, getWhereUsedScope → .../informationsystem/usageReferences
|
|
17
|
+
* - getVirtualFoldersContents → .../informationsystem/virtualfolders/contents
|
|
18
|
+
* - getAllTypes → .../informationsystem/objecttypes
|
|
19
|
+
* - checkDeletionGroup, deleteObjectsGroup → /sap/bc/adt/deletion/*
|
|
20
|
+
* - readObjectMetadata for a domain, a data element, a structure, a package
|
|
21
|
+
* and a table (the table family, §10.1); readObjectSource for a structure
|
|
22
|
+
* and a table
|
|
23
|
+
*
|
|
24
|
+
* Not measured and not advertised, refused until measured:
|
|
25
|
+
* - readObjectMetadata and readObjectSource for a table type
|
|
26
|
+
*
|
|
27
|
+
* In readObjectMetadata/readObjectSource every alias `objectWire` accepts for
|
|
28
|
+
* those types is refused, in any case; every other type goes to the base
|
|
29
|
+
* unchanged, so an unknown type is still thrown.
|
|
30
|
+
*
|
|
31
|
+
* Refused because a legacy group activation has no run:
|
|
32
|
+
* - getActivationRun, getActivationResults → /sap/bc/adt/activation/runs,
|
|
33
|
+
* /results (not advertised). `activateObjectsGroup` here sends the
|
|
34
|
+
* synchronous /sap/bc/adt/activation, not /activation/runs, and yields no
|
|
35
|
+
* run id to ask about.
|
|
36
|
+
*
|
|
37
|
+
* A further override refused `getTransaction`
|
|
11
38
|
* (/sap/bc/adt/repository/informationsystem/objectproperties, also absent). It
|
|
12
39
|
* went with the base method, which nobody called: the only code that ever
|
|
13
40
|
* mentioned `getTransaction` was its own doc comment and this refusal of it.
|
|
@@ -19,7 +46,7 @@
|
|
|
19
46
|
import type { IAdtHeaders } from '@mcp-abap-adt/interfaces-adt';
|
|
20
47
|
import { type IAdtAnalyseOptions, type IAdtError, type IAdtResponse } from '@mcp-abap-adt/interfaces-adt';
|
|
21
48
|
import { AdtUtils } from './AdtUtils';
|
|
22
|
-
import type { IGetSqlQueryParams, IGetTableContentsParams, IObjectReference } from './types';
|
|
49
|
+
import type { AdtObjectType, AdtSourceObjectType, IGetSqlQueryParams, IGetTableContentsParams, IGetVirtualFoldersContentsParams, IGetWhereUsedParams, IGetWhereUsedScopeParams, IObjectReference, IReadOptions } from './types';
|
|
23
50
|
import type { IUtilResults, utilDocuments } from './utilResultSet';
|
|
24
51
|
export declare class AdtUtilsLegacy<R extends IUtilResults = typeof utilDocuments> extends AdtUtils<R> {
|
|
25
52
|
/**
|
|
@@ -66,6 +93,67 @@ export declare class AdtUtilsLegacy<R extends IUtilResults = typeof utilDocument
|
|
|
66
93
|
headers: IAdtHeaders;
|
|
67
94
|
} & IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['query']>, E>>;
|
|
68
95
|
getObjectProperties<E extends IAdtError = IAdtError>(_objectUri: string, _options?: IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['objectProperties']>, E>>;
|
|
96
|
+
/**
|
|
97
|
+
* Refused without a request: 7.40 has no deletion API —
|
|
98
|
+
* `POST /sap/bc/adt/deletion/check` answers `404` (spec §5, §10.2).
|
|
99
|
+
*/
|
|
100
|
+
checkDeletionGroup<E extends IAdtError = IAdtError>(_objects: IObjectReference[], _options: {
|
|
101
|
+
headers: IAdtHeaders;
|
|
102
|
+
} & IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['deletionCheck']>, E>>;
|
|
103
|
+
/**
|
|
104
|
+
* Refused without a request: the group delete is
|
|
105
|
+
* `/sap/bc/adt/deletion/check` then `/deletion/delete`, which 7.40 does not
|
|
106
|
+
* serve (spec §4.3, §10.2).
|
|
107
|
+
*/
|
|
108
|
+
deleteObjectsGroup<E extends IAdtError = IAdtError>(_objects: IObjectReference[], _transportRequest: string | undefined, _options: {
|
|
109
|
+
headers: IAdtHeaders;
|
|
110
|
+
} & IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['deletion']>, E>>;
|
|
111
|
+
/**
|
|
112
|
+
* Refused without a request: `usageReferences` answered `404` over RFC on
|
|
113
|
+
* 7.40 SP04 (spec §10.2). Refused before the type is read, so an unknown
|
|
114
|
+
* type is not thrown here: the member itself is not offered.
|
|
115
|
+
*/
|
|
116
|
+
getWhereUsed<E extends IAdtError = IAdtError>(_params: IGetWhereUsedParams, _options: {
|
|
117
|
+
headers: IAdtHeaders;
|
|
118
|
+
} & IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['whereUsed']>, E>>;
|
|
119
|
+
/** Refused without a request, like {@link getWhereUsed} (spec §10.2). */
|
|
120
|
+
getWhereUsedScope<E extends IAdtError = IAdtError>(_params: IGetWhereUsedScopeParams, _options: {
|
|
121
|
+
headers: IAdtHeaders;
|
|
122
|
+
} & IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['whereUsedScope']>, E>>;
|
|
123
|
+
/**
|
|
124
|
+
* Refused without a request: `virtualfolders/contents` answered `404` over
|
|
125
|
+
* RFC on 7.40 SP04 (spec §10.2). A package's contents are served by
|
|
126
|
+
* `fetchNodeStructure` with `DEVC/K`, measured on 7.40.
|
|
127
|
+
*/
|
|
128
|
+
getVirtualFoldersContents<E extends IAdtError = IAdtError>(_params: IGetVirtualFoldersContentsParams, _options: {
|
|
129
|
+
headers: IAdtHeaders;
|
|
130
|
+
} & IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['folders']>, E>>;
|
|
131
|
+
/**
|
|
132
|
+
* Refused without a request: `objecttypes` answered `404` over RFC on 7.40
|
|
133
|
+
* SP04 (spec §10.2).
|
|
134
|
+
*/
|
|
135
|
+
getAllTypes<E extends IAdtError = IAdtError>(_maxItemCount?: number, _name?: string, _data?: string, _options?: IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['types']>, E>>;
|
|
136
|
+
/**
|
|
137
|
+
* Refused without a request: a legacy group activation is synchronous and
|
|
138
|
+
* yields no run id, and `/activation/runs` is not advertised (spec §10.2).
|
|
139
|
+
*/
|
|
140
|
+
getActivationRun<E extends IAdtError = IAdtError>(_runId: string, _options?: {
|
|
141
|
+
withLongPolling?: boolean;
|
|
142
|
+
} & IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['run']>, E>>;
|
|
143
|
+
/** Refused without a request, like {@link getActivationRun} (spec §10.2). */
|
|
144
|
+
getActivationResults<E extends IAdtError = IAdtError>(_runId: string, _options?: IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['results']>, E>>;
|
|
145
|
+
/**
|
|
146
|
+
* A domain, a data element, a structure, a table, a table type or a package
|
|
147
|
+
* is refused without a request — a known type 7.40 lacks is answered, not
|
|
148
|
+
* thrown (spec §10.2). Every other type goes to the base as it is, so an
|
|
149
|
+
* unknown one is still the caller's mistake and thrown.
|
|
150
|
+
*/
|
|
151
|
+
readObjectMetadata<E extends IAdtError = IAdtError>(objectType: AdtObjectType, objectName: string, functionGroup?: string, options?: IReadOptions & IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['metadata']>, E>>;
|
|
152
|
+
/**
|
|
153
|
+
* A structure, a table or a table type is refused without a request (spec
|
|
154
|
+
* §10.2); every other type goes to the base as it is.
|
|
155
|
+
*/
|
|
156
|
+
readObjectSource<E extends IAdtError = IAdtError>(objectType: AdtSourceObjectType, objectName: string, functionGroup?: string, version?: 'active' | 'inactive', options?: IReadOptions & IAdtAnalyseOptions<E>): Promise<IAdtResponse<ReturnType<R['source']>, E>>;
|
|
69
157
|
private refuse;
|
|
70
158
|
}
|
|
71
159
|
//# sourceMappingURL=AdtUtilsLegacy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdtUtilsLegacy.d.ts","sourceRoot":"","sources":["../../../src/core/shared/AdtUtilsLegacy.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"AdtUtilsLegacy.d.ts","sourceRoot":"","sources":["../../../src/core/shared/AdtUtilsLegacy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,YAAY,EAElB,MAAM,8BAA8B,CAAC;AAYtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAOtC,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,EACvB,gCAAgC,EACh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E,MAAM,EACd,QAAQ,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAC/B,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAQrD;;;;;OAKG;IACY,kBAAkB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EAC/D,UAAU,EAAE,aAAa,EACzB,UAAU,EAAE,MAAM,EAClB,aAAa,CAAC,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,YAAY,GAAG,kBAAkB,CAAC,CAAC,CAAC,GAC7C,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAetD;;;OAGG;IACY,gBAAgB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EAC7D,UAAU,EAAE,mBAAmB,EAC/B,UAAU,EAAE,MAAM,EAClB,aAAa,CAAC,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,EAC/B,OAAO,CAAC,EAAE,YAAY,GAAG,kBAAkB,CAAC,CAAC,CAAC,GAC7C,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAgBpD,OAAO,CAAC,MAAM;CAYf"}
|
|
@@ -1,14 +1,41 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* AdtUtilsLegacy - Utility operations for legacy SAP systems (
|
|
3
|
+
* AdtUtilsLegacy - Utility operations for legacy SAP systems (7.40 SP04)
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* - getSqlQuery → /sap/bc/adt/datapreview/freestyle (not available)
|
|
9
|
-
* - activateObjectsGroup → /sap/bc/adt/activation/runs (not available, uses /sap/bc/adt/activation)
|
|
5
|
+
* Every override below refuses without a request, answered through `failed()`
|
|
6
|
+
* (spec §2.1, §10.2), except `activateObjectsGroup`, which sends the legacy
|
|
7
|
+
* request.
|
|
10
8
|
*
|
|
11
|
-
*
|
|
9
|
+
* Not in the legacy discovery catalogue, refused:
|
|
10
|
+
* - getTableColumns → /sap/bc/adt/datapreview/ddic/{name}/metadata
|
|
11
|
+
* - getTableContents → /sap/bc/adt/datapreview/ddic
|
|
12
|
+
* - getSqlQuery → /sap/bc/adt/datapreview/freestyle
|
|
13
|
+
* - getObjectProperties → /sap/bc/adt/repository/informationsystem/objectproperties/values
|
|
14
|
+
*
|
|
15
|
+
* Measured over RFC on SAP_BASIS 7.40 SP04 — the endpoint answered `404` —
|
|
16
|
+
* refused:
|
|
17
|
+
* - getWhereUsed, getWhereUsedScope → .../informationsystem/usageReferences
|
|
18
|
+
* - getVirtualFoldersContents → .../informationsystem/virtualfolders/contents
|
|
19
|
+
* - getAllTypes → .../informationsystem/objecttypes
|
|
20
|
+
* - checkDeletionGroup, deleteObjectsGroup → /sap/bc/adt/deletion/*
|
|
21
|
+
* - readObjectMetadata for a domain, a data element, a structure, a package
|
|
22
|
+
* and a table (the table family, §10.1); readObjectSource for a structure
|
|
23
|
+
* and a table
|
|
24
|
+
*
|
|
25
|
+
* Not measured and not advertised, refused until measured:
|
|
26
|
+
* - readObjectMetadata and readObjectSource for a table type
|
|
27
|
+
*
|
|
28
|
+
* In readObjectMetadata/readObjectSource every alias `objectWire` accepts for
|
|
29
|
+
* those types is refused, in any case; every other type goes to the base
|
|
30
|
+
* unchanged, so an unknown type is still thrown.
|
|
31
|
+
*
|
|
32
|
+
* Refused because a legacy group activation has no run:
|
|
33
|
+
* - getActivationRun, getActivationResults → /sap/bc/adt/activation/runs,
|
|
34
|
+
* /results (not advertised). `activateObjectsGroup` here sends the
|
|
35
|
+
* synchronous /sap/bc/adt/activation, not /activation/runs, and yields no
|
|
36
|
+
* run id to ask about.
|
|
37
|
+
*
|
|
38
|
+
* A further override refused `getTransaction`
|
|
12
39
|
* (/sap/bc/adt/repository/informationsystem/objectproperties, also absent). It
|
|
13
40
|
* went with the base method, which nobody called: the only code that ever
|
|
14
41
|
* mentioned `getTransaction` was its own doc comment and this refusal of it.
|
|
@@ -20,14 +47,68 @@
|
|
|
20
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
48
|
exports.AdtUtilsLegacy = void 0;
|
|
22
49
|
const interfaces_adt_1 = require("@mcp-abap-adt/interfaces-adt");
|
|
50
|
+
const objects_1 = require("../../endpoints/objects");
|
|
23
51
|
const activationUtils_1 = require("../../utils/activationUtils");
|
|
24
52
|
const adtResponse_1 = require("../../utils/adtResponse");
|
|
25
53
|
const requestHeaders_1 = require("../../utils/requestHeaders");
|
|
26
54
|
const AdtUtils_1 = require("./AdtUtils");
|
|
55
|
+
const refusalLegacy_1 = require("./refusalLegacy");
|
|
56
|
+
const RIS = '/sap/bc/adt/repository/informationsystem';
|
|
57
|
+
const WHERE_USED = `${RIS}/usageReferences`;
|
|
58
|
+
const WHERE_USED_SCOPE = `${RIS}/usageReferences/scope`;
|
|
59
|
+
const VIRTUAL_FOLDERS = `${RIS}/virtualfolders/contents`;
|
|
60
|
+
const OBJECT_TYPES = `${RIS}/objecttypes`;
|
|
61
|
+
const ACTIVATION_RUNS = '/sap/bc/adt/activation/runs';
|
|
62
|
+
const ACTIVATION_RESULTS = '/sap/bc/adt/activation/results';
|
|
63
|
+
const WHERE_USED_ON_740 = '7.40 serves where-used through the RIS sequence fullnamemapping → metadata → whereused?RIS_REQUEST_TYPE=WHERE_USED_LAZY, which this library does not implement.';
|
|
64
|
+
const OBJECT_TYPES_ON_740 = '7.40 serves object types through repository/typestructure, which this library does not implement.';
|
|
65
|
+
const NO_RUN_ID = 'A legacy activateObjectsGroup is the synchronous /sap/bc/adt/activation: its answer is the result, and there is no run id to ask about.';
|
|
66
|
+
const PACKAGE_ITEM = `${objects_1.PACKAGE.collection}/{name}`;
|
|
67
|
+
/**
|
|
68
|
+
* The DDIC types 7.40 does not serve through these reads, by every alias the
|
|
69
|
+
* switches in `objectWire` accept (lower case), to the endpoint it lacks.
|
|
70
|
+
*/
|
|
71
|
+
const METADATA_REFUSED = {
|
|
72
|
+
domain: objects_1.DOMAIN.collection,
|
|
73
|
+
'doma/dd': objects_1.DOMAIN.collection,
|
|
74
|
+
dataelement: objects_1.DATA_ELEMENT.collection,
|
|
75
|
+
dtel: objects_1.DATA_ELEMENT.collection,
|
|
76
|
+
'dtel/de': objects_1.DATA_ELEMENT.collection,
|
|
77
|
+
structure: objects_1.STRUCTURE.collection,
|
|
78
|
+
'stru/dt': objects_1.STRUCTURE.collection,
|
|
79
|
+
table: objects_1.TABLE.collection,
|
|
80
|
+
'tabl/dt': objects_1.TABLE.collection,
|
|
81
|
+
tabletype: objects_1.TABLE_TYPE.collection,
|
|
82
|
+
'ttyp/df': objects_1.TABLE_TYPE.collection,
|
|
83
|
+
package: PACKAGE_ITEM,
|
|
84
|
+
'devc/k': PACKAGE_ITEM,
|
|
85
|
+
};
|
|
86
|
+
const SOURCE_REFUSED = {
|
|
87
|
+
structure: objects_1.STRUCTURE.collection,
|
|
88
|
+
'stru/dt': objects_1.STRUCTURE.collection,
|
|
89
|
+
table: objects_1.TABLE.collection,
|
|
90
|
+
'tabl/dt': objects_1.TABLE.collection,
|
|
91
|
+
tabletype: objects_1.TABLE_TYPE.collection,
|
|
92
|
+
'ttyp/df': objects_1.TABLE_TYPE.collection,
|
|
93
|
+
};
|
|
94
|
+
/** The endpoint 7.40 lacks for `objectType`, or `undefined` when it is served. */
|
|
95
|
+
function refusedFor(table, objectType) {
|
|
96
|
+
const type = objectType.toLowerCase();
|
|
97
|
+
return Object.hasOwn(table, type) ? table[type] : undefined;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* The refusal of a read of `objectType` at `endpoint`: the table type is only
|
|
101
|
+
* absent from discovery, not measured, so its refusal says that; the other
|
|
102
|
+
* families answered `404`.
|
|
103
|
+
*/
|
|
104
|
+
function refuseRead(operation, endpoint) {
|
|
105
|
+
return endpoint === objects_1.TABLE_TYPE.collection
|
|
106
|
+
? (0, refusalLegacy_1.legacyUnmeasuredRefusal)(operation, endpoint)
|
|
107
|
+
: (0, refusalLegacy_1.legacyRefusal)(operation, endpoint);
|
|
108
|
+
}
|
|
27
109
|
function unsupportedError(operation, endpoint) {
|
|
28
|
-
return (`${operation} is not supported on
|
|
29
|
-
`
|
|
30
|
-
`ADT discovery catalog (/sap/bc/adt/discovery).`);
|
|
110
|
+
return (`${operation} is not supported on a legacy system (7.40 SP04): ` +
|
|
111
|
+
`its ADT discovery catalogue (/sap/bc/adt/discovery) does not list ${endpoint}.`);
|
|
31
112
|
}
|
|
32
113
|
class AdtUtilsLegacy extends AdtUtils_1.AdtUtils {
|
|
33
114
|
/**
|
|
@@ -95,6 +176,81 @@ ${objectReferences}
|
|
|
95
176
|
async getObjectProperties(_objectUri, _options) {
|
|
96
177
|
return this.refuse('Object properties', '/sap/bc/adt/repository/informationsystem/objectproperties/values');
|
|
97
178
|
}
|
|
179
|
+
/**
|
|
180
|
+
* Refused without a request: 7.40 has no deletion API —
|
|
181
|
+
* `POST /sap/bc/adt/deletion/check` answers `404` (spec §5, §10.2).
|
|
182
|
+
*/
|
|
183
|
+
async checkDeletionGroup(_objects, _options) {
|
|
184
|
+
return (0, refusalLegacy_1.noDeletionCheck)('checkDeletionGroup');
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Refused without a request: the group delete is
|
|
188
|
+
* `/sap/bc/adt/deletion/check` then `/deletion/delete`, which 7.40 does not
|
|
189
|
+
* serve (spec §4.3, §10.2).
|
|
190
|
+
*/
|
|
191
|
+
async deleteObjectsGroup(_objects, _transportRequest, _options) {
|
|
192
|
+
return (0, refusalLegacy_1.noDeletionApi)('deleteObjectsGroup', "Delete each object through its handler's delete() with the object's lock handle, from lock().");
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Refused without a request: `usageReferences` answered `404` over RFC on
|
|
196
|
+
* 7.40 SP04 (spec §10.2). Refused before the type is read, so an unknown
|
|
197
|
+
* type is not thrown here: the member itself is not offered.
|
|
198
|
+
*/
|
|
199
|
+
async getWhereUsed(_params, _options) {
|
|
200
|
+
return (0, refusalLegacy_1.legacyRefusal)('getWhereUsed', WHERE_USED, WHERE_USED_ON_740);
|
|
201
|
+
}
|
|
202
|
+
/** Refused without a request, like {@link getWhereUsed} (spec §10.2). */
|
|
203
|
+
async getWhereUsedScope(_params, _options) {
|
|
204
|
+
return (0, refusalLegacy_1.legacyRefusal)('getWhereUsedScope', WHERE_USED_SCOPE, WHERE_USED_ON_740);
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Refused without a request: `virtualfolders/contents` answered `404` over
|
|
208
|
+
* RFC on 7.40 SP04 (spec §10.2). A package's contents are served by
|
|
209
|
+
* `fetchNodeStructure` with `DEVC/K`, measured on 7.40.
|
|
210
|
+
*/
|
|
211
|
+
async getVirtualFoldersContents(_params, _options) {
|
|
212
|
+
return (0, refusalLegacy_1.legacyRefusal)('getVirtualFoldersContents', VIRTUAL_FOLDERS, "A package's contents: fetchNodeStructure with the package and type DEVC/K.");
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Refused without a request: `objecttypes` answered `404` over RFC on 7.40
|
|
216
|
+
* SP04 (spec §10.2).
|
|
217
|
+
*/
|
|
218
|
+
async getAllTypes(_maxItemCount, _name, _data, _options) {
|
|
219
|
+
return (0, refusalLegacy_1.legacyRefusal)('getAllTypes', OBJECT_TYPES, OBJECT_TYPES_ON_740);
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Refused without a request: a legacy group activation is synchronous and
|
|
223
|
+
* yields no run id, and `/activation/runs` is not advertised (spec §10.2).
|
|
224
|
+
*/
|
|
225
|
+
async getActivationRun(_runId, _options) {
|
|
226
|
+
return (0, refusalLegacy_1.legacyRefusal)('getActivationRun', ACTIVATION_RUNS, NO_RUN_ID);
|
|
227
|
+
}
|
|
228
|
+
/** Refused without a request, like {@link getActivationRun} (spec §10.2). */
|
|
229
|
+
async getActivationResults(_runId, _options) {
|
|
230
|
+
return (0, refusalLegacy_1.legacyRefusal)('getActivationResults', ACTIVATION_RESULTS, NO_RUN_ID);
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* A domain, a data element, a structure, a table, a table type or a package
|
|
234
|
+
* is refused without a request — a known type 7.40 lacks is answered, not
|
|
235
|
+
* thrown (spec §10.2). Every other type goes to the base as it is, so an
|
|
236
|
+
* unknown one is still the caller's mistake and thrown.
|
|
237
|
+
*/
|
|
238
|
+
async readObjectMetadata(objectType, objectName, functionGroup, options) {
|
|
239
|
+
const endpoint = refusedFor(METADATA_REFUSED, objectType);
|
|
240
|
+
if (endpoint)
|
|
241
|
+
return refuseRead(`readObjectMetadata(${objectType})`, endpoint);
|
|
242
|
+
return super.readObjectMetadata(objectType, objectName, functionGroup, options);
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* A structure, a table or a table type is refused without a request (spec
|
|
246
|
+
* §10.2); every other type goes to the base as it is.
|
|
247
|
+
*/
|
|
248
|
+
async readObjectSource(objectType, objectName, functionGroup, version, options) {
|
|
249
|
+
const endpoint = refusedFor(SOURCE_REFUSED, objectType);
|
|
250
|
+
if (endpoint)
|
|
251
|
+
return refuseRead(`readObjectSource(${objectType})`, endpoint);
|
|
252
|
+
return super.readObjectSource(objectType, objectName, functionGroup, version, options);
|
|
253
|
+
}
|
|
98
254
|
refuse(operation, endpoint) {
|
|
99
255
|
// The library's own verdict, so `E` is its default `IAdtError` here — the
|
|
100
256
|
// same cast `answering` makes when no strategy supplied one.
|
|
@@ -35,8 +35,8 @@ export declare function getUnitTestRunResult(connection: IAbapConnection, runId:
|
|
|
35
35
|
* objects are named by their ADT URIs: a class, a report, a function group, a
|
|
36
36
|
* function module.
|
|
37
37
|
*
|
|
38
|
-
* The one implementation of this endpoint:
|
|
39
|
-
*
|
|
38
|
+
* The one implementation of this endpoint: a runner's `runSync` sends it, and so
|
|
39
|
+
* does any runner whose `run` is this request.
|
|
40
40
|
*
|
|
41
41
|
* **Measured:** synchronous on a modern and a legacy on-prem system, over HTTP
|
|
42
42
|
* and over RFC — `<aunit:runResult>` in the POST's answer, no `Location` — and
|
|
@@ -53,7 +53,7 @@ export declare function getUnitTestRunResult(connection: IAbapConnection, runId:
|
|
|
53
53
|
* alerts as `/abapunit/runs`; the same body without `<options>` answered `200`
|
|
54
54
|
* with an empty `<aunit:runResult/>` for all four. An include's own URI
|
|
55
55
|
* answered empty even with `<options>` — its tests run through the report. So
|
|
56
|
-
* every runner
|
|
56
|
+
* every runner sends `<options>`.
|
|
57
57
|
*
|
|
58
58
|
* **Reading the result: `kind` carries the distinction, `severity` does not.**
|
|
59
59
|
* A failed assertion and an uncaught exception both come back
|
|
@@ -69,8 +69,7 @@ export declare function getUnitTestRunResult(connection: IAbapConnection, runId:
|
|
|
69
69
|
* container;
|
|
70
70
|
* - `application/xml` for `Content-Type` and `Accept`.
|
|
71
71
|
*
|
|
72
|
-
* `options` absent sends no `<options>` element
|
|
73
|
-
* runner has always sent, unchanged. Given (`{}` included), the scope, risk
|
|
72
|
+
* `options` absent sends no `<options>` element. Given (`{}` included), the scope, risk
|
|
74
73
|
* levels and durations go in `<options>` with the same defaults `/runs` gets;
|
|
75
74
|
* `title` and `context` have no place in this format and are not sent.
|
|
76
75
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abapUnit.d.ts","sourceRoot":"","sources":["../../../src/core/shared/abapUnit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EACjB,MAAM,yCAAyC,CAAC;AAajD,6DAA6D;AAC7D,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,wDAAwD;IACxD,IAAI,EAAE,MAAM,C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