From 10a75b2706c72751bd774d6fae4332bbc527dc2b Mon Sep 17 00:00:00 2001 From: Jonathan Kilzi Date: Wed, 15 May 2024 17:02:49 +0300 Subject: [PATCH] docs(orchestrator): removes instructions related to the editor (#1664) Signed-off-by: Jonathan Kilzi --- .../orchestrator-backend/app-config.janus-idp.yaml | 2 -- plugins/orchestrator-common/config.d.ts | 11 ----------- plugins/orchestrator-swf-editor-envelope/README.md | 4 ---- plugins/orchestrator/README.md | 2 -- 4 files changed, 19 deletions(-) diff --git a/plugins/orchestrator-backend/app-config.janus-idp.yaml b/plugins/orchestrator-backend/app-config.janus-idp.yaml index 72ccaa8fe1..a3a8b8bea8 100644 --- a/plugins/orchestrator-backend/app-config.janus-idp.yaml +++ b/plugins/orchestrator-backend/app-config.janus-idp.yaml @@ -1,5 +1,3 @@ orchestrator: dataIndexService: url: http://sonataflow-platform-data-index-service.sonataflow-infra - editor: - path: https://sandbox.kie.org/swf-chrome-extension/0.32.0 diff --git a/plugins/orchestrator-common/config.d.ts b/plugins/orchestrator-common/config.d.ts index 27f793c4e4..ae66d473a5 100644 --- a/plugins/orchestrator-common/config.d.ts +++ b/plugins/orchestrator-common/config.d.ts @@ -62,17 +62,6 @@ export interface Config { */ url: string; }; - /** - * Configuration for the workflow editor. - */ - editor?: { - /** - * Path to the envelope context (either a remote url or a local path under app/public folder). - * Default: https://sandbox.kie.org/swf-chrome-extension/0.32.0 - * @visibility frontend - */ - path?: string; - }; /** * Configuration for the integration with Jira API. * Note: This is a temporary solution. We should probably use the JIRA integration config instead. diff --git a/plugins/orchestrator-swf-editor-envelope/README.md b/plugins/orchestrator-swf-editor-envelope/README.md index cd1d8892af..db78bd3aca 100644 --- a/plugins/orchestrator-swf-editor-envelope/README.md +++ b/plugins/orchestrator-swf-editor-envelope/README.md @@ -29,8 +29,4 @@ The Orchestrator plugin uses these assets when it renders the Serverless Workflo script-src: ["'self'", "'unsafe-inline'", "'unsafe-eval'"] script-src-elem: ["'self'", "'unsafe-inline'", "'unsafe-eval'"] connect-src: ["'self'", 'http:', 'https:', 'data:'] - orchestrator: - editor: - path: http://localhost:7007/api/orchestrator/static/envelope ``` - The `orchestrator.editor.path` corresponds to the endpoint from where the static files are served (in the example above the `dist` folder has been renamed to `envelope` and placed inside `plugins/orchestrator-backend/static/`). diff --git a/plugins/orchestrator/README.md b/plugins/orchestrator/README.md index 12ce158e15..0764341980 100644 --- a/plugins/orchestrator/README.md +++ b/plugins/orchestrator/README.md @@ -71,8 +71,6 @@ backend: script-src-elem: ["'self'", "'unsafe-inline'", "'unsafe-eval'"] connect-src: ["'self'", 'http:', 'https:', 'data:'] orchestrator: - editor: - path: http://localhost:7007/api/orchestrator/static/envelope sonataFlowService: baseUrl: http://localhost port: 8899