@finos/legend-application-query 13.8.61 → 13.8.62

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/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-application-query v13.8.61
1
+ /** @license @finos/legend-application-query v13.8.62
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-application-query v13.8.61
1
+ /** @license @finos/legend-application-query v13.8.62
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-query",
3
- "version": "13.8.61",
3
+ "version": "13.8.62",
4
4
  "description": "Legend Query application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { type CubeConnectionExplorer, type CubeDataProductCatalog, type CubeEngine, type CubeIngestCatalog, type CubeLakehouseServices, type CubeProjectCatalog, type CubeEngineConfig, type CubeHost, LocalModelCatalog } from '@finos/legend-cube-builder';
16
+ import { CubeEngineClientSettings, type CubeConnectionExplorer, type CubeDataProductCatalog, type CubeEngine, type CubeIngestCatalog, type CubeLakehouseServices, type CubeProjectCatalog, type CubeServiceCatalog, type CubeEngineConfig, type CubeHost, LocalModelCatalog } from '@finos/legend-cube-builder';
17
17
  import type { LegendQueryApplicationConfig } from '../../application/LegendQueryApplicationConfig.js';
18
18
  import type { LegendQueryApplicationStore } from '../LegendQueryBaseStore.js';
19
19
  /** Cube talks to the engine Query's own editor uses, configured the same way */
