@finos/legend-extension-dsl-service 1.0.168 → 1.0.170

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,9 +13,10 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { type QueryEditorActionConfiguration, LegendQueryApplicationPlugin } from '@finos/legend-application-query';
16
+ import { LegendQueryApplicationPlugin } from '@finos/legend-application-query';
17
+ import type { QueryBuilderMenuActionConfiguration } from '@finos/legend-query-builder';
17
18
  export declare class DSL_Service_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
18
19
  constructor();
19
- getExtraQueryEditorActionConfigurations(): QueryEditorActionConfiguration[];
20
+ getExtraQueryBuilderExportMenuActionConfigurations?(): QueryBuilderMenuActionConfiguration[];
20
21
  }
21
22
  //# sourceMappingURL=DSL_Service_LegendQueryApplicationPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_Service_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/query/DSL_Service_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,8BAA8B,EACnC,4BAA4B,EAE7B,MAAM,iCAAiC,CAAC;AAQzC,qBAAa,wCAAyC,SAAQ,4BAA4B;;IAK/E,uCAAuC,IAAI,8BAA8B,EAAE;CA+ErF"}
1
+ {"version":3,"file":"DSL_Service_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/query/DSL_Service_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,4BAA4B,EAG7B,MAAM,iCAAiC,CAAC;AAOzC,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,6BAA6B,CAAC;AAEvF,qBAAa,wCAAyC,SAAQ,4BAA4B;;IAKxF,kDAAkD,CAAC,IAAI,mCAAmC,EAAE;CAoG7F"}
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  /**
3
3
  * Copyright (c) 2020-present, Goldman Sachs
4
4
  *
@@ -15,54 +15,73 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
15
  * limitations under the License.
16
16
  */
17
17
  import packageJson from '../../../package.json' assert { type: 'json' };
18
- import { LegendQueryApplicationPlugin, ExistingQueryEditorStore, } from '@finos/legend-application-query';
19
- import { ArrowCircleUpIcon } from '@finos/legend-art';
18
+ import { LegendQueryApplicationPlugin, ExistingQueryEditorStore, QueryBuilderActionConfig_QueryApplication, } from '@finos/legend-application-query';
19
+ import { ArrowCircleUpIcon, RocketIcon } from '@finos/legend-art';
20
20
  import { generateQueryProductionizerRoute } from '../../__lib__/studio/DSL_Service_LegendStudioNavigation.js';
21
21
  import { StoreProjectData } from '@finos/legend-server-depot';
22
22
  import { parseProjectIdentifier } from '@finos/legend-storage';
23
23
  import { buildUrl } from '@finos/legend-shared';
24
- import { ServiceRegisterAction } from './ServiceRegisterModal.js';
24
+ import { ServiceRegisterModal } from './ServiceRegisterModal.js';
25
25
  export class DSL_Service_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
26
26
  constructor() {
27
27
  super(packageJson.extensions.applicationQueryPlugin, packageJson.version);
28
28
  }
29
- getExtraQueryEditorActionConfigurations() {
29
+ getExtraQueryBuilderExportMenuActionConfigurations() {
30
30
  return [
31
31
  {
32
- key: 'productionize-query',
33
- renderer: (editorStore, queryBuilderState) => {
34
- const openQueryProductionizer = async () => {
35
- if (!(editorStore instanceof ExistingQueryEditorStore)) {
36
- return;
37
- }
38
- // fetch project data
39
- const project = StoreProjectData.serialization.fromJson(await editorStore.depotServerClient.getProject(editorStore.lightQuery.groupId, editorStore.lightQuery.artifactId));
40
- // find the matching SDLC instance
41
- const projectIDPrefix = parseProjectIdentifier(project.projectId).prefix;
42
- const matchingSDLCEntry = editorStore.applicationStore.config.studioInstances.find((entry) => entry.sdlcProjectIDPrefix === projectIDPrefix);
43
- if (matchingSDLCEntry) {
44
- editorStore.applicationStore.navigationService.navigator.goToAddress(buildUrl([
45
- editorStore.applicationStore.config.studioApplicationUrl,
46
- generateQueryProductionizerRoute(editorStore.lightQuery.id),
47
- ]), { ignoreBlocking: true });
48
- }
49
- else {
50
- editorStore.applicationStore.notificationService.notifyWarning(`Can't find the corresponding SDLC instance to productionize the query`);
51
- }
52
- };
53
- const proceed = () => {
32
+ key: 'export-as-productionized-query',
33
+ title: 'Productionize query...',
34
+ label: 'Productionized Query',
35
+ onClick: (queryBuilderState) => {
36
+ if (queryBuilderState.workflowState.actionConfig instanceof
37
+ QueryBuilderActionConfig_QueryApplication) {
38
+ const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
39
+ const openQueryProductionizer = async () => {
40
+ if (!(editorStore instanceof ExistingQueryEditorStore)) {
41
+ return;
42
+ }
43
+ // fetch project data
44
+ const project = StoreProjectData.serialization.fromJson(await editorStore.depotServerClient.getProject(editorStore.lightQuery.groupId, editorStore.lightQuery.artifactId));
45
+ // find the matching SDLC instance
46
+ const projectIDPrefix = parseProjectIdentifier(project.projectId).prefix;
47
+ const matchingSDLCEntry = editorStore.applicationStore.config.studioInstances.find((entry) => entry.sdlcProjectIDPrefix === projectIDPrefix);
48
+ if (matchingSDLCEntry) {
49
+ editorStore.applicationStore.navigationService.navigator.goToAddress(buildUrl([
50
+ editorStore.applicationStore.config.studioApplicationUrl,
51
+ generateQueryProductionizerRoute(editorStore.lightQuery.id),
52
+ ]), { ignoreBlocking: true });
53
+ }
54
+ else {
55
+ editorStore.applicationStore.notificationService.notifyWarning(`Can't find the corresponding SDLC instance to productionize the query`);
56
+ }
57
+ };
54
58
  queryBuilderState.changeDetectionState.alertUnsavedChanges(() => {
55
59
  openQueryProductionizer().catch(editorStore.applicationStore.alertUnhandledError);
56
60
  });
57
- };
58
- return (_jsxs("button", { className: "query-editor__header__action btn--dark", tabIndex: -1, onClick: proceed, disabled: !(editorStore instanceof ExistingQueryEditorStore), title: !(editorStore instanceof ExistingQueryEditorStore)
59
- ? 'Please save your query first before productionizing'
60
- : 'Productionize query...', children: [_jsx(ArrowCircleUpIcon, { className: "query-editor__header__action__icon--productionize" }), _jsx("div", { className: "query-editor__header__action__label", children: "Productionize Query" })] }));
61
+ }
61
62
  },
63
+ icon: _jsx(ArrowCircleUpIcon, {}),
62
64
  },
63
65
  {
64
- key: 'register-service',
65
- renderer: (editorStore, queryBuilderState) => (_jsx(ServiceRegisterAction, { editorStore: editorStore, queryBuilderState: queryBuilderState })),
66
+ key: 'export-as-dev-service',
67
+ title: 'Register query as service',
68
+ label: 'DEV Service',
69
+ onClick: (queryBuilderState) => {
70
+ if (queryBuilderState.workflowState.actionConfig instanceof
71
+ QueryBuilderActionConfig_QueryApplication) {
72
+ const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
73
+ editorStore.setShowRegisterServiceModal(true);
74
+ }
75
+ },
76
+ icon: _jsx(RocketIcon, {}),
77
+ renderExtraComponent: (queryBuilderState) => {
78
+ if (queryBuilderState.workflowState.actionConfig instanceof
79
+ QueryBuilderActionConfig_QueryApplication) {
80
+ const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
81
+ return (_jsx(_Fragment, { children: editorStore.showRegisterServiceModal && (_jsx(ServiceRegisterModal, { editorStore: editorStore, onClose: () => editorStore.setShowRegisterServiceModal(false), queryBuilderState: queryBuilderState })) }));
82
+ }
83
+ return undefined;
84
+ },
66
85
  },
67
86
  ];
68
87
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_Service_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/query/DSL_Service_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AACxE,OAAO,EAEL,4BAA4B,EAC5B,wB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,CACH;aACF;SACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"DSL_Service_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/query/DSL_Service_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AACxE,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,yCAAyC,GAC1C,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,gCAAgC,EAAE,MAAM,4DAA4D,CAAC;AAC9G,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGjE,MAAM,OAAO,wCAAyC,SAAQ,4BAA4B;IACxF;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,sBAAsB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED,kDAAkD;QAChD,OAAO;YACL;gBACE,GAAG,EAAE,gCAAgC;gBACrC,KAAK,EAAE,wBAAwB;gBAC/B,KAAK,EAAE,sBAAsB;gBAC7B,OAAO,EAAE,CAAC,iBAAiB,EAAQ,EAAE;oBACnC,IACE,iBAAiB,CAAC,aAAa,CAAC,YAAY;wBAC5C,yCAAyC,EACzC,CAAC;wBACD,MAAM,WAAW,GACf,iBAAiB,CAAC,aAAa,CAAC,YAAY,CAAC,WAAW,CAAC;wBAC3D,MAAM,uBAAuB,GAAG,KAAK,IAAmB,EAAE;4BACxD,IAAI,CAAC,CAAC,WAAW,YAAY,wBAAwB,CAAC,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AAE,2BAA2B;gBAClC,KAAK,EAAE,aAAa;gBACpB,OAAO,EAAE,CAAC,iBAAiB,EAAQ,EAAE;oBACnC,IACE,iBAAiB,CAAC,aAAa,CAAC,YAAY;wBAC5C,yCAAyC,EACzC,CAAC;wBACD,MAAM,WAAW,GACf,iBAAiB,CAAC,aAAa,CAAC,YAAY,CAAC,WAAW,CAAC;wBAC3D,WAAW,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC;oBAChD,CAAC;gBACH,CAAC;gBACD,IAAI,EAAE,KAAC,UAAU,KAAG;gBACpB,oBAAoB,EAAE,CACpB,iBAAiB,EACY,EAAE;oBAC/B,IACE,iBAAiB,CAAC,aAAa,CAAC,YAAY;wBAC5C,yCAAyC,EACzC,CAAC;wBACD,MAAM,WAAW,GACf,iBAAiB,CAAC,aAAa,CAAC,YAAY,CAAC,WAAW,CAAC;wBAC3D,OAAO,CACL,4BACG,WAAW,CAAC,wBAAwB,IAAI,CACvC,KAAC,oBAAoB,IACnB,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,GAAS,EAAE,CAClB,WAAW,CAAC,2BAA2B,CAAC,KAAK,CAAC,EAEhD,iBAAiB,EAAE,iBAAiB,GACpC,CACH,GACA,CACJ,CAAC;oBACJ,CAAC;oBACD,OAAO,SAAS,CAAC;gBACnB,CAAC;aACF;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -17,8 +17,9 @@ import { type VariableExpression } from '@finos/legend-graph';
17
17
  import { type QueryEditorStore } from '@finos/legend-application-query';
18
18
  import type { QueryBuilderState } from '@finos/legend-query-builder';
19
19
  export declare const generateServiceURL: (urlPrefix: string | undefined, params: VariableExpression[] | undefined) => string;
20
- export declare const ServiceRegisterAction: ((props: {
20
+ export declare const ServiceRegisterModal: ((props: {
21
21
  editorStore: QueryEditorStore;
22
+ onClose: () => void;
22
23
  queryBuilderState: QueryBuilderState;
23
24
  }) => import("react/jsx-runtime").JSX.Element) & {
24
25
  displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceRegisterModal.d.ts","sourceRoot":"","sources":["../../../src/components/query/ServiceRegisterModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmCH,OAAO,EACL,KAAK,kBAAkB,EAKxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAKrE,eAAO,MAAM,kBAAkB,cAClB,MAAM,GAAG,SAAS,UACrB,kBAAkB,EAAE,GAAG,SAAS,KACvC,MAMF,CAAC;AAuRF,eAAO,MAAM,qBAAqB,WACxB;IACN,WAAW,EAAE,gBAAgB,CAAC;IAC9B,iBAAiB,EAAE,iBAAiB,CAAC;CACtC;;CAgCF,CAAC"}
1
+ {"version":3,"file":"ServiceRegisterModal.d.ts","sourceRoot":"","sources":["../../../src/components/query/ServiceRegisterModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkCH,OAAO,EACL,KAAK,kBAAkB,EAKxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAKrE,eAAO,MAAM,kBAAkB,cAClB,MAAM,GAAG,SAAS,UACrB,kBAAkB,EAAE,GAAG,SAAS,KACvC,MAMF,CAAC;AAEF,eAAO,MAAM,oBAAoB,WACvB;IACN,WAAW,EAAE,gBAAgB,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,iBAAiB,EAAE,iBAAiB,CAAC;CACtC;;CAuRF,CAAC"}
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /**
3
3
  * Copyright (c) 2020-present, Goldman Sachs
4
4
  *
@@ -19,7 +19,7 @@ import { observer } from 'mobx-react-lite';
19
19
  import { ActionState, assertErrorThrown, assertNonEmptyString, guaranteeNonNullable, LogEvent, uuid, } from '@finos/legend-shared';
20
20
  import { generateServiceManagementUrl, LEGEND_STUDIO_APP_EVENT, } from '@finos/legend-application-studio';
21
21
  import { createServiceElement } from '../../stores/studio/QueryProductionizerStore.js';
22
- import { CheckSquareIcon, clsx, CustomSelectorInput, Dialog, Modal, ModalTitle, Panel, PanelDivider, PanelFullContent, PanelLoadingIndicator, RocketIcon, SquareIcon, } from '@finos/legend-art';
22
+ import { CheckSquareIcon, clsx, CustomSelectorInput, Dialog, Modal, ModalTitle, Panel, PanelDivider, PanelFullContent, PanelLoadingIndicator, SquareIcon, } from '@finos/legend-art';
23
23
  import { ActionAlertType, ActionAlertActionType, } from '@finos/legend-application';
24
24
  import { Multiplicity, RuntimePointer, ServiceExecutionMode, validate_ServicePattern, } from '@finos/legend-graph';
25
25
  import {} from '@finos/legend-application-query';
@@ -32,7 +32,7 @@ export const generateServiceURL = (urlPrefix, params) => {
32
32
  const paramSuffix = paramNames?.length ? `/${paramNames.join('/')}` : '';
33
33
  return `${urlPrefix ?? `/${uuid()}`}${paramSuffix}`;
34
34
  };
35
- const ServiceRegisterModal = observer((props) => {
35
+ export const ServiceRegisterModal = observer((props) => {
36
36
  const { editorStore, onClose, queryBuilderState } = props;
37
37
  const [registrationState] = useState(ActionState.create());
38
38
  const [text, setText] = useState('');
@@ -130,15 +130,8 @@ const ServiceRegisterModal = observer((props) => {
130
130
  'input-group__input--error': Boolean(!isServiceUrlPatternValid),
131
131
  }), spellCheck: false, placeholder: "/my-service-url", value: servicePattern, onChange: onChangeServicePattern }), !isServiceUrlPatternValid && (_jsx("div", { className: "input-group__error-message", children: "URL pattern is not valid" }))] })] }), _jsxs("div", { className: "service-register-modal__input", children: [_jsx("div", { className: "service-register-modal__input__label", children: "OWNERS" }), _jsx("div", { className: "input-group service-register-modal__input__selector", children: _jsx(CustomSelectorInput, { className: "service-register-modal__input__service-owner__selector", placeholder: "Enter an owner...", spellCheck: false, inputValue: text, darkMode: darkMode, onInputChange: onTextChange, onChange: onUserOptionChange, isMulti: true, allowCreating: true, value: owners }) })] }), _jsxs("div", { className: "service-register-modal__input", children: [_jsx("div", { className: "service-register-modal__input__label", children: "Execution Server" }), _jsx("div", { className: "input-group service-register-modal__input__selector", children: _jsx(CustomSelectorInput, { options: envOptions, onChange: onServerEnvChange, value: selectedEnvOption, darkMode: darkMode }) })] }), _jsx("div", { className: "service-register-modal__auto-activation__toggler", onClick: toggleActivateService, children: _jsxs("div", { className: "panel__content__form__section__toggler", children: [_jsx("button", { className: clsx('panel__content__form__section__toggler__btn', {
132
132
  'panel__content__form__section__toggler__btn--toggled': activateService,
133
- }), tabIndex: -1, children: activateService ? _jsx(CheckSquareIcon, {}) : _jsx(SquareIcon, {}) }), _jsx("div", { className: "panel__content__form__section__toggler__prompt", children: "Activate service after registration" })] }) })] }), _jsx(PanelDivider, {})] })] }), _jsxs("div", { className: "search-modal__actions", children: [_jsx("button", { className: "btn btn--dark", onClick: registerService, children: "Register Service" }), _jsx("button", { className: "btn btn--dark", onClick: onClose, children: "Close" })] })] }) }));
134
- });
135
- export const ServiceRegisterAction = observer((props) => {
136
- const { editorStore, queryBuilderState } = props;
137
- const [showRegisterServiceModal, setShowRegisterServiceModal] = useState(false);
138
- const registerCurrentQuery = () => {
139
- setShowRegisterServiceModal(true);
140
- };
141
- const onClose = () => setShowRegisterServiceModal(false);
142
- return (_jsxs(_Fragment, { children: [_jsxs("button", { className: "query-editor__header__action btn--dark", tabIndex: -1, onClick: registerCurrentQuery, title: "Register query as service", children: [_jsx(RocketIcon, { className: "query-editor__header__action__icon--service" }), _jsx("div", { className: "query-editor__header__action__label", children: "Register DEV Service" })] }), showRegisterServiceModal && (_jsx(ServiceRegisterModal, { editorStore: editorStore, onClose: onClose, queryBuilderState: queryBuilderState }))] }));
133
+ }), tabIndex: -1, children: activateService ? _jsx(CheckSquareIcon, {}) : _jsx(SquareIcon, {}) }), _jsx("div", { className: "panel__content__form__section__toggler__prompt", children: "Activate service after registration" })] }) })] }), _jsx(PanelDivider, {})] })] }), _jsxs("div", { className: "search-modal__actions", children: [_jsx("button", { className: "btn btn--dark", onClick: registerService, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
134
+ ? 'Please fix query errors before registering query as service'
135
+ : undefined, children: "Register Service" }), _jsx("button", { className: "btn btn--dark", onClick: onClose, children: "Close" })] })] }) }));
143
136
  });
144
137
  //# sourceMappingURL=ServiceRegisterModal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceRegisterModal.js","sourceRoot":"","sources":["../../../src/components/query/ServiceRegisterModal.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,QAAQ,EACR,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,4BAA4B,EAC5B,uBAAuB,GACxB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AACvF,OAAO,EACL,eAAe,EACf,IAAI,EACJ,mBAAmB,EACnB,MAAM,EACN,KAAK,EACL,UAAU,EACV,KAAK,EACL,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,EACrB,UAAU,EACV,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,eAAe,EACf,qBAAqB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEL,YAAY,EACZ,cAAc,EACd,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAyB,MAAM,i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AC,KAAC,UAAU,KAAG,GAChD,EACT,cAAK,SAAS,EAAC,gDAAgD,oDAEzD,IACF,GACF,IACF,EACN,KAAC,YAAY,KAAG,IACC,IACb,EACR,eAAK,SAAS,EAAC,uBAAuB,aACpC,iBAAQ,SAAS,EAAC,eAAe,EAAC,OAAO,EAAE,eAAe,iCAEjD,EACT,iBAAQ,SAAS,EAAC,eAAe,EAAC,OAAO,EAAE,OAAO,sBAEzC,IACL,IACA,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,QAAQ,CAC3C,CAAC,KAGA,EAAE,EAAE;IACH,MAAM,EAAE,WAAW,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IAEjD,MAAM,CAAC,wBAAwB,EAAE,2BAA2B,CAAC,GAC3D,QAAQ,CAAC,KAAK,CAAC,CAAC;IAClB,MAAM,oBAAoB,GAAG,GAAS,EAAE;QACtC,2BAA2B,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC,CAAC;IACF,MAAM,OAAO,GAAG,GAAS,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;IAC/D,OAAO,CACL,8BACE,kBACE,SAAS,EAAC,wCAAwC,EAClD,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,oBAAoB,EAC7B,KAAK,EAAC,2BAA2B,aAEjC,KAAC,UAAU,IAAC,SAAS,EAAC,6CAA6C,GAAG,EACtE,cAAK,SAAS,EAAC,qCAAqC,qCAE9C,IACC,EACR,wBAAwB,IAAI,CAC3B,KAAC,oBAAoB,IACnB,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,OAAO,EAChB,iBAAiB,EAAE,iBAAiB,GACpC,CACH,IACA,CACJ,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"ServiceRegisterModal.js","sourceRoot":"","sources":["../../../src/components/query/ServiceRegisterModal.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;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oot":"","sources":["../../../src/components/studio/ServiceQueryEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA+dH,eAAO,MAAM,kBAAkB;;CAyC7B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAe9B,CAAC;AAEH,eAAO,MAAM,0BAA0B;;CAgBrC,CAAC"}
1
+ {"version":3,"file":"ServiceQueryEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/ServiceQueryEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgeH,eAAO,MAAM,kBAAkB;;CA0C7B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAe9B,CAAC;AAEH,eAAO,MAAM,0BAA0B;;CAgBrC,CAAC"}
@@ -23,7 +23,7 @@ import { useParams } from '@finos/legend-application/browser';
23
23
  import { BlankPanelContent, CustomSelectorInput, Dialog, Panel, PanelLoadingIndicator, PlusIcon, RocketIcon, SaveIcon, clsx, CheckSquareIcon, SquareIcon, GitBranchIcon, ModalTitle, PanelForm, PanelFormTextField, PanelFormSection, } from '@finos/legend-art';
24
24
  import { DSL_SERVICE_ROUTE_PATTERN_TOKEN, generateServiceQueryUpdaterRoute, generateProjectServiceQueryUpdaterRoute, } from '../../__lib__/studio/DSL_Service_LegendStudioNavigation.js';
25
25
  import { ProjectServiceQueryUpdaterStoreProvider, ServiceQueryUpdaterStoreProvider, useServiceQueryEditorStore, } from './ServiceQueryEditorStoreProvider.js';
26
- import { QueryBuilder, QueryBuilderAdvancedWorkflowState, QueryBuilderNavigationBlocker, } from '@finos/legend-query-builder';
26
+ import { QueryBuilder, QueryBuilderActionConfig, QueryBuilderAdvancedWorkflowState, QueryBuilderNavigationBlocker, } from '@finos/legend-query-builder';
27
27
  import { ELEMENT_PATH_DELIMITER, resolvePackagePathAndElementName, validate_ServicePattern, } from '@finos/legend-graph';
28
28
  import { generateEditorRoute, useLegendStudioApplicationStore, } from '@finos/legend-application-studio';
29
29
  import { guaranteeNonEmptyString, uuid } from '@finos/legend-shared';
@@ -180,7 +180,7 @@ export const ServiceQueryEditor = observer(() => {
180
180
  const applicationStore = useApplicationStore();
181
181
  const editorStore = useServiceQueryEditorStore();
182
182
  useEffect(() => {
183
- flowResult(editorStore.initializeWithServiceQuery(QueryBuilderAdvancedWorkflowState.INSTANCE)).catch(applicationStore.alertUnhandledError);
183
+ flowResult(editorStore.initializeWithServiceQuery(QueryBuilderAdvancedWorkflowState.INSTANCE, QueryBuilderActionConfig.INSTANCE)).catch(applicationStore.alertUnhandledError);
184
184
  }, [editorStore, applicationStore]);
185
185
  return (_jsxs("div", { className: "service-query-editor", children: [_jsx("div", { className: "service-query-editor__header", children: editorStore.queryBuilderState && editorStore._service && (_jsx(ServiceQueryEditorHeaderContent, {})) }), _jsxs("div", { className: "service-query-editor__content", children: [_jsx(PanelLoadingIndicator, { isLoading: editorStore.initState.isInProgress }), editorStore.queryBuilderState && (_jsxs(_Fragment, { children: [_jsx(QueryBuilderNavigationBlocker, { queryBuilderState: editorStore.queryBuilderState }), _jsx(QueryBuilder, { queryBuilderState: editorStore.queryBuilderState })] })), !editorStore.queryBuilderState && (_jsx(BlankPanelContent, { children: editorStore.initState.message ??
186
186
  editorStore.graphManagerState.systemBuildState.message ??
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceQueryEditor.js","sourceRoot":"","sources":["../../../src/components/studio/ServiceQueryEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,SAAS,E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1.0.170
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-extension-dsl-service",
3
- "version": "1.0.168",
3
+ "version": "1.0.170",
4
4
  "description": "Legend extension for Service DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { type LegendStudioApplicationStore, type ServiceRegistrationEnvironmentConfig, EditorStore } from '@finos/legend-application-studio';
17
17
  import { type Service } from '@finos/legend-graph';
18
- import { type QueryBuilderState, type QueryBuilderWorkflowState } from '@finos/legend-query-builder';
18
+ import { type QueryBuilderState, type QueryBuilderWorkflowState, type QueryBuilderActionConfig } from '@finos/legend-query-builder';
19
19
  import { type DepotServerClient } from '@finos/legend-server-depot';
20
20
  import { type SDLCServerClient } from '@finos/legend-server-sdlc';
21
21
  import { type GeneratorFn, ActionState } from '@finos/legend-shared';
@@ -41,7 +41,7 @@ export declare abstract class ServiceQueryEditorStore extends EditorStore {
41
41
  setCurrentServiceRegistrationEnvConfig(val: ServiceRegistrationEnvironmentConfig | undefined): void;
42
42
  setShowSubmitReviewModal(val: boolean): void;
43
43
  abstract fetchServiceInformation(): Promise<ProjectServiceCoordinates>;
44
- initializeWithServiceQuery(workflow: QueryBuilderWorkflowState): GeneratorFn<void>;
44
+ initializeWithServiceQuery(workflow: QueryBuilderWorkflowState, actionConfig: QueryBuilderActionConfig): GeneratorFn<void>;
45
45
  saveWorkspace(serviceEntity: Entity, createNew: boolean, onSuccess?: () => void): GeneratorFn<void>;
46
46
  recreateWorkspace(): GeneratorFn<void>;
47
47
  updateServiceQuery(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceQueryEditorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/ServiceQueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EACL,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jB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM;IASf,uBAAuB,IAAI,OAAO,CAAC,yBAAyB,CAAC;CAOpE"}
@@ -72,14 +72,14 @@ export class ServiceQueryEditorStore extends EditorStore {
72
72
  setShowSubmitReviewModal(val) {
73
73
  this.showSubmitReviewModal = val;
74
74
  }
75
- *initializeWithServiceQuery(workflow) {
75
+ *initializeWithServiceQuery(workflow, actionConfig) {
76
76
  try {
77
77
  const serviceInfo = (yield this.fetchServiceInformation());
78
78
  yield flowResult(this.initialize(serviceInfo.projectId, undefined, serviceInfo.groupWorkspaceId, WorkspaceType.GROUP));
79
79
  // initialize the query builder state
80
80
  this._service = this.graphManagerState.graph.getService(serviceInfo.servicePath);
81
81
  assertType(this.service.execution, PureExecution, `Can't process service execution: only Pure execution is supported`);
82
- const queryBuilderState = new ServiceQueryBuilderState(this.applicationStore, this.graphManagerState, workflow, this.service, undefined, undefined, undefined, undefined, this.applicationStore.config.options.queryBuilderConfig);
82
+ const queryBuilderState = new ServiceQueryBuilderState(this.applicationStore, this.graphManagerState, workflow, actionConfig, this.service, undefined, undefined, undefined, undefined, this.applicationStore.config.options.queryBuilderConfig);
83
83
  // leverage initialization of query builder state to ensure we handle unsupported queries
84
84
  queryBuilderState.initializeWithQuery(this.service.execution.func);
85
85
  this.queryBuilderState = queryBuilderState;
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceQueryEditorStore.js","sourceRoot":"","sources":["../../../src/stores/studio/ServiceQueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,WAAW,EACX,uBAAuB,EACvB,sBAAsB,EACtB,4BAA4B,EAC5B,yBAAyB,GAC1B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,aAAa,EACb,oBAAoB,GAErB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL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,CAAC,iBAAiB,CAAC,UAAU,CAAC,OAAO,EAAE,UAAU,CAAC,CAC7D,CAAC;QAEF,OAAO;YACL,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,WAAW;SACZ,CAAC;IACJ,CAAC;CACF;AAED,MAAM,OAAO,+BAAgC,SAAQ,uBAAuB;IACjE,SAAS,CAAS;IAClB,gBAAgB,CAAS;IACzB,WAAW,CAAS;IAE7B,YACE,gBAA8C,EAC9C,gBAAkC,EAClC,iBAAoC,EACpC,SAAiB,EACjB,gBAAwB,EACxB,WAAmB;QAEnB,KAAK,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;QAE7D,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;IAED,KAAK,CAAC,uBAAuB;QAC3B,OAAO;YACL,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"ServiceQueryEditorStore.js","sourceRoot":"","sources":["../../../src/stores/studio/ServiceQueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,WAAW,EACX,uBAAuB,EACvB,sBAAsB,EACtB,4BAA4B,EAC5B,yBAAyB,GAC1B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,aAAa,EACb,oBAAoB,GAErB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAIL,wBAAwB,GACzB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,gBAAgB,G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EAAE,UAAU,CAAC,CAC7D,CAAC;QAEF,OAAO;YACL,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,WAAW;SACZ,CAAC;IACJ,CAAC;CACF;AAED,MAAM,OAAO,+BAAgC,SAAQ,uBAAuB;IACjE,SAAS,CAAS;IAClB,gBAAgB,CAAS;IACzB,WAAW,CAAS;IAE7B,YACE,gBAA8C,EAC9C,gBAAkC,EAClC,iBAAoC,EACpC,SAAiB,EACjB,gBAAwB,EACxB,WAAmB;QAEnB,KAAK,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;QAE7D,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;IAED,KAAK,CAAC,uBAAuB;QAC3B,OAAO;YACL,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,CAAC;IACJ,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-service",
3
- "version": "1.0.168",
3
+ "version": "1.0.170",
4
4
  "description": "Legend extension for Service DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -42,13 +42,13 @@
42
42
  "test:watch": "jest --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@finos/legend-application": "15.0.76",
46
- "@finos/legend-application-query": "13.4.12",
47
- "@finos/legend-application-studio": "28.16.23",
48
- "@finos/legend-art": "7.1.28",
45
+ "@finos/legend-application": "15.1.1",
46
+ "@finos/legend-application-query": "13.4.14",
47
+ "@finos/legend-application-studio": "28.16.25",
48
+ "@finos/legend-art": "7.1.30",
49
49
  "@finos/legend-graph": "31.9.15",
50
- "@finos/legend-lego": "1.2.29",
51
- "@finos/legend-query-builder": "4.14.35",
50
+ "@finos/legend-lego": "1.2.31",
51
+ "@finos/legend-query-builder": "4.14.37",
52
52
  "@finos/legend-server-depot": "6.0.40",
53
53
  "@finos/legend-server-sdlc": "5.3.11",
54
54
  "@finos/legend-shared": "10.0.35",
@@ -16,98 +16,120 @@
16
16
 
17
17
  import packageJson from '../../../package.json' assert { type: 'json' };
18
18
  import {
19
- type QueryEditorActionConfiguration,
20
19
  LegendQueryApplicationPlugin,
21
20
  ExistingQueryEditorStore,
21
+ QueryBuilderActionConfig_QueryApplication,
22
22
  } from '@finos/legend-application-query';
23
- import { ArrowCircleUpIcon } from '@finos/legend-art';
23
+ import { ArrowCircleUpIcon, RocketIcon } from '@finos/legend-art';
24
24
  import { generateQueryProductionizerRoute } from '../../__lib__/studio/DSL_Service_LegendStudioNavigation.js';
25
25
  import { StoreProjectData } from '@finos/legend-server-depot';
26
26
  import { parseProjectIdentifier } from '@finos/legend-storage';
27
27
  import { buildUrl } from '@finos/legend-shared';
28
- import { ServiceRegisterAction } from './ServiceRegisterModal.js';
28
+ import { ServiceRegisterModal } from './ServiceRegisterModal.js';
29
+ import type { QueryBuilderMenuActionConfiguration } from '@finos/legend-query-builder';
29
30
 
30
31
  export class DSL_Service_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
31
32
  constructor() {
32
33
  super(packageJson.extensions.applicationQueryPlugin, packageJson.version);
33
34
  }
34
35
 
35
- override getExtraQueryEditorActionConfigurations(): QueryEditorActionConfiguration[] {
36
+ getExtraQueryBuilderExportMenuActionConfigurations?(): QueryBuilderMenuActionConfiguration[] {
36
37
  return [
37
38
  {
38
- key: 'productionize-query',
39
- renderer: (editorStore, queryBuilderState) => {
40
- const openQueryProductionizer = async (): Promise<void> => {
41
- if (!(editorStore instanceof ExistingQueryEditorStore)) {
42
- return;
43
- }
44
- // fetch project data
45
- const project = StoreProjectData.serialization.fromJson(
46
- await editorStore.depotServerClient.getProject(
47
- editorStore.lightQuery.groupId,
48
- editorStore.lightQuery.artifactId,
49
- ),
50
- );
51
-
52
- // find the matching SDLC instance
53
- const projectIDPrefix = parseProjectIdentifier(
54
- project.projectId,
55
- ).prefix;
56
- const matchingSDLCEntry =
57
- editorStore.applicationStore.config.studioInstances.find(
58
- (entry) => entry.sdlcProjectIDPrefix === projectIDPrefix,
59
- );
60
- if (matchingSDLCEntry) {
61
- editorStore.applicationStore.navigationService.navigator.goToAddress(
62
- buildUrl([
63
- editorStore.applicationStore.config.studioApplicationUrl,
64
- generateQueryProductionizerRoute(editorStore.lightQuery.id),
65
- ]),
66
- { ignoreBlocking: true },
67
- );
68
- } else {
69
- editorStore.applicationStore.notificationService.notifyWarning(
70
- `Can't find the corresponding SDLC instance to productionize the query`,
39
+ key: 'export-as-productionized-query',
40
+ title: 'Productionize query...',
41
+ label: 'Productionized Query',
42
+ onClick: (queryBuilderState): void => {
43
+ if (
44
+ queryBuilderState.workflowState.actionConfig instanceof
45
+ QueryBuilderActionConfig_QueryApplication
46
+ ) {
47
+ const editorStore =
48
+ queryBuilderState.workflowState.actionConfig.editorStore;
49
+ const openQueryProductionizer = async (): Promise<void> => {
50
+ if (!(editorStore instanceof ExistingQueryEditorStore)) {
51
+ return;
52
+ }
53
+ // fetch project data
54
+ const project = StoreProjectData.serialization.fromJson(
55
+ await editorStore.depotServerClient.getProject(
56
+ editorStore.lightQuery.groupId,
57
+ editorStore.lightQuery.artifactId,
58
+ ),
71
59
  );
72
- }
73
- };
74
60
 
75
- const proceed = (): void => {
61
+ // find the matching SDLC instance
62
+ const projectIDPrefix = parseProjectIdentifier(
63
+ project.projectId,
64
+ ).prefix;
65
+ const matchingSDLCEntry =
66
+ editorStore.applicationStore.config.studioInstances.find(
67
+ (entry) => entry.sdlcProjectIDPrefix === projectIDPrefix,
68
+ );
69
+ if (matchingSDLCEntry) {
70
+ editorStore.applicationStore.navigationService.navigator.goToAddress(
71
+ buildUrl([
72
+ editorStore.applicationStore.config.studioApplicationUrl,
73
+ generateQueryProductionizerRoute(editorStore.lightQuery.id),
74
+ ]),
75
+ { ignoreBlocking: true },
76
+ );
77
+ } else {
78
+ editorStore.applicationStore.notificationService.notifyWarning(
79
+ `Can't find the corresponding SDLC instance to productionize the query`,
80
+ );
81
+ }
82
+ };
83
+
76
84
  queryBuilderState.changeDetectionState.alertUnsavedChanges(() => {
77
85
  openQueryProductionizer().catch(
78
86
  editorStore.applicationStore.alertUnhandledError,
79
87
  );
80
88
  });
81
- };
82
-
83
- return (
84
- <button
85
- className="query-editor__header__action btn--dark"
86
- tabIndex={-1}
87
- onClick={proceed}
88
- disabled={!(editorStore instanceof ExistingQueryEditorStore)}
89
- title={
90
- !(editorStore instanceof ExistingQueryEditorStore)
91
- ? 'Please save your query first before productionizing'
92
- : 'Productionize query...'
93
- }
94
- >
95
- <ArrowCircleUpIcon className="query-editor__header__action__icon--productionize" />
96
- <div className="query-editor__header__action__label">
97
- Productionize Query
98
- </div>
99
- </button>
100
- );
89
+ }
101
90
  },
91
+ icon: <ArrowCircleUpIcon />,
102
92
  },
103
93
  {
104
- key: 'register-service',
105
- renderer: (editorStore, queryBuilderState) => (
106
- <ServiceRegisterAction
107
- editorStore={editorStore}
108
- queryBuilderState={queryBuilderState}
109
- />
110
- ),
94
+ key: 'export-as-dev-service',
95
+ title: 'Register query as service',
96
+ label: 'DEV Service',
97
+ onClick: (queryBuilderState): void => {
98
+ if (
99
+ queryBuilderState.workflowState.actionConfig instanceof
100
+ QueryBuilderActionConfig_QueryApplication
101
+ ) {
102
+ const editorStore =
103
+ queryBuilderState.workflowState.actionConfig.editorStore;
104
+ editorStore.setShowRegisterServiceModal(true);
105
+ }
106
+ },
107
+ icon: <RocketIcon />,
108
+ renderExtraComponent: (
109
+ queryBuilderState,
110
+ ): React.ReactNode | undefined => {
111
+ if (
112
+ queryBuilderState.workflowState.actionConfig instanceof
113
+ QueryBuilderActionConfig_QueryApplication
114
+ ) {
115
+ const editorStore =
116
+ queryBuilderState.workflowState.actionConfig.editorStore;
117
+ return (
118
+ <>
119
+ {editorStore.showRegisterServiceModal && (
120
+ <ServiceRegisterModal
121
+ editorStore={editorStore}
122
+ onClose={(): void =>
123
+ editorStore.setShowRegisterServiceModal(false)
124
+ }
125
+ queryBuilderState={queryBuilderState}
126
+ />
127
+ )}
128
+ </>
129
+ );
130
+ }
131
+ return undefined;
132
+ },
111
133
  },
112
134
  ];
113
135
  }
@@ -40,7 +40,6 @@ import {
40
40
  PanelDivider,
41
41
  PanelFullContent,
42
42
  PanelLoadingIndicator,
43
- RocketIcon,
44
43
  SquareIcon,
45
44
  } from '@finos/legend-art';
46
45
  import {
@@ -72,7 +71,7 @@ export const generateServiceURL = (
72
71
  return `${urlPrefix ?? `/${uuid()}`}${paramSuffix}`;
73
72
  };
74
73
 
75
- const ServiceRegisterModal = observer(
74
+ export const ServiceRegisterModal = observer(
76
75
  (props: {
77
76
  editorStore: QueryEditorStore;
78
77
  onClose: () => void;
@@ -336,7 +335,16 @@ const ServiceRegisterModal = observer(
336
335
  </PanelFullContent>
337
336
  </Panel>
338
337
  <div className="search-modal__actions">
339
- <button className="btn btn--dark" onClick={registerService}>
338
+ <button
339
+ className="btn btn--dark"
340
+ onClick={registerService}
341
+ disabled={!queryBuilderState.canBuildQuery}
342
+ title={
343
+ !queryBuilderState.canBuildQuery
344
+ ? 'Please fix query errors before registering query as service'
345
+ : undefined
346
+ }
347
+ >
340
348
  Register Service
341
349
  </button>
342
350
  <button className="btn btn--dark" onClick={onClose}>
@@ -348,41 +356,3 @@ const ServiceRegisterModal = observer(
348
356
  );
349
357
  },
350
358
  );
351
-
352
- export const ServiceRegisterAction = observer(
353
- (props: {
354
- editorStore: QueryEditorStore;
355
- queryBuilderState: QueryBuilderState;
356
- }) => {
357
- const { editorStore, queryBuilderState } = props;
358
-
359
- const [showRegisterServiceModal, setShowRegisterServiceModal] =
360
- useState(false);
361
- const registerCurrentQuery = (): void => {
362
- setShowRegisterServiceModal(true);
363
- };
364
- const onClose = (): void => setShowRegisterServiceModal(false);
365
- return (
366
- <>
367
- <button
368
- className="query-editor__header__action btn--dark"
369
- tabIndex={-1}
370
- onClick={registerCurrentQuery}
371
- title="Register query as service"
372
- >
373
- <RocketIcon className="query-editor__header__action__icon--service" />
374
- <div className="query-editor__header__action__label">
375
- Register DEV Service
376
- </div>
377
- </button>
378
- {showRegisterServiceModal && (
379
- <ServiceRegisterModal
380
- editorStore={editorStore}
381
- onClose={onClose}
382
- queryBuilderState={queryBuilderState}
383
- />
384
- )}
385
- </>
386
- );
387
- },
388
- );
@@ -57,6 +57,7 @@ import {
57
57
  } from './ServiceQueryEditorStoreProvider.js';
58
58
  import {
59
59
  QueryBuilder,
60
+ QueryBuilderActionConfig,
60
61
  QueryBuilderAdvancedWorkflowState,
61
62
  QueryBuilderNavigationBlocker,
62
63
  } from '@finos/legend-query-builder';
@@ -499,6 +500,7 @@ export const ServiceQueryEditor = observer(() => {
499
500
  flowResult(
500
501
  editorStore.initializeWithServiceQuery(
501
502
  QueryBuilderAdvancedWorkflowState.INSTANCE,
503
+ QueryBuilderActionConfig.INSTANCE,
502
504
  ),
503
505
  ).catch(applicationStore.alertUnhandledError);
504
506
  }, [editorStore, applicationStore]);
@@ -35,8 +35,9 @@ import {
35
35
  } from '@finos/legend-graph';
36
36
  import {
37
37
  type QueryBuilderState,
38
- ServiceQueryBuilderState,
39
38
  type QueryBuilderWorkflowState,
39
+ type QueryBuilderActionConfig,
40
+ ServiceQueryBuilderState,
40
41
  } from '@finos/legend-query-builder';
41
42
  import {
42
43
  type DepotServerClient,
@@ -160,6 +161,7 @@ export abstract class ServiceQueryEditorStore extends EditorStore {
160
161
 
161
162
  *initializeWithServiceQuery(
162
163
  workflow: QueryBuilderWorkflowState,
164
+ actionConfig: QueryBuilderActionConfig,
163
165
  ): GeneratorFn<void> {
164
166
  try {
165
167
  const serviceInfo =
@@ -189,6 +191,7 @@ export abstract class ServiceQueryEditorStore extends EditorStore {
189
191
  this.applicationStore,
190
192
  this.graphManagerState,
191
193
  workflow,
194
+ actionConfig,
192
195
  this.service,
193
196
  undefined,
194
197
  undefined,