@memberjunction/schema-engine 6.1.0-edge.2 → 6.1.0-edge.4
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/LICENSE +180 -4
- package/dist/DDLGenerator.d.ts +1 -1
- package/dist/DDLGenerator.d.ts.map +1 -1
- package/dist/DDLGenerator.js +1 -1
- package/dist/DDLGenerator.js.map +1 -1
- package/dist/RuntimeSchemaManager.d.ts +195 -7
- package/dist/RuntimeSchemaManager.d.ts.map +1 -1
- package/dist/RuntimeSchemaManager.js +276 -49
- package/dist/RuntimeSchemaManager.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/utils.d.ts +3 -3
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +3 -5
- package/dist/utils.js.map +1 -1
- package/package.json +7 -6
package/LICENSE
CHANGED
|
@@ -1,7 +1,183 @@
|
|
|
1
|
-
|
|
1
|
+
Business Source License 1.1
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
License text copyright (c) 2024 MariaDB plc, All Rights Reserved.
|
|
4
|
+
"Business Source License" is a trademark of MariaDB plc.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
-----------------------------------------------------------------------------
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
Parameters
|
|
9
|
+
|
|
10
|
+
Licensor: Blue Cypress, Inc.
|
|
11
|
+
|
|
12
|
+
Licensed Work: MemberJunction.
|
|
13
|
+
The Licensed Work is (c) 2023-2026 Blue Cypress, Inc.
|
|
14
|
+
|
|
15
|
+
Additional Use Grant: Subject to the terms of this License, Licensor grants
|
|
16
|
+
you the following additional rights to make Production
|
|
17
|
+
Use of the Licensed Work.
|
|
18
|
+
|
|
19
|
+
1. Internal Use
|
|
20
|
+
|
|
21
|
+
You may make production use of the Licensed Work for
|
|
22
|
+
your own internal business or organizational operations.
|
|
23
|
+
|
|
24
|
+
2. Nonprofit Use
|
|
25
|
+
|
|
26
|
+
If you are a Nonprofit, you may make production use of
|
|
27
|
+
the Licensed Work for the operations and activities of
|
|
28
|
+
your Organizational Family.
|
|
29
|
+
|
|
30
|
+
3. MemberJunction Certified Program Use
|
|
31
|
+
|
|
32
|
+
If you are authorized by Licensor under the
|
|
33
|
+
MemberJunction Certified Program to provide professional
|
|
34
|
+
services using the Licensed Work, you may make
|
|
35
|
+
production use of the Licensed Work in providing such
|
|
36
|
+
professional services to a client, provided that:
|
|
37
|
+
|
|
38
|
+
(a) the Licensed Work is deployed in, and the applicable
|
|
39
|
+
production use occurs within, an environment owned,
|
|
40
|
+
leased, licensed, subscribed to, or otherwise controlled
|
|
41
|
+
by that client; and
|
|
42
|
+
|
|
43
|
+
(b) the production use is for that client's own internal
|
|
44
|
+
business or organizational operations or is otherwise
|
|
45
|
+
independently permitted to that client under this
|
|
46
|
+
Additional Use Grant.
|
|
47
|
+
|
|
48
|
+
4. Definitions Applicable to the Additional Use Grant
|
|
49
|
+
|
|
50
|
+
"Affiliate" means, with respect to a specified Person,
|
|
51
|
+
any other Person that directly or indirectly Controls,
|
|
52
|
+
is Controlled by, or is under common Control with such
|
|
53
|
+
specified Person.
|
|
54
|
+
|
|
55
|
+
"Control" (including the terms "Controls," "Controlled
|
|
56
|
+
by," and "under common Control with") means the direct
|
|
57
|
+
or indirect possession of the power to direct or cause
|
|
58
|
+
the direction of the management and policies of a
|
|
59
|
+
Person, whether through ownership of voting interests,
|
|
60
|
+
by contract, or otherwise.
|
|
61
|
+
|
|
62
|
+
"Organizational Family" means, with respect to a Person,
|
|
63
|
+
(a) such Person and its Affiliates, and (b) any
|
|
64
|
+
nonprofit organization, governmental entity, chapter,
|
|
65
|
+
division, local affiliate, regional affiliate, state
|
|
66
|
+
affiliate, national affiliate, or other entity that is
|
|
67
|
+
formally affiliated with such Person through governing
|
|
68
|
+
documents, a charter, bylaws, a membership agreement, or
|
|
69
|
+
another written organizational instrument, and is
|
|
70
|
+
recognized under such documents as part of the same
|
|
71
|
+
organizational structure.
|
|
72
|
+
|
|
73
|
+
"Nonprofit" means a Person recognized by the Internal
|
|
74
|
+
Revenue Service as exempt from federal income taxation
|
|
75
|
+
under Section 501(c)(3), 501(c)(4), 501(c)(5), or
|
|
76
|
+
501(c)(6) of the Internal Revenue Code, or a foreign
|
|
77
|
+
organization recognized under substantially equivalent
|
|
78
|
+
laws.
|
|
79
|
+
|
|
80
|
+
A Person claiming eligibility as a Nonprofit shall, upon
|
|
81
|
+
Licensor's reasonable request, provide documentation
|
|
82
|
+
reasonably sufficient to demonstrate that it qualifies
|
|
83
|
+
as a Nonprofit. If such Person materially misrepresents,
|
|
84
|
+
or is unable to demonstrate, its qualification as a
|
|
85
|
+
Nonprofit, the rights granted to such Person under
|
|
86
|
+
Section 2 of this Additional Use Grant shall terminate.
|
|
87
|
+
|
|
88
|
+
"MemberJunction Certified Program" means Licensor's
|
|
89
|
+
then-current program for certifying and authorizing a
|
|
90
|
+
Person to provide professional services using the
|
|
91
|
+
Licensed Work.
|
|
92
|
+
|
|
93
|
+
"Person" means any individual, corporation, limited
|
|
94
|
+
liability company, partnership, association, nonprofit
|
|
95
|
+
organization, governmental entity, or other legal or
|
|
96
|
+
organizational entity.
|
|
97
|
+
|
|
98
|
+
Change Date: Four (4) years from the date the Licensed Work is first
|
|
99
|
+
made available.
|
|
100
|
+
|
|
101
|
+
Change License: MIT License.
|
|
102
|
+
|
|
103
|
+
For information about alternative licensing arrangements for the Licensed
|
|
104
|
+
Work, please contact Blue Cypress, Inc.
|
|
105
|
+
|
|
106
|
+
-----------------------------------------------------------------------------
|
|
107
|
+
|
|
108
|
+
Terms
|
|
109
|
+
|
|
110
|
+
The Licensor hereby grants you the right to copy, modify, create derivative
|
|
111
|
+
works, redistribute, and make non-production use of the Licensed Work. The
|
|
112
|
+
Licensor may make an Additional Use Grant, above, permitting limited
|
|
113
|
+
production use.
|
|
114
|
+
|
|
115
|
+
Effective on the Change Date, or the fourth anniversary of the first publicly
|
|
116
|
+
available distribution of a specific version of the Licensed Work under this
|
|
117
|
+
License, whichever comes first, the Licensor hereby grants you rights under
|
|
118
|
+
the terms of the Change License, and the rights granted in the paragraph
|
|
119
|
+
above terminate.
|
|
120
|
+
|
|
121
|
+
If your use of the Licensed Work does not comply with the requirements
|
|
122
|
+
currently in effect as described in this License, you must purchase a
|
|
123
|
+
commercial license from the Licensor, its affiliated entities, or authorized
|
|
124
|
+
resellers, or you must refrain from using the Licensed Work.
|
|
125
|
+
|
|
126
|
+
All copies of the original and modified Licensed Work, and derivative works
|
|
127
|
+
of the Licensed Work, are subject to this License. This License applies
|
|
128
|
+
separately for each version of the Licensed Work and the Change Date may vary
|
|
129
|
+
for each version of the Licensed Work released by Licensor.
|
|
130
|
+
|
|
131
|
+
You must conspicuously display this License on each original or modified copy
|
|
132
|
+
of the Licensed Work. If you receive the Licensed Work in original or
|
|
133
|
+
modified form from a third party, the terms and conditions set forth in this
|
|
134
|
+
License apply to your use of that work.
|
|
135
|
+
|
|
136
|
+
Any use of the Licensed Work in violation of this License will automatically
|
|
137
|
+
terminate your rights under this License for the current and all other
|
|
138
|
+
versions of the Licensed Work.
|
|
139
|
+
|
|
140
|
+
This License does not grant you any right in any trademark or logo of
|
|
141
|
+
Licensor or its affiliates (provided that you may use a trademark or logo of
|
|
142
|
+
Licensor as expressly required by this License).
|
|
143
|
+
|
|
144
|
+
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
|
|
145
|
+
AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
|
|
146
|
+
EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
|
|
147
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
|
|
148
|
+
TITLE.
|
|
149
|
+
|
|
150
|
+
MariaDB hereby grants you permission to use this License's text to license
|
|
151
|
+
your works, and to refer to it using the trademark "Business Source License",
|
|
152
|
+
as long as you comply with the Covenants of Licensor below.
|
|
153
|
+
|
|
154
|
+
-----------------------------------------------------------------------------
|
|
155
|
+
|
|
156
|
+
Covenants of Licensor
|
|
157
|
+
|
|
158
|
+
In consideration of the right to use this License's text and the "Business
|
|
159
|
+
Source License" name and trademark, Licensor covenants to MariaDB, and to all
|
|
160
|
+
other recipients of the licensed work to be provided by Licensor:
|
|
161
|
+
|
|
162
|
+
1. To specify as the Change License the GPL Version 2.0 or any later version,
|
|
163
|
+
or a license that is compatible with GPL Version 2.0 or a later version,
|
|
164
|
+
where "compatible" means that software provided under the Change License
|
|
165
|
+
can be included in a program with software provided under GPL Version 2.0
|
|
166
|
+
or a later version. Licensor may specify additional Change Licenses without
|
|
167
|
+
limitation.
|
|
168
|
+
|
|
169
|
+
2. To either: (a) specify an additional grant of rights to use that does not
|
|
170
|
+
impose any additional restriction on the right granted in this License, as
|
|
171
|
+
the Additional Use Grant; or (b) insert the text "None".
|
|
172
|
+
|
|
173
|
+
3. To specify a Change Date.
|
|
174
|
+
|
|
175
|
+
4. Not to modify this License in any other way.
|
|
176
|
+
|
|
177
|
+
-----------------------------------------------------------------------------
|
|
178
|
+
|
|
179
|
+
Notice
|
|
180
|
+
|
|
181
|
+
The Business Source License (this document, or the "License") is not an Open
|
|
182
|
+
Source license. However, the Licensed Work will eventually be made available
|
|
183
|
+
under an Open Source License, as stated in this License.
|
package/dist/DDLGenerator.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export declare class DDLGenerator {
|
|
|
53
53
|
private renderColumnLine;
|
|
54
54
|
private renderColumnBody;
|
|
55
55
|
}
|
|
56
|
-
export { ValidateIdentifier
|
|
56
|
+
export { ValidateIdentifier } from './utils.js';
|
|
57
57
|
/** Resolve the SQL type for a column via SQLDialect. */
|
|
58
58
|
export declare function resolveSqlType(col: ColumnDefinition, platform: DatabasePlatform): string;
|
|
59
59
|
//# sourceMappingURL=DDLGenerator.d.ts.map
|
|
@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CAOxF"}
|
package/dist/DDLGenerator.js
CHANGED
|
@@ -173,7 +173,7 @@ export class DDLGenerator {
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
// ─── Re-exports (backward compatibility) ────────────────────────────
|
|
176
|
-
export { ValidateIdentifier
|
|
176
|
+
export { ValidateIdentifier } from './utils.js';
|
|
177
177
|
/** Resolve the SQL type for a column via SQLDialect. */
|
|
178
178
|
export function resolveSqlType(col, platform) {
|
|
179
179
|
return col.RawSqlType ?? GetDialect(platform).ResolveAbstractType({
|
package/dist/DDLGenerator.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DDLGenerator.js","sourceRoot":"","sources":["../src/DDLGenerator.ts"],"names":[],"mappings":"AASA,OAAO,EAAc,UAAU,IAAI,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC9F,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAC,QAAmC;IAC5D,OAAO,qBAAqB,CAAC,QAAQ,CAAC,CAAC;AACzC,CAAC;AAED,uEAAuE;AAEvE;;;GAGG;AACH,MAAM,OAAO,YAAY;IACvB;;OAEG;IACH,oBAAoB,CAAC,UAAkB,EAAE,QAA0B;QACjE,kBAAkB,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;QACzC,OAAO,UAAU,CAAC,QAAQ,CAAC,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;IAC1D,CAAC;IAED;;;;;;;;OAQG;IACH,mBAAmB,CAAC,GAAoB,EAAE,QAA0B,EAAE,OAAmC;QACvG,kBAAkB,CAAC,GAAG,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;QAC7C,kBAAkB,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QAE3C,MAAM,CAAC,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;QAC/B,MAAM,CAAC,GAAG,CAAC,CAAC,eA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,IAAI,IAAI,CAAC,gBAAgB,CAAC,GAAG,EAAE,OAAO,CAAC,EAAE,CAAC;IAC3F,CAAC;IAEO,gBAAgB,CAAC,GAAqB,EAAE,OAAmB;QACjE,MAAM,OAAO,GAAG,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,mBAAmB,CAAC;YAC5D,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,SAAS,EAAE,GAAG,CAAC,SAAS;YACxB,SAAS,EAAE,GAAG,CAAC,SAAS;YACxB,KAAK,EAAE,GAAG,CAAC,KAAK;SACjB,CAAC,CAAC;QACH,MAAM,QAAQ,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC;QACtD,MAAM,WAAW,GAAG,GAAG,CAAC,YAAY,IAAI,IAAI,CAAC,CAAC,CAAC,YAAY,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACnF,OAAO,GAAG,OAAO,IAAI,QAAQ,GAAG,WAAW,EAAE,CAAC;IAChD,CAAC;CACF;AAED,uEAAuE;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,wDAAwD;AACxD,MAAM,UAAU,cAAc,CAAC,GAAqB,EAAE,QAA0B;IAC9E,OAAO,GAAG,CAAC,UAAU,IAAI,UAAU,CAAC,QAAQ,CAAC,CAAC,mBAAmB,CAAC;QAChE,IAAI,EAAE,GAAG,CAAC,IAAI;QACd,SAAS,EAAE,GAAG,CAAC,SAAS;QACxB,SAAS,EAAE,GAAG,CAAC,SAAS;QACxB,KAAK,EAAE,GAAG,CAAC,KAAK;KACjB,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* In-memory concurrency mutex (one operation at a time).
|
|
10
10
|
*/
|
|
11
11
|
import { BaseSingleton } from '@memberjunction/global';
|
|
12
|
-
import { type DatabaseProviderBase } from '@memberjunction/core';
|
|
12
|
+
import { type DatabaseProviderBase, type IMetadataProvider, type UserInfo } from '@memberjunction/core';
|
|
13
13
|
/**
|
|
14
14
|
* Input to the RSU pipeline.
|
|
15
15
|
*/
|
|
@@ -49,6 +49,18 @@ export interface RSUPipelineInput {
|
|
|
49
49
|
Path: string;
|
|
50
50
|
Content: string;
|
|
51
51
|
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Post-restart work to register durably in the database (`MJ: RSU Pending Works`).
|
|
54
|
+
* Rows are inserted ONLY for migrations that succeeded, before the restart, and are
|
|
55
|
+
* marked Completed only after the post-restart consumer finishes them successfully —
|
|
56
|
+
* so a crash mid-consumption leaves the row visible and re-processable rather than
|
|
57
|
+
* silently lost (which is what the old delete-on-read `.rsu_pending` files did).
|
|
58
|
+
*/
|
|
59
|
+
PendingWork?: RSUPendingWork[];
|
|
60
|
+
/**
|
|
61
|
+
* User context used for the durable PendingWork writes. Required when PendingWork is set.
|
|
62
|
+
*/
|
|
63
|
+
ContextUser?: UserInfo;
|
|
52
64
|
}
|
|
53
65
|
/**
|
|
54
66
|
* Result of a single pipeline step.
|
|
@@ -67,6 +79,59 @@ export interface RSUPipelineStep {
|
|
|
67
79
|
/** U11 — expected total steps for this pipeline run (see {@link StepIndex}). */
|
|
68
80
|
StepTotal?: number;
|
|
69
81
|
}
|
|
82
|
+
/**
|
|
83
|
+
* A lifecycle notification from the RSU pipeline, delivered to an out-of-band
|
|
84
|
+
* {@link RSUPipelineObserver}.
|
|
85
|
+
*
|
|
86
|
+
* Why an observer instead of emitting progress directly: an RSU run's steps (CodeGen, compile,
|
|
87
|
+
* restart) take minutes, and until now the only live signal was `GetStatus()` polling — a caller had
|
|
88
|
+
* no durable record of what a run did, and a restart mid-run left nothing to read. The durable
|
|
89
|
+
* artifact stream that solves that lives in `@memberjunction/integration-progress-artifacts`, which
|
|
90
|
+
* is a LAYER ABOVE this package. So SchemaEngine publishes plain lifecycle events and lets the
|
|
91
|
+
* server wire them to the emitter, keeping the dependency direction intact.
|
|
92
|
+
*/
|
|
93
|
+
export type RSUObserverEvent = {
|
|
94
|
+
Kind: 'run.start';
|
|
95
|
+
/** Number of migrations in this batch. */
|
|
96
|
+
ItemCount: number;
|
|
97
|
+
/** One description per input, in input order. */
|
|
98
|
+
Descriptions: string[];
|
|
99
|
+
/** Union of every input's AffectedTables, de-duplicated. */
|
|
100
|
+
AffectedTables: string[];
|
|
101
|
+
/** Expected total steps for the run — the denominator of a determinate progress bar. */
|
|
102
|
+
StepTotal: number;
|
|
103
|
+
} | {
|
|
104
|
+
Kind: 'step.start';
|
|
105
|
+
Name: string;
|
|
106
|
+
StepIndex?: number;
|
|
107
|
+
StepTotal?: number;
|
|
108
|
+
} | {
|
|
109
|
+
Kind: 'step.end';
|
|
110
|
+
Name: string;
|
|
111
|
+
Status: RSUPipelineStep['Status'];
|
|
112
|
+
DurationMs: number;
|
|
113
|
+
Message: string;
|
|
114
|
+
StepIndex?: number;
|
|
115
|
+
StepTotal?: number;
|
|
116
|
+
} | {
|
|
117
|
+
Kind: 'run.end';
|
|
118
|
+
Success: boolean;
|
|
119
|
+
SuccessCount: number;
|
|
120
|
+
FailureCount: number;
|
|
121
|
+
TotalCount: number;
|
|
122
|
+
/** Present when the run failed — the first failing step's message. */
|
|
123
|
+
ErrorMessage?: string;
|
|
124
|
+
/** Present when the run failed — the name of the step that failed. */
|
|
125
|
+
ErrorStep?: string;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Receives {@link RSUObserverEvent}s for every RSU pipeline run in this process.
|
|
129
|
+
*
|
|
130
|
+
* Synchronous and fire-and-forget by contract: the pipeline never awaits an observer and never
|
|
131
|
+
* fails because one threw. A throw is logged and swallowed — progress reporting must not be able
|
|
132
|
+
* to break a schema migration.
|
|
133
|
+
*/
|
|
134
|
+
export type RSUPipelineObserver = (event: RSUObserverEvent) => void;
|
|
70
135
|
/**
|
|
71
136
|
* Result of a full RSU pipeline run.
|
|
72
137
|
*/
|
|
@@ -80,6 +145,12 @@ export interface RSUPipelineResult {
|
|
|
80
145
|
Steps: RSUPipelineStep[];
|
|
81
146
|
ErrorMessage?: string;
|
|
82
147
|
ErrorStep?: string;
|
|
148
|
+
/**
|
|
149
|
+
* IDs of the `MJ: RSU Pending Works` rows registered for this input (one per
|
|
150
|
+
* RSUPipelineInput.PendingWork entry). Callers that consume the work inline
|
|
151
|
+
* (SkipRestart) must mark these Completed via {@link RuntimeSchemaManager.CompletePendingWork}.
|
|
152
|
+
*/
|
|
153
|
+
PendingWorkIDs?: string[];
|
|
83
154
|
}
|
|
84
155
|
/**
|
|
85
156
|
* Batch result wrapping per-item results with summary counts.
|
|
@@ -95,10 +166,52 @@ export interface RSUPipelineBatchResult {
|
|
|
95
166
|
TotalCount: number;
|
|
96
167
|
}
|
|
97
168
|
/**
|
|
98
|
-
*
|
|
99
|
-
*
|
|
169
|
+
* The payload contract for durable post-restart work. Serialized into
|
|
170
|
+
* `MJ: RSU Pending Works`.PayloadJSON by {@link RuntimeSchemaManager.WritePendingWork}
|
|
171
|
+
* and read back by the post-restart consumer via {@link RuntimeSchemaManager.ReadPendingWork}.
|
|
100
172
|
*/
|
|
101
173
|
export interface RSUPendingWork {
|
|
174
|
+
/**
|
|
175
|
+
* What the post-restart consumer should do with this row.
|
|
176
|
+
*
|
|
177
|
+
* Absent means `'apply-objects'` — every row written before this field existed is that, and
|
|
178
|
+
* the consumer must keep treating it that way.
|
|
179
|
+
*
|
|
180
|
+
* `'promote-columns'` carries {@link RSUPendingWork.PromotedColumns} instead of relying on a
|
|
181
|
+
* fresh introspection: promotion has already decided which source keys become which columns,
|
|
182
|
+
* including any collision suffix, and re-deriving those names after the restart could produce
|
|
183
|
+
* different ones.
|
|
184
|
+
*/
|
|
185
|
+
WorkType?: 'apply-objects' | 'promote-columns';
|
|
186
|
+
/**
|
|
187
|
+
* `promote-columns` only: what to finish once the restart has loaded the regenerated entity
|
|
188
|
+
* classes — the IntegrationObjectField rows, the field maps, and the overflow→column spread.
|
|
189
|
+
*
|
|
190
|
+
* The destination names are carried rather than recomputed because `uniqueColumnName` may have
|
|
191
|
+
* suffixed one (`_2`) to avoid a collision; deriving it again post-restart would not know that.
|
|
192
|
+
*/
|
|
193
|
+
PromotedColumns?: Array<{
|
|
194
|
+
/** MJ entity the columns were added to. */
|
|
195
|
+
EntityName: string;
|
|
196
|
+
/** The connection's entity map — field maps hang off this. */
|
|
197
|
+
EntityMapID: string;
|
|
198
|
+
/** The connector's name for the object, for resolving its IntegrationObject. */
|
|
199
|
+
ExternalObjectName: string;
|
|
200
|
+
/** Owning integration, for the same resolution. */
|
|
201
|
+
IntegrationID: string;
|
|
202
|
+
Columns: Array<{
|
|
203
|
+
/** Key as it appears in the overflow JSON. */
|
|
204
|
+
SourceKey: string;
|
|
205
|
+
/** Column actually created — possibly collision-suffixed. */
|
|
206
|
+
ColumnName: string;
|
|
207
|
+
/** Inferred schema type, for the IntegrationObjectField row. */
|
|
208
|
+
SchemaFieldType: string;
|
|
209
|
+
/** Inferred length; null for an unbounded type. */
|
|
210
|
+
MaxLength: number | null;
|
|
211
|
+
/** Share of sampled records carrying the key, recorded on the IntegrationObjectField row. */
|
|
212
|
+
Coverage: number;
|
|
213
|
+
}>;
|
|
214
|
+
}>;
|
|
102
215
|
CompanyIntegrationID: string;
|
|
103
216
|
SourceObjectNames: string[];
|
|
104
217
|
/** Per-object field selections. Key = source object name, value = field names (null = all fields). */
|
|
@@ -230,10 +343,57 @@ export declare class RuntimeSchemaManager extends BaseSingleton<RuntimeSchemaMan
|
|
|
230
343
|
* back to the env/default only when nothing was injected.
|
|
231
344
|
*/
|
|
232
345
|
private get additionalSchemaInfoPath();
|
|
233
|
-
/**
|
|
234
|
-
|
|
235
|
-
|
|
346
|
+
/**
|
|
347
|
+
* Register pending work durably in `MJ: RSU Pending Works` so it survives the
|
|
348
|
+
* post-migration restart. Returns the new row's ID.
|
|
349
|
+
*
|
|
350
|
+
* Unlike the `.rsu_pending` files this replaces, the row is NOT consumed on read —
|
|
351
|
+
* it stays Pending until the consumer explicitly calls {@link CompletePendingWork}
|
|
352
|
+
* or {@link FailPendingWork}, so a crash mid-consumption leaves visible, resumable work.
|
|
353
|
+
*/
|
|
354
|
+
WritePendingWork(data: RSUPendingWork, contextUser?: UserInfo, provider?: IMetadataProvider): Promise<string>;
|
|
355
|
+
/**
|
|
356
|
+
* Read every still-Pending work row. Never deletes or mutates — the caller marks each
|
|
357
|
+
* row Completed/Failed once it has actually finished processing it. Rows whose payload
|
|
358
|
+
* fails to parse are reported as Failed so they stop being retried forever.
|
|
359
|
+
*
|
|
360
|
+
* @param staleAfterMinutes when set, rows created more than this many minutes ago are
|
|
361
|
+
* logged as stale so an operator can see work that a previous process abandoned.
|
|
362
|
+
*/
|
|
363
|
+
ReadPendingWork(contextUser: UserInfo, staleAfterMinutes?: number, provider?: IMetadataProvider): Promise<Array<{
|
|
364
|
+
ID: string;
|
|
365
|
+
Work: RSUPendingWork;
|
|
366
|
+
CreatedAt: Date;
|
|
367
|
+
}>>;
|
|
368
|
+
/**
|
|
369
|
+
* @deprecated Use {@link ReadPendingWork} instead, and mark each item terminal with
|
|
370
|
+
* {@link CompletePendingWork} / {@link FailPendingWork} once you have processed it.
|
|
371
|
+
*
|
|
372
|
+
* Retained with its original signature so consumers taking this minor upgrade still
|
|
373
|
+
* compile. It is NO LONGER FUNCTIONAL: pending work lives in `MJ: RSU Pending Works`
|
|
374
|
+
* rather than in `.rsu_pending` files, and reading it requires a context user this
|
|
375
|
+
* signature has no way to supply. Returns an empty array — the value that previously
|
|
376
|
+
* meant "no pending work" — rather than pretending to have drained a queue.
|
|
377
|
+
*/
|
|
236
378
|
ReadAndClearPendingWork(): Promise<RSUPendingWork[]>;
|
|
379
|
+
/** Names of deprecated members already warned about, so a hot path logs once, not per call. */
|
|
380
|
+
private readonly warnedDeprecations;
|
|
381
|
+
private warnDeprecatedOnce;
|
|
382
|
+
/** Mark a pending work row Completed. Call ONLY after the work actually succeeded. */
|
|
383
|
+
CompletePendingWork(id: string, contextUser: UserInfo, provider?: IMetadataProvider): Promise<boolean>;
|
|
384
|
+
/** Mark a pending work row Failed, recording why. */
|
|
385
|
+
FailPendingWork(id: string, errorMessage: string, contextUser: UserInfo, provider?: IMetadataProvider): Promise<boolean>;
|
|
386
|
+
private setPendingWorkTerminalStatus;
|
|
387
|
+
/**
|
|
388
|
+
* Register every input's PendingWork rows. Called for successful migrations only,
|
|
389
|
+
* before the restart. Returns row IDs keyed by the input's index within `inputs`.
|
|
390
|
+
*
|
|
391
|
+
* Registration failures are collected, NOT swallowed. This step is the durability
|
|
392
|
+
* boundary: once the restart fires, work that never became a row is gone, and the
|
|
393
|
+
* post-restart consumer has nothing to find. A run whose rows failed to register
|
|
394
|
+
* therefore reports the failure on its result instead of appearing to have succeeded.
|
|
395
|
+
*/
|
|
396
|
+
private registerPendingWork;
|
|
237
397
|
/**
|
|
238
398
|
* Write PostRestartFiles from all pipeline inputs to disk.
|
|
239
399
|
* RSU does not interpret these — callers provide arbitrary files
|
|
@@ -269,6 +429,35 @@ export declare class RuntimeSchemaManager extends BaseSingleton<RuntimeSchemaMan
|
|
|
269
429
|
private beginStepTracking;
|
|
270
430
|
/** Clears the U11 step counter when the run finishes (status returns to idle). */
|
|
271
431
|
private endStepTracking;
|
|
432
|
+
/**
|
|
433
|
+
* Optional observer notified of every step and run boundary. Set once at process startup (see
|
|
434
|
+
* the RSU progress bridge in MJServer) — a single observer is sufficient because RSU runs are
|
|
435
|
+
* serialized by the pipeline lock, so events can never interleave between runs.
|
|
436
|
+
*
|
|
437
|
+
* Never awaited, never allowed to fail the pipeline. See {@link RSUPipelineObserver}.
|
|
438
|
+
*/
|
|
439
|
+
PipelineObserver: RSUPipelineObserver | null;
|
|
440
|
+
/** Delivers an event to {@link PipelineObserver}, swallowing (but logging) any throw. */
|
|
441
|
+
private notifyObserver;
|
|
442
|
+
/**
|
|
443
|
+
* Records a completed step onto `steps` AND publishes it to the observer, so a step is never
|
|
444
|
+
* visible in the result but absent from the event stream. Every step recording goes through
|
|
445
|
+
* here — including the ones computed inline rather than via {@link runStep}.
|
|
446
|
+
*/
|
|
447
|
+
private recordStep;
|
|
448
|
+
/**
|
|
449
|
+
* Maps a finished batch onto its terminal `run.end` event.
|
|
450
|
+
*
|
|
451
|
+
* `result` is undefined when a throw escaped the pipeline before a result existed — that case
|
|
452
|
+
* must still produce a FAILED run.end, otherwise an observer's run would hang in-flight forever.
|
|
453
|
+
*
|
|
454
|
+
* Public + static so the mapping is unit-testable without a live pipeline.
|
|
455
|
+
*/
|
|
456
|
+
static BuildRunEndEvent(result: RSUPipelineBatchResult | undefined, totalCount: number): Extract<RSUObserverEvent, {
|
|
457
|
+
Kind: 'run.end';
|
|
458
|
+
}>;
|
|
459
|
+
/** Publishes the terminal run boundary. `result` is undefined when a throw escaped the pipeline. */
|
|
460
|
+
private notifyRunEnd;
|
|
272
461
|
/**
|
|
273
462
|
* Execute the RSU pipeline for a single input. Convenience wrapper
|
|
274
463
|
* around RunPipelineBatch — a batch of 1.
|
|
@@ -351,7 +540,6 @@ export declare class RuntimeSchemaManager extends BaseSingleton<RuntimeSchemaMan
|
|
|
351
540
|
* Verify ALL filesystem paths RSU may write to are actually writable.
|
|
352
541
|
* Paths checked:
|
|
353
542
|
* - MigrationsPath (migration SQL files)
|
|
354
|
-
* - PendingWorkPath (post-restart task JSONs)
|
|
355
543
|
* - AdditionalSchemaInfoPath parent dir (soft FK / soft PK config)
|
|
356
544
|
* - CodeGenDir (temp codegen script)
|
|
357
545
|
* - WorkDir (pipeline log file)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RuntimeSchemaManager.d.ts","sourceRoot":"","sources":["../src/RuntimeSchemaManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,
|
|
1
|
+
{"version":3,"file":"RuntimeSchemaManager.d.ts","sourceRoot":"","sources":["../src/RuntimeSchemaManager.ts"],"names":[],"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