@@ -41,6 +41,9 @@ export declare class LegendQueryCubeHost implements CubeHost {
41
41
  readonly dataProductCatalog: CubeDataProductCatalog | undefined;
42
42
  readonly ingestCatalog: CubeIngestCatalog | undefined;
43
43
  readonly projectCatalog: CubeProjectCatalog | undefined;
44
+ readonly serviceCatalog: CubeServiceCatalog;
45
+ /** The engine URL and compression Cube's engine clients share, which Dev Settings changes */
46
+ readonly engineClientSettings: CubeEngineClientSettings;
44
47
  /**
45
48
  * Tests give an engine, an explorer and a project catalog; otherwise each
46
49
  * is built from Query's config
@@ -1 +1 @@
1
- {"version":3,"file":"LegendQueryCubeHost.d.ts","sourceRoot":"","sources":["../../../src/stores/cube/LegendQueryCubeHost.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EASL,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACb,iBAAiB,EAClB,MAAM,4BAA4B,CAAC;AAUpC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mDAAmD,CAAC;AACtG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAE9E,gFAAgF;AAChF,eAAO,MAAM,gCAAgC,GAC3C,QAAQ,4BAA4B,KACnC,gBAMD,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,qCAAqC,GAChD,kBAAkB,2BAA2B,KAC5C,qBAAqB,GAAG,SAwE1B,CAAC;AAEF,uEAAuE;AACvE,eAAO,MAAM,kCAAkC,GAC7C,kBAAkB,2BAA2B,KAC5C,kBAAkB,GAAG,SAUvB,CAAC;AAEF;;;;;GAKG;AACH,qBAAa,mBAAoB,YAAW,QAAQ;IAClD,QAAQ,CAAC,gBAAgB,EAAE,2BAA2B,CAAC;IACvD,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,iBAAiB,CAAC;IACzC,QAAQ,CAAC,kBAAkB,EAAE,sBAAsB,CAAC;IACpD,QAAQ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CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,iBAAiB,CAAC;IACzC,QAAQ,CAAC,kBAAkB,EAAE,sBAAsB,CAAC;IACpD,QAAQ,CAAC,kBAAkB,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAChE,QAAQ,CAAC,aAAa,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACtD,QAAQ,CAAC,cAAc,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACxD,QAAQ,CAAC,cAAc,EAAE,kBAAkB,CAAC;IAC5C,6FAA6F;IAC7F,QAAQ,CAAC,oBAAoB,EAAE,wBAAwB,CAAC;IAExD;;;OAGG;gBAED,gBAAgB,EAAE,2BAA2B,EAC7C,MAAM,CAAC,EAAE,UAAU,EACnB,kBAAkB,CAAC,EAAE,sBAAsB,EAC3C,cAAc,CAAC,EAAE,kBAAkB;CAiDtC"}
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { buildCubeConnectionExplorer, buildCubeDataProductCatalog, buildCubeEngine, buildCubeIngestCatalog, buildCubeLakehouseEnvironment, buildCubeProjectCatalog, CubeDataProductEnvironmentType, getCubeRememberedWarehouse, LocalModelCatalog, } from '@finos/legend-cube-builder';
16
+ import { buildCubeConnectionExplorer, buildCubeDataProductCatalog, buildCubeEngine, buildCubeIngestCatalog, buildCubeLakehouseEnvironment, buildCubeProjectCatalog, buildCubeServiceCatalog, CubeDataProductEnvironmentType, CubeEngineClientSettings, getCubeRememberedWarehouse, LocalModelCatalog, } from '@finos/legend-cube-builder';
17
17
  import { DepotServerClient } from '@finos/legend-server-depot';
18
18
  import { LakehouseContractServerClient, LakehouseIngestServerClient, LakehousePlatformServerClient, } from '@finos/legend-server-lakehouse';
19
19
  import { MarketplaceServerClient } from '@finos/legend-server-marketplace';
@@ -121,6 +121,9 @@ export class LegendQueryCubeHost {
121
121
  dataProductCatalog;
122
122
  ingestCatalog;
123
123
  projectCatalog;
124
+ serviceCatalog;
125
+ /** The engine URL and compression Cube's engine clients share, which Dev Settings changes */
126
+ engineClientSettings;
124
127
  /**
125
128
  * Tests give an engine, an explorer and a project catalog; otherwise each
126
129
  * is built from Query's config
@@ -128,9 +131,10 @@ export class LegendQueryCubeHost {
128
131
  constructor(applicationStore, engine, connectionExplorer, projectCatalog) {
129
132
  this.applicationStore = applicationStore;
130
133
  const config = buildLegendQueryCubeEngineConfig(applicationStore.config);
134
+ this.engineClientSettings = new CubeEngineClientSettings(config);
131
135
  const lakehouse = buildLegendQueryCubeLakehouseServices(applicationStore);
132
136
  this.ingestCatalog = lakehouse
133
- ? buildCubeIngestCatalog(config, applicationStore.tracerService, lakehouse)
137
+ ? buildCubeIngestCatalog(config, applicationStore.tracerService, lakehouse, this.engineClientSettings)
134
138
  : undefined;
135
139
  this.engine =
136
140
  engine ??
@@ -140,6 +144,7 @@ export class LegendQueryCubeHost {
140
144
  ? buildCubeLakehouseEnvironment(lakehouse)
141
145
  : undefined,
142
146
  getRememberedWarehouse: () => getCubeRememberedWarehouse(applicationStore.userDataService),
147
+ clientSettings: this.engineClientSettings,
143
148
  });
144
149
  this.dataProductCatalog = lakehouse
145
150
  ? buildCubeDataProductCatalog(lakehouse)
@@ -148,11 +153,14 @@ export class LegendQueryCubeHost {
148
153
  // its own client, configured as the engine's
149
154
  this.connectionExplorer =
150
155
  connectionExplorer ??
151
- buildCubeConnectionExplorer(config, applicationStore.tracerService);
156
+ buildCubeConnectionExplorer(config, applicationStore.tracerService, this.engineClientSettings);
152
157
  // the published projects in Query's depot (PLAN §6.3); it reads nothing
153
158
  // until the source dialog's Project tab opens
154
159
  this.projectCatalog =
155
160
  projectCatalog ?? buildLegendQueryCubeProjectCatalog(applicationStore);
161
+ // the services in the registry of Query's engine (PLAN §6.4), in
162
+ // progress; it reads nothing until the source dialog's Service tab opens
163
+ this.serviceCatalog = buildCubeServiceCatalog(config, applicationStore.tracerService, this.engineClientSettings);
156
164
  }
157
165
  }
158
166
  //# sourceMappingURL=LegendQueryCubeHost.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LegendQueryCubeHost.js","sourceRoot":"","sources":["../../../src/stores/cube/LegendQueryCubeHost.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,eAAe,EACf,sBAAsB,EACtB,6BAA6B,EAC7B,uBAAuB,EACvB,8BAA8B,EAC9B,0BAA0B,EAS1B,iBAAiB,GAClB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EACL,6BAA6B,EAC7B,2BAA2B,EAC3B,6BAA6B,GAC9B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,kEAAkE,EAAE,MAAM,wCAAwC,CAAC;AAC5H,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AAIvF,gFAAgF;AAChF,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAC9C,MAAoC,EAClB,EAAE,CAAC,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC,eAAe;IAC/B,YAAY,EAAE,MAAM,CAAC,oBAAoB;IACzC,eAAe,EAAE,MAAM,CAAC,qBAAqB;IAC7C,iBAAiB,EAAE,IAAI;IACvB,iBAAiB,EAAE,MAAM,CAAC,uBAAuB;CAClD,CAAC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,CACnD,gBAA6C,EACV,EAAE;IACrC,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,gBAAgB,CAAC;IACnD,IAAI,CAAC,MAAM,CAAC,oBAAoB,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;QAC3D,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,MAAM,oBAAoB,GAAG,IAAI,6BAA6B,CAAC;QAC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AC,SAAS,CAAC;QACd,IAAI,CAAC,YAAY,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvD,6CAA6C;QAC7C,IAAI,CAAC,kBAAkB;YACrB,kBAAkB;gBAClB,2BAA2B,CACzB,MAAM,EACN,gBAAgB,CAAC,aAAa,EAC9B,IAAI,CAAC,oBAAoB,CAC1B,CAAC;QACJ,wEAAwE;QACxE,8CAA8C;QAC9C,IAAI,CAAC,cAAc;YACjB,cAAc,IAAI,kCAAkC,CAAC,gBAAgB,CAAC,CAAC;QACzE,iEAAiE;QACjE,yEAAyE;QACzE,IAAI,CAAC,cAAc,GAAG,uBAAuB,CAC3C,MAAM,EACN,gBAAgB,CAAC,aAAa,EAC9B,IAAI,CAAC,oBAAoB,CAC1B,CAAC;IACJ,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-query",
3
- "version": "13.8.61",
3
+ "version": "13.8.62",
4
4
  "description": "Legend Query application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -44,18 +44,18 @@
44
44
  "test:watch": "jest --watch"
45
45
  },
46
46
  "dependencies": {
47
- "@finos/legend-application": "16.0.128",
48
- "@finos/legend-art": "7.1.168",
49
- "@finos/legend-code-editor": "2.0.210",
50
- "@finos/legend-cube-builder": "0.0.4",
51
- "@finos/legend-data-cube": "0.3.128",
52
- "@finos/legend-extension-dsl-data-space": "10.4.263",
53
- "@finos/legend-graph": "32.7.6",
54
- "@finos/legend-lego": "2.0.230",
55
- "@finos/legend-query-builder": "4.19.19",
47
+ "@finos/legend-application": "16.0.129",
48
+ "@finos/legend-art": "7.1.169",
49
+ "@finos/legend-code-editor": "2.0.211",
50
+ "@finos/legend-cube-builder": "0.0.5",
51
+ "@finos/legend-data-cube": "0.3.129",
52
+ "@finos/legend-extension-dsl-data-space": "10.4.264",
53
+ "@finos/legend-graph": "32.8.0",
54
+ "@finos/legend-lego": "2.0.231",
55
+ "@finos/legend-query-builder": "4.19.20",
56
56
  "@finos/legend-server-depot": "6.1.24",
57
- "@finos/legend-server-lakehouse": "0.3.90",
58
- "@finos/legend-server-marketplace": "0.2.17",
57
+ "@finos/legend-server-lakehouse": "0.4.0",
58
+ "@finos/legend-server-marketplace": "0.2.18",
59
59
  "@finos/legend-shared": "11.0.32",
60
60
  "@finos/legend-storage": "3.0.154",
61
61
  "@testing-library/dom": "10.4.0",
@@ -21,7 +21,9 @@ import {
21
21
  buildCubeIngestCatalog,
22
22
  buildCubeLakehouseEnvironment,
23
23
  buildCubeProjectCatalog,
24
+ buildCubeServiceCatalog,
24
25
  CubeDataProductEnvironmentType,
26
+ CubeEngineClientSettings,
25
27
  getCubeRememberedWarehouse,
26
28
  type CubeConnectionExplorer,
27
29
  type CubeDataProductCatalog,
@@ -29,6 +31,7 @@ import {
29
31
  type CubeIngestCatalog,
30
32
  type CubeLakehouseServices,
31
33
  type CubeProjectCatalog,
34
+ type CubeServiceCatalog,
32
35
  type CubeEngineConfig,
33
36
  type CubeHost,
34
37
  LocalModelCatalog,
@@ -167,6 +170,9 @@ export class LegendQueryCubeHost implements CubeHost {
167
170
  readonly dataProductCatalog: CubeDataProductCatalog | undefined;
168
171
  readonly ingestCatalog: CubeIngestCatalog | undefined;
169
172
  readonly projectCatalog: CubeProjectCatalog | undefined;
173
+ readonly serviceCatalog: CubeServiceCatalog;
174
+ /** The engine URL and compression Cube's engine clients share, which Dev Settings changes */
175
+ readonly engineClientSettings: CubeEngineClientSettings;
170
176
 
171
177
  /**
172
178
  * Tests give an engine, an explorer and a project catalog; otherwise each
@@ -180,12 +186,14 @@ export class LegendQueryCubeHost implements CubeHost {
180
186
  ) {
181
187
  this.applicationStore = applicationStore;
182
188
  const config = buildLegendQueryCubeEngineConfig(applicationStore.config);
189
+ this.engineClientSettings = new CubeEngineClientSettings(config);
183
190
  const lakehouse = buildLegendQueryCubeLakehouseServices(applicationStore);
184
191
  this.ingestCatalog = lakehouse
185
192
  ? buildCubeIngestCatalog(
186
193
  config,
187
194
  applicationStore.tracerService,
188
195
  lakehouse,
196
+ this.engineClientSettings,
189
197
  )
190
198
  : undefined;
191
199
  this.engine =
@@ -197,6 +205,7 @@ export class LegendQueryCubeHost implements CubeHost {
197
205
  : undefined,
198
206
  getRememberedWarehouse: () =>
199
207
  getCubeRememberedWarehouse(applicationStore.userDataService),
208
+ clientSettings: this.engineClientSettings,
200
209
  });
201
210
  this.dataProductCatalog = lakehouse
202
211
  ? buildCubeDataProductCatalog(lakehouse)
@@ -205,10 +214,21 @@ export class LegendQueryCubeHost implements CubeHost {
205
214
  // its own client, configured as the engine's
206
215
  this.connectionExplorer =
207
216
  connectionExplorer ??
208
- buildCubeConnectionExplorer(config, applicationStore.tracerService);
217
+ buildCubeConnectionExplorer(
218
+ config,
219
+ applicationStore.tracerService,
220
+ this.engineClientSettings,
221
+ );
209
222
  // the published projects in Query's depot (PLAN §6.3); it reads nothing
210
223
  // until the source dialog's Project tab opens
211
224
  this.projectCatalog =
212
225
  projectCatalog ?? buildLegendQueryCubeProjectCatalog(applicationStore);
226
+ // the services in the registry of Query's engine (PLAN §6.4), in
227
+ // progress; it reads nothing until the source dialog's Service tab opens
228
+ this.serviceCatalog = buildCubeServiceCatalog(
229
+ config,
230
+ applicationStore.tracerService,
231
+ this.engineClientSettings,
232
+ );
213
233
  }
214
234
  }