@finos/legend-graph 24.1.0 → 25.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/lib/graph/Core_HashUtils.d.ts +1 -1
- package/lib/graph/Core_HashUtils.d.ts.map +1 -1
- package/lib/graph/Core_HashUtils.js +1 -1
- package/lib/graph/Core_HashUtils.js.map +1 -1
- package/lib/graph/MetaModelConst.d.ts +0 -1
- package/lib/graph/MetaModelConst.d.ts.map +1 -1
- package/lib/graph/MetaModelConst.js +0 -1
- package/lib/graph/MetaModelConst.js.map +1 -1
- package/lib/graph/helpers/DomainHelper.d.ts.map +1 -1
- package/lib/graph/helpers/DomainHelper.js +6 -0
- package/lib/graph/helpers/DomainHelper.js.map +1 -1
- package/lib/graphManager/AbstractPureGraphManager.d.ts +1 -2
- package/lib/graphManager/AbstractPureGraphManager.d.ts.map +1 -1
- package/lib/graphManager/AbstractPureGraphManager.js.map +1 -1
- package/lib/graphManager/action/execution/ExecutionResult.d.ts +8 -2
- package/lib/graphManager/action/execution/ExecutionResult.d.ts.map +1 -1
- package/lib/graphManager/action/execution/ExecutionResult.js +9 -3
- package/lib/graphManager/action/execution/ExecutionResult.js.map +1 -1
- package/lib/graphManager/action/service/ServiceRegistrationResult.d.ts +8 -0
- package/lib/graphManager/action/service/ServiceRegistrationResult.d.ts.map +1 -1
- package/lib/graphManager/action/service/ServiceRegistrationResult.js +11 -0
- package/lib/graphManager/action/service/ServiceRegistrationResult.js.map +1 -1
- package/lib/graphManager/protocol/pure/PureProtocolProcessorPlugin.d.ts +1 -1
- package/lib/graphManager/protocol/pure/PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_PureGraphManager.d.ts +2 -3
- package/lib/graphManager/protocol/pure/v1/V1_PureGraphManager.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_PureGraphManager.js +8 -5
- package/lib/graphManager/protocol/pure/v1/V1_PureGraphManager.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/V1_EngineHelper.d.ts +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/V1_EngineHelper.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/V1_EngineHelper.js +2 -2
- package/lib/graphManager/protocol/pure/v1/engine/V1_EngineHelper.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/execution/V1_ExecutionHelper.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/execution/V1_ExecutionHelper.js +10 -9
- package/lib/graphManager/protocol/pure/v1/engine/execution/V1_ExecutionHelper.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/execution/V1_ExecutionResult.d.ts +9 -3
- package/lib/graphManager/protocol/pure/v1/engine/execution/V1_ExecutionResult.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/execution/V1_ExecutionResult.js +10 -4
- package/lib/graphManager/protocol/pure/v1/engine/execution/V1_ExecutionResult.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/V1_PackageableElement.d.ts +2 -2
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/V1_PackageableElement.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/V1_PackageableElement.js +1 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/V1_PackageableElement.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.d.ts +2 -2
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.js +5 -11
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_CoreSerializationHelper.js +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_CoreSerializationHelper.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ExecutionEnvironmentSerializationHelper.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ExecutionEnvironmentSerializationHelper.js +1 -2
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ExecutionEnvironmentSerializationHelper.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_RuntimeSerializationHelper.d.ts +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_RuntimeSerializationHelper.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_RuntimeSerializationHelper.js +14 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_RuntimeSerializationHelper.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ServiceSerializationHelper.d.ts +0 -3
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ServiceSerializationHelper.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ServiceSerializationHelper.js +3 -17
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ServiceSerializationHelper.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/executionPlan/V1_ExecutionPlanSerializationHelper.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/executionPlan/V1_ExecutionPlanSerializationHelper.js +7 -7
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/executionPlan/V1_ExecutionPlanSerializationHelper.js.map +1 -1
- package/lib/index.d.ts +1 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -2
- package/lib/index.js.map +1 -1
- package/lib/package.json +3 -3
- package/package.json +6 -6
- package/src/graph/Core_HashUtils.ts +5 -2
- package/src/graph/MetaModelConst.ts +0 -1
- package/src/graph/helpers/DomainHelper.ts +6 -0
- package/src/graphManager/AbstractPureGraphManager.ts +1 -2
- package/src/graphManager/action/execution/ExecutionResult.ts +11 -4
- package/src/graphManager/action/service/ServiceRegistrationResult.ts +15 -0
- package/src/graphManager/protocol/pure/PureProtocolProcessorPlugin.ts +1 -1
- package/src/graphManager/protocol/pure/v1/V1_PureGraphManager.ts +17 -10
- package/src/graphManager/protocol/pure/v1/engine/V1_EngineHelper.ts +5 -2
- package/src/graphManager/protocol/pure/v1/engine/execution/V1_ExecutionHelper.ts +17 -12
- package/src/graphManager/protocol/pure/v1/engine/execution/V1_ExecutionResult.ts +12 -4
- package/src/graphManager/protocol/pure/v1/model/packageableElements/V1_PackageableElement.ts +3 -3
- package/src/graphManager/protocol/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.ts +17 -21
- package/src/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_CoreSerializationHelper.ts +1 -1
- package/src/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ExecutionEnvironmentSerializationHelper.ts +4 -2
- package/src/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_RuntimeSerializationHelper.ts +19 -0
- package/src/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ServiceSerializationHelper.ts +3 -33
- package/src/graphManager/protocol/pure/v1/transformation/pureProtocol/serializationHelpers/executionPlan/V1_ExecutionPlanSerializationHelper.ts +9 -18
- package/src/index.ts +4 -5
- package/tsconfig.json +0 -1
- package/lib/graphManager/action/service/BulkServiceRegistrationResult.d.ts +0 -29
- package/lib/graphManager/action/service/BulkServiceRegistrationResult.d.ts.map +0 -1
- package/lib/graphManager/action/service/BulkServiceRegistrationResult.js +0 -37
- package/lib/graphManager/action/service/BulkServiceRegistrationResult.js.map +0 -1
- package/src/graphManager/action/service/BulkServiceRegistrationResult.ts +0 -41
|
@@ -109,9 +109,28 @@ export const V1_serializeRuntime = (
|
|
|
109
109
|
} else if (protocol instanceof V1_RuntimePointer) {
|
|
110
110
|
return serialize(V1_runtimePointerModelSchema, protocol);
|
|
111
111
|
}
|
|
112
|
+
// NOTE: we don't want to serialize legacy runtime as we no longer want to circulate it any further
|
|
112
113
|
throw new UnsupportedOperationError(`Can't serialize runtime`, protocol);
|
|
113
114
|
};
|
|
114
115
|
|
|
116
|
+
export const V1_deserializeRuntime = (
|
|
117
|
+
json: PlainObject<V1_Runtime>,
|
|
118
|
+
): V1_Runtime => {
|
|
119
|
+
switch (json._type) {
|
|
120
|
+
case V1_RuntimeType.RUNTIME_POINTER:
|
|
121
|
+
return deserialize(V1_runtimePointerModelSchema, json);
|
|
122
|
+
case V1_RuntimeType.ENGINE_RUNTIME:
|
|
123
|
+
return deserialize(V1_EngineRuntime, json);
|
|
124
|
+
case V1_RuntimeType.LEGACY_RUNTIME:
|
|
125
|
+
case undefined:
|
|
126
|
+
return deserialize(V1_LegacyRuntime, json);
|
|
127
|
+
default:
|
|
128
|
+
throw new UnsupportedOperationError(
|
|
129
|
+
`Can't deeserialize runtime of type '${json._type}'`,
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
|
|
115
134
|
export const V1_packageableRuntimeModelSchema = createModelSchema(
|
|
116
135
|
V1_PackageableRuntime,
|
|
117
136
|
{
|
|
@@ -44,13 +44,7 @@ import {
|
|
|
44
44
|
import { V1_Service } from '../../../model/packageableElements/service/V1_Service.js';
|
|
45
45
|
import { V1_rawLambdaModelSchema } from './V1_RawValueSpecificationSerializationHelper.js';
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
V1_EngineRuntime,
|
|
49
|
-
V1_LegacyRuntime,
|
|
50
|
-
} from '../../../model/packageableElements/runtime/V1_Runtime.js';
|
|
51
|
-
import {
|
|
52
|
-
V1_runtimePointerModelSchema,
|
|
53
|
-
V1_RuntimeType,
|
|
47
|
+
V1_deserializeRuntime,
|
|
54
48
|
V1_serializeRuntime,
|
|
55
49
|
} from './V1_RuntimeSerializationHelper.js';
|
|
56
50
|
import { V1_ServiceTest } from '../../../model/packageableElements/service/V1_ServiceTest.js';
|
|
@@ -179,24 +173,6 @@ export const V1_serviceTestSuiteModelSchema = (
|
|
|
179
173
|
),
|
|
180
174
|
});
|
|
181
175
|
|
|
182
|
-
export const V1_deserializeRuntime = (
|
|
183
|
-
json: PlainObject<V1_Runtime>,
|
|
184
|
-
): V1_Runtime => {
|
|
185
|
-
switch (json._type) {
|
|
186
|
-
case V1_RuntimeType.RUNTIME_POINTER:
|
|
187
|
-
return deserialize(V1_runtimePointerModelSchema, json);
|
|
188
|
-
case V1_RuntimeType.ENGINE_RUNTIME:
|
|
189
|
-
return deserialize(V1_EngineRuntime, json);
|
|
190
|
-
case V1_RuntimeType.LEGACY_RUNTIME:
|
|
191
|
-
case undefined:
|
|
192
|
-
return deserialize(V1_LegacyRuntime, json);
|
|
193
|
-
default:
|
|
194
|
-
throw new UnsupportedOperationError(
|
|
195
|
-
`Can't deeserialize runtime value of type '${json._type}'`,
|
|
196
|
-
);
|
|
197
|
-
}
|
|
198
|
-
};
|
|
199
|
-
|
|
200
176
|
const pureSingleExecutionModelSchema = createModelSchema(
|
|
201
177
|
V1_PureSingleExecution,
|
|
202
178
|
{
|
|
@@ -205,10 +181,7 @@ const pureSingleExecutionModelSchema = createModelSchema(
|
|
|
205
181
|
),
|
|
206
182
|
func: usingModelSchema(V1_rawLambdaModelSchema),
|
|
207
183
|
mapping: optional(primitive()),
|
|
208
|
-
runtime: optionalCustom(
|
|
209
|
-
(val) => V1_serializeRuntime(val),
|
|
210
|
-
(val) => V1_deserializeRuntime(val),
|
|
211
|
-
),
|
|
184
|
+
runtime: optionalCustom(V1_serializeRuntime, V1_deserializeRuntime),
|
|
212
185
|
},
|
|
213
186
|
);
|
|
214
187
|
|
|
@@ -217,10 +190,7 @@ const keyedExecutionParamaterModelSchema = createModelSchema(
|
|
|
217
190
|
{
|
|
218
191
|
key: primitive(),
|
|
219
192
|
mapping: primitive(),
|
|
220
|
-
runtime:
|
|
221
|
-
(val) => V1_serializeRuntime(val),
|
|
222
|
-
(val) => V1_deserializeRuntime(val),
|
|
223
|
-
),
|
|
193
|
+
runtime: optionalCustom(V1_serializeRuntime, V1_deserializeRuntime),
|
|
224
194
|
},
|
|
225
195
|
);
|
|
226
196
|
|
|
@@ -77,7 +77,7 @@ const TDSResultTypeModelSchema = createModelSchema(V1_TDSResultType, {
|
|
|
77
77
|
tdsColumns: list(usingModelSchema(TDSColumnModelSchema)),
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
const
|
|
80
|
+
const V1_serializeResultType = (
|
|
81
81
|
protocol: V1_ResultType,
|
|
82
82
|
): PlainObject<V1_ResultType> => {
|
|
83
83
|
if (protocol instanceof V1_DataTypeResultType) {
|
|
@@ -91,7 +91,7 @@ const V1_serializeExecutionResultType = (
|
|
|
91
91
|
);
|
|
92
92
|
};
|
|
93
93
|
|
|
94
|
-
const
|
|
94
|
+
const V1_deserializeResultType = (
|
|
95
95
|
json: PlainObject<V1_ResultType>,
|
|
96
96
|
): V1_ResultType => {
|
|
97
97
|
switch (json._type) {
|
|
@@ -120,16 +120,10 @@ const relationalTDSInstantationExecutionNodeModelSchema = createModelSchema(
|
|
|
120
120
|
V1_ExecutionNodeType.RELATIONAL_TDS_INSTANTIATION,
|
|
121
121
|
),
|
|
122
122
|
executionNodes: list(
|
|
123
|
-
custom(
|
|
124
|
-
(val) => V1_serializeExecutionNode(val),
|
|
125
|
-
(val) => V1_deserializeExecutionNode(val),
|
|
126
|
-
),
|
|
123
|
+
custom(V1_serializeExecutionNode, V1_deserializeExecutionNode),
|
|
127
124
|
),
|
|
128
125
|
resultSizeRange: usingModelSchema(V1_multiplicitySchema),
|
|
129
|
-
resultType: custom(
|
|
130
|
-
(val) => V1_serializeExecutionResultType(val),
|
|
131
|
-
(val) => V1_deserializeExecutionResultType(val),
|
|
132
|
-
),
|
|
126
|
+
resultType: custom(V1_serializeResultType, V1_deserializeResultType),
|
|
133
127
|
},
|
|
134
128
|
);
|
|
135
129
|
|
|
@@ -141,8 +135,8 @@ const SQLResultColumnModelSchema = createModelSchema(V1_SQLResultColumn, {
|
|
|
141
135
|
const SQLExecutionNodeModelSchema = createModelSchema(V1_SQLExecutionNode, {
|
|
142
136
|
_type: usingConstantValueSchema(V1_ExecutionNodeType.SQL),
|
|
143
137
|
connection: custom(
|
|
144
|
-
|
|
145
|
-
|
|
138
|
+
V1_serializeDatabaseConnectionValue,
|
|
139
|
+
V1_deserializeDatabaseConnectionValue,
|
|
146
140
|
),
|
|
147
141
|
executionNodes: customList(
|
|
148
142
|
V1_serializeExecutionNode,
|
|
@@ -152,10 +146,7 @@ const SQLExecutionNodeModelSchema = createModelSchema(V1_SQLExecutionNode, {
|
|
|
152
146
|
onConnectionCloseRollbackQuery: optional(primitive()),
|
|
153
147
|
resultColumns: list(usingModelSchema(SQLResultColumnModelSchema)),
|
|
154
148
|
resultSizeRange: usingModelSchema(V1_multiplicitySchema),
|
|
155
|
-
resultType: custom(
|
|
156
|
-
(val) => V1_serializeExecutionResultType(val),
|
|
157
|
-
(val) => V1_deserializeExecutionResultType(val),
|
|
158
|
-
),
|
|
149
|
+
resultType: custom(V1_serializeResultType, V1_deserializeResultType),
|
|
159
150
|
sqlQuery: primitive(),
|
|
160
151
|
});
|
|
161
152
|
|
|
@@ -209,8 +200,8 @@ const SimpleExecutionPlanModelSchema = createModelSchema(
|
|
|
209
200
|
authDependent: primitive(),
|
|
210
201
|
kerberos: optional(primitive()),
|
|
211
202
|
rootExecutionNode: custom(
|
|
212
|
-
|
|
213
|
-
|
|
203
|
+
V1_serializeExecutionNode,
|
|
204
|
+
V1_deserializeExecutionNode,
|
|
214
205
|
),
|
|
215
206
|
serializer: usingModelSchema(V1_Protocol.serialization.schema),
|
|
216
207
|
templateFunctions: list(primitive()),
|
package/src/index.ts
CHANGED
|
@@ -203,12 +203,11 @@ export * from './graphManager/action/generation/DatabaseBuilderInput.js';
|
|
|
203
203
|
export * from './graphManager/action/generation/GenerationConfigurationDescription.js';
|
|
204
204
|
export { GenerationOutput } from './graphManager/action/generation/GenerationOutput.js';
|
|
205
205
|
export { ServiceExecutionMode } from './graphManager/action/service/ServiceExecutionMode.js';
|
|
206
|
-
export { ServiceRegistrationResult } from './graphManager/action/service/ServiceRegistrationResult.js';
|
|
207
206
|
export {
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
} from './graphManager/action/service/
|
|
207
|
+
ServiceRegistrationResult,
|
|
208
|
+
ServiceRegistrationFail,
|
|
209
|
+
ServiceRegistrationSuccess,
|
|
210
|
+
} from './graphManager/action/service/ServiceRegistrationResult.js';
|
|
212
211
|
export { DEPRECATED__ServiceTestResult } from './graphManager/action/service/DEPRECATED__ServiceTestResult.js';
|
|
213
212
|
export { SourceInformation } from './graphManager/action/SourceInformation.js';
|
|
214
213
|
export * from './graphManager/protocol/pure/PureProtocolProcessorPlugin.js';
|
package/tsconfig.json
CHANGED
|
@@ -295,7 +295,6 @@
|
|
|
295
295
|
"./src/graphManager/action/generation/GenerationOutput.ts",
|
|
296
296
|
"./src/graphManager/action/query/Query.ts",
|
|
297
297
|
"./src/graphManager/action/query/QuerySearchSpecification.ts",
|
|
298
|
-
"./src/graphManager/action/service/BulkServiceRegistrationResult.ts",
|
|
299
298
|
"./src/graphManager/action/service/DEPRECATED__ServiceTestResult.ts",
|
|
300
299
|
"./src/graphManager/action/service/ServiceExecutionMode.ts",
|
|
301
300
|
"./src/graphManager/action/service/ServiceRegistrationResult.ts",
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
export declare class BulkServiceRegistrationResult {
|
|
17
|
-
servicePath: string | undefined;
|
|
18
|
-
}
|
|
19
|
-
export declare class BulkRegistrationResultSuccess extends BulkServiceRegistrationResult {
|
|
20
|
-
serverURL: string;
|
|
21
|
-
pattern: string;
|
|
22
|
-
serviceInstanceId: string;
|
|
23
|
-
constructor(serverURL: string, pattern: string, serviceInstanceId: string);
|
|
24
|
-
}
|
|
25
|
-
export declare class BulkRegistrationResultFail extends BulkServiceRegistrationResult {
|
|
26
|
-
errorMessage: string;
|
|
27
|
-
constructor(errorMessage: string);
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=BulkServiceRegistrationResult.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BulkServiceRegistrationResult.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/action/service/BulkServiceRegistrationResult.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,qBAAa,6BAA6B;IACxC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC;AAED,qBAAa,6BAA8B,SAAQ,6BAA6B;IAC9E,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;gBAEd,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM;CAM1E;AAED,qBAAa,0BAA2B,SAAQ,6BAA6B;IAC3E,YAAY,EAAE,MAAM,CAAC;gBAET,YAAY,EAAE,MAAM;CAIjC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
export class BulkServiceRegistrationResult {
|
|
17
|
-
servicePath;
|
|
18
|
-
}
|
|
19
|
-
export class BulkRegistrationResultSuccess extends BulkServiceRegistrationResult {
|
|
20
|
-
serverURL;
|
|
21
|
-
pattern;
|
|
22
|
-
serviceInstanceId;
|
|
23
|
-
constructor(serverURL, pattern, serviceInstanceId) {
|
|
24
|
-
super();
|
|
25
|
-
this.serverURL = serverURL;
|
|
26
|
-
this.pattern = pattern;
|
|
27
|
-
this.serviceInstanceId = serviceInstanceId;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class BulkRegistrationResultFail extends BulkServiceRegistrationResult {
|
|
31
|
-
errorMessage;
|
|
32
|
-
constructor(errorMessage) {
|
|
33
|
-
super();
|
|
34
|
-
this.errorMessage = errorMessage;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=BulkServiceRegistrationResult.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BulkServiceRegistrationResult.js","sourceRoot":"","sources":["../../../../src/graphManager/action/service/BulkServiceRegistrationResult.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,OAAO,6BAA6B;IACxC,WAAW,CAAqB;CACjC;AAED,MAAM,OAAO,6BAA8B,SAAQ,6BAA6B;IAC9E,SAAS,CAAS;IAClB,OAAO,CAAS;IAChB,iBAAiB,CAAS;IAE1B,YAAY,SAAiB,EAAE,OAAe,EAAE,iBAAyB;QACvE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC7C,CAAC;CACF;AAED,MAAM,OAAO,0BAA2B,SAAQ,6BAA6B;IAC3E,YAAY,CAAS;IAErB,YAAY,YAAoB;QAC9B,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACnC,CAAC;CACF"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
export class BulkServiceRegistrationResult {
|
|
18
|
-
servicePath: string | undefined;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export class BulkRegistrationResultSuccess extends BulkServiceRegistrationResult {
|
|
22
|
-
serverURL: string;
|
|
23
|
-
pattern: string;
|
|
24
|
-
serviceInstanceId: string;
|
|
25
|
-
|
|
26
|
-
constructor(serverURL: string, pattern: string, serviceInstanceId: string) {
|
|
27
|
-
super();
|
|
28
|
-
this.serverURL = serverURL;
|
|
29
|
-
this.pattern = pattern;
|
|
30
|
-
this.serviceInstanceId = serviceInstanceId;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export class BulkRegistrationResultFail extends BulkServiceRegistrationResult {
|
|
35
|
-
errorMessage: string;
|
|
36
|
-
|
|
37
|
-
constructor(errorMessage: string) {
|
|
38
|
-
super();
|
|
39
|
-
this.errorMessage = errorMessage;
|
|
40
|
-
}
|
|
41
|
-
}
|