@mcp-abap-adt/connection 15.1.0 → 16.0.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/CHANGELOG.md +144 -1
- package/README.md +68 -20
- package/dist/connection/AbstractAbapConnection.d.ts +89 -39
- package/dist/connection/AbstractAbapConnection.d.ts.map +1 -1
- package/dist/connection/AbstractAbapConnection.js +249 -223
- package/dist/connection/CloudHttpTransport.d.ts +8 -1
- package/dist/connection/CloudHttpTransport.d.ts.map +1 -1
- package/dist/connection/CloudHttpTransport.js +28 -15
- package/dist/connection/HttpTransport.d.ts +61 -6
- package/dist/connection/HttpTransport.d.ts.map +1 -1
- package/dist/connection/HttpTransport.js +144 -21
- package/dist/connection/IAdtTransport.d.ts +12 -19
- package/dist/connection/IAdtTransport.d.ts.map +1 -1
- package/dist/connection/OnPremHttpTransport.d.ts +2 -13
- package/dist/connection/OnPremHttpTransport.d.ts.map +1 -1
- package/dist/connection/OnPremHttpTransport.js +16 -32
- package/dist/connection/RfcTransport.d.ts +0 -6
- package/dist/connection/RfcTransport.d.ts.map +1 -1
- package/dist/connection/RfcTransport.js +13 -46
- package/dist/connection/createConnection.d.ts +77 -0
- package/dist/connection/createConnection.d.ts.map +1 -0
- package/dist/connection/createConnection.js +39 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/docs/INDEX.md +4 -2
- package/docs/MIGRATION-16.0.md +123 -0
- package/docs/SCOPE.md +17 -45
- package/docs/STATEFUL_SESSION_GUIDE.md +37 -38
- package/docs/USAGE.md +156 -84
- package/package.json +2 -2
- package/dist/connection/requestAbort.d.ts +0 -32
- package/dist/connection/requestAbort.d.ts.map +0 -1
- package/dist/connection/requestAbort.js +0 -69
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,148 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [16.0.0] - 2026-10-13
|
|
11
|
+
|
|
12
|
+
What this package answers for is listed in [docs/SCOPE.md](./docs/SCOPE.md).
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- **`createConnection(spec)`**, the recommended way to build a connection.
|
|
16
|
+
The caller states `system` (`'cloud'` | `'onprem'`) and `transport`
|
|
17
|
+
(`'http'` | `'legacy-http'` | `'rfc'`); the factory builds the matching
|
|
18
|
+
connector and wire:
|
|
19
|
+
- cloud+http → `AdtCloudConnector` + `CloudHttpTransport`;
|
|
20
|
+
- onprem+http → `AdtOnPremConnector` + `OnPremHttpTransport`;
|
|
21
|
+
- onprem+legacy-http → `AdtOnPremConnector` + `LegacyOnPremHttpTransport`;
|
|
22
|
+
- onprem+rfc → `AdtOnPremConnector` + `RfcTransport(rfcConversationFrom(config))`.
|
|
23
|
+
|
|
24
|
+
Nothing is inferred, `config.connectionType` included. Any other
|
|
25
|
+
combination is refused at construction in fixed words. `client` and
|
|
26
|
+
`baseUrl` come from `config`. `agentOptions`, `rfc`, `wireLogger`, `logger`
|
|
27
|
+
and `sessionId` pass through as given. A new instance on every call: one
|
|
28
|
+
instance is one session.
|
|
29
|
+
|
|
30
|
+
### Breaking
|
|
31
|
+
- **The per-request signal is removed** (added in 15.1.0), on
|
|
32
|
+
`@mcp-abap-adt/interfaces-adt-connection` `^3.0.0` (was `^2.1.0`), which
|
|
33
|
+
drops `IAbapRequestOptions.signal`, `ADT_REQUEST_ERROR` and
|
|
34
|
+
`AdtRequestErrorCode`. No request rejects with `ADT_REQUEST_ABORTED`, and
|
|
35
|
+
`IAdtTransportRequest.signal` and `IAdtEstablishContext.signal` are gone
|
|
36
|
+
from the transport seam. Requests behave as in 15.0.1. Measured on an on-premise system
|
|
37
|
+
(BASIS 816, 2026-10-12): ABAP neither cancels a request that reached it nor
|
|
38
|
+
rolls back across requests, a connection is never shared between threads,
|
|
39
|
+
and a logoff releases the locks — so the signal protected nothing.
|
|
40
|
+
- **One connection instance is one SAP session.** After `disconnect()`, after
|
|
41
|
+
a failed `connect()` that received a session cookie (a `SAP_SESSIONID_*`;
|
|
42
|
+
over RFC, an open conversation) — whether or not a logoff was sent for it —,
|
|
43
|
+
or after
|
|
44
|
+
a lost session (`ADT_SESSION_REPLACED`, detected and raised exactly as in
|
|
45
|
+
15.0.1), the instance is spent. On a spent instance, `connect()` rejects
|
|
46
|
+
with `ADT_SESSION_ERROR.NOT_CONNECTED` in fixed words, telling the caller to
|
|
47
|
+
create a new connection, and asks the credential nothing; every request
|
|
48
|
+
rejects `NOT_CONNECTED` too. After a lost session `disconnect()` is still
|
|
49
|
+
owed once, and sends nothing: the loss already cleared the cookies. Every
|
|
50
|
+
establishment attempt checks this, `connect()`'s internal logon retry
|
|
51
|
+
included. A failed `connect()` that received no session cookie (401,
|
|
52
|
+
network, a 200 with only `sap-XSRF_*`) may be retried. A new session is a new instance, created by the
|
|
53
|
+
consumer (its own factory, or `createConnection`). Before 16.0.0 a
|
|
54
|
+
disconnected instance could `connect()` again.
|
|
55
|
+
- **No 401 opens a new session on the same instance, and none is resent
|
|
56
|
+
before the provider is asked.** Three recoveries are removed:
|
|
57
|
+
- a mutation (POST / PUT / DELETE) refused with a 401 while a CSRF token
|
|
58
|
+
was cached, outside a critical section, discarded the session's cookies
|
|
59
|
+
and token and retried in a new session;
|
|
60
|
+
- a GET refused with a 401 on a wire holding no cookies fetched a CSRF
|
|
61
|
+
token to earn some, opening a session on an empty jar;
|
|
62
|
+
- a GET refused with a 401 while the wire held cookies was resent once with
|
|
63
|
+
them, before the provider was asked.
|
|
64
|
+
|
|
65
|
+
All three now reach the provider like any other 401 (`rejected`); on Ok the
|
|
66
|
+
request is resent once in the same session, and otherwise the caller gets
|
|
67
|
+
`AuthRefusedError` carrying SAP's 401. What stays: the CSRF refetch for a
|
|
68
|
+
403 "CSRF token validation failed" or a 401 to a mutation holding no token
|
|
69
|
+
(cookies kept, one resend), and the provider's re-ask — both in the same
|
|
70
|
+
session. A consumer that wants
|
|
71
|
+
a new session after a 401 creates a new instance.
|
|
72
|
+
- **`disconnect()`, once.**
|
|
73
|
+
- **It resolves once the logoff is WRITTEN**: its bytes handed to the
|
|
74
|
+
socket (the node request's `finish`), or over RFC, once the close call
|
|
75
|
+
has returned. It does not wait for SAP's answer, and it no longer
|
|
76
|
+
returns at once as before.
|
|
77
|
+
- Measured on an on-premise system (2026-10-12): with a long request running in the same
|
|
78
|
+
stateful session, SAP queues the logoff behind it (answered ~96 s later
|
|
79
|
+
through the connector; no answer in six minutes raw from a second
|
|
80
|
+
thread). The lock is still gone afterwards, even when the client was
|
|
81
|
+
killed with the answer pending. A connection dropped without a logoff
|
|
82
|
+
keeps its locks.
|
|
83
|
+
- Checked against this build on an on-premise system (2026-10-13): LOCK, then a long
|
|
84
|
+
where-used in the same stateful session, then `await disconnect()` and
|
|
85
|
+
an immediate process exit. The lock was still held 1 s later and free
|
|
86
|
+
~70 s after the exit, long before the 30-min idle timeout.
|
|
87
|
+
- So a caller about to exit awaits `disconnect()`. No timer bounds the
|
|
88
|
+
write: a server that never takes the bytes holds `disconnect()` until the
|
|
89
|
+
socket fails, and that failure is logged, not thrown.
|
|
90
|
+
- **A second call rejects** with `ADT_SESSION_ERROR.NOT_CONNECTED` in fixed
|
|
91
|
+
words, whether it comes while the first is still writing or after it.
|
|
92
|
+
It used to resolve. The first call is unaffected.
|
|
93
|
+
- **The logoff is sent if and only if the instance holds a live
|
|
94
|
+
`SAP_SESSIONID_*`** it received, whatever the status of the answer that
|
|
95
|
+
brought it. This applies on-prem and on cloud (`HttpTransport.holdsSessionCookie`).
|
|
96
|
+
- A `connect()` that fails as a whole after the server opened a session —
|
|
97
|
+
a cloud preflight's, or a 403/404 after logon, on core discovery and the
|
|
98
|
+
fallback alike — logs that session off, and rejects only once the
|
|
99
|
+
logoff is written.
|
|
100
|
+
- A 404 on core discovery alone is not a failure: the fallback runs in the
|
|
101
|
+
same session.
|
|
102
|
+
- A 401 or a 200 with only `sap-XSRF_*` carries no session, and nothing is
|
|
103
|
+
sent.
|
|
104
|
+
- The on-prem rule used to be "established and holding any cookie".
|
|
105
|
+
- On cloud, a session whose server linked no logoff resource is logged off
|
|
106
|
+
through the platform's ICF logoff (`/sap/public/bc/icf/logoff`), sent
|
|
107
|
+
exactly as on-prem: the session's cookies without `sap-contextid`, no
|
|
108
|
+
session header, the write reported the same way. It used to be left to
|
|
109
|
+
the server's timeout. Measured on a BTP trial with bare HTTP
|
|
110
|
+
(2026-10-13): a preflight answered without a logoff link yet set a live
|
|
111
|
+
`SAP_SESSIONID`; after the ICF logoff the same cookies got `401`, before
|
|
112
|
+
it `200`. A linked logoff resource is used as before.
|
|
113
|
+
- Evidence (on-premise ABAP code and measurement): `CL_HTTP_SERVER_NET->send_response`
|
|
114
|
+
sets `SAP_SESSIONID` only when a security session was created, whatever
|
|
115
|
+
the status, and the ICF logoff ends a session only when that cookie is
|
|
116
|
+
present.
|
|
117
|
+
- **The cookie jar honours deletions.** A `Set-Cookie` with a past `expires`
|
|
118
|
+
or `Max-Age=0` removes the cookie, so a deleted `SAP_SESSIONID` is no
|
|
119
|
+
session. SAP's logoff deletes with a one-character value and
|
|
120
|
+
`expires=Tue, 01-Jan-1980 00:00:01 GMT` (on-premise trace, 2026-10-13). An empty
|
|
121
|
+
`SAP_SESSIONID` names no session either.
|
|
122
|
+
- **The logoff never carries `sap-contextid`**: only `SAP_SESSIONID_*`,
|
|
123
|
+
`sap-usercontext` and the affinity it needs (`HttpTransport.logoffCookies`).
|
|
124
|
+
Measured on an on-premise system with bare HTTP (2026-10-13):
|
|
125
|
+
- A logoff without the context cookie ended the context and released its
|
|
126
|
+
lock.
|
|
127
|
+
- A logoff carrying a stale (deleted) `sap-contextid` got 400 and closed
|
|
128
|
+
nothing.
|
|
129
|
+
- **The logoff goes out on a connection of its own** (`agent: false` over
|
|
130
|
+
plain HTTP; the wire's TLS agent or a proxy's is kept). A 3xx answering it
|
|
131
|
+
is its answer: it is not followed and not logged as a failure.
|
|
132
|
+
- **`flushGoodbye(timeoutMs?)` has no default bound.** Without an argument it
|
|
133
|
+
waits for SAP's answer to the logoff for as long as it takes, and creates
|
|
134
|
+
no timer; the library's own 5 s default is gone. With `timeoutMs` it waits
|
|
135
|
+
at most that long and returns without throwing, as before.
|
|
136
|
+
- **`IAdtTransport.close(context, written?)`**: a wire calls `written` once
|
|
137
|
+
its goodbye has left; `disconnect()` resolves at the first of that and the
|
|
138
|
+
close settling. A custom wire whose close stays pending after its goodbye
|
|
139
|
+
has left should call it.
|
|
140
|
+
- **Over RFC the close waits for a running call**: sap-rfc-lite 0.2.2's
|
|
141
|
+
`close()` takes the invocation mutex a call holds until it returns.
|
|
142
|
+
See [MIGRATION-16.0.md](./docs/MIGRATION-16.0.md).
|
|
143
|
+
|
|
144
|
+
### Changed
|
|
145
|
+
- `docs/SCOPE.md` lists what this package answers for; CLAUDE.md points to it.
|
|
146
|
+
- Docs: README (Quick Start starts with `createConnection`), USAGE,
|
|
147
|
+
STATEFUL_SESSION_GUIDE, CLAUDE.md.
|
|
148
|
+
- Tests: "nothing is left unhandled" is proven under plain node
|
|
149
|
+
(`src/__tests__/helpers/plainNode`), where the real process reports it —
|
|
150
|
+
Jest's sandboxed `process` never does; `dispatchedGoodbye` runs there.
|
|
151
|
+
|
|
10
152
|
## [15.1.0] - 2026-10-12
|
|
11
153
|
|
|
12
154
|
### Added
|
|
@@ -2446,7 +2588,8 @@ const connection = createAbapConnection(config, logger);
|
|
|
2446
2588
|
- JWT token refresh now properly handles connection errors (401/403 during initial connect)
|
|
2447
2589
|
- Permission errors (403 with "ExceptionResourceNoAccess") no longer trigger JWT refresh loops
|
|
2448
2590
|
- Proper separation: base class handles HTTP/session, concrete classes handle auth-specific errors
|
|
2449
|
-
[Unreleased]: https://github.com/fr0ster/mcp-abap-connection/compare/
|
|
2591
|
+
[Unreleased]: https://github.com/fr0ster/mcp-abap-connection/compare/v16.0.0...HEAD
|
|
2592
|
+
[16.0.0]: https://github.com/fr0ster/mcp-abap-connection/compare/v15.1.0...v16.0.0
|
|
2450
2593
|
[15.1.0]: https://github.com/fr0ster/mcp-abap-connection/compare/v15.0.1...v15.1.0
|
|
2451
2594
|
[15.0.1]: https://github.com/fr0ster/mcp-abap-connection/compare/v15.0.0...v15.0.1
|
|
2452
2595
|
[15.0.0]: https://github.com/fr0ster/mcp-abap-connection/compare/v14.1.0...v15.0.0
|
package/README.md
CHANGED
|
@@ -48,7 +48,8 @@ The package uses a clean separation of concerns:
|
|
|
48
48
|
- **`AdtCloudConnector`** (concrete, exported):
|
|
49
49
|
- An ABAP Cloud system: a session is a resource, opened at
|
|
50
50
|
`/sap/bc/adt/core/http/sessions` and given back through the logoff resource its answer
|
|
51
|
-
links to
|
|
51
|
+
links to, or the platform's ICF logoff when it links none (a `DELETE` on the
|
|
52
|
+
session's own address answers `200` and ends nothing)
|
|
52
53
|
- Takes an auth provider, same as above
|
|
53
54
|
|
|
54
55
|
**Which one you take is how you say where you are dialling.** Nothing is probed:
|
|
@@ -62,7 +63,7 @@ The package uses a clean separation of concerns:
|
|
|
62
63
|
what kind of provider it was given; it calls the same four methods on all of
|
|
63
64
|
them: `prepare` once before the wire opens, `establish` at each logon,
|
|
64
65
|
`authorize` before every attempt, `rejected` when the system refused
|
|
65
|
-
- A `401` that survives the wire's own
|
|
66
|
+
- A `401` that survives the wire's own CSRF recovery, or a refused logon, is
|
|
66
67
|
put to the provider through `rejected`. If it answers Ok (a renewed token, say)
|
|
67
68
|
the request gets exactly one more attempt; if it says no, or the retry is
|
|
68
69
|
refused too, you get an `AuthRefusedError` carrying the provider's refusal —
|
|
@@ -160,6 +161,7 @@ the packages above. See [Migration to 9.0.0](./docs/MIGRATION-9.0.md).
|
|
|
160
161
|
|
|
161
162
|
- 📦 **[Installation Guide](./docs/INSTALLATION.md)** - Setup and installation instructions
|
|
162
163
|
- 📚 **[Usage Guide](./docs/USAGE.md)** - Detailed usage examples and API documentation
|
|
164
|
+
- 🚚 **[Migration to 16.0.0](./docs/MIGRATION-16.0.md)** - the per-request `signal` (15.1.0) and `ADT_REQUEST_ABORTED` are removed; `disconnect()` resolves once the logoff is written, not answered — a process about to exit awaits it; `flushGoodbye()` when the answer matters
|
|
163
165
|
- 🚚 **[Migration to 15.0.0](./docs/MIGRATION-15.0.md)** - on `@mcp-abap-adt/interfaces-adt-connection` 2: `makeAdtRequest`'s answer is `unknown` unless its type is named; nothing changes at run time
|
|
164
166
|
- 🚚 **[Migration to 14.0.0](./docs/MIGRATION-14.0.md)** - the `sap-abap-auth` CLI is removed, with its `open` and `commander` dependencies; use `@mcp-abap-adt/auth-broker-cli`; the library's API is unchanged
|
|
165
167
|
- 🚚 **[Migration to 13.0.0](./docs/MIGRATION-13.0.md)** - interfaces-auth 7 and auth-errors 2, and the providers from auth-providers 6.0.0; no behaviour change, one interfaces-auth major per process
|
|
@@ -220,7 +222,55 @@ For detailed installation instructions, see [Installation Guide](./docs/INSTALLA
|
|
|
220
222
|
|
|
221
223
|
## Quick Start
|
|
222
224
|
|
|
223
|
-
###
|
|
225
|
+
### The recommended way: `createConnection`
|
|
226
|
+
|
|
227
|
+
```typescript
|
|
228
|
+
import { createConnection, getTimeout } from "@mcp-abap-adt/connection";
|
|
229
|
+
import type { SapConfig } from "@mcp-abap-adt/connection";
|
|
230
|
+
import { BasicAuthProvider } from "@mcp-abap-adt/auth-providers";
|
|
231
|
+
|
|
232
|
+
const config: SapConfig = {
|
|
233
|
+
url: "https://your-sap-system.com",
|
|
234
|
+
client: "100",
|
|
235
|
+
authType: "basic",
|
|
236
|
+
username: "your-username",
|
|
237
|
+
password: "your-password",
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
// Which system, and which wire: both stated, never inferred.
|
|
241
|
+
// cloud + http → AdtCloudConnector + CloudHttpTransport
|
|
242
|
+
// onprem + http → AdtOnPremConnector + OnPremHttpTransport
|
|
243
|
+
// onprem + legacy-http → AdtOnPremConnector + LegacyOnPremHttpTransport (BASIS 7.40)
|
|
244
|
+
// onprem + rfc → AdtOnPremConnector + RfcTransport
|
|
245
|
+
const connection = createConnection({
|
|
246
|
+
system: "onprem",
|
|
247
|
+
transport: "http",
|
|
248
|
+
config,
|
|
249
|
+
credential: new BasicAuthProvider(config.username!, config.password!),
|
|
250
|
+
});
|
|
251
|
+
|
|
252
|
+
await connection.connect();
|
|
253
|
+
try {
|
|
254
|
+
await connection.makeAdtRequest({
|
|
255
|
+
method: "GET",
|
|
256
|
+
url: "/sap/bc/adt/discovery",
|
|
257
|
+
timeout: getTimeout("default"),
|
|
258
|
+
});
|
|
259
|
+
} finally {
|
|
260
|
+
await connection.disconnect(); // resolves once the logoff is written
|
|
261
|
+
}
|
|
262
|
+
// One instance is one SAP session: a new session is a new createConnection().
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
`createConnection` returns a **new instance on every call**. Any other
|
|
266
|
+
combination of system and wire (cloud over RFC, say) is refused at
|
|
267
|
+
construction. The transport options are passed through as you give them:
|
|
268
|
+
`agentOptions` for the HTTP wires, `rfc` for the RFC wire, `wireLogger` for
|
|
269
|
+
what the wire logs about itself, `logger` and `sessionId` for the connection.
|
|
270
|
+
The constructors below remain available; the factory only names the four
|
|
271
|
+
combinations that exist.
|
|
272
|
+
|
|
273
|
+
### Basic Usage (On-Premise), with the constructors
|
|
224
274
|
|
|
225
275
|
```typescript
|
|
226
276
|
import {
|
|
@@ -462,10 +512,9 @@ await connection.connect();
|
|
|
462
512
|
// AuthRefusedError. The resend always runs under the same lease and generation
|
|
463
513
|
// as the attempt it repeats, so stale-request fencing applies. After a rejection
|
|
464
514
|
// at 'request' it goes out on the same session; after one at 'logon' the wire
|
|
465
|
-
// logs on again first.
|
|
466
|
-
// or
|
|
467
|
-
//
|
|
468
|
-
// stale-session recovery first, which starts a new session.
|
|
515
|
+
// logs on again first. No 401 opens a new session: the resend stays in this
|
|
516
|
+
// one, or fails with SESSION_REPLACED if SAP replaced it. For a new session,
|
|
517
|
+
// create a new connection.
|
|
469
518
|
const response = await connection.makeAdtRequest({
|
|
470
519
|
method: "GET",
|
|
471
520
|
url: "/sap/bc/adt/programs/programs/your-program",
|
|
@@ -488,7 +537,7 @@ See [MIGRATION-4.0.md](./docs/MIGRATION-4.0.md).
|
|
|
488
537
|
### When the credential is refused
|
|
489
538
|
|
|
490
539
|
Every request asks the provider first (`authorize`). A `401` that survives the
|
|
491
|
-
wire's own
|
|
540
|
+
wire's own CSRF recovery (in the same session), or a logon the system refused, is put to the
|
|
492
541
|
provider (`rejected`); on Ok the request is sent once more, otherwise it fails
|
|
493
542
|
with an `AuthRefusedError` carrying the provider's refusal. A `403` is never
|
|
494
543
|
put to the provider. The refusal is an `IAuthProviderError`: decide on its
|
|
@@ -664,7 +713,7 @@ by address, which is an empty mechanism, not an absent lifecycle:
|
|
|
664
713
|
|
|
665
714
|
```typescript
|
|
666
715
|
// ISessionLifecycleAware
|
|
667
|
-
disconnect(): Promise<void>; //
|
|
716
|
+
disconnect(): Promise<void>; // resolves once the logoff is written; call it once (a second call rejects)
|
|
668
717
|
isConnected(): boolean;
|
|
669
718
|
getSessionIdentity(): string | null; // WHICH SAP session; null is not "disconnected"
|
|
670
719
|
```
|
|
@@ -680,17 +729,6 @@ owns is not being interrupted by a timeout mid-operation — see
|
|
|
680
729
|
|
|
681
730
|
See [docs/USAGE.md — Session Lifecycle](./docs/USAGE.md#session-lifecycle).
|
|
682
731
|
|
|
683
|
-
**Cancelling a request.** `makeAdtRequest({ …, signal })` takes the caller's
|
|
684
|
-
`AbortSignal`. Once it aborts, nothing more of the request is sent — not the
|
|
685
|
-
first send, not a resend, not the CSRF recovery, not a renewal — and the call
|
|
686
|
-
rejects at once with `code: 'ADT_REQUEST_ABORTED'` (`ADT_REQUEST_ERROR.ABORTED`
|
|
687
|
-
from `@mcp-abap-adt/interfaces-adt-connection`), over HTTP and RFC alike. A
|
|
688
|
-
request already sent is not recalled, and a provider's renewal it was waiting
|
|
689
|
-
on runs on for the other requests. A token exchange the request started makes
|
|
690
|
-
no further attempt; the one already on the wire is not recalled, and the token
|
|
691
|
-
it earns is the session's. See
|
|
692
|
-
[docs/USAGE.md — Cancelling a request](./docs/USAGE.md#cancelling-a-request).
|
|
693
|
-
|
|
694
732
|
**Session Management:**
|
|
695
733
|
- `setSessionType(type)`: Programmatically switch between stateful and stateless modes *(on the contract)*
|
|
696
734
|
- `getSessionId()`: Returns the client-side conversation id, an auto-generated UUID *(on the contract)*
|
|
@@ -711,6 +749,16 @@ interface ILogger {
|
|
|
711
749
|
|
|
712
750
|
### Functions
|
|
713
751
|
|
|
752
|
+
#### `createConnection(spec)`
|
|
753
|
+
|
|
754
|
+
Builds a NEW connection from what the caller states: `system` (`'cloud'` or
|
|
755
|
+
`'onprem'`) and `transport` (`'http'`, `'legacy-http'` or `'rfc'`), plus
|
|
756
|
+
`config`, `credential` and, optionally, `logger`, `wireLogger`, `sessionId`,
|
|
757
|
+
`agentOptions` (HTTP) or `rfc` (`IRfcTransportOptions`). Nothing is inferred,
|
|
758
|
+
not even from `config.connectionType`. A combination that does not exist is
|
|
759
|
+
refused with a `TypeError`. One instance is one SAP session: call it again
|
|
760
|
+
for a new one.
|
|
761
|
+
|
|
714
762
|
#### `rfcConversationFrom(config)`
|
|
715
763
|
|
|
716
764
|
What `RfcTransport` is constructed with. Derives `ashost` from the url and
|
|
@@ -60,10 +60,11 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
|
|
|
60
60
|
/**
|
|
61
61
|
* The last goodbye this connection dispatched, so a caller can wait for it.
|
|
62
62
|
*
|
|
63
|
-
* `disconnect()`
|
|
64
|
-
* there. That is right for a teardown and wrong for a caller
|
|
65
|
-
* `connect()` again: the next session opens while the
|
|
66
|
-
* is still
|
|
63
|
+
* `disconnect()` waits for the logoff to be written, not answered, for the
|
|
64
|
+
* reason stated there. That is right for a teardown and wrong for a caller
|
|
65
|
+
* who is about to `connect()` again: the next session opens while the
|
|
66
|
+
* previous one's goodbye is still unanswered, and a caller who recycles in a
|
|
67
|
+
* loop leaves one
|
|
67
68
|
* abandoned session per iteration. Measured against E19 from
|
|
68
69
|
* `@mcp-abap-adt/adt-clients`: a session every 1-2 seconds for a whole test
|
|
69
70
|
* run, none of them released, each surviving to its 30-minute idle timeout.
|
|
@@ -72,6 +73,26 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
|
|
|
72
73
|
* before this, the promise was created and dropped on the floor.
|
|
73
74
|
*/
|
|
74
75
|
private goodbye;
|
|
76
|
+
/**
|
|
77
|
+
* Whether `disconnect()` was called on this instance. A second call
|
|
78
|
+
* rejects: `disconnect()` is called once per instance, and a caller that calls it
|
|
79
|
+
* twice is told so rather than handed a success that waited for nothing.
|
|
80
|
+
*/
|
|
81
|
+
private disconnectCalled;
|
|
82
|
+
/**
|
|
83
|
+
* Whether this instance's one SAP session has ended: it was disconnected,
|
|
84
|
+
* a failed `connect()` logged off the session it had received, or the
|
|
85
|
+
* session was lost (`raiseSessionLost`). One instance is one session —
|
|
86
|
+
* after its logoff it is spent, and `connect()` refuses. A new session is a
|
|
87
|
+
* new instance, which the consumer creates (its own factory, or
|
|
88
|
+
* `createConnection`).
|
|
89
|
+
*/
|
|
90
|
+
private spent;
|
|
91
|
+
/**
|
|
92
|
+
* Every logoff `endSession()` dispatched for this instance, merged: what
|
|
93
|
+
* `disconnect()` waits for (the writes) and `flushGoodbye()` (the answers).
|
|
94
|
+
*/
|
|
95
|
+
private ended;
|
|
75
96
|
private inCriticalSection;
|
|
76
97
|
/** Reference count for nested beginCriticalSection()/endCriticalSection() pairs. */
|
|
77
98
|
private criticalSectionDepth;
|
|
@@ -231,12 +252,29 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
|
|
|
231
252
|
* request cannot use, so the leak surfaces as a half-written object rather
|
|
232
253
|
* than as anything about sessions.
|
|
233
254
|
*
|
|
234
|
-
* **
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
255
|
+
* **Resolves once the logoff is WRITTEN, not answered.** The logoff's bytes
|
|
256
|
+
* handed to the socket (over RFC: the close call returned) is the point a
|
|
257
|
+
* caller needs: SAP queues a logoff behind a request still running in the
|
|
258
|
+
* same stateful ABAP session and answers it only after — ~96 s in one
|
|
259
|
+
* measurement, never in another — yet once it has arrived the ENQUEUE locks
|
|
260
|
+
* go with it, even if the client is killed while waiting for the answer
|
|
261
|
+
* (measured on an on-premise system, 2026-10-12; checked against 16.0.0 on 2026-10-13 with
|
|
262
|
+
* the process exiting right after this resolved: the lock was free ~70 s
|
|
263
|
+
* later, long before the idle timeout). A connection dropped WITHOUT a
|
|
264
|
+
* logoff keeps its locks. So a caller about to exit awaits this, and one
|
|
265
|
+
* that needs the answer awaits `flushGoodbye()` as well. The answer itself
|
|
266
|
+
* is not waited for here, and nothing bounds the write with a timer of its
|
|
267
|
+
* own: a server that never takes the bytes holds this until the socket
|
|
268
|
+
* fails, and that failure is logged, not thrown. Finishing chains and
|
|
269
|
+
* releasing locks stay the caller's to do BEFORE calling.
|
|
270
|
+
*
|
|
271
|
+
* **Called once per `connect()`.** A second call — while the first is still
|
|
272
|
+
* writing, or after it — rejects with `ADT_SESSION_ERROR.NOT_CONNECTED`; the
|
|
273
|
+
* first call is unaffected. A goodbye a failed `connect()` dispatched — to
|
|
274
|
+
* the HTTP security session a connect failing after authentication leaves
|
|
275
|
+
* alive — is written before that
|
|
276
|
+
* `connect()` rejects, so a caller's `disconnect()` in its `finally` is the
|
|
277
|
+
* first of that life and has nothing of it to wait for.
|
|
240
278
|
*
|
|
241
279
|
* **Requests already in flight are not waited for, and the logoff ends the
|
|
242
280
|
* session they are running on** — so they will start failing against a
|
|
@@ -245,29 +283,46 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
|
|
|
245
283
|
* dropped the cookie. Generation fencing (see `SessionLifecycle.isCurrent`)
|
|
246
284
|
* keeps their results from reaching this connection either way.
|
|
247
285
|
*
|
|
248
|
-
* **
|
|
249
|
-
* does not act on the answer — whether and when the session is
|
|
250
|
-
* server's affair
|
|
251
|
-
*
|
|
252
|
-
*
|
|
286
|
+
* **The answer is not waited for.** This TELLS the server the session is
|
|
287
|
+
* finished and does not act on the answer — whether and when the session is
|
|
288
|
+
* freed is the server's affair, and with a request still running in it SAP
|
|
289
|
+
* answers the logoff only once that request is done. Waiting for a reply
|
|
290
|
+
* nobody reads would make a teardown as long as the longest request; the
|
|
291
|
+
* write is what a caller needs, and `flushGoodbye()` is the wait for the
|
|
292
|
+
* answer.
|
|
253
293
|
*/
|
|
254
294
|
disconnect(): Promise<void>;
|
|
255
295
|
/**
|
|
256
|
-
* Wait for the last dispatched goodbye
|
|
296
|
+
* Wait for SAP's answer to the last dispatched goodbye.
|
|
257
297
|
*
|
|
258
298
|
* For the caller who ends a session and immediately opens another. Without
|
|
259
299
|
* it the two overlap and the server keeps both; with it the previous session
|
|
260
300
|
* is gone — or known not to be going — before the next one is asked for.
|
|
261
301
|
*
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
* "the goodbye has not
|
|
266
|
-
*
|
|
302
|
+
* **The bound is the caller's, and optional.** Without `timeoutMs` this waits
|
|
303
|
+
* for the answer as long as it takes, and creates no timer: a timeout of the
|
|
304
|
+
* library's own choosing is not one. With it, this waits at most that long
|
|
305
|
+
* and then returns rather than throwing — "the goodbye has not answered yet"
|
|
306
|
+
* is not a failure of the caller's next step. SAP answers a logoff queued
|
|
307
|
+
* behind a running request only once that request is done (~96 s in one
|
|
308
|
+
* measurement, never in another), so a caller that cannot wait that long
|
|
309
|
+
* passes a budget.
|
|
267
310
|
*
|
|
268
|
-
* Safe to call at any time:
|
|
311
|
+
* Never rejects: a failed goodbye is absorbed. Safe to call at any time:
|
|
312
|
+
* with nothing dispatched it returns immediately.
|
|
269
313
|
*/
|
|
270
314
|
flushGoodbye(timeoutMs?: number): Promise<void>;
|
|
315
|
+
/**
|
|
316
|
+
* The one terminal teardown of this instance's session: `disconnect()`, and
|
|
317
|
+
* a failed `connect()` that had received a session.
|
|
318
|
+
*
|
|
319
|
+
* Dispatches the logoff — the wire snapshots its cookies synchronously,
|
|
320
|
+
* without `sap-contextid`, and sends it only when it holds a live
|
|
321
|
+
* `SAP_SESSIONID` — marks the instance spent, and keeps the logoff's write
|
|
322
|
+
* and answer, merged with any earlier one of this instance, for
|
|
323
|
+
* `disconnect()` and `flushGoodbye()`. The caller clears the cookies after.
|
|
324
|
+
*/
|
|
325
|
+
private endSession;
|
|
271
326
|
/**
|
|
272
327
|
* Say goodbye to the session `context` describes, without waiting for it.
|
|
273
328
|
*
|
|
@@ -483,16 +538,16 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
|
|
|
483
538
|
*/
|
|
484
539
|
private authorizedFrom;
|
|
485
540
|
/**
|
|
486
|
-
* The wire's own recovery from a failed attempt: the
|
|
487
|
-
*
|
|
488
|
-
*
|
|
541
|
+
* The wire's own recovery from a failed attempt: the one fault it can cure
|
|
542
|
+
* in the same session — a CSRF token SAP refused (a 403 "CSRF token
|
|
543
|
+
* validation failed", or a 401 to a mutation holding no token yet) — and
|
|
544
|
+
* the verdicts it must not hide.
|
|
489
545
|
*
|
|
490
|
-
* Runs before anything asks the credential
|
|
491
|
-
*
|
|
492
|
-
*
|
|
493
|
-
*
|
|
494
|
-
*
|
|
495
|
-
* here, because curing it discards the session and the lock with it.
|
|
546
|
+
* Runs before anything asks the credential: a stale CSRF token under Basic
|
|
547
|
+
* must not become "the user or password was refused". What it cannot cure
|
|
548
|
+
* it throws, and a credential failure among that — any other 401, a GET's
|
|
549
|
+
* included — goes on to the provider. Nothing here resends a 401 as it is,
|
|
550
|
+
* and nothing discards the session to retry in another.
|
|
496
551
|
*
|
|
497
552
|
* `requestHeaders` are the request's own, without the credential's: what
|
|
498
553
|
* the recovery adds — a new token, the jar's cookies — goes there, and each
|
|
@@ -581,12 +636,7 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
|
|
|
581
636
|
* wire's own ingest of it, and never stops the request being sent.
|
|
582
637
|
* Omitted during connect(), which has no lease.
|
|
583
638
|
*/
|
|
584
|
-
fence?: number | Pick<RequestLease, 'generation'
|
|
585
|
-
/**
|
|
586
|
-
* The request's signal: the exchange's own attempts stop once it aborts.
|
|
587
|
-
* Omitted during connect(), whose exchange is nobody's single request.
|
|
588
|
-
*/
|
|
589
|
-
signal?: AbortSignal): Promise<string>;
|
|
639
|
+
fence?: number | Pick<RequestLease, 'generation'>): Promise<string>;
|
|
590
640
|
protected getCsrfToken(): string | null;
|
|
591
641
|
/**
|
|
592
642
|
* Set CSRF token (protected for use by subclasses)
|
|
@@ -633,8 +683,8 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
|
|
|
633
683
|
private leasedContext;
|
|
634
684
|
/**
|
|
635
685
|
* What stops a token exchange at once, past its retries: a session verdict,
|
|
636
|
-
* the provider's refusal to authorize it — asking again would only ask
|
|
637
|
-
* the provider again
|
|
686
|
+
* or the provider's refusal to authorize it — asking again would only ask
|
|
687
|
+
* the provider again.
|
|
638
688
|
*/
|
|
639
689
|
protected endsTheExchange(error: unknown): boolean;
|
|
640
690
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractAbapConnection.d.ts","sourceRoot":"","sources":["../../src/connection/AbstractAbapConnection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACb,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EACL,KAAK,YAAY,EACjB,gBAAgB,EAEjB,MAAM,gCAAgC,CAAC;AAGxC,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAEL,KAAK,aAAa,EAInB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAGnB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"AbstractAbapConnection.d.ts","sourceRoot":"","sources":["../../src/connection/AbstractAbapConnection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACb,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EACL,KAAK,YAAY,EACjB,gBAAgB,EAEjB,MAAM,gCAAgC,CAAC;AAGxC,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAEL,KAAK,aAAa,EAInB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAGnB,MAAM,oBAAoB,CAAC;AAwD5B,uBAAe,sBACb,YACE,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,iBAAiB;IA+HjB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,SAAS,EAAE,aAAa;IACjC,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI;IA1I3C;;;;OAIG;IACH,SAAS,CAAC,QAAQ,CAAC,SAAS,mBAA0B;IAEtD,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,SAAS,CAAuB;IACxC,OAAO,CAAC,WAAW,CAAyC;IAE5D;;;;;;;;;;;;;;OAcG;IACH,OA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