From cc75f9b96549dc80f7b871fbb57e932c46ab5cd9 Mon Sep 17 00:00:00 2001 From: Jozef Marko Date: Tue, 10 Dec 2024 09:54:20 +0100 Subject: [PATCH 01/18] kie-issues#1527: DMN Editor: Create new overlay option 'Highlight evaluation results' (#2657) --- packages/dmn-editor/src/DmnEditor.css | 6 ++ .../BoxedExpressionScreen.tsx | 37 +++++---- packages/dmn-editor/src/diagram/Diagram.tsx | 79 ++++++++++--------- .../EvaluationHighlightsBadge.tsx | 45 +++++++++++ .../src/overlaysPanel/OverlaysPanel.tsx | 37 ++++++--- packages/dmn-editor/src/store/Store.ts | 4 +- 6 files changed, 142 insertions(+), 66 deletions(-) create mode 100644 packages/dmn-editor/src/evaluationHighlights/EvaluationHighlightsBadge.tsx diff --git a/packages/dmn-editor/src/DmnEditor.css b/packages/dmn-editor/src/DmnEditor.css index 4e5107f818d..5c6ec0e2821 100644 --- a/packages/dmn-editor/src/DmnEditor.css +++ b/packages/dmn-editor/src/DmnEditor.css @@ -395,6 +395,12 @@ } /* (end) autolayout panel toggle */ +/* (begin) evaluation-highlights panel toggle */ +.kie-dmn-editor--evaluation-highlights-panel-toggle { + min-width: 190px; +} +/* (end) evaluation-highlights panel toggle */ + /* (begin) overlays panel toggle */ .kie-dmn-editor--overlays-panel-toggle { width: 42px; diff --git a/packages/dmn-editor/src/boxedExpressions/BoxedExpressionScreen.tsx b/packages/dmn-editor/src/boxedExpressions/BoxedExpressionScreen.tsx index 72a355eb9a2..ddaf018c2ca 100644 --- a/packages/dmn-editor/src/boxedExpressions/BoxedExpressionScreen.tsx +++ b/packages/dmn-editor/src/boxedExpressions/BoxedExpressionScreen.tsx @@ -81,6 +81,7 @@ import { useDmnEditorStore, useDmnEditorStoreApi } from "../store/StoreContext"; import { getDefaultColumnWidth } from "./getDefaultColumnWidth"; import { getDefaultBoxedExpression } from "./getDefaultBoxedExpression"; import { useSettings } from "../settings/DmnEditorSettingsContext"; +import { EvaluationHighlightsBadge } from "../evaluationHighlights/EvaluationHighlightsBadge"; export function BoxedExpressionScreen({ container }: { container: React.RefObject }) { const { externalModelsByNamespace } = useExternalModels(); @@ -361,24 +362,28 @@ export function BoxedExpressionScreen({ container }: { container: React.RefObjec - + + + +
- - {!settings.isReadOnly && ( - - )} - - {!diagram.propertiesPanel.isOpen && ( - - )} + {!diagram.propertiesPanel.isOpen && ( + + )} + ); diff --git a/packages/dmn-editor/src/evaluationHighlights/EvaluationHighlightsBadge.tsx b/packages/dmn-editor/src/evaluationHighlights/EvaluationHighlightsBadge.tsx new file mode 100644 index 00000000000..1479a96010f --- /dev/null +++ b/packages/dmn-editor/src/evaluationHighlights/EvaluationHighlightsBadge.tsx @@ -0,0 +1,45 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import * as React from "react"; +import { useDmnEditorStore, useDmnEditorStoreApi } from "../store/StoreContext"; +import { Label } from "@patternfly/react-core/dist/js/components/Label"; +import { OffIcon, OnIcon } from "@patternfly/react-icons/dist/js/icons"; + +export function EvaluationHighlightsBadge() { + const dmnEditorStoreApi = useDmnEditorStoreApi(); + const isEvaluationHighlightsEnabled = useDmnEditorStore((s) => s.diagram.overlays.enableEvaluationHighlights); + + return ( + + ); +} diff --git a/packages/dmn-editor/src/overlaysPanel/OverlaysPanel.tsx b/packages/dmn-editor/src/overlaysPanel/OverlaysPanel.tsx index f66be9aa90a..c76695df516 100644 --- a/packages/dmn-editor/src/overlaysPanel/OverlaysPanel.tsx +++ b/packages/dmn-editor/src/overlaysPanel/OverlaysPanel.tsx @@ -24,6 +24,9 @@ import { Divider } from "@patternfly/react-core/dist/js/components/Divider"; import { Slider } from "@patternfly/react-core/dist/js/components/Slider"; import { useDmnEditorStore, useDmnEditorStoreApi } from "../store/StoreContext"; import { useLayoutEffect, useRef } from "react"; +import { Icon } from "@patternfly/react-core/dist/js/components/Icon"; +import { Tooltip } from "@patternfly/react-core/dist/js/components/Tooltip"; +import { HelpIcon } from "@patternfly/react-icons/dist/js/icons/help-icon"; const MIN_SNAP = 5; const MAX_SNAP = 50; @@ -115,17 +118,6 @@ export function OverlaysPanel({ availableHeight }: OverlaysPanelProps) {
e.stopPropagation()} // Prevent ReactFlow KeyboardShortcuts from triggering when editing stuff on Overlays Panel > - {/* - - dmnEditorStoreApi.setState((state) => { - state.diagram.overlays.enableExecutionHitsHighlights = newValue; - }) - } - /> - */} + + + + + + } + > + + dmnEditorStoreApi.setState((state) => { + state.diagram.overlays.enableEvaluationHighlights = newValue; + }) + } + /> +
); diff --git a/packages/dmn-editor/src/store/Store.ts b/packages/dmn-editor/src/store/Store.ts index aa9658991aa..bc5bd1959aa 100644 --- a/packages/dmn-editor/src/store/Store.ts +++ b/packages/dmn-editor/src/store/Store.ts @@ -107,9 +107,9 @@ export interface State { openLhsPanel: DiagramLhsPanel; overlays: { enableNodeHierarchyHighlight: boolean; - enableExecutionHitsHighlights: boolean; enableDataTypesToolbarOnNodes: boolean; enableCustomNodeStyles: boolean; + enableEvaluationHighlights: boolean; }; snapGrid: SnapGrid; _selectedNodes: Array; @@ -214,9 +214,9 @@ export const defaultStaticState = (): Omit Date: Wed, 11 Dec 2024 07:57:15 -0500 Subject: [PATCH 02/18] NO-ISSUE: Make examples better reflect their domain and contain more focused code (#2726) Co-authored-by: Martin Cimbalek --- .../ci/partitions/partition1.txt | 3 +- .rat-excludes | 42 +- _intellij-project/.idea/misc.xml | 6 +- _intellij-project/.idea/modules.xml | 6 +- examples/README.md | 5 + .../LICENSE | 0 .../bpmn-editor-classic-on-webapp/README.md | 60 + .../env/index.js | 6 +- .../package.json | 37 + .../src/BpmnEditorClassicEnvelope.ts} | 0 .../src/BpmnEditorClassicPage.tsx} | 23 +- .../src}/Sidebar.tsx | 111 +- .../src/index.tsx | 25 + .../static/bpmn-editor-classic-envelope.html} | 2 +- .../static/examples/sample.bpmn | 0 .../static/index.html | 32 + .../static/logo.png | Bin .../tsconfig.json | 0 .../webpack.config.js | 19 +- .../LICENSE | 0 .../dmn-editor-classic-on-webapp/README.md | 60 + .../env/index.js | 4 +- .../dmn-editor-classic-on-webapp/package.json | 37 + .../src/DmnEditorClassicEnvelope.ts} | 2 +- .../src/DmnEditorClassicPage.tsx} | 23 +- .../src/Sidebar.tsx | 188 ++ .../src/index.tsx | 25 + .../static/dmn-editor-classic-envelope.html} | 8 +- .../static/examples/sample.dmn | 0 .../static/index.html | 32 + .../static/logo.png | Bin 0 -> 30305 bytes .../tsconfig.json | 8 + .../webpack.config.js | 65 + .../LICENSE | 0 examples/dmn-editor-on-webapp/README.md | 60 + .../env/index.js | 4 +- examples/dmn-editor-on-webapp/package.json | 36 + .../src/DmnEditorEnvelope.ts} | 0 .../src/DmnEditorPage.tsx} | 23 +- examples/dmn-editor-on-webapp/src/Sidebar.tsx | 188 ++ examples/dmn-editor-on-webapp/src/index.tsx | 25 + .../static/dmn-editor-envelope.html} | 2 +- .../static/examples/sample.dmn | 857 ++++++++ .../dmn-editor-on-webapp/static/index.html | 32 + examples/dmn-editor-on-webapp/static/logo.png | Bin 0 -> 30305 bytes examples/dmn-editor-on-webapp/tsconfig.json | 8 + .../dmn-editor-on-webapp/webpack.config.js | 59 + .../README.md | 33 +- .../env/index.js | 31 + .../package.json | 9 +- .../src/fileLoader.ts | 0 .../src/readOnly/index.html | 0 .../src/readOnly/index.ts | 0 .../src/stateControl/index.html | 0 .../src/stateControl/index.ts | 0 .../src/withIncludedModels/index.html | 0 .../src/withIncludedModels/index.ts | 2 +- .../static/models/can-drive-types.dmn | 0 .../static/models/can-drive.dmn | 0 .../static/models/empty-drd.dmn | 0 .../static/models/empty.dmn | 0 .../static/models/find-employees.dmn | 0 .../static/models/loan-pre-qualification.dmn | 0 .../tsconfig.json | 0 .../webpack.config.js | 7 +- .../resources/META-INF/resources/index.html | 172 -- .../travels/quarkus/ApprovalsProcessTest.java | 144 -- .../src/test/resources/application.properties | 23 - .../Makefile | 46 + .../README.md | 16 +- .../env/index.js | 12 +- .../go.mod | 2 +- .../go.sum | 0 .../main.go | 4 +- .../package.json | 3 +- .../pkg/metadata/config.go | 0 .../pkg/validate.go | 4 +- .../pkg/validators/issuePrefix.go | 0 .../pkg/validators/length.go | 0 .../pkg/validators/validator.go | 0 .../LICENSE | 0 .../README.md | 29 +- .../env/index.js | 33 + .../package.json | 10 +- .../src/Base64PngEditorEnvelope.ts} | 2 +- .../src/contentscript.ts | 11 +- .../static/base64png-editor-envelope.html} | 2 +- .../static/kie-logo-128x128.png} | Bin .../kie-logo-rgb-fullcolor-default.svg} | 0 .../static/manifest.json | 8 +- .../tsconfig.json | 0 .../webpack.config.js | 14 +- .../LICENSE | 0 .../README.md | 58 + .../env/index.js | 31 + .../package.json | 35 + .../src/Base64PngEditorEnvelope.ts} | 2 +- .../src/Base64PngEditorPage.tsx} | 23 +- .../src}/Base64PngGallery.tsx | 38 +- .../src/index.tsx | 25 + .../static/base64png-editor-envelope.html} | 2 +- .../static/examples/dorinha.base64png | 0 .../static/examples/luiz.base64png | 0 .../static/examples/sample.base64png | 0 .../static/examples/tiago.base64png | 0 .../static/index.html | 32 + .../static/logo.png | Bin 0 -> 30305 bytes .../tsconfig.json | 8 + .../webpack.config.js | 52 + .../.vscodeignore | 0 .../LICENSE | 0 .../README.md | 29 +- .../env/index.js | 0 .../package.json | 61 +- .../src/Base64PngEditorEnvelope.ts} | 2 +- .../src/extension.ts | 54 +- .../static/kie-logo-128x128.png} | Bin .../static/svg-icon-dark.png | Bin .../static/svg-icon-light.png | Bin .../tsconfig.json | 0 .../webpack.config.js | 4 +- .../LICENSE | 0 .../README.md | 6 +- .../env/index.js | 0 .../package.json | 2 +- .../src/Base64PngEditor.scss} | 0 .../src/Base64PngEditor.tsx | 22 +- .../src/Base64PngEditorFactory.ts | 0 .../src/Base64PngEditorInterface.tsx | 0 .../src/Base64PngEditorStateControl.ts} | 4 +- .../src/index.ts | 0 .../tsconfig.json | 0 .../README.md | 4 +- .../angular.json | 0 .../env/index.js | 0 .../lib/index.ts | 0 .../package.json | 4 +- .../src/app/app.component.ts | 0 .../src/app/app.module.ts | 0 .../app/ping-pong/ping-pong-api.service.ts | 7 +- .../src/app/ping-pong/ping-pong.component.css | 0 .../app/ping-pong/ping-pong.component.html | 0 .../src/app/ping-pong/ping-pong.component.ts | 2 +- .../web-component/web-component.component.ts | 0 .../app/web-component/web-component.main.ts | 0 .../src/assets/.gitkeep | 0 .../src/environments/environment.prod.ts | 0 .../src/environments/environment.ts | 0 .../src/favicon.ico | Bin .../src/index.html | 0 .../src/main.ts | 0 .../src/polyfills.ts | 0 .../src/styles.css | 0 .../src/test.ts | 0 .../tsconfig.app.json | 0 .../tsconfig.json | 0 .../tsconfig.lib.json | 0 .../tsconfig.wc.json | 0 .../LICENSE | 0 .../README.md | 6 +- .../env/index.js | 0 .../package.json | 4 +- .../src/PingPongEnvelopeView.tsx | 2 +- .../src/PingPongReactImpl.tsx | 6 +- .../src/PingPongReactImplFactory.tsx | 8 +- .../src/div/index.tsx | 0 .../src/iframe/index.tsx | 0 .../src/index.ts | 0 .../src/styles.css | 0 .../tsconfig.json | 0 .../LICENSE | 201 ++ .../README.md | 20 +- .../env/index.js | 0 .../package.json | 2 +- .../src/api/PingPongApi.ts | 0 .../src/api/PingPongChannelApi.ts | 0 .../src/api/PingPongEnvelopeApi.ts | 0 .../src/api/index.ts | 0 .../src/embedded/EmbeddedDivPingPong.tsx | 0 .../src/embedded/EmbeddedIFramePingPong.tsx | 0 .../src/embedded/index.ts | 0 .../src/envelope/PingPongEnvelope.ts | 0 .../src/envelope/PingPongEnvelopeApiImpl.ts | 0 .../src/envelope/PingPongFactory.ts | 0 .../src/envelope/index.ts | 0 .../tsconfig.json | 0 .../LICENSE | 201 ++ .../README.md | 60 + .../env/index.js | 31 + .../package.json | 40 + .../Angular/PingPongAngularDivViewsPage.tsx | 88 + .../PingPongAngularIFrameViewsPage.tsx | 93 + .../src/App.tsx | 125 ++ .../src/Mixed/PingPongMixedViewsPage.tsx | 111 ++ .../src/PingPongViewInReactEnvelope.ts} | 2 +- .../src/React/PingPongReactDivViewsPage.tsx | 92 + .../React/PingPongReactIFrameViewsPage.tsx | 93 + .../src}/StatsSidebar.tsx | 91 +- .../src}/hooks.ts | 5 +- .../src/index.tsx | 1 + .../static/index.html | 0 .../static/logo.png | Bin 0 -> 30305 bytes .../ping-pong-view-in-react-envelope.html} | 2 +- .../tsconfig.json | 8 + .../webpack.config.js | 58 + .../LICENSE | 201 ++ .../README.md | 60 + .../env/index.js | 31 + .../package.json | 35 + .../src/TodoListViewEnvelope.ts} | 2 +- .../src}/TodoListViewPage.tsx | 79 +- .../src/index.tsx | 25 + .../static/index.html | 32 + .../static/logo.png | Bin 0 -> 30305 bytes .../static/todo-list-view-envelope.html} | 2 +- .../tsconfig.json | 8 + .../webpack.config.js | 52 + .../.vscodeignore | 0 .../LICENSE | 201 ++ .../README.md | 32 +- .../env/index.js | 0 .../package.json | 22 +- .../src/TodoListViewEnvelope.ts} | 2 +- .../src/extension.ts | 10 +- .../static/kie-logo-128x128.png | Bin 0 -> 5559 bytes .../tsconfig.json | 0 .../webpack.config.js | 4 +- .../LICENSE | 201 ++ .../README.md | 14 +- .../env/index.js | 0 .../package.json | 2 +- .../src/api/TodoListApi.ts | 0 .../src/api/TodoListChannelApi.ts | 0 .../src/api/TodoListEnvelopeApi.ts | 0 .../src/api/index.ts | 0 .../src/embedded/EmbeddedTodoList.tsx | 0 .../src/embedded/index.ts | 0 .../src/envelope/TodoListEnvelope.tsx | 0 .../src/envelope/TodoListEnvelopeApiImpl.ts | 0 .../src/envelope/TodoListEnvelopeContext.ts | 0 .../src/envelope/TodoListEnvelopeView.tsx | 2 +- .../src/envelope/index.ts | 0 .../src/envelope/styles.scss | 0 .../src/vscode/TodoListWebview.ts | 0 .../src/vscode/index.ts | 0 .../tsconfig.json | 0 .../.gitignore | 0 .../README.md | 2 +- .../docker-compose/docker-compose.yml | 11 +- .../docker-compose/keycloak/kogito-realm.json | 0 .../docker-compose/pgadmin/pgpass | 0 .../docker-compose/pgadmin/servers.json | 0 .../docker-compose/sql/init.sql | 0 .../docker-compose/startContainers.sh | 13 +- .../docs/images/g1_1_mc_list.png | Bin .../docs/images/g1_2_mc_details.png | Bin .../images/g1_3_mc_details_executed_job.png | Bin .../images/g2_10_mc_details_completed.png | Bin .../docs/images/g2_1_mc_list.png | Bin .../docs/images/g2_2_mc_details.png | Bin .../docs/images/g2_3_tc_inbox.png | Bin .../docs/images/g2_4_tc_hr_form.png | Bin .../images/g2_5_tc_hr_form_notification.png | Bin .../docs/images/g2_6_mc_details.png | Bin .../docs/images/g2_7_tc_inbox.png | Bin .../docs/images/g2_8_tc_it_form.png | Bin .../docs/images/g2_9_tc_inbox_empty.png | Bin .../images/generate_offer_assignments.png | Bin .../docs/images/hiring_diagram.png | Bin .../docs/images/hr_interview_assignments.png | Bin .../docs/images/it_interview_assignments.png | Bin .../docs/images/mc_details_1.png | Bin .../docs/images/mc_list.png | Bin .../docs/images/new_hiring_offer_dmn.png | Bin .../images/new_hiring_offer_dmn_decision.png | Bin ..._hiring_offer_dmn_types_tCandidateData.png | Bin .../new_hiring_offer_dmn_types_tOffer.png | Bin .../env/index.js | 8 +- .../install.js | 4 +- .../package.json | 2 +- .../pom.xml | 4 +- .../process-compact-architecture.iml} | 0 .../java/org/kie/kogito/hr/CandidateData.java | 0 .../main/java/org/kie/kogito/hr/Offer.java | 0 .../resources/META-INF/processSVG/hiring.svg | 0 .../src/main/resources/NewHiringOffer.dmn | 0 .../src/main/resources/application.properties | 107 + .../src/main/resources/hiring.bpmn | 0 .../README.md | 16 +- .../docs/images/diagramProperties.png | Bin .../docs/images/diagramProperties3.png | Bin .../docs/images/firstLineApprovalUserTask.png | Bin .../images/firstLineApprovalUserTask2.png | Bin .../firstLineApprovalUserTaskAssignments.png | Bin .../docs/images/process.png | Bin .../images/secondLineApprovalUserTask.png | Bin .../secondLineApprovalUserTaskAssignments.png | Bin .../env/index.js | 2 +- .../install.js | 2 +- .../package.json | 9 +- .../pom.xml | 5 +- .../process-user-tasks-subsystem.iml} | 0 .../src/main/docker/Dockerfile.jvm | 0 .../src/main/docker/Dockerfile.native | 0 .../main/java/org/acme/travels/Address.java | 0 .../main/java/org/acme/travels/Traveller.java | 0 .../META-INF/processSVG/approvals.svg | 0 .../src/main/resources/application.properties | 0 .../resources/org/acme/travels/approval.bpmn | 0 .../LICENSE | 201 ++ .../README.md | 60 + .../env/index.js | 31 + .../package.json | 30 +- .../src/App.tsx | 103 + .../src/Pages}/SwfEditorEmptyState.tsx | 0 .../SwfStandaloneDiagramOnlyEditorPage.tsx | 5 +- .../src/Pages}/SwfStandaloneEditorPage.tsx | 0 .../SwfStandaloneTextOnlyEditorPage.tsx | 0 .../src/index.tsx | 25 + .../static/index.html | 32 + .../static/logo.png | Bin 0 -> 30305 bytes .../tsconfig.json | 8 + .../webpack.config.js | 51 + .../README.md | 21 +- .../env/index.js | 0 .../install.js | 0 .../package.json | 9 +- .../pom.xml | 6 +- .../sonataflow-greeting.iml} | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/jsongreet.sw.json | 0 .../src/main/resources/yamlgreet.sw.yml | 0 .../org/kie/kogito/examples/GreetRestIT.java | 0 examples/uniforms-patternfly/README.md | 2 +- examples/uniforms-patternfly/src/App.tsx | 2 - .../resources/styles.css => src/index.css} | 0 examples/uniforms-patternfly/src/index.tsx | 2 + examples/webapp/README.md | 88 - examples/webapp/src/App.tsx | 223 --- examples/webapp/src/Home.tsx | 39 - .../Angular/PingPongAngularDivViewsPage.tsx | 85 - .../PingPongAngularIFrameViewsPage.tsx | 86 - .../PingPong/Mixed/PingPongMixedViewsPage.tsx | 103 - .../React/PingPongReactDivViewsPage.tsx | 85 - .../React/PingPongReactIFrameViewsPage.tsx | 86 - .../DmnStandaloneEditorPage.tsx | 94 - .../NewDmnStandaloneEditorPage.tsx | 100 - examples/webapp/static/resources/styles.css | 102 - packages/README.md | 3 + pnpm-lock.yaml | 1720 ++++++++++++++--- repo/graph.dot | 120 +- repo/graph.json | 664 ++++--- scripts/README.md | 3 + 353 files changed, 7318 insertions(+), 2670 deletions(-) create mode 100644 examples/README.md rename examples/{base64png-editor-chrome-extension => bpmn-editor-classic-on-webapp}/LICENSE (100%) create mode 100644 examples/bpmn-editor-classic-on-webapp/README.md rename examples/{base64png-editor-chrome-extension => bpmn-editor-classic-on-webapp}/env/index.js (92%) create mode 100644 examples/bpmn-editor-classic-on-webapp/package.json rename examples/{webapp/src/envelope/bpmn-editor.ts => bpmn-editor-classic-on-webapp/src/BpmnEditorClassicEnvelope.ts} (100%) rename examples/{webapp/src/Pages/KogitoEditors/BpmnPage.tsx => bpmn-editor-classic-on-webapp/src/BpmnEditorClassicPage.tsx} (85%) rename examples/{webapp/src/Pages/KogitoEditors => bpmn-editor-classic-on-webapp/src}/Sidebar.tsx (62%) create mode 100644 examples/bpmn-editor-classic-on-webapp/src/index.tsx rename examples/{webapp/envelope/new-dmn-editor.html => bpmn-editor-classic-on-webapp/static/bpmn-editor-classic-envelope.html} (95%) rename examples/{webapp => bpmn-editor-classic-on-webapp}/static/examples/sample.bpmn (100%) create mode 100644 examples/bpmn-editor-classic-on-webapp/static/index.html rename examples/{webapp => bpmn-editor-classic-on-webapp}/static/logo.png (100%) rename examples/{webapp => bpmn-editor-classic-on-webapp}/tsconfig.json (100%) rename examples/{webapp => bpmn-editor-classic-on-webapp}/webpack.config.js (68%) rename examples/{base64png-editor-vscode-extension => dmn-editor-classic-on-webapp}/LICENSE (100%) create mode 100644 examples/dmn-editor-classic-on-webapp/README.md rename examples/{dmn-editor-standalone-examples => dmn-editor-classic-on-webapp}/env/index.js (94%) create mode 100644 examples/dmn-editor-classic-on-webapp/package.json rename examples/{webapp/src/envelope/dmn-editor.ts => dmn-editor-classic-on-webapp/src/DmnEditorClassicEnvelope.ts} (100%) rename examples/{webapp/src/Pages/KogitoEditors/DmnPage.tsx => dmn-editor-classic-on-webapp/src/DmnEditorClassicPage.tsx} (84%) create mode 100644 examples/dmn-editor-classic-on-webapp/src/Sidebar.tsx create mode 100644 examples/dmn-editor-classic-on-webapp/src/index.tsx rename examples/{webapp/envelope/bpmn-editor.html => dmn-editor-classic-on-webapp/static/dmn-editor-classic-envelope.html} (93%) rename examples/{webapp => dmn-editor-classic-on-webapp}/static/examples/sample.dmn (100%) create mode 100644 examples/dmn-editor-classic-on-webapp/static/index.html create mode 100644 examples/dmn-editor-classic-on-webapp/static/logo.png create mode 100644 examples/dmn-editor-classic-on-webapp/tsconfig.json create mode 100644 examples/dmn-editor-classic-on-webapp/webpack.config.js rename examples/{base64png-editor => dmn-editor-on-webapp}/LICENSE (100%) create mode 100644 examples/dmn-editor-on-webapp/README.md rename examples/{webapp => dmn-editor-on-webapp}/env/index.js (95%) create mode 100644 examples/dmn-editor-on-webapp/package.json rename examples/{webapp/src/envelope/new-dmn-editor.ts => dmn-editor-on-webapp/src/DmnEditorEnvelope.ts} (100%) rename examples/{webapp/src/Pages/KogitoEditors/NewDmnPage.tsx => dmn-editor-on-webapp/src/DmnEditorPage.tsx} (84%) create mode 100644 examples/dmn-editor-on-webapp/src/Sidebar.tsx create mode 100644 examples/dmn-editor-on-webapp/src/index.tsx rename examples/{webapp/envelope/dmn-editor.html => dmn-editor-on-webapp/static/dmn-editor-envelope.html} (96%) create mode 100644 examples/dmn-editor-on-webapp/static/examples/sample.dmn create mode 100644 examples/dmn-editor-on-webapp/static/index.html create mode 100644 examples/dmn-editor-on-webapp/static/logo.png create mode 100644 examples/dmn-editor-on-webapp/tsconfig.json create mode 100644 examples/dmn-editor-on-webapp/webpack.config.js rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/README.md (64%) create mode 100644 examples/dmn-editor-standalone-on-webapp/env/index.js rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/package.json (85%) rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/src/fileLoader.ts (100%) rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/src/readOnly/index.html (100%) rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/src/readOnly/index.ts (100%) rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/src/stateControl/index.html (100%) rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/src/stateControl/index.ts (100%) rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/src/withIncludedModels/index.html (100%) rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/src/withIncludedModels/index.ts (96%) rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/static/models/can-drive-types.dmn (100%) rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/static/models/can-drive.dmn (100%) rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/static/models/empty-drd.dmn (100%) rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/static/models/empty.dmn (100%) rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/static/models/find-employees.dmn (100%) rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/static/models/loan-pre-qualification.dmn (100%) rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/tsconfig.json (100%) rename examples/{dmn-editor-standalone-examples => dmn-editor-standalone-on-webapp}/webpack.config.js (91%) delete mode 100644 examples/drools-process-usertasks-quarkus-example/src/main/resources/META-INF/resources/index.html delete mode 100644 examples/drools-process-usertasks-quarkus-example/src/test/java/org/acme/travels/quarkus/ApprovalsProcessTest.java delete mode 100644 examples/drools-process-usertasks-quarkus-example/src/test/resources/application.properties create mode 100644 examples/kie-sandbox-commit-message-validation-service/Makefile rename examples/{commit-message-validation-service => kie-sandbox-commit-message-validation-service}/README.md (88%) rename examples/{commit-message-validation-service => kie-sandbox-commit-message-validation-service}/env/index.js (74%) rename examples/{commit-message-validation-service => kie-sandbox-commit-message-validation-service}/go.mod (93%) rename examples/{commit-message-validation-service => kie-sandbox-commit-message-validation-service}/go.sum (100%) rename examples/{commit-message-validation-service => kie-sandbox-commit-message-validation-service}/main.go (85%) rename examples/{commit-message-validation-service => kie-sandbox-commit-message-validation-service}/package.json (90%) rename examples/{commit-message-validation-service => kie-sandbox-commit-message-validation-service}/pkg/metadata/config.go (100%) rename examples/{commit-message-validation-service => kie-sandbox-commit-message-validation-service}/pkg/validate.go (88%) rename examples/{commit-message-validation-service => kie-sandbox-commit-message-validation-service}/pkg/validators/issuePrefix.go (100%) rename examples/{commit-message-validation-service => kie-sandbox-commit-message-validation-service}/pkg/validators/length.go (100%) rename examples/{commit-message-validation-service => kie-sandbox-commit-message-validation-service}/pkg/validators/validator.go (100%) rename examples/{ping-pong-view-react => micro-frontends-multiplying-architecture-base64png-editor-chrome-extension}/LICENSE (100%) rename examples/{base64png-editor-vscode-extension => micro-frontends-multiplying-architecture-base64png-editor-chrome-extension}/README.md (70%) create mode 100644 examples/micro-frontends-multiplying-architecture-base64png-editor-chrome-extension/env/index.js rename examples/{base64png-editor-chrome-extension => micro-frontends-multiplying-architecture-base64png-editor-chrome-extension}/package.json (83%) rename examples/{base64png-editor-chrome-extension/src/envelope/index.ts => micro-frontends-multiplying-architecture-base64png-editor-chrome-extension/src/Base64PngEditorEnvelope.ts} (92%) rename examples/{base64png-editor-chrome-extension => micro-frontends-multiplying-architecture-base64png-editor-chrome-extension}/src/contentscript.ts (82%) rename examples/{base64png-editor-chrome-extension/static/envelope/index.html => micro-frontends-multiplying-architecture-base64png-editor-chrome-extension/static/base64png-editor-envelope.html} (96%) rename examples/{base64png-editor-chrome-extension/static/resources/icon_128.png => micro-frontends-multiplying-architecture-base64png-editor-chrome-extension/static/kie-logo-128x128.png} (100%) rename examples/{base64png-editor-chrome-extension/static/resources/kie_icon_rgb_fullcolor_default.svg => micro-frontends-multiplying-architecture-base64png-editor-chrome-extension/static/kie-logo-rgb-fullcolor-default.svg} (100%) rename examples/{base64png-editor-chrome-extension => micro-frontends-multiplying-architecture-base64png-editor-chrome-extension}/static/manifest.json (50%) rename examples/{base64png-editor-chrome-extension => micro-frontends-multiplying-architecture-base64png-editor-chrome-extension}/tsconfig.json (100%) rename examples/{base64png-editor-chrome-extension => micro-frontends-multiplying-architecture-base64png-editor-chrome-extension}/webpack.config.js (76%) rename examples/{ping-pong-view => micro-frontends-multiplying-architecture-base64png-editor-on-webapp}/LICENSE (100%) create mode 100644 examples/micro-frontends-multiplying-architecture-base64png-editor-on-webapp/README.md create mode 100644 examples/micro-frontends-multiplying-architecture-base64png-editor-on-webapp/env/index.js create mode 100644 examples/micro-frontends-multiplying-architecture-base64png-editor-on-webapp/package.json rename examples/{webapp/src/envelope/base64-editor.ts => micro-frontends-multiplying-architecture-base64png-editor-on-webapp/src/Base64PngEditorEnvelope.ts} (90%) rename examples/{webapp/src/Pages/Base64Png/Base64PngPage.tsx => micro-frontends-multiplying-architecture-base64png-editor-on-webapp/src/Base64PngEditorPage.tsx} (81%) rename examples/{webapp/src/Pages/Base64Png => micro-frontends-multiplying-architecture-base64png-editor-on-webapp/src}/Base64PngGallery.tsx (68%) create mode 100644 examples/micro-frontends-multiplying-architecture-base64png-editor-on-webapp/src/index.tsx rename examples/{webapp/envelope/base64-editor.html => micro-frontends-multiplying-architecture-base64png-editor-on-webapp/static/base64png-editor-envelope.html} (95%) rename examples/{webapp => micro-frontends-multiplying-architecture-base64png-editor-on-webapp}/static/examples/dorinha.base64png (100%) rename examples/{webapp => micro-frontends-multiplying-architecture-base64png-editor-on-webapp}/static/examples/luiz.base64png (100%) rename examples/{webapp => micro-frontends-multiplying-architecture-base64png-editor-on-webapp}/static/examples/sample.base64png (100%) rename examples/{webapp => micro-frontends-multiplying-architecture-base64png-editor-on-webapp}/static/examples/tiago.base64png (100%) create mode 100644 examples/micro-frontends-multiplying-architecture-base64png-editor-on-webapp/static/index.html create mode 100644 examples/micro-frontends-multiplying-architecture-base64png-editor-on-webapp/static/logo.png create mode 100644 examples/micro-frontends-multiplying-architecture-base64png-editor-on-webapp/tsconfig.json create mode 100644 examples/micro-frontends-multiplying-architecture-base64png-editor-on-webapp/webpack.config.js rename examples/{base64png-editor-vscode-extension => micro-frontends-multiplying-architecture-base64png-editor-vscode-extension}/.vscodeignore (100%) rename examples/{todo-list-view-vscode-extension => micro-frontends-multiplying-architecture-base64png-editor-vscode-extension}/LICENSE (100%) rename examples/{base64png-editor-chrome-extension => micro-frontends-multiplying-architecture-base64png-editor-vscode-extension}/README.md (65%) rename examples/{base64png-editor-vscode-extension => micro-frontends-multiplying-architecture-base64png-editor-vscode-extension}/env/index.js (100%) rename examples/{base64png-editor-vscode-extension => micro-frontends-multiplying-architecture-base64png-editor-vscode-extension}/package.json (59%) rename examples/{base64png-editor-vscode-extension/src/envelope/index.ts => micro-frontends-multiplying-architecture-base64png-editor-vscode-extension/src/Base64PngEditorEnvelope.ts} (92%) rename examples/{base64png-editor-vscode-extension => micro-frontends-multiplying-architecture-base64png-editor-vscode-extension}/src/extension.ts (58%) rename examples/{base64png-editor-vscode-extension/static/kogito-logo-128x128.png => micro-frontends-multiplying-architecture-base64png-editor-vscode-extension/static/kie-logo-128x128.png} (100%) rename examples/{base64png-editor-vscode-extension => micro-frontends-multiplying-architecture-base64png-editor-vscode-extension}/static/svg-icon-dark.png (100%) rename examples/{base64png-editor-vscode-extension => micro-frontends-multiplying-architecture-base64png-editor-vscode-extension}/static/svg-icon-light.png (100%) rename examples/{base64png-editor-vscode-extension => micro-frontends-multiplying-architecture-base64png-editor-vscode-extension}/tsconfig.json (100%) rename examples/{todo-list-view-vscode-extension => micro-frontends-multiplying-architecture-base64png-editor-vscode-extension}/webpack.config.js (93%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-base64png-editor}/LICENSE (100%) rename examples/{base64png-editor => micro-frontends-multiplying-architecture-base64png-editor}/README.md (83%) rename examples/{base64png-editor => micro-frontends-multiplying-architecture-base64png-editor}/env/index.js (100%) rename examples/{base64png-editor => micro-frontends-multiplying-architecture-base64png-editor}/package.json (93%) rename examples/{base64png-editor/src/styles.scss => micro-frontends-multiplying-architecture-base64png-editor/src/Base64PngEditor.scss} (100%) rename examples/{base64png-editor => micro-frontends-multiplying-architecture-base64png-editor}/src/Base64PngEditor.tsx (97%) rename examples/{base64png-editor => micro-frontends-multiplying-architecture-base64png-editor}/src/Base64PngEditorFactory.ts (100%) rename examples/{base64png-editor => micro-frontends-multiplying-architecture-base64png-editor}/src/Base64PngEditorInterface.tsx (100%) rename examples/{base64png-editor/src/Base64PngStateControl.ts => micro-frontends-multiplying-architecture-base64png-editor/src/Base64PngEditorStateControl.ts} (90%) rename examples/{base64png-editor => micro-frontends-multiplying-architecture-base64png-editor}/src/index.ts (100%) rename examples/{base64png-editor => micro-frontends-multiplying-architecture-base64png-editor}/tsconfig.json (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/README.md (88%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/angular.json (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/env/index.js (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/lib/index.ts (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/package.json (89%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/app/app.component.ts (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/app/app.module.ts (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/app/ping-pong/ping-pong-api.service.ts (94%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/app/ping-pong/ping-pong.component.css (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/app/ping-pong/ping-pong.component.html (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/app/ping-pong/ping-pong.component.ts (95%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/app/web-component/web-component.component.ts (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/app/web-component/web-component.main.ts (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/assets/.gitkeep (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/environments/environment.prod.ts (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/environments/environment.ts (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/favicon.ico (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/index.html (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/main.ts (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/polyfills.ts (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/styles.css (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/src/test.ts (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/tsconfig.app.json (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/tsconfig.json (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/tsconfig.lib.json (100%) rename examples/{ping-pong-view-angular => micro-frontends-multiplying-architecture-ping-pong-view-in-angular}/tsconfig.wc.json (100%) rename examples/{webapp => micro-frontends-multiplying-architecture-ping-pong-view-in-react}/LICENSE (100%) rename examples/{ping-pong-view-react => micro-frontends-multiplying-architecture-ping-pong-view-in-react}/README.md (87%) rename examples/{ping-pong-view-react => micro-frontends-multiplying-architecture-ping-pong-view-in-react}/env/index.js (100%) rename examples/{ping-pong-view-react => micro-frontends-multiplying-architecture-ping-pong-view-in-react}/package.json (86%) rename examples/{ping-pong-view-react => micro-frontends-multiplying-architecture-ping-pong-view-in-react}/src/PingPongEnvelopeView.tsx (93%) rename examples/{ping-pong-view-react => micro-frontends-multiplying-architecture-ping-pong-view-in-react}/src/PingPongReactImpl.tsx (96%) rename examples/{ping-pong-view-react => micro-frontends-multiplying-architecture-ping-pong-view-in-react}/src/PingPongReactImplFactory.tsx (83%) rename examples/{ping-pong-view-react => micro-frontends-multiplying-architecture-ping-pong-view-in-react}/src/div/index.tsx (100%) rename examples/{ping-pong-view-react => micro-frontends-multiplying-architecture-ping-pong-view-in-react}/src/iframe/index.tsx (100%) rename examples/{ping-pong-view-react => micro-frontends-multiplying-architecture-ping-pong-view-in-react}/src/index.ts (100%) rename examples/{ping-pong-view-react => micro-frontends-multiplying-architecture-ping-pong-view-in-react}/src/styles.css (100%) rename examples/{ping-pong-view-react => micro-frontends-multiplying-architecture-ping-pong-view-in-react}/tsconfig.json (100%) create mode 100644 examples/micro-frontends-multiplying-architecture-ping-pong-view/LICENSE rename examples/{ping-pong-view => micro-frontends-multiplying-architecture-ping-pong-view}/README.md (84%) rename examples/{ping-pong-view => micro-frontends-multiplying-architecture-ping-pong-view}/env/index.js (100%) rename examples/{ping-pong-view => micro-frontends-multiplying-architecture-ping-pong-view}/package.json (92%) rename examples/{ping-pong-view => micro-frontends-multiplying-architecture-ping-pong-view}/src/api/PingPongApi.ts (100%) rename examples/{ping-pong-view => micro-frontends-multiplying-architecture-ping-pong-view}/src/api/PingPongChannelApi.ts (100%) rename examples/{ping-pong-view => micro-frontends-multiplying-architecture-ping-pong-view}/src/api/PingPongEnvelopeApi.ts (100%) rename examples/{ping-pong-view => micro-frontends-multiplying-architecture-ping-pong-view}/src/api/index.ts (100%) rename examples/{ping-pong-view => micro-frontends-multiplying-architecture-ping-pong-view}/src/embedded/EmbeddedDivPingPong.tsx (100%) rename examples/{ping-pong-view => micro-frontends-multiplying-architecture-ping-pong-view}/src/embedded/EmbeddedIFramePingPong.tsx (100%) rename examples/{ping-pong-view => micro-frontends-multiplying-architecture-ping-pong-view}/src/embedded/index.ts (100%) rename examples/{ping-pong-view => micro-frontends-multiplying-architecture-ping-pong-view}/src/envelope/PingPongEnvelope.ts (100%) rename examples/{ping-pong-view => micro-frontends-multiplying-architecture-ping-pong-view}/src/envelope/PingPongEnvelopeApiImpl.ts (100%) rename examples/{ping-pong-view => micro-frontends-multiplying-architecture-ping-pong-view}/src/envelope/PingPongFactory.ts (100%) rename examples/{ping-pong-view => micro-frontends-multiplying-architecture-ping-pong-view}/src/envelope/index.ts (100%) rename examples/{ping-pong-view => micro-frontends-multiplying-architecture-ping-pong-view}/tsconfig.json (100%) create mode 100644 examples/micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/LICENSE create mode 100644 examples/micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/README.md create mode 100644 examples/micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/env/index.js create mode 100644 examples/micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/package.json create mode 100644 examples/micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/src/Angular/PingPongAngularDivViewsPage.tsx create mode 100644 examples/micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/src/Angular/PingPongAngularIFrameViewsPage.tsx create mode 100644 examples/micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/src/App.tsx create mode 100644 examples/micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/src/Mixed/PingPongMixedViewsPage.tsx rename examples/{webapp/src/envelope/ping-pong-view-react-impl.ts => micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/src/PingPongViewInReactEnvelope.ts} (87%) create mode 100644 examples/micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/src/React/PingPongReactDivViewsPage.tsx create mode 100644 examples/micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/src/React/PingPongReactIFrameViewsPage.tsx rename examples/{webapp/src/Pages/PingPong => micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/src}/StatsSidebar.tsx (55%) rename examples/{webapp/src/Pages/PingPong => micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/src}/hooks.ts (93%) rename examples/{webapp => micro-frontends-multiplying-architecture-ping-pong-views-on-webapp}/src/index.tsx (94%) rename examples/{webapp => micro-frontends-multiplying-architecture-ping-pong-views-on-webapp}/static/index.html (100%) create mode 100644 examples/micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/static/logo.png rename examples/{webapp/envelope/ping-pong-view-react-impl.html => micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/static/ping-pong-view-in-react-envelope.html} (95%) create mode 100644 examples/micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/tsconfig.json create mode 100644 examples/micro-frontends-multiplying-architecture-ping-pong-views-on-webapp/webpack.config.js create mode 100644 examples/micro-frontends-multiplying-architecture-todo-list-view-on-webapp/LICENSE create mode 100644 examples/micro-frontends-multiplying-architecture-todo-list-view-on-webapp/README.md create mode 100644 examples/micro-frontends-multiplying-architecture-todo-list-view-on-webapp/env/index.js create mode 100644 examples/micro-frontends-multiplying-architecture-todo-list-view-on-webapp/package.json rename examples/{webapp/src/envelope/todo-list-view.ts => micro-frontends-multiplying-architecture-todo-list-view-on-webapp/src/TodoListViewEnvelope.ts} (88%) rename examples/{webapp/src/Pages/TodoList => micro-frontends-multiplying-architecture-todo-list-view-on-webapp/src}/TodoListViewPage.tsx (54%) create mode 100644 examples/micro-frontends-multiplying-architecture-todo-list-view-on-webapp/src/index.tsx create mode 100644 examples/micro-frontends-multiplying-architecture-todo-list-view-on-webapp/static/index.html create mode 100644 examples/micro-frontends-multiplying-architecture-todo-list-view-on-webapp/static/logo.png rename examples/{webapp/envelope/todo-list-view.html => micro-frontends-multiplying-architecture-todo-list-view-on-webapp/static/todo-list-view-envelope.html} (96%) create mode 100644 examples/micro-frontends-multiplying-architecture-todo-list-view-on-webapp/tsconfig.json create mode 100644 examples/micro-frontends-multiplying-architecture-todo-list-view-on-webapp/webpack.config.js rename examples/{todo-list-view-vscode-extension => micro-frontends-multiplying-architecture-todo-list-view-vscode-extension}/.vscodeignore (100%) create mode 100644 examples/micro-frontends-multiplying-architecture-todo-list-view-vscode-extension/LICENSE rename examples/{todo-list-view-vscode-extension => micro-frontends-multiplying-architecture-todo-list-view-vscode-extension}/README.md (69%) rename examples/{todo-list-view-vscode-extension => micro-frontends-multiplying-architecture-todo-list-view-vscode-extension}/env/index.js (100%) rename examples/{todo-list-view-vscode-extension => micro-frontends-multiplying-architecture-todo-list-view-vscode-extension}/package.json (78%) rename examples/{todo-list-view-vscode-extension/src/envelope/index.ts => micro-frontends-multiplying-architecture-todo-list-view-vscode-extension/src/TodoListViewEnvelope.ts} (90%) rename examples/{todo-list-view-vscode-extension => micro-frontends-multiplying-architecture-todo-list-view-vscode-extension}/src/extension.ts (89%) create mode 100644 examples/micro-frontends-multiplying-architecture-todo-list-view-vscode-extension/static/kie-logo-128x128.png rename examples/{todo-list-view-vscode-extension => micro-frontends-multiplying-architecture-todo-list-view-vscode-extension}/tsconfig.json (100%) rename examples/{base64png-editor-vscode-extension => micro-frontends-multiplying-architecture-todo-list-view-vscode-extension}/webpack.config.js (93%) create mode 100644 examples/micro-frontends-multiplying-architecture-todo-list-view/LICENSE rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/README.md (84%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/env/index.js (100%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/package.json (93%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/src/api/TodoListApi.ts (100%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/src/api/TodoListChannelApi.ts (100%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/src/api/TodoListEnvelopeApi.ts (100%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/src/api/index.ts (100%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/src/embedded/EmbeddedTodoList.tsx (100%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/src/embedded/index.ts (100%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/src/envelope/TodoListEnvelope.tsx (100%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/src/envelope/TodoListEnvelopeApiImpl.ts (100%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/src/envelope/TodoListEnvelopeContext.ts (100%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/src/envelope/TodoListEnvelopeView.tsx (99%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/src/envelope/index.ts (100%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/src/envelope/styles.scss (100%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/src/vscode/TodoListWebview.ts (100%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/src/vscode/index.ts (100%) rename examples/{todo-list-view => micro-frontends-multiplying-architecture-todo-list-view}/tsconfig.json (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/.gitignore (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/README.md (99%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docker-compose/docker-compose.yml (93%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docker-compose/keycloak/kogito-realm.json (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docker-compose/pgadmin/pgpass (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docker-compose/pgadmin/servers.json (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docker-compose/sql/init.sql (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docker-compose/startContainers.sh (82%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/g1_1_mc_list.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/g1_2_mc_details.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/g1_3_mc_details_executed_job.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/g2_10_mc_details_completed.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/g2_1_mc_list.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/g2_2_mc_details.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/g2_3_tc_inbox.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/g2_4_tc_hr_form.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/g2_5_tc_hr_form_notification.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/g2_6_mc_details.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/g2_7_tc_inbox.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/g2_8_tc_it_form.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/g2_9_tc_inbox_empty.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/generate_offer_assignments.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/hiring_diagram.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/hr_interview_assignments.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/it_interview_assignments.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/mc_details_1.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/mc_list.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/new_hiring_offer_dmn.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/new_hiring_offer_dmn_decision.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/new_hiring_offer_dmn_types_tCandidateData.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/docs/images/new_hiring_offer_dmn_types_tOffer.png (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/env/index.js (84%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/install.js (88%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/package.json (96%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/pom.xml (97%) rename examples/{drools-process-usertasks-quarkus-example/drools-process-usertasks-quarkus-example.iml => process-compact-architecture/process-compact-architecture.iml} (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/src/main/java/org/kie/kogito/hr/CandidateData.java (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/src/main/java/org/kie/kogito/hr/Offer.java (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/src/main/resources/META-INF/processSVG/hiring.svg (100%) rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/src/main/resources/NewHiringOffer.dmn (100%) create mode 100644 examples/process-compact-architecture/src/main/resources/application.properties rename examples/{jbpm-compact-architecture-example => process-compact-architecture}/src/main/resources/hiring.bpmn (100%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/README.md (97%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/docs/images/diagramProperties.png (100%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/docs/images/diagramProperties3.png (100%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/docs/images/firstLineApprovalUserTask.png (100%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/docs/images/firstLineApprovalUserTask2.png (100%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/docs/images/firstLineApprovalUserTaskAssignments.png (100%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/docs/images/process.png (100%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/docs/images/secondLineApprovalUserTask.png (100%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/docs/images/secondLineApprovalUserTaskAssignments.png (100%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/env/index.js (95%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/install.js (93%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/package.json (79%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/pom.xml (94%) rename examples/{jbpm-compact-architecture-example/jbpm-compact-architecture-quarkus-example.iml => process-user-tasks-subsystem/process-user-tasks-subsystem.iml} (100%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/src/main/docker/Dockerfile.jvm (100%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/src/main/docker/Dockerfile.native (100%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/src/main/java/org/acme/travels/Address.java (100%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/src/main/java/org/acme/travels/Traveller.java (100%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/src/main/resources/META-INF/processSVG/approvals.svg (100%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/src/main/resources/application.properties (100%) rename examples/{drools-process-usertasks-quarkus-example => process-user-tasks-subsystem}/src/main/resources/org/acme/travels/approval.bpmn (100%) create mode 100644 examples/serverless-workflow-editor-standalone-on-webapp/LICENSE create mode 100644 examples/serverless-workflow-editor-standalone-on-webapp/README.md create mode 100644 examples/serverless-workflow-editor-standalone-on-webapp/env/index.js rename examples/{webapp => serverless-workflow-editor-standalone-on-webapp}/package.json (61%) create mode 100644 examples/serverless-workflow-editor-standalone-on-webapp/src/App.tsx rename examples/{webapp/src/Pages/StandaloneEditors => serverless-workflow-editor-standalone-on-webapp/src/Pages}/SwfEditorEmptyState.tsx (100%) rename examples/{webapp/src/Pages/StandaloneEditors => serverless-workflow-editor-standalone-on-webapp/src/Pages}/SwfStandaloneDiagramOnlyEditorPage.tsx (94%) rename examples/{webapp/src/Pages/StandaloneEditors => serverless-workflow-editor-standalone-on-webapp/src/Pages}/SwfStandaloneEditorPage.tsx (100%) rename examples/{webapp/src/Pages/StandaloneEditors => serverless-workflow-editor-standalone-on-webapp/src/Pages}/SwfStandaloneTextOnlyEditorPage.tsx (100%) create mode 100644 examples/serverless-workflow-editor-standalone-on-webapp/src/index.tsx create mode 100644 examples/serverless-workflow-editor-standalone-on-webapp/static/index.html create mode 100644 examples/serverless-workflow-editor-standalone-on-webapp/static/logo.png create mode 100644 examples/serverless-workflow-editor-standalone-on-webapp/tsconfig.json create mode 100644 examples/serverless-workflow-editor-standalone-on-webapp/webpack.config.js rename examples/{sonataflow-greeting-quarkus-example => sonataflow-greeting}/README.md (90%) rename examples/{sonataflow-greeting-quarkus-example => sonataflow-greeting}/env/index.js (100%) rename examples/{sonataflow-greeting-quarkus-example => sonataflow-greeting}/install.js (100%) rename examples/{sonataflow-greeting-quarkus-example => sonataflow-greeting}/package.json (79%) rename examples/{sonataflow-greeting-quarkus-example => sonataflow-greeting}/pom.xml (96%) rename examples/{sonataflow-greeting-quarkus-example/sonataflow-greeting-quarkus-example.iml => sonataflow-greeting/sonataflow-greeting.iml} (100%) rename examples/{sonataflow-greeting-quarkus-example => sonataflow-greeting}/src/main/resources/application.properties (100%) rename examples/{sonataflow-greeting-quarkus-example => sonataflow-greeting}/src/main/resources/jsongreet.sw.json (100%) rename examples/{sonataflow-greeting-quarkus-example => sonataflow-greeting}/src/main/resources/yamlgreet.sw.yml (100%) rename examples/{sonataflow-greeting-quarkus-example => sonataflow-greeting}/src/test/java/org/kie/kogito/examples/GreetRestIT.java (100%) rename examples/uniforms-patternfly/{static/resources/styles.css => src/index.css} (100%) delete mode 100644 examples/webapp/README.md delete mode 100644 examples/webapp/src/App.tsx delete mode 100644 examples/webapp/src/Home.tsx delete mode 100644 examples/webapp/src/Pages/PingPong/Angular/PingPongAngularDivViewsPage.tsx delete mode 100644 examples/webapp/src/Pages/PingPong/Angular/PingPongAngularIFrameViewsPage.tsx delete mode 100644 examples/webapp/src/Pages/PingPong/Mixed/PingPongMixedViewsPage.tsx delete mode 100644 examples/webapp/src/Pages/PingPong/React/PingPongReactDivViewsPage.tsx delete mode 100644 examples/webapp/src/Pages/PingPong/React/PingPongReactIFrameViewsPage.tsx delete mode 100644 examples/webapp/src/Pages/StandaloneEditors/DmnStandaloneEditorPage.tsx delete mode 100644 examples/webapp/src/Pages/StandaloneEditors/NewDmnStandaloneEditorPage.tsx delete mode 100644 examples/webapp/static/resources/styles.css create mode 100644 packages/README.md create mode 100644 scripts/README.md diff --git a/.github/supporting-files/ci/partitions/partition1.txt b/.github/supporting-files/ci/partitions/partition1.txt index fbbd1566205..717676af4ef 100644 --- a/.github/supporting-files/ci/partitions/partition1.txt +++ b/.github/supporting-files/ci/partitions/partition1.txt @@ -1,4 +1,5 @@ -@kie-tools-examples/sonataflow-greeting-quarkus-example +@kie-tools-examples/sonataflow-greeting +@kie-tools-examples/serverless-workflow-editor-standalone-on-webapp @kie-tools/serverless-logic-web-tools-swf-builder-image @kie-tools/serverless-logic-web-tools @kie-tools/serverless-logic-web-tools-base-builder-image diff --git a/.rat-excludes b/.rat-excludes index 5e6e5f14ca3..01a2bc5759f 100644 --- a/.rat-excludes +++ b/.rat-excludes @@ -20,41 +20,41 @@ pnpm-lock.yaml pnpm-workspace.yaml # _intellij-project/maven-based-packages-@-kie-tools.iml maven-based-packages-@-kie-tools.iml -# examples/base64png-editor-vscode-extension/.vscodeignore +# examples/micro-frontends-multiplying-architecture-base64png-editor-vscode-extension/.vscodeignore .vscodeignore -# examples/commit-message-validation-service/go.mod +# examples/kie-sandbox-commit-message-validation-service/go.mod go.mod -# examples/commit-message-validation-service/go.sum +# examples/kie-sandbox-commit-message-validation-service/go.sum go.sum -# examples/drools-process-usertasks-quarkus-example/drools-process-usertasks-quarkus-example.iml -drools-process-usertasks-quarkus-example.iml -# examples/drools-process-usertasks-quarkus-example/src/main/docker/Dockerfile.jvm +# examples/process-user-tasks-subsystem/process-user-tasks-subsystem.iml +process-user-tasks-subsystem.iml +# examples/process-user-tasks-subsystem/src/main/docker/Dockerfile.jvm Dockerfile.jvm -# examples/drools-process-usertasks-quarkus-example/src/main/docker/Dockerfile.native +# examples/process-user-tasks-subsystem/src/main/docker/Dockerfile.native Dockerfile.native -# examples/jbpm-compact-architecture-example/.gitignore +# examples/process-compact-architecture/.gitignore .gitignore -# examples/jbpm-compact-architecture-example/jbpm-compact-architecture-quarkus-example.iml -jbpm-compact-architecture-quarkus-example.iml -# examples/jbpm-compact-architecture-example/docker-compose/startContainers.sh +# examples/process-compact-architecture/process-compact-architecture.iml +process-compact-architecture.iml +# examples/process-compact-architecture/docker-compose/startContainers.sh startContainers.sh -# examples/jbpm-compact-architecture-example/docker-compose/pgadmin/pgpass +# examples/process-compact-architecture/docker-compose/pgadmin/pgpass pgpass -# examples/jbpm-compact-architecture-example/docker-compose/sql/init.sql +# examples/process-compact-architecture/docker-compose/sql/init.sql init.sql -# examples/ping-pong-view-angular/src/assets/.gitkeep +# examples/micro-frontends-multiplying-architecture-ping-pong-view-in-angular/src/assets/.gitkeep .gitkeep -# examples/sonataflow-greeting-quarkus-example/sonataflow-greeting-quarkus-example.iml -sonataflow-greeting-quarkus-example.iml -# examples/todo-list-view-vscode-extension/.vscodeignore +# examples/sonataflow-greeting/sonataflow-greeting.iml +sonataflow-greeting.iml +# examples/micro-frontends-multiplying-architecture-todo-list-view-vscode-extension/.vscodeignore .vscodeignore -# examples/webapp/static/examples/dorinha.base64png +# examples/micro-frontends-multiplying-architecture-base64png-editor-on-webapp/static/examples/dorinha.base64png dorinha.base64png -# examples/webapp/static/examples/luiz.base64png +# examples/micro-frontends-multiplying-architecture-base64png-editor-on-webapp/static/examples/luiz.base64png luiz.base64png -# examples/webapp/static/examples/sample.base64png +# examples/micro-frontends-multiplying-architecture-base64png-editor-on-webapp/static/examples/sample.base64png sample.base64png -# examples/webapp/static/examples/tiago.base64png +# examples/micro-frontends-multiplying-architecture-base64png-editor-on-webapp/static/examples/tiago.base64png tiago.base64png # packages/bpmn-marshaller/src/schemas/bpmn-2_0/BPMN20.xsd BPMN20.xsd diff --git a/_intellij-project/.idea/misc.xml b/_intellij-project/.idea/misc.xml index ba7d67621f7..152bd7cf6f1 100644 --- a/_intellij-project/.idea/misc.xml +++ b/_intellij-project/.idea/misc.xml @@ -4,7 +4,7 @@