From 3e1013576abd01a6486ccae1306d5b0499d8f69a Mon Sep 17 00:00:00 2001 From: StanZGenchev Date: Fri, 27 Dec 2024 23:21:00 +0200 Subject: [PATCH] Migrated all menu templates, migrated operations perspective and artefact and configurations views Signed-off-by: StanZGenchev --- components/group/group-platform-ide/pom.xml | 52 +++++++++++++ .../menu-bpm/extensions/menu-bpm.extension | 5 ++ .../menu-new-template-bpm.extension | 5 -- .../bpm.js} | 0 .../platform-ide/menu-database/.gitignore | 17 ++++ .../platform-ide/menu-database/about.html | 29 +++++++ components/platform-ide/menu-database/pom.xml | 20 +++++ .../extensions/menu-table.extension | 5 ++ .../extensions/menu-view.extension | 5 ++ .../dirigible/menu-database/project.json | 5 ++ .../menu-database/templates/table.js | 32 ++++++++ .../dirigible/menu-database/templates/view.js | 29 +++++++ .../platform-ide/menu-entity/.gitignore | 17 ++++ .../platform-ide/menu-entity/about.html | 29 +++++++ components/platform-ide/menu-entity/pom.xml | 20 +++++ .../menu-entity/extensions/menu-edm.extension | 5 ++ .../dirigible/menu-entity/project.json | 5 ++ .../menu-entity/templates/menu-edm.js | 20 +++++ .../platform-ide/menu-extensions/.gitignore | 17 ++++ .../platform-ide/menu-extensions/about.html | 29 +++++++ .../platform-ide/menu-extensions/pom.xml | 20 +++++ .../extensions/menu-extension.extension | 5 ++ .../extensions/menu-extensionpoint.extension | 5 ++ .../dirigible/menu-extensions/project.json | 5 ++ .../templates/menu-extension.js | 23 ++++++ .../templates/menu-extensionpoint.js | 22 ++++++ .../platform-ide/menu-form-builder/.gitignore | 17 ++++ .../platform-ide/menu-form-builder/about.html | 29 +++++++ .../platform-ide/menu-form-builder/pom.xml | 20 +++++ .../extensions/menu-form.extension | 5 ++ .../dirigible/menu-form-builder/project.json | 5 ++ .../menu-form-builder/templates/menu-form.js | 24 ++++++ components/platform-ide/menu-jobs/.gitignore | 17 ++++ components/platform-ide/menu-jobs/about.html | 29 +++++++ components/platform-ide/menu-jobs/pom.xml | 20 +++++ .../menu-jobs/extensions/menu-job.extension | 5 ++ .../META-INF/dirigible/menu-jobs/project.json | 5 ++ .../dirigible/menu-jobs/templates/menu-job.js | 24 ++++++ .../platform-ide/menu-listeners/.gitignore | 17 ++++ .../platform-ide/menu-listeners/about.html | 29 +++++++ .../platform-ide/menu-listeners/pom.xml | 20 +++++ .../extensions/menu-listener.extension | 5 ++ .../dirigible/menu-listeners/project.json | 5 ++ .../menu-listeners/templates/menu-listener.js | 24 ++++++ .../platform-ide/menu-projects/.gitignore | 17 ++++ .../platform-ide/menu-projects/about.html | 29 +++++++ components/platform-ide/menu-projects/pom.xml | 20 +++++ .../extensions/menu-csvim.extension | 5 ++ .../extensions/menu-html.extension | 5 ++ .../extensions/menu-mjs.extension | 5 ++ .../extensions/menu-ts.extension | 5 ++ .../dirigible/menu-projects/project.json | 5 ++ .../menu-projects/templates/menu-csvim.js | 19 +++++ .../menu-projects/templates/menu-html.js | 19 +++++ .../menu-projects/templates/menu-mjs.js | 20 +++++ .../menu-projects/templates/menu-ts.js | 20 +++++ .../platform-ide/menu-schema/.gitignore | 17 ++++ .../platform-ide/menu-schema/about.html | 29 +++++++ components/platform-ide/menu-schema/pom.xml | 20 +++++ .../menu-schema/extensions/menu-dsm.extension | 5 ++ .../dirigible/menu-schema/project.json | 5 ++ .../menu-schema/templates/menu-dsm.js | 19 +++++ .../platform-ide/menu-security/.gitignore | 17 ++++ .../platform-ide/menu-security/about.html | 29 +++++++ components/platform-ide/menu-security/pom.xml | 20 +++++ .../extensions/menu-access.extension | 5 ++ .../extensions/menu-roles.extension | 5 ++ .../dirigible/menu-security/project.json | 5 ++ .../menu-security/templates/menu-access.js | 29 +++++++ .../menu-security/templates/menu-roles.js | 26 +++++++ .../platform-ide/menu-websockets/.gitignore | 17 ++++ .../platform-ide/menu-websockets/about.html | 29 +++++++ .../platform-ide/menu-websockets/pom.xml | 20 +++++ .../extensions/menu-websocket.extension | 5 ++ .../dirigible/menu-websockets/project.json | 5 ++ .../templates/menu-websocket.js | 23 ++++++ .../perspective-operations/.gitignore | 20 +++++ .../perspective-operations/about.html | 29 +++++++ .../perspective-operations/pom.xml | 21 +++++ .../api/artefacts/Utils.mjs | 13 ++++ .../api/artefacts/artefacts.extensionpoint | 4 + .../api/artefacts/artefacts.mjs | 12 +++ .../artefacts/bpmn/artefacts-bpmn.extension | 5 ++ .../api/artefacts/bpmn/artefacts-bpmn.mjs | 12 +++ .../artefacts/camel/artefacts-camel.extension | 5 ++ .../api/artefacts/camel/artefacts-camel.mjs | 12 +++ .../confluence/artefacts-confluence.extension | 5 ++ .../confluence/artefacts-confluence.mjs | 12 +++ .../csv-file/artefacts-csv-file.extension | 5 ++ .../artefacts/csv-file/artefacts-csv-file.mjs | 12 +++ .../api/artefacts/csv/artefacts-csv.extension | 5 ++ .../api/artefacts/csv/artefacts-csv.mjs | 16 ++++ .../artefacts/csvim/artefacts-csvim.extension | 5 ++ .../api/artefacts/csvim/artefacts-csvim.mjs | 12 +++ .../artefacts-data-schemas.extension | 5 ++ .../data-schemas/artefacts-data-schemas.mjs | 12 +++ .../artefacts-data-sources.extension | 5 ++ .../data-sources/artefacts-data-sources.mjs | 12 +++ .../artefacts-data-tables.extension | 5 ++ .../data-tables/artefacts-data-tables.mjs | 12 +++ .../data-views/artefacts-data-views.extension | 5 ++ .../data-views/artefacts-data-views.mjs | 12 +++ .../entities/artefacts-entities.extension | 5 ++ .../artefacts/entities/artefacts-entities.mjs | 12 +++ .../artefacts-extension-points.extension | 5 ++ .../artefacts-extension-points.mjs | 12 +++ .../extensions/artefacts-extensions.extension | 5 ++ .../extensions/artefacts-extensions.mjs | 12 +++ .../artefacts/jobs/artefacts-jobs.extension | 5 ++ .../api/artefacts/jobs/artefacts-jobs.mjs | 12 +++ .../listeners/artefacts-listeners.extension | 5 ++ .../listeners/artefacts-listeners.mjs | 12 +++ .../markdown/artefacts-markdown.extension | 5 ++ .../artefacts/markdown/artefacts-markdown.mjs | 12 +++ .../artefacts-odata-container.extension | 5 ++ .../artefacts-odata-container.mjs | 12 +++ .../artefacts-odata-handler.extension | 5 ++ .../odata-handler/artefacts-odata-handler.mjs | 12 +++ .../artefacts-odata-mapping.extension | 5 ++ .../odata-mapping/artefacts-odata-mapping.mjs | 12 +++ .../artefacts-odata-schema.extension | 5 ++ .../odata-schema/artefacts-odata-schema.mjs | 12 +++ .../artefacts/odata/artefacts-odata.extension | 5 ++ .../api/artefacts/odata/artefacts-odata.mjs | 12 +++ .../openapi/artefacts-openapi.extension | 5 ++ .../artefacts/openapi/artefacts-openapi.mjs | 12 +++ .../artefacts-security-access.extension | 5 ++ .../artefacts-security-access.mjs | 12 +++ .../artefacts-security-roles.extension | 5 ++ .../artefacts-security-roles.mjs | 12 +++ .../websockets/artefacts-websockets.extension | 5 ++ .../websockets/artefacts-websockets.mjs | 12 +++ .../configs/operations.js | 21 +++++ .../configs/perspective-menu.js | 19 +++++ .../extensions/perspective-menu.extension | 5 ++ .../extensions/perspective.extension | 5 ++ .../images/operations.svg | 4 + .../perspective-operations/index.html | 44 +++++++++++ .../perspective-operations/project.json | 5 ++ .../service-template/api/templates.js | 18 ++--- .../platform-ide/view-artefacts/.gitignore | 17 ++++ .../platform-ide/view-artefacts/about.html | 29 +++++++ .../platform-ide/view-artefacts/pom.xml | 20 +++++ .../dirigible/view-artefacts/artefacts.html | 60 ++++++++++++++ .../view-artefacts/configs/artefacts-view.js | 22 ++++++ .../extensions/artefacts.extension | 5 ++ .../dirigible/view-artefacts/project.json | 5 ++ .../view-configurations/.gitignore | 17 ++++ .../view-configurations/about.html | 29 +++++++ .../platform-ide/view-configurations/pom.xml | 20 +++++ .../configs/configurations-view.js | 22 ++++++ .../view-configurations/configurations.html | 60 ++++++++++++++ .../extensions/configurations.extension | 5 ++ .../view-configurations/project.json | 5 ++ components/pom.xml | 78 +++++++++++++++++++ 155 files changed, 2250 insertions(+), 18 deletions(-) create mode 100644 components/platform-ide/menu-bpm/src/main/resources/META-INF/dirigible/menu-bpm/extensions/menu-bpm.extension delete mode 100644 components/platform-ide/menu-bpm/src/main/resources/META-INF/dirigible/menu-bpm/extensions/menu-new-template-bpm.extension rename components/platform-ide/menu-bpm/src/main/resources/META-INF/dirigible/menu-bpm/{configs/menu-new-template-bpm.js => templates/bpm.js} (100%) create mode 100644 components/platform-ide/menu-database/.gitignore create mode 100644 components/platform-ide/menu-database/about.html create mode 100644 components/platform-ide/menu-database/pom.xml create mode 100644 components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/extensions/menu-table.extension create mode 100644 components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/extensions/menu-view.extension create mode 100644 components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/project.json create mode 100644 components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/templates/table.js create mode 100644 components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/templates/view.js create mode 100644 components/platform-ide/menu-entity/.gitignore create mode 100644 components/platform-ide/menu-entity/about.html create mode 100644 components/platform-ide/menu-entity/pom.xml create mode 100644 components/platform-ide/menu-entity/src/main/resources/META-INF/dirigible/menu-entity/extensions/menu-edm.extension create mode 100644 components/platform-ide/menu-entity/src/main/resources/META-INF/dirigible/menu-entity/project.json create mode 100644 components/platform-ide/menu-entity/src/main/resources/META-INF/dirigible/menu-entity/templates/menu-edm.js create mode 100644 components/platform-ide/menu-extensions/.gitignore create mode 100644 components/platform-ide/menu-extensions/about.html create mode 100644 components/platform-ide/menu-extensions/pom.xml create mode 100644 components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/extensions/menu-extension.extension create mode 100644 components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/extensions/menu-extensionpoint.extension create mode 100644 components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/project.json create mode 100644 components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/templates/menu-extension.js create mode 100644 components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/templates/menu-extensionpoint.js create mode 100644 components/platform-ide/menu-form-builder/.gitignore create mode 100644 components/platform-ide/menu-form-builder/about.html create mode 100644 components/platform-ide/menu-form-builder/pom.xml create mode 100644 components/platform-ide/menu-form-builder/src/main/resources/META-INF/dirigible/menu-form-builder/extensions/menu-form.extension create mode 100644 components/platform-ide/menu-form-builder/src/main/resources/META-INF/dirigible/menu-form-builder/project.json create mode 100644 components/platform-ide/menu-form-builder/src/main/resources/META-INF/dirigible/menu-form-builder/templates/menu-form.js create mode 100644 components/platform-ide/menu-jobs/.gitignore create mode 100644 components/platform-ide/menu-jobs/about.html create mode 100644 components/platform-ide/menu-jobs/pom.xml create mode 100644 components/platform-ide/menu-jobs/src/main/resources/META-INF/dirigible/menu-jobs/extensions/menu-job.extension create mode 100644 components/platform-ide/menu-jobs/src/main/resources/META-INF/dirigible/menu-jobs/project.json create mode 100644 components/platform-ide/menu-jobs/src/main/resources/META-INF/dirigible/menu-jobs/templates/menu-job.js create mode 100644 components/platform-ide/menu-listeners/.gitignore create mode 100644 components/platform-ide/menu-listeners/about.html create mode 100644 components/platform-ide/menu-listeners/pom.xml create mode 100644 components/platform-ide/menu-listeners/src/main/resources/META-INF/dirigible/menu-listeners/extensions/menu-listener.extension create mode 100644 components/platform-ide/menu-listeners/src/main/resources/META-INF/dirigible/menu-listeners/project.json create mode 100644 components/platform-ide/menu-listeners/src/main/resources/META-INF/dirigible/menu-listeners/templates/menu-listener.js create mode 100644 components/platform-ide/menu-projects/.gitignore create mode 100644 components/platform-ide/menu-projects/about.html create mode 100644 components/platform-ide/menu-projects/pom.xml create mode 100644 components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/extensions/menu-csvim.extension create mode 100644 components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/extensions/menu-html.extension create mode 100644 components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/extensions/menu-mjs.extension create mode 100644 components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/extensions/menu-ts.extension create mode 100644 components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/project.json create mode 100644 components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/templates/menu-csvim.js create mode 100644 components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/templates/menu-html.js create mode 100644 components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/templates/menu-mjs.js create mode 100644 components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/templates/menu-ts.js create mode 100644 components/platform-ide/menu-schema/.gitignore create mode 100644 components/platform-ide/menu-schema/about.html create mode 100644 components/platform-ide/menu-schema/pom.xml create mode 100644 components/platform-ide/menu-schema/src/main/resources/META-INF/dirigible/menu-schema/extensions/menu-dsm.extension create mode 100644 components/platform-ide/menu-schema/src/main/resources/META-INF/dirigible/menu-schema/project.json create mode 100644 components/platform-ide/menu-schema/src/main/resources/META-INF/dirigible/menu-schema/templates/menu-dsm.js create mode 100644 components/platform-ide/menu-security/.gitignore create mode 100644 components/platform-ide/menu-security/about.html create mode 100644 components/platform-ide/menu-security/pom.xml create mode 100644 components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/extensions/menu-access.extension create mode 100644 components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/extensions/menu-roles.extension create mode 100644 components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/project.json create mode 100644 components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/templates/menu-access.js create mode 100644 components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/templates/menu-roles.js create mode 100644 components/platform-ide/menu-websockets/.gitignore create mode 100644 components/platform-ide/menu-websockets/about.html create mode 100644 components/platform-ide/menu-websockets/pom.xml create mode 100644 components/platform-ide/menu-websockets/src/main/resources/META-INF/dirigible/menu-websockets/extensions/menu-websocket.extension create mode 100644 components/platform-ide/menu-websockets/src/main/resources/META-INF/dirigible/menu-websockets/project.json create mode 100644 components/platform-ide/menu-websockets/src/main/resources/META-INF/dirigible/menu-websockets/templates/menu-websocket.js create mode 100644 components/platform-ide/perspective-operations/.gitignore create mode 100644 components/platform-ide/perspective-operations/about.html create mode 100644 components/platform-ide/perspective-operations/pom.xml create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/Utils.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/artefacts.extensionpoint create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/artefacts.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/bpmn/artefacts-bpmn.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/bpmn/artefacts-bpmn.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/camel/artefacts-camel.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/camel/artefacts-camel.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/confluence/artefacts-confluence.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/confluence/artefacts-confluence.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csv-file/artefacts-csv-file.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csv-file/artefacts-csv-file.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csv/artefacts-csv.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csv/artefacts-csv.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csvim/artefacts-csvim.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csvim/artefacts-csvim.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-schemas/artefacts-data-schemas.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-schemas/artefacts-data-schemas.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-sources/artefacts-data-sources.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-sources/artefacts-data-sources.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-tables/artefacts-data-tables.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-tables/artefacts-data-tables.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-views/artefacts-data-views.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-views/artefacts-data-views.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/entities/artefacts-entities.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/entities/artefacts-entities.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/extension-points/artefacts-extension-points.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/extension-points/artefacts-extension-points.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/extensions/artefacts-extensions.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/extensions/artefacts-extensions.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/jobs/artefacts-jobs.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/jobs/artefacts-jobs.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/listeners/artefacts-listeners.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/listeners/artefacts-listeners.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/markdown/artefacts-markdown.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/markdown/artefacts-markdown.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-container/artefacts-odata-container.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-container/artefacts-odata-container.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-handler/artefacts-odata-handler.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-handler/artefacts-odata-handler.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-mapping/artefacts-odata-mapping.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-mapping/artefacts-odata-mapping.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-schema/artefacts-odata-schema.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-schema/artefacts-odata-schema.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata/artefacts-odata.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata/artefacts-odata.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/openapi/artefacts-openapi.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/openapi/artefacts-openapi.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/security-access/artefacts-security-access.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/security-access/artefacts-security-access.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/security-roles/artefacts-security-roles.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/security-roles/artefacts-security-roles.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/websockets/artefacts-websockets.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/websockets/artefacts-websockets.mjs create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/configs/operations.js create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/configs/perspective-menu.js create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/extensions/perspective-menu.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/extensions/perspective.extension create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/images/operations.svg create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/index.html create mode 100644 components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/project.json create mode 100644 components/platform-ide/view-artefacts/.gitignore create mode 100644 components/platform-ide/view-artefacts/about.html create mode 100644 components/platform-ide/view-artefacts/pom.xml create mode 100644 components/platform-ide/view-artefacts/src/main/resources/META-INF/dirigible/view-artefacts/artefacts.html create mode 100644 components/platform-ide/view-artefacts/src/main/resources/META-INF/dirigible/view-artefacts/configs/artefacts-view.js create mode 100644 components/platform-ide/view-artefacts/src/main/resources/META-INF/dirigible/view-artefacts/extensions/artefacts.extension create mode 100644 components/platform-ide/view-artefacts/src/main/resources/META-INF/dirigible/view-artefacts/project.json create mode 100644 components/platform-ide/view-configurations/.gitignore create mode 100644 components/platform-ide/view-configurations/about.html create mode 100644 components/platform-ide/view-configurations/pom.xml create mode 100644 components/platform-ide/view-configurations/src/main/resources/META-INF/dirigible/view-configurations/configs/configurations-view.js create mode 100644 components/platform-ide/view-configurations/src/main/resources/META-INF/dirigible/view-configurations/configurations.html create mode 100644 components/platform-ide/view-configurations/src/main/resources/META-INF/dirigible/view-configurations/extensions/configurations.extension create mode 100644 components/platform-ide/view-configurations/src/main/resources/META-INF/dirigible/view-configurations/project.json diff --git a/components/group/group-platform-ide/pom.xml b/components/group/group-platform-ide/pom.xml index cd2c9e6ebe0..7255940bf52 100644 --- a/components/group/group-platform-ide/pom.xml +++ b/components/group/group-platform-ide/pom.xml @@ -35,6 +35,10 @@ org.eclipse.dirigible dirigible-components-perspective-database + + org.eclipse.dirigible + dirigible-components-perspective-operations + org.eclipse.dirigible dirigible-components-view-welcome @@ -111,6 +115,14 @@ org.eclipse.dirigible dirigible-components-view-transfer + + org.eclipse.dirigible + dirigible-components-view-artefacts + + + org.eclipse.dirigible + dirigible-components-view-configurations + org.eclipse.dirigible @@ -170,6 +182,46 @@ org.eclipse.dirigible dirigible-components-menu-bpm + + org.eclipse.dirigible + dirigible-components-menu-database + + + org.eclipse.dirigible + dirigible-components-menu-entity + + + org.eclipse.dirigible + dirigible-components-menu-extensions + + + org.eclipse.dirigible + dirigible-components-menu-form-builder + + + org.eclipse.dirigible + dirigible-components-menu-jobs + + + org.eclipse.dirigible + dirigible-components-menu-listeners + + + org.eclipse.dirigible + dirigible-components-menu-projects + + + org.eclipse.dirigible + dirigible-components-menu-schema + + + org.eclipse.dirigible + dirigible-components-menu-security + + + org.eclipse.dirigible + dirigible-components-menu-websockets + diff --git a/components/platform-ide/menu-bpm/src/main/resources/META-INF/dirigible/menu-bpm/extensions/menu-bpm.extension b/components/platform-ide/menu-bpm/src/main/resources/META-INF/dirigible/menu-bpm/extensions/menu-bpm.extension new file mode 100644 index 00000000000..03012711407 --- /dev/null +++ b/components/platform-ide/menu-bpm/src/main/resources/META-INF/dirigible/menu-bpm/extensions/menu-bpm.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-bpm/templates/bpm.js", + "extensionPoint": "platform-templates-menu", + "description": "Business Process Model Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-bpm/src/main/resources/META-INF/dirigible/menu-bpm/extensions/menu-new-template-bpm.extension b/components/platform-ide/menu-bpm/src/main/resources/META-INF/dirigible/menu-bpm/extensions/menu-new-template-bpm.extension deleted file mode 100644 index e85dd6d140b..00000000000 --- a/components/platform-ide/menu-bpm/src/main/resources/META-INF/dirigible/menu-bpm/extensions/menu-new-template-bpm.extension +++ /dev/null @@ -1,5 +0,0 @@ -{ - "module": "menu-bpm/configs/menu-new-template-bpm.js", - "extensionPoint": "platform-templates-menu", - "description": "Business Process Model Workspace New Menu Extension" -} \ No newline at end of file diff --git a/components/platform-ide/menu-bpm/src/main/resources/META-INF/dirigible/menu-bpm/configs/menu-new-template-bpm.js b/components/platform-ide/menu-bpm/src/main/resources/META-INF/dirigible/menu-bpm/templates/bpm.js similarity index 100% rename from components/platform-ide/menu-bpm/src/main/resources/META-INF/dirigible/menu-bpm/configs/menu-new-template-bpm.js rename to components/platform-ide/menu-bpm/src/main/resources/META-INF/dirigible/menu-bpm/templates/bpm.js diff --git a/components/platform-ide/menu-database/.gitignore b/components/platform-ide/menu-database/.gitignore new file mode 100644 index 00000000000..686cef860bd --- /dev/null +++ b/components/platform-ide/menu-database/.gitignore @@ -0,0 +1,17 @@ +# folders +dist/ +.settings/ +target/ +derby/ +dirigible_local/ + +# files +.DS_Store +.project +.classpath +*.bak +*.class +*.jar +derby.log +/bin/ +/target/ \ No newline at end of file diff --git a/components/platform-ide/menu-database/about.html b/components/platform-ide/menu-database/about.html new file mode 100644 index 00000000000..bcb03d59e0f --- /dev/null +++ b/components/platform-ide/menu-database/about.html @@ -0,0 +1,29 @@ + + + + + +About + + +

About This Content

+ +

April 25, 2020

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v20.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + diff --git a/components/platform-ide/menu-database/pom.xml b/components/platform-ide/menu-database/pom.xml new file mode 100644 index 00000000000..6646e2bff56 --- /dev/null +++ b/components/platform-ide/menu-database/pom.xml @@ -0,0 +1,20 @@ + + 4.0.0 + + + org.eclipse.dirigible + dirigible-components-parent + 11.0.0-SNAPSHOT + ../../pom.xml + + + Components - IDE - Database - Menu + dirigible-components-menu-database + jar + + + ../../../licensing-header.txt + ../../../ + + + \ No newline at end of file diff --git a/components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/extensions/menu-table.extension b/components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/extensions/menu-table.extension new file mode 100644 index 00000000000..f428108dbed --- /dev/null +++ b/components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/extensions/menu-table.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-database/templates/table.js", + "extensionPoint": "platform-templates-menu", + "description": "Table Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/extensions/menu-view.extension b/components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/extensions/menu-view.extension new file mode 100644 index 00000000000..7532d42f3c2 --- /dev/null +++ b/components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/extensions/menu-view.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-database/templates/view.js", + "extensionPoint": "platform-templates-menu", + "description": "View Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/project.json b/components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/project.json new file mode 100644 index 00000000000..90830b03532 --- /dev/null +++ b/components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/project.json @@ -0,0 +1,5 @@ +{ + "guid": "menu-database", + "dependencies": [], + "actions": [] +} \ No newline at end of file diff --git a/components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/templates/table.js b/components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/templates/table.js new file mode 100644 index 00000000000..4ecb2ee199b --- /dev/null +++ b/components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/templates/table.js @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +export function getTemplate() { + return { + name: 'database-table', + label: 'Database Table', + extension: 'table', + data: JSON.stringify({ + name: 'MYTABLE', + type: 'TABLE', + columns: [ + { + name: 'ID', + type: 'INTEGER', + length: '0', + nullable: 'false', + primaryKey: 'true', + defaultValue: '' + } + ] + }, null, 4) + }; +}; \ No newline at end of file diff --git a/components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/templates/view.js b/components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/templates/view.js new file mode 100644 index 00000000000..09a4370de57 --- /dev/null +++ b/components/platform-ide/menu-database/src/main/resources/META-INF/dirigible/menu-database/templates/view.js @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +export function getTemplate() { + return { + name: 'database-view', + label: 'Database View', + extension: 'view', + data: JSON.stringify({ + name: 'MYVIEW', + type: 'VIEW', + query: 'SELECT * FROM MYTABLE', + dependencies: [ + { + name: 'MYTABLE', + type: 'TABLE' + } + ] + }, null, 4) + }; +}; \ No newline at end of file diff --git a/components/platform-ide/menu-entity/.gitignore b/components/platform-ide/menu-entity/.gitignore new file mode 100644 index 00000000000..686cef860bd --- /dev/null +++ b/components/platform-ide/menu-entity/.gitignore @@ -0,0 +1,17 @@ +# folders +dist/ +.settings/ +target/ +derby/ +dirigible_local/ + +# files +.DS_Store +.project +.classpath +*.bak +*.class +*.jar +derby.log +/bin/ +/target/ \ No newline at end of file diff --git a/components/platform-ide/menu-entity/about.html b/components/platform-ide/menu-entity/about.html new file mode 100644 index 00000000000..bcb03d59e0f --- /dev/null +++ b/components/platform-ide/menu-entity/about.html @@ -0,0 +1,29 @@ + + + + + +About + + +

About This Content

+ +

April 25, 2020

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v20.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + diff --git a/components/platform-ide/menu-entity/pom.xml b/components/platform-ide/menu-entity/pom.xml new file mode 100644 index 00000000000..4bd3931a1bb --- /dev/null +++ b/components/platform-ide/menu-entity/pom.xml @@ -0,0 +1,20 @@ + + 4.0.0 + + + org.eclipse.dirigible + dirigible-components-parent + 11.0.0-SNAPSHOT + ../../pom.xml + + + Components - IDE - Entity - Menu + dirigible-components-menu-entity + jar + + + ../../../licensing-header.txt + ../../../ + + + \ No newline at end of file diff --git a/components/platform-ide/menu-entity/src/main/resources/META-INF/dirigible/menu-entity/extensions/menu-edm.extension b/components/platform-ide/menu-entity/src/main/resources/META-INF/dirigible/menu-entity/extensions/menu-edm.extension new file mode 100644 index 00000000000..dc95bcb1e14 --- /dev/null +++ b/components/platform-ide/menu-entity/src/main/resources/META-INF/dirigible/menu-entity/extensions/menu-edm.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-entity/templates/menu-edm.js", + "extensionPoint": "platform-templates-menu", + "description": "Entity Data Model Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-entity/src/main/resources/META-INF/dirigible/menu-entity/project.json b/components/platform-ide/menu-entity/src/main/resources/META-INF/dirigible/menu-entity/project.json new file mode 100644 index 00000000000..db02e18d269 --- /dev/null +++ b/components/platform-ide/menu-entity/src/main/resources/META-INF/dirigible/menu-entity/project.json @@ -0,0 +1,5 @@ +{ + "guid": "menu-entity", + "dependencies": [], + "actions": [] +} \ No newline at end of file diff --git a/components/platform-ide/menu-entity/src/main/resources/META-INF/dirigible/menu-entity/templates/menu-edm.js b/components/platform-ide/menu-entity/src/main/resources/META-INF/dirigible/menu-entity/templates/menu-edm.js new file mode 100644 index 00000000000..038ad74ec93 --- /dev/null +++ b/components/platform-ide/menu-entity/src/main/resources/META-INF/dirigible/menu-entity/templates/menu-edm.js @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +export function getTemplate() { + return { + name: 'edm', + label: 'Entity Data Model', + extension: 'edm', + data: '', + order: 10 + }; +}; \ No newline at end of file diff --git a/components/platform-ide/menu-extensions/.gitignore b/components/platform-ide/menu-extensions/.gitignore new file mode 100644 index 00000000000..686cef860bd --- /dev/null +++ b/components/platform-ide/menu-extensions/.gitignore @@ -0,0 +1,17 @@ +# folders +dist/ +.settings/ +target/ +derby/ +dirigible_local/ + +# files +.DS_Store +.project +.classpath +*.bak +*.class +*.jar +derby.log +/bin/ +/target/ \ No newline at end of file diff --git a/components/platform-ide/menu-extensions/about.html b/components/platform-ide/menu-extensions/about.html new file mode 100644 index 00000000000..bcb03d59e0f --- /dev/null +++ b/components/platform-ide/menu-extensions/about.html @@ -0,0 +1,29 @@ + + + + + +About + + +

About This Content

+ +

April 25, 2020

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v20.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + diff --git a/components/platform-ide/menu-extensions/pom.xml b/components/platform-ide/menu-extensions/pom.xml new file mode 100644 index 00000000000..f909443c5ca --- /dev/null +++ b/components/platform-ide/menu-extensions/pom.xml @@ -0,0 +1,20 @@ + + 4.0.0 + + + org.eclipse.dirigible + dirigible-components-parent + 11.0.0-SNAPSHOT + ../../pom.xml + + + Components - IDE - Extensions - Menu + dirigible-components-menu-extensions + jar + + + ../../../licensing-header.txt + ../../../ + + + \ No newline at end of file diff --git a/components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/extensions/menu-extension.extension b/components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/extensions/menu-extension.extension new file mode 100644 index 00000000000..ae70f5b5454 --- /dev/null +++ b/components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/extensions/menu-extension.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-extensions/templates/menu-extension.js", + "extensionPoint": "platform-templates-menu", + "description": "Extension Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/extensions/menu-extensionpoint.extension b/components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/extensions/menu-extensionpoint.extension new file mode 100644 index 00000000000..a95b465aa3a --- /dev/null +++ b/components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/extensions/menu-extensionpoint.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-extensions/templates/menu-extensionpoint.js", + "extensionPoint": "platform-templates-menu", + "description": "Extension Point Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/project.json b/components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/project.json new file mode 100644 index 00000000000..f97a0c42a5a --- /dev/null +++ b/components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/project.json @@ -0,0 +1,5 @@ +{ + "guid": "menu-extensions", + "dependencies": [], + "actions": [] +} \ No newline at end of file diff --git a/components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/templates/menu-extension.js b/components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/templates/menu-extension.js new file mode 100644 index 00000000000..e6309a717d4 --- /dev/null +++ b/components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/templates/menu-extension.js @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +export function getTemplate() { + return { + name: 'extension', + label: 'Extension', + extension: 'extension', + data: JSON.stringify({ + module: '/myproject/my-extension.js', + extensionPoint: 'my-extension-point', + description: 'My Extension' + }, null, 4) + }; +}; \ No newline at end of file diff --git a/components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/templates/menu-extensionpoint.js b/components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/templates/menu-extensionpoint.js new file mode 100644 index 00000000000..c45919bebc0 --- /dev/null +++ b/components/platform-ide/menu-extensions/src/main/resources/META-INF/dirigible/menu-extensions/templates/menu-extensionpoint.js @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +export function getTemplate() { + return { + name: 'extensionpoint', + label: 'Extension Point', + extension: 'extensionpoint', + data: JSON.stringify({ + name: 'my-extension-point', + description: 'My Extension Point' + }, null, 4) + }; +}; \ No newline at end of file diff --git a/components/platform-ide/menu-form-builder/.gitignore b/components/platform-ide/menu-form-builder/.gitignore new file mode 100644 index 00000000000..686cef860bd --- /dev/null +++ b/components/platform-ide/menu-form-builder/.gitignore @@ -0,0 +1,17 @@ +# folders +dist/ +.settings/ +target/ +derby/ +dirigible_local/ + +# files +.DS_Store +.project +.classpath +*.bak +*.class +*.jar +derby.log +/bin/ +/target/ \ No newline at end of file diff --git a/components/platform-ide/menu-form-builder/about.html b/components/platform-ide/menu-form-builder/about.html new file mode 100644 index 00000000000..bcb03d59e0f --- /dev/null +++ b/components/platform-ide/menu-form-builder/about.html @@ -0,0 +1,29 @@ + + + + + +About + + +

About This Content

+ +

April 25, 2020

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v20.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + diff --git a/components/platform-ide/menu-form-builder/pom.xml b/components/platform-ide/menu-form-builder/pom.xml new file mode 100644 index 00000000000..d4c40d1abb1 --- /dev/null +++ b/components/platform-ide/menu-form-builder/pom.xml @@ -0,0 +1,20 @@ + + 4.0.0 + + + org.eclipse.dirigible + dirigible-components-parent + 11.0.0-SNAPSHOT + ../../pom.xml + + + Components - IDE - Form Builder - Menu + dirigible-components-menu-form-builder + jar + + + ../../../licensing-header.txt + ../../../ + + + \ No newline at end of file diff --git a/components/platform-ide/menu-form-builder/src/main/resources/META-INF/dirigible/menu-form-builder/extensions/menu-form.extension b/components/platform-ide/menu-form-builder/src/main/resources/META-INF/dirigible/menu-form-builder/extensions/menu-form.extension new file mode 100644 index 00000000000..73dba8f3150 --- /dev/null +++ b/components/platform-ide/menu-form-builder/src/main/resources/META-INF/dirigible/menu-form-builder/extensions/menu-form.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-form-builder/templates/menu-form.js", + "extensionPoint": "platform-templates-menu", + "description": "Form Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-form-builder/src/main/resources/META-INF/dirigible/menu-form-builder/project.json b/components/platform-ide/menu-form-builder/src/main/resources/META-INF/dirigible/menu-form-builder/project.json new file mode 100644 index 00000000000..84cda8c709b --- /dev/null +++ b/components/platform-ide/menu-form-builder/src/main/resources/META-INF/dirigible/menu-form-builder/project.json @@ -0,0 +1,5 @@ +{ + "guid": "menu-form-builder", + "dependencies": [], + "actions": [] +} \ No newline at end of file diff --git a/components/platform-ide/menu-form-builder/src/main/resources/META-INF/dirigible/menu-form-builder/templates/menu-form.js b/components/platform-ide/menu-form-builder/src/main/resources/META-INF/dirigible/menu-form-builder/templates/menu-form.js new file mode 100644 index 00000000000..03b9fc8ecf1 --- /dev/null +++ b/components/platform-ide/menu-form-builder/src/main/resources/META-INF/dirigible/menu-form-builder/templates/menu-form.js @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +export function getTemplate() { + return { + name: 'form', + label: 'Form Definition', + extension: 'form', + data: JSON.stringify({ + feeds: [], + scripts: [], + code: '', + form: [] + }, null, 4) + }; +}; \ No newline at end of file diff --git a/components/platform-ide/menu-jobs/.gitignore b/components/platform-ide/menu-jobs/.gitignore new file mode 100644 index 00000000000..686cef860bd --- /dev/null +++ b/components/platform-ide/menu-jobs/.gitignore @@ -0,0 +1,17 @@ +# folders +dist/ +.settings/ +target/ +derby/ +dirigible_local/ + +# files +.DS_Store +.project +.classpath +*.bak +*.class +*.jar +derby.log +/bin/ +/target/ \ No newline at end of file diff --git a/components/platform-ide/menu-jobs/about.html b/components/platform-ide/menu-jobs/about.html new file mode 100644 index 00000000000..bcb03d59e0f --- /dev/null +++ b/components/platform-ide/menu-jobs/about.html @@ -0,0 +1,29 @@ + + + + + +About + + +

About This Content

+ +

April 25, 2020

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v20.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + diff --git a/components/platform-ide/menu-jobs/pom.xml b/components/platform-ide/menu-jobs/pom.xml new file mode 100644 index 00000000000..62faadf4d89 --- /dev/null +++ b/components/platform-ide/menu-jobs/pom.xml @@ -0,0 +1,20 @@ + + 4.0.0 + + + org.eclipse.dirigible + dirigible-components-parent + 11.0.0-SNAPSHOT + ../../pom.xml + + + Components - IDE - Jobs - Menu + dirigible-components-menu-jobs + jar + + + ../../../licensing-header.txt + ../../../ + + + \ No newline at end of file diff --git a/components/platform-ide/menu-jobs/src/main/resources/META-INF/dirigible/menu-jobs/extensions/menu-job.extension b/components/platform-ide/menu-jobs/src/main/resources/META-INF/dirigible/menu-jobs/extensions/menu-job.extension new file mode 100644 index 00000000000..f97e808062b --- /dev/null +++ b/components/platform-ide/menu-jobs/src/main/resources/META-INF/dirigible/menu-jobs/extensions/menu-job.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-jobs/templates/menu-job.js", + "extensionPoint": "platform-templates-menu", + "description": "Scheduled Job Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-jobs/src/main/resources/META-INF/dirigible/menu-jobs/project.json b/components/platform-ide/menu-jobs/src/main/resources/META-INF/dirigible/menu-jobs/project.json new file mode 100644 index 00000000000..d87520018b9 --- /dev/null +++ b/components/platform-ide/menu-jobs/src/main/resources/META-INF/dirigible/menu-jobs/project.json @@ -0,0 +1,5 @@ +{ + "guid": "menu-jobs", + "dependencies": [], + "actions": [] +} \ No newline at end of file diff --git a/components/platform-ide/menu-jobs/src/main/resources/META-INF/dirigible/menu-jobs/templates/menu-job.js b/components/platform-ide/menu-jobs/src/main/resources/META-INF/dirigible/menu-jobs/templates/menu-job.js new file mode 100644 index 00000000000..34c26e08663 --- /dev/null +++ b/components/platform-ide/menu-jobs/src/main/resources/META-INF/dirigible/menu-jobs/templates/menu-job.js @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +export function getTemplate() { + return { + name: 'job', + label: 'Scheduled Job', + extension: 'job', + data: JSON.stringify({ + expression: '0/10 * * * * ?', + group: 'defined', + handler: 'myproject/myhandler.js', + description: 'My Job' + }, null, 4) + }; +}; \ No newline at end of file diff --git a/components/platform-ide/menu-listeners/.gitignore b/components/platform-ide/menu-listeners/.gitignore new file mode 100644 index 00000000000..686cef860bd --- /dev/null +++ b/components/platform-ide/menu-listeners/.gitignore @@ -0,0 +1,17 @@ +# folders +dist/ +.settings/ +target/ +derby/ +dirigible_local/ + +# files +.DS_Store +.project +.classpath +*.bak +*.class +*.jar +derby.log +/bin/ +/target/ \ No newline at end of file diff --git a/components/platform-ide/menu-listeners/about.html b/components/platform-ide/menu-listeners/about.html new file mode 100644 index 00000000000..bcb03d59e0f --- /dev/null +++ b/components/platform-ide/menu-listeners/about.html @@ -0,0 +1,29 @@ + + + + + +About + + +

About This Content

+ +

April 25, 2020

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v20.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + diff --git a/components/platform-ide/menu-listeners/pom.xml b/components/platform-ide/menu-listeners/pom.xml new file mode 100644 index 00000000000..d5600570f56 --- /dev/null +++ b/components/platform-ide/menu-listeners/pom.xml @@ -0,0 +1,20 @@ + + 4.0.0 + + + org.eclipse.dirigible + dirigible-components-parent + 11.0.0-SNAPSHOT + ../../pom.xml + + + Components - IDE - Listeners - Menu + dirigible-components-menu-listeners + jar + + + ../../../licensing-header.txt + ../../../ + + + \ No newline at end of file diff --git a/components/platform-ide/menu-listeners/src/main/resources/META-INF/dirigible/menu-listeners/extensions/menu-listener.extension b/components/platform-ide/menu-listeners/src/main/resources/META-INF/dirigible/menu-listeners/extensions/menu-listener.extension new file mode 100644 index 00000000000..c0bee0bba5c --- /dev/null +++ b/components/platform-ide/menu-listeners/src/main/resources/META-INF/dirigible/menu-listeners/extensions/menu-listener.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-listeners/templates/menu-listener.js", + "extensionPoint": "platform-templates-menu", + "description": "Message Listener Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-listeners/src/main/resources/META-INF/dirigible/menu-listeners/project.json b/components/platform-ide/menu-listeners/src/main/resources/META-INF/dirigible/menu-listeners/project.json new file mode 100644 index 00000000000..d46f41c9da3 --- /dev/null +++ b/components/platform-ide/menu-listeners/src/main/resources/META-INF/dirigible/menu-listeners/project.json @@ -0,0 +1,5 @@ +{ + "guid": "ide-listeners-menu", + "dependencies": [], + "actions": [] +} \ No newline at end of file diff --git a/components/platform-ide/menu-listeners/src/main/resources/META-INF/dirigible/menu-listeners/templates/menu-listener.js b/components/platform-ide/menu-listeners/src/main/resources/META-INF/dirigible/menu-listeners/templates/menu-listener.js new file mode 100644 index 00000000000..e045228a6a1 --- /dev/null +++ b/components/platform-ide/menu-listeners/src/main/resources/META-INF/dirigible/menu-listeners/templates/menu-listener.js @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +export function getTemplate() { + return { + name: 'listener', + label: 'Message Listener', + extension: 'listener', + data: JSON.stringify({ + name: 'mylistener', + kind: 'Q', + handler: 'myproject/myhandler.js', + description: 'My Listener' + }, null, 4) + }; +}; \ No newline at end of file diff --git a/components/platform-ide/menu-projects/.gitignore b/components/platform-ide/menu-projects/.gitignore new file mode 100644 index 00000000000..686cef860bd --- /dev/null +++ b/components/platform-ide/menu-projects/.gitignore @@ -0,0 +1,17 @@ +# folders +dist/ +.settings/ +target/ +derby/ +dirigible_local/ + +# files +.DS_Store +.project +.classpath +*.bak +*.class +*.jar +derby.log +/bin/ +/target/ \ No newline at end of file diff --git a/components/platform-ide/menu-projects/about.html b/components/platform-ide/menu-projects/about.html new file mode 100644 index 00000000000..bcb03d59e0f --- /dev/null +++ b/components/platform-ide/menu-projects/about.html @@ -0,0 +1,29 @@ + + + + + +About + + +

About This Content

+ +

April 25, 2020

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v20.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + diff --git a/components/platform-ide/menu-projects/pom.xml b/components/platform-ide/menu-projects/pom.xml new file mode 100644 index 00000000000..11aec896b3c --- /dev/null +++ b/components/platform-ide/menu-projects/pom.xml @@ -0,0 +1,20 @@ + + 4.0.0 + + + org.eclipse.dirigible + dirigible-components-parent + 11.0.0-SNAPSHOT + ../../pom.xml + + + Components - IDE - Projects - Menu + dirigible-components-menu-projects + jar + + + ../../../licensing-header.txt + ../../../ + + + \ No newline at end of file diff --git a/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/extensions/menu-csvim.extension b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/extensions/menu-csvim.extension new file mode 100644 index 00000000000..b0b4edaf248 --- /dev/null +++ b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/extensions/menu-csvim.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-projects/templates/menu-csvim.js", + "extensionPoint": "platform-templates-menu", + "description": "CSVIM Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/extensions/menu-html.extension b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/extensions/menu-html.extension new file mode 100644 index 00000000000..28a68f5f7b7 --- /dev/null +++ b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/extensions/menu-html.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-projects/templates/menu-html.js", + "extensionPoint": "platform-templates-menu", + "description": "HTML Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/extensions/menu-mjs.extension b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/extensions/menu-mjs.extension new file mode 100644 index 00000000000..769640ed4a1 --- /dev/null +++ b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/extensions/menu-mjs.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-projects/templates/menu-mjs.js", + "extensionPoint": "platform-templates-menu", + "description": "JavaScript ESM Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/extensions/menu-ts.extension b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/extensions/menu-ts.extension new file mode 100644 index 00000000000..bf6bf28955e --- /dev/null +++ b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/extensions/menu-ts.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-projects/templates/menu-ts.js", + "extensionPoint": "platform-templates-menu", + "description": "TypeScript Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/project.json b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/project.json new file mode 100644 index 00000000000..9c7f2cd4c3a --- /dev/null +++ b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/project.json @@ -0,0 +1,5 @@ +{ + "guid": "menu-projects", + "dependencies": [], + "actions": [] +} \ No newline at end of file diff --git a/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/templates/menu-csvim.js b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/templates/menu-csvim.js new file mode 100644 index 00000000000..d5cb1f2c766 --- /dev/null +++ b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/templates/menu-csvim.js @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +export function getTemplate() { + return { + name: "csvim", + label: "CSV Import Model", + extension: "csvim", + data: "[]" + }; +}; diff --git a/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/templates/menu-html.js b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/templates/menu-html.js new file mode 100644 index 00000000000..82fdc8b7f01 --- /dev/null +++ b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/templates/menu-html.js @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +export function getTemplate() { + return { + name: "html", + label: "HTML5 Page", + extension: "html", + data: "\n\n\n\n\n" + } +} \ No newline at end of file diff --git a/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/templates/menu-mjs.js b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/templates/menu-mjs.js new file mode 100644 index 00000000000..82c91aad709 --- /dev/null +++ b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/templates/menu-mjs.js @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +export function getTemplate() { + return { + name: "javascript-esm", + label: "JavaScript Service", + extension: "mjs", + data: `import { response } from "sdk/http";\n\nresponse.println("Hello World!");`, + order: 1 + } +}; diff --git a/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/templates/menu-ts.js b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/templates/menu-ts.js new file mode 100644 index 00000000000..6cf6315c40b --- /dev/null +++ b/components/platform-ide/menu-projects/src/main/resources/META-INF/dirigible/menu-projects/templates/menu-ts.js @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +export function getTemplate() { + return { + name: "typescript", + label: "TypeScript Service", + extension: "ts", + data: `import { response } from "sdk/http";\n\nresponse.println("Hello World!");`, + order: 2 + } +}; diff --git a/components/platform-ide/menu-schema/.gitignore b/components/platform-ide/menu-schema/.gitignore new file mode 100644 index 00000000000..686cef860bd --- /dev/null +++ b/components/platform-ide/menu-schema/.gitignore @@ -0,0 +1,17 @@ +# folders +dist/ +.settings/ +target/ +derby/ +dirigible_local/ + +# files +.DS_Store +.project +.classpath +*.bak +*.class +*.jar +derby.log +/bin/ +/target/ \ No newline at end of file diff --git a/components/platform-ide/menu-schema/about.html b/components/platform-ide/menu-schema/about.html new file mode 100644 index 00000000000..bcb03d59e0f --- /dev/null +++ b/components/platform-ide/menu-schema/about.html @@ -0,0 +1,29 @@ + + + + + +About + + +

About This Content

+ +

April 25, 2020

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v20.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + diff --git a/components/platform-ide/menu-schema/pom.xml b/components/platform-ide/menu-schema/pom.xml new file mode 100644 index 00000000000..53d9e53080f --- /dev/null +++ b/components/platform-ide/menu-schema/pom.xml @@ -0,0 +1,20 @@ + + 4.0.0 + + + org.eclipse.dirigible + dirigible-components-parent + 11.0.0-SNAPSHOT + ../../pom.xml + + + Components - IDE - Schema - Menu + dirigible-components-menu-schema + jar + + + ../../../licensing-header.txt + ../../../ + + + \ No newline at end of file diff --git a/components/platform-ide/menu-schema/src/main/resources/META-INF/dirigible/menu-schema/extensions/menu-dsm.extension b/components/platform-ide/menu-schema/src/main/resources/META-INF/dirigible/menu-schema/extensions/menu-dsm.extension new file mode 100644 index 00000000000..8c192d9c647 --- /dev/null +++ b/components/platform-ide/menu-schema/src/main/resources/META-INF/dirigible/menu-schema/extensions/menu-dsm.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-schema/templates/menu-dsm.js", + "extensionPoint": "platform-templates-menu", + "description": "Database Schema Model Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-schema/src/main/resources/META-INF/dirigible/menu-schema/project.json b/components/platform-ide/menu-schema/src/main/resources/META-INF/dirigible/menu-schema/project.json new file mode 100644 index 00000000000..0114d530a67 --- /dev/null +++ b/components/platform-ide/menu-schema/src/main/resources/META-INF/dirigible/menu-schema/project.json @@ -0,0 +1,5 @@ +{ + "guid": "menu-schema", + "dependencies": [], + "actions": [] +} \ No newline at end of file diff --git a/components/platform-ide/menu-schema/src/main/resources/META-INF/dirigible/menu-schema/templates/menu-dsm.js b/components/platform-ide/menu-schema/src/main/resources/META-INF/dirigible/menu-schema/templates/menu-dsm.js new file mode 100644 index 00000000000..3b401eb6b38 --- /dev/null +++ b/components/platform-ide/menu-schema/src/main/resources/META-INF/dirigible/menu-schema/templates/menu-dsm.js @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +export function getTemplate() { + return { + name: 'schema', + label: 'Database Schema Model', + extension: 'dsm', + data: '' + }; +}; diff --git a/components/platform-ide/menu-security/.gitignore b/components/platform-ide/menu-security/.gitignore new file mode 100644 index 00000000000..686cef860bd --- /dev/null +++ b/components/platform-ide/menu-security/.gitignore @@ -0,0 +1,17 @@ +# folders +dist/ +.settings/ +target/ +derby/ +dirigible_local/ + +# files +.DS_Store +.project +.classpath +*.bak +*.class +*.jar +derby.log +/bin/ +/target/ \ No newline at end of file diff --git a/components/platform-ide/menu-security/about.html b/components/platform-ide/menu-security/about.html new file mode 100644 index 00000000000..bcb03d59e0f --- /dev/null +++ b/components/platform-ide/menu-security/about.html @@ -0,0 +1,29 @@ + + + + + +About + + +

About This Content

+ +

April 25, 2020

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v20.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + diff --git a/components/platform-ide/menu-security/pom.xml b/components/platform-ide/menu-security/pom.xml new file mode 100644 index 00000000000..82538348adb --- /dev/null +++ b/components/platform-ide/menu-security/pom.xml @@ -0,0 +1,20 @@ + + 4.0.0 + + + org.eclipse.dirigible + dirigible-components-parent + 11.0.0-SNAPSHOT + ../../pom.xml + + + Components - IDE - Security - Menu + dirigible-components-menu-security + jar + + + ../../../licensing-header.txt + ../../../ + + + \ No newline at end of file diff --git a/components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/extensions/menu-access.extension b/components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/extensions/menu-access.extension new file mode 100644 index 00000000000..924dec1060b --- /dev/null +++ b/components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/extensions/menu-access.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-security/templates/menu-access.js", + "extensionPoint": "platform-templates-menu", + "description": "Access Constraints Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/extensions/menu-roles.extension b/components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/extensions/menu-roles.extension new file mode 100644 index 00000000000..f480918a451 --- /dev/null +++ b/components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/extensions/menu-roles.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-security/templates/menu-roles.js", + "extensionPoint": "platform-templates-menu", + "description": "Roles Definitions Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/project.json b/components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/project.json new file mode 100644 index 00000000000..247cccf51d0 --- /dev/null +++ b/components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/project.json @@ -0,0 +1,5 @@ +{ + "guid": "menu-security", + "dependencies": [], + "actions": [] +} \ No newline at end of file diff --git a/components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/templates/menu-access.js b/components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/templates/menu-access.js new file mode 100644 index 00000000000..1cab95ac185 --- /dev/null +++ b/components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/templates/menu-access.js @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +export function getTemplate() { + return { + name: 'access', + label: 'Access Constraints', + extension: 'access', + data: JSON.stringify({ + constraints: [{ + path: '/myproject/myfolder/myservice.js', + method: 'GET', + scope: 'HTTP', + roles: [ + 'administrator', + 'operator' + ] + }] + }, null, 4) + }; +}; \ No newline at end of file diff --git a/components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/templates/menu-roles.js b/components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/templates/menu-roles.js new file mode 100644 index 00000000000..8faafcb601f --- /dev/null +++ b/components/platform-ide/menu-security/src/main/resources/META-INF/dirigible/menu-security/templates/menu-roles.js @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +export function getTemplate() { + return { + name: 'roles', + label: 'Roles Definitions', + extension: 'roles', + data: JSON.stringify([{ + name: 'administrator', + description: 'Administrator Role' + }, + { + name: 'operator', + description: 'Operator Role' + }], null, 4) + }; +}; diff --git a/components/platform-ide/menu-websockets/.gitignore b/components/platform-ide/menu-websockets/.gitignore new file mode 100644 index 00000000000..686cef860bd --- /dev/null +++ b/components/platform-ide/menu-websockets/.gitignore @@ -0,0 +1,17 @@ +# folders +dist/ +.settings/ +target/ +derby/ +dirigible_local/ + +# files +.DS_Store +.project +.classpath +*.bak +*.class +*.jar +derby.log +/bin/ +/target/ \ No newline at end of file diff --git a/components/platform-ide/menu-websockets/about.html b/components/platform-ide/menu-websockets/about.html new file mode 100644 index 00000000000..bcb03d59e0f --- /dev/null +++ b/components/platform-ide/menu-websockets/about.html @@ -0,0 +1,29 @@ + + + + + +About + + +

About This Content

+ +

April 25, 2020

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v20.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + diff --git a/components/platform-ide/menu-websockets/pom.xml b/components/platform-ide/menu-websockets/pom.xml new file mode 100644 index 00000000000..0483a89654b --- /dev/null +++ b/components/platform-ide/menu-websockets/pom.xml @@ -0,0 +1,20 @@ + + 4.0.0 + + + org.eclipse.dirigible + dirigible-components-parent + 11.0.0-SNAPSHOT + ../../pom.xml + + + Components - IDE - Websockets - Menu + dirigible-components-menu-websockets + jar + + + ../../../licensing-header.txt + ../../../ + + + \ No newline at end of file diff --git a/components/platform-ide/menu-websockets/src/main/resources/META-INF/dirigible/menu-websockets/extensions/menu-websocket.extension b/components/platform-ide/menu-websockets/src/main/resources/META-INF/dirigible/menu-websockets/extensions/menu-websocket.extension new file mode 100644 index 00000000000..f5485c48d18 --- /dev/null +++ b/components/platform-ide/menu-websockets/src/main/resources/META-INF/dirigible/menu-websockets/extensions/menu-websocket.extension @@ -0,0 +1,5 @@ +{ + "module": "menu-websockets/templates/menu-websocket.js", + "extensionPoint": "platform-templates-menu", + "description": "WebSocket Workbench New Menu Extension" +} \ No newline at end of file diff --git a/components/platform-ide/menu-websockets/src/main/resources/META-INF/dirigible/menu-websockets/project.json b/components/platform-ide/menu-websockets/src/main/resources/META-INF/dirigible/menu-websockets/project.json new file mode 100644 index 00000000000..caac42e109b --- /dev/null +++ b/components/platform-ide/menu-websockets/src/main/resources/META-INF/dirigible/menu-websockets/project.json @@ -0,0 +1,5 @@ +{ + "guid": "menu-websockets", + "dependencies": [], + "actions": [] +} \ No newline at end of file diff --git a/components/platform-ide/menu-websockets/src/main/resources/META-INF/dirigible/menu-websockets/templates/menu-websocket.js b/components/platform-ide/menu-websockets/src/main/resources/META-INF/dirigible/menu-websockets/templates/menu-websocket.js new file mode 100644 index 00000000000..e424efce831 --- /dev/null +++ b/components/platform-ide/menu-websockets/src/main/resources/META-INF/dirigible/menu-websockets/templates/menu-websocket.js @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +export function getTemplate() { + return { + name: 'websocket', + label: 'WebSocket', + extension: 'websocket', + data: JSON.stringify({ + handler: 'myproject/myhandler.js', + endpoint: 'myendpoint', + description: 'My WebSocket' + }, null, 4) + }; +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/.gitignore b/components/platform-ide/perspective-operations/.gitignore new file mode 100644 index 00000000000..d25d0ab3b8c --- /dev/null +++ b/components/platform-ide/perspective-operations/.gitignore @@ -0,0 +1,20 @@ +# folders +dist/ +.settings/ +target/ +derby/ +dirigible_local/ + +# files +.DS_Store +.project +.classpath +*.bak +*.class +*.jar +derby.log +/bin/ +/target/ +/target/ +/target/ +/target/ diff --git a/components/platform-ide/perspective-operations/about.html b/components/platform-ide/perspective-operations/about.html new file mode 100644 index 00000000000..bcb03d59e0f --- /dev/null +++ b/components/platform-ide/perspective-operations/about.html @@ -0,0 +1,29 @@ + + + + + +About + + +

About This Content

+ +

April 25, 2020

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v20.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + diff --git a/components/platform-ide/perspective-operations/pom.xml b/components/platform-ide/perspective-operations/pom.xml new file mode 100644 index 00000000000..24760cf057d --- /dev/null +++ b/components/platform-ide/perspective-operations/pom.xml @@ -0,0 +1,21 @@ + + 4.0.0 + + + org.eclipse.dirigible + dirigible-components-parent + 11.0.0-SNAPSHOT + ../../pom.xml + + + Components - IDE - Operations - Perspective + dirigible-components-perspective-operations + jar + + + ../../../licensing-header.txt + ../../../ + + + \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/Utils.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/Utils.mjs new file mode 100644 index 00000000000..9372c4af809 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/Utils.mjs @@ -0,0 +1,13 @@ +export class Utils { + + static getArtefactStatus(artefact) { + return { + type: artefact.ARTEFACT_TYPE, + location: artefact.ARTEFACT_LOCATION, + name: artefact.ARTEFACT_NAME, + phase: artefact.ARTEFACT_PHASE, + running: artefact.ARTEFACT_RUNNING, + status: artefact.ARTEFACT_STATUS, + } + }; +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/artefacts.extensionpoint b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/artefacts.extensionpoint new file mode 100644 index 00000000000..143784821f0 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/artefacts.extensionpoint @@ -0,0 +1,4 @@ +{ + "name": "platform-operations-artefacts", + "description": "Artefacts Extension Point" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/artefacts.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/artefacts.mjs new file mode 100644 index 00000000000..4397f9d9502 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/artefacts.mjs @@ -0,0 +1,12 @@ +import { extensions } from "sdk/extensions"; +import { response } from "sdk/http"; + +const artefacts = []; +const artefactsExtensions = await extensions.loadExtensionModules("platform-operations-artefacts"); +for (let i = 0; i < artefactsExtensions?.length; i++) { + artefacts.push(...artefactsExtensions[i].getArtefacts()); +} +response.setContentType("application/json"); +response.println(JSON.stringify(artefacts)); +response.flush(); +response.close(); \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/bpmn/artefacts-bpmn.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/bpmn/artefacts-bpmn.extension new file mode 100644 index 00000000000..f519551caac --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/bpmn/artefacts-bpmn.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/bpmn/artefacts-bpmn.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "BPMN Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/bpmn/artefacts-bpmn.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/bpmn/artefacts-bpmn.mjs new file mode 100644 index 00000000000..a99870d143b --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/bpmn/artefacts-bpmn.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_BPMN + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/camel/artefacts-camel.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/camel/artefacts-camel.extension new file mode 100644 index 00000000000..c444a35c5e0 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/camel/artefacts-camel.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/camel/artefacts-camel.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "Camel Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/camel/artefacts-camel.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/camel/artefacts-camel.mjs new file mode 100644 index 00000000000..ddd6cdae60b --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/camel/artefacts-camel.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_CAMEL + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/confluence/artefacts-confluence.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/confluence/artefacts-confluence.extension new file mode 100644 index 00000000000..33b38b0ced5 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/confluence/artefacts-confluence.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/confluence/artefacts-confluence.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "Confluence Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/confluence/artefacts-confluence.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/confluence/artefacts-confluence.mjs new file mode 100644 index 00000000000..e1ce8d62cc0 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/confluence/artefacts-confluence.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_CONFLUENCE + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csv-file/artefacts-csv-file.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csv-file/artefacts-csv-file.extension new file mode 100644 index 00000000000..b5d68ed865a --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csv-file/artefacts-csv-file.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/csv-file/artefacts-csv-file.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "CSV File Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csv-file/artefacts-csv-file.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csv-file/artefacts-csv-file.mjs new file mode 100644 index 00000000000..4a78c007e83 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csv-file/artefacts-csv-file.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_CSV_FILE + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csv/artefacts-csv.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csv/artefacts-csv.extension new file mode 100644 index 00000000000..df6b0e31390 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csv/artefacts-csv.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/csv/artefacts-csv.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "CSV Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csv/artefacts-csv.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csv/artefacts-csv.mjs new file mode 100644 index 00000000000..95869a145a5 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csv/artefacts-csv.mjs @@ -0,0 +1,16 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, CSV_FILE_IMPORTED + FROM DIRIGIBLE_CSV_FILE + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => { + const artefactStatus = Utils.getArtefactStatus(e); + artefactStatus.status = e.CSV_FILE_IMPORTED === true ? 'Imported' : 'Not Imported' + return artefactStatus; + }); +}; diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csvim/artefacts-csvim.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csvim/artefacts-csvim.extension new file mode 100644 index 00000000000..6a4606b962c --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csvim/artefacts-csvim.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/csvim/artefacts-csvim.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "CSVIM Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csvim/artefacts-csvim.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csvim/artefacts-csvim.mjs new file mode 100644 index 00000000000..a4091e43c21 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/csvim/artefacts-csvim.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_CSVIM + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-schemas/artefacts-data-schemas.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-schemas/artefacts-data-schemas.extension new file mode 100644 index 00000000000..9a9a25d852d --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-schemas/artefacts-data-schemas.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/data-schemas/artefacts-data-schemas.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "Data Schemas Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-schemas/artefacts-data-schemas.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-schemas/artefacts-data-schemas.mjs new file mode 100644 index 00000000000..6672c3f74a9 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-schemas/artefacts-data-schemas.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_DATA_SCHEMAS + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-sources/artefacts-data-sources.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-sources/artefacts-data-sources.extension new file mode 100644 index 00000000000..ad7211034ba --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-sources/artefacts-data-sources.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/data-sources/artefacts-data-sources.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "Data Sources Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-sources/artefacts-data-sources.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-sources/artefacts-data-sources.mjs new file mode 100644 index 00000000000..4d0aab3e293 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-sources/artefacts-data-sources.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_DATA_SOURCES + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-tables/artefacts-data-tables.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-tables/artefacts-data-tables.extension new file mode 100644 index 00000000000..9ecf4819de5 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-tables/artefacts-data-tables.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/data-tables/artefacts-data-tables.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "Data Tables Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-tables/artefacts-data-tables.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-tables/artefacts-data-tables.mjs new file mode 100644 index 00000000000..e02524216c9 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-tables/artefacts-data-tables.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_DATA_TABLES + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-views/artefacts-data-views.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-views/artefacts-data-views.extension new file mode 100644 index 00000000000..b20dc81c553 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-views/artefacts-data-views.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/data-views/artefacts-data-views.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "Data Views Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-views/artefacts-data-views.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-views/artefacts-data-views.mjs new file mode 100644 index 00000000000..e81a3291922 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/data-views/artefacts-data-views.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_DATA_VIEWS + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/entities/artefacts-entities.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/entities/artefacts-entities.extension new file mode 100644 index 00000000000..7e8da8c872f --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/entities/artefacts-entities.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/entities/artefacts-entities.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "Entities Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/entities/artefacts-entities.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/entities/artefacts-entities.mjs new file mode 100644 index 00000000000..901aae93fb8 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/entities/artefacts-entities.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_ENTITIES + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/extension-points/artefacts-extension-points.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/extension-points/artefacts-extension-points.extension new file mode 100644 index 00000000000..22d88ad8553 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/extension-points/artefacts-extension-points.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/extension-points/artefacts-extension-points.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "Extension Points Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/extension-points/artefacts-extension-points.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/extension-points/artefacts-extension-points.mjs new file mode 100644 index 00000000000..d89443c431e --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/extension-points/artefacts-extension-points.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_EXTENSION_POINTS + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/extensions/artefacts-extensions.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/extensions/artefacts-extensions.extension new file mode 100644 index 00000000000..757d8a10bad --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/extensions/artefacts-extensions.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/extensions/artefacts-extensions.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "Extensions Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/extensions/artefacts-extensions.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/extensions/artefacts-extensions.mjs new file mode 100644 index 00000000000..610c4c52ba6 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/extensions/artefacts-extensions.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_EXTENSIONS + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/jobs/artefacts-jobs.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/jobs/artefacts-jobs.extension new file mode 100644 index 00000000000..e693a726c9d --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/jobs/artefacts-jobs.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/jobs/artefacts-jobs.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "Jobs Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/jobs/artefacts-jobs.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/jobs/artefacts-jobs.mjs new file mode 100644 index 00000000000..69b9e1f9841 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/jobs/artefacts-jobs.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_JOBS + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/listeners/artefacts-listeners.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/listeners/artefacts-listeners.extension new file mode 100644 index 00000000000..9ba9838fb72 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/listeners/artefacts-listeners.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/listeners/artefacts-listeners.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "Listeners Emails Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/listeners/artefacts-listeners.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/listeners/artefacts-listeners.mjs new file mode 100644 index 00000000000..8d5e13e2eb7 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/listeners/artefacts-listeners.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT TOP 10 + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_LISTENERS + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/markdown/artefacts-markdown.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/markdown/artefacts-markdown.extension new file mode 100644 index 00000000000..a52322b5683 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/markdown/artefacts-markdown.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/markdown/artefacts-markdown.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "Markdown Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/markdown/artefacts-markdown.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/markdown/artefacts-markdown.mjs new file mode 100644 index 00000000000..ef8650e1e01 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/markdown/artefacts-markdown.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_MARKDOWN + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-container/artefacts-odata-container.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-container/artefacts-odata-container.extension new file mode 100644 index 00000000000..d4f59f27416 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-container/artefacts-odata-container.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/odata-container/artefacts-odata-container.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "OData Container Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-container/artefacts-odata-container.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-container/artefacts-odata-container.mjs new file mode 100644 index 00000000000..8456ff1edd8 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-container/artefacts-odata-container.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_ODATA_CONTAINER + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-handler/artefacts-odata-handler.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-handler/artefacts-odata-handler.extension new file mode 100644 index 00000000000..8c45b45ffff --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-handler/artefacts-odata-handler.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/odata-handler/artefacts-odata-handler.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "OData Handler Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-handler/artefacts-odata-handler.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-handler/artefacts-odata-handler.mjs new file mode 100644 index 00000000000..ef430e809c4 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-handler/artefacts-odata-handler.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_ODATA_HANDLER + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-mapping/artefacts-odata-mapping.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-mapping/artefacts-odata-mapping.extension new file mode 100644 index 00000000000..8616145a072 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-mapping/artefacts-odata-mapping.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/odata-mapping/artefacts-odata-mapping.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "OData Mapping Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-mapping/artefacts-odata-mapping.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-mapping/artefacts-odata-mapping.mjs new file mode 100644 index 00000000000..daf1e8b49a5 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-mapping/artefacts-odata-mapping.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_ODATA_MAPPING + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-schema/artefacts-odata-schema.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-schema/artefacts-odata-schema.extension new file mode 100644 index 00000000000..df7c039e4f7 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-schema/artefacts-odata-schema.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/odata-schema/artefacts-odata-schema.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "OData Schema Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-schema/artefacts-odata-schema.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-schema/artefacts-odata-schema.mjs new file mode 100644 index 00000000000..dbf0549c8a1 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata-schema/artefacts-odata-schema.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_ODATA_SCHEMA + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata/artefacts-odata.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata/artefacts-odata.extension new file mode 100644 index 00000000000..2c788dbdd2c --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata/artefacts-odata.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/odata/artefacts-odata.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "OData Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata/artefacts-odata.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata/artefacts-odata.mjs new file mode 100644 index 00000000000..9c5848b725e --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/odata/artefacts-odata.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_ODATA + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/openapi/artefacts-openapi.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/openapi/artefacts-openapi.extension new file mode 100644 index 00000000000..aed9588a4ed --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/openapi/artefacts-openapi.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/openapi/artefacts-openapi.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "OpenAPI Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/openapi/artefacts-openapi.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/openapi/artefacts-openapi.mjs new file mode 100644 index 00000000000..1d2fdf2f073 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/openapi/artefacts-openapi.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_OPENAPI + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/security-access/artefacts-security-access.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/security-access/artefacts-security-access.extension new file mode 100644 index 00000000000..624140c9b78 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/security-access/artefacts-security-access.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/security-access/artefacts-security-access.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "Security Access Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/security-access/artefacts-security-access.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/security-access/artefacts-security-access.mjs new file mode 100644 index 00000000000..60dbf182d46 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/security-access/artefacts-security-access.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_SECURITY_ACCESS + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/security-roles/artefacts-security-roles.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/security-roles/artefacts-security-roles.extension new file mode 100644 index 00000000000..a4b99ae1de7 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/security-roles/artefacts-security-roles.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/security-roles/artefacts-security-roles.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "Security Roles Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/security-roles/artefacts-security-roles.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/security-roles/artefacts-security-roles.mjs new file mode 100644 index 00000000000..fc53935429a --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/security-roles/artefacts-security-roles.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_SECURITY_ROLES + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/websockets/artefacts-websockets.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/websockets/artefacts-websockets.extension new file mode 100644 index 00000000000..94f75d4c39f --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/websockets/artefacts-websockets.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/api/artefacts/websockets/artefacts-websockets.mjs", + "extensionPoint": "platform-operations-artefacts", + "description": "WebSockets Artefacts Extension" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/websockets/artefacts-websockets.mjs b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/websockets/artefacts-websockets.mjs new file mode 100644 index 00000000000..be0ea1503ff --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/api/artefacts/websockets/artefacts-websockets.mjs @@ -0,0 +1,12 @@ +import { query } from "sdk/db"; +import { Utils } from "../Utils.mjs"; + +export const getArtefacts = () => { + const sql = ` + SELECT + ARTEFACT_TYPE, ARTEFACT_LOCATION, ARTEFACT_NAME, ARTEFACT_PHASE, ARTEFACT_RUNNING, ARTEFACT_STATUS + FROM DIRIGIBLE_WEBSOCKETS + `; + const resultset = query.execute(sql, [], "SystemDB"); + return resultset.map(e => Utils.getArtefactStatus(e)); +}; \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/configs/operations.js b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/configs/operations.js new file mode 100644 index 00000000000..8e877c359b0 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/configs/operations.js @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +const perspectiveData = { + id: 'operations', + label: 'Operations', + path: '/services/web/perspective-operations/index.html', + order: 999, + icon: '/services/web/perspective-operations/images/operations.svg', +}; +if (typeof exports !== 'undefined') { + exports.getPerspective = () => perspectiveData; +} diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/configs/perspective-menu.js b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/configs/perspective-menu.js new file mode 100644 index 00000000000..ad77bad3795 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/configs/perspective-menu.js @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +exports.getMenu = () => ({ + perspectiveId: 'operations', + include: { + window: true, + help: true, + }, + items: [] +}); \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/extensions/perspective-menu.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/extensions/perspective-menu.extension new file mode 100644 index 00000000000..b83113d70fd --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/extensions/perspective-menu.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/configs/perspective-menu.js", + "extensionPoint": "platform-menus", + "description": "Operations perspective menu" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/extensions/perspective.extension b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/extensions/perspective.extension new file mode 100644 index 00000000000..d41e6cd65c9 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/extensions/perspective.extension @@ -0,0 +1,5 @@ +{ + "module": "perspective-operations/configs/operations.js", + "extensionPoint": "platform-perspectives", + "description": "Operations Perspective" +} \ No newline at end of file diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/images/operations.svg b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/images/operations.svg new file mode 100644 index 00000000000..2b6c4471e06 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/images/operations.svg @@ -0,0 +1,4 @@ + + + + diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/index.html b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/index.html new file mode 100644 index 00000000000..6c3ea88d7ba --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/index.html @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/project.json b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/project.json new file mode 100644 index 00000000000..4b87e20a959 --- /dev/null +++ b/components/platform-ide/perspective-operations/src/main/resources/META-INF/dirigible/perspective-operations/project.json @@ -0,0 +1,5 @@ +{ + "guid": "perspective-operations", + "dependencies": [], + "actions": [] +} \ No newline at end of file diff --git a/components/platform-ide/service-template/src/main/resources/META-INF/dirigible/service-template/api/templates.js b/components/platform-ide/service-template/src/main/resources/META-INF/dirigible/service-template/api/templates.js index 91b3fb3ea4b..0f32c7e4422 100644 --- a/components/platform-ide/service-template/src/main/resources/META-INF/dirigible/service-template/api/templates.js +++ b/components/platform-ide/service-template/src/main/resources/META-INF/dirigible/service-template/api/templates.js @@ -50,20 +50,12 @@ async function loadTemplates(forMenu = false) { if (forMenu) templateExtensions = extensions.getExtensions('platform-templates-menu'); else templateExtensions = extensions.getExtensions('platform-templates'); for (let i = 0; i < templateExtensions?.length; i++) { - let module = templateExtensions[i]; + const module = templateExtensions[i]; try { - try { - let templateExtension = await import(`../../${module}`); - let template = templateExtension.getTemplate(); - template.id = module; - templates.push(template); - } catch (e) { - // Fallback for not migrated extensions - let templateExtension = dirigibleRequire(module); - let template = templateExtension.getTemplate(); - template.id = module; - templates.push(template); - } + let templateExtension = await import(`../../${module}`); + let template = templateExtension.getTemplate(); + template.id = module; + templates.push(template); } catch (error) { console.error('Error occured while loading metadata for the template: ' + module); console.error(error); diff --git a/components/platform-ide/view-artefacts/.gitignore b/components/platform-ide/view-artefacts/.gitignore new file mode 100644 index 00000000000..686cef860bd --- /dev/null +++ b/components/platform-ide/view-artefacts/.gitignore @@ -0,0 +1,17 @@ +# folders +dist/ +.settings/ +target/ +derby/ +dirigible_local/ + +# files +.DS_Store +.project +.classpath +*.bak +*.class +*.jar +derby.log +/bin/ +/target/ \ No newline at end of file diff --git a/components/platform-ide/view-artefacts/about.html b/components/platform-ide/view-artefacts/about.html new file mode 100644 index 00000000000..bcb03d59e0f --- /dev/null +++ b/components/platform-ide/view-artefacts/about.html @@ -0,0 +1,29 @@ + + + + + +About + + +

About This Content

+ +

April 25, 2020

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v20.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + diff --git a/components/platform-ide/view-artefacts/pom.xml b/components/platform-ide/view-artefacts/pom.xml new file mode 100644 index 00000000000..4b6b2353699 --- /dev/null +++ b/components/platform-ide/view-artefacts/pom.xml @@ -0,0 +1,20 @@ + + 4.0.0 + + + org.eclipse.dirigible + dirigible-components-parent + 11.0.0-SNAPSHOT + ../../pom.xml + + + Components - IDE - Artefacts - View + dirigible-components-view-artefacts + jar + + + ../../../licensing-header.txt + ../../../ + + + \ No newline at end of file diff --git a/components/platform-ide/view-artefacts/src/main/resources/META-INF/dirigible/view-artefacts/artefacts.html b/components/platform-ide/view-artefacts/src/main/resources/META-INF/dirigible/view-artefacts/artefacts.html new file mode 100644 index 00000000000..2db9225ce35 --- /dev/null +++ b/components/platform-ide/view-artefacts/src/main/resources/META-INF/dirigible/view-artefacts/artefacts.html @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#TypeLocationNamePhaseStatus
{{::$index + 1}}{{::artefact.type}}{{::artefact.location}}{{::artefact.name}}{{::artefact.phase}}{{::artefact.status}}
+ + + + + diff --git a/components/platform-ide/view-artefacts/src/main/resources/META-INF/dirigible/view-artefacts/configs/artefacts-view.js b/components/platform-ide/view-artefacts/src/main/resources/META-INF/dirigible/view-artefacts/configs/artefacts-view.js new file mode 100644 index 00000000000..e6cdd6fd123 --- /dev/null +++ b/components/platform-ide/view-artefacts/src/main/resources/META-INF/dirigible/view-artefacts/configs/artefacts-view.js @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +const viewData = { + id: 'artefacts', + label: 'Artefacts', + region: 'bottom', + lazyLoad: false, + autoFocusTab: false, + path: '/services/web/view-artefacts/artefacts.html' +}; +if (typeof exports !== 'undefined') { + exports.getView = () => viewData; +} \ No newline at end of file diff --git a/components/platform-ide/view-artefacts/src/main/resources/META-INF/dirigible/view-artefacts/extensions/artefacts.extension b/components/platform-ide/view-artefacts/src/main/resources/META-INF/dirigible/view-artefacts/extensions/artefacts.extension new file mode 100644 index 00000000000..8c520c0bfd2 --- /dev/null +++ b/components/platform-ide/view-artefacts/src/main/resources/META-INF/dirigible/view-artefacts/extensions/artefacts.extension @@ -0,0 +1,5 @@ +{ + "module": "view-artefacts/configs/artefacts-view.js", + "extensionPoint": "platform-views", + "description": "Artefacts View" +} \ No newline at end of file diff --git a/components/platform-ide/view-artefacts/src/main/resources/META-INF/dirigible/view-artefacts/project.json b/components/platform-ide/view-artefacts/src/main/resources/META-INF/dirigible/view-artefacts/project.json new file mode 100644 index 00000000000..19d1d968587 --- /dev/null +++ b/components/platform-ide/view-artefacts/src/main/resources/META-INF/dirigible/view-artefacts/project.json @@ -0,0 +1,5 @@ +{ + "guid": "view-artefacts", + "dependencies": [], + "actions": [] +} \ No newline at end of file diff --git a/components/platform-ide/view-configurations/.gitignore b/components/platform-ide/view-configurations/.gitignore new file mode 100644 index 00000000000..686cef860bd --- /dev/null +++ b/components/platform-ide/view-configurations/.gitignore @@ -0,0 +1,17 @@ +# folders +dist/ +.settings/ +target/ +derby/ +dirigible_local/ + +# files +.DS_Store +.project +.classpath +*.bak +*.class +*.jar +derby.log +/bin/ +/target/ \ No newline at end of file diff --git a/components/platform-ide/view-configurations/about.html b/components/platform-ide/view-configurations/about.html new file mode 100644 index 00000000000..bcb03d59e0f --- /dev/null +++ b/components/platform-ide/view-configurations/about.html @@ -0,0 +1,29 @@ + + + + + +About + + +

About This Content

+ +

April 25, 2020

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at http://www.eclipse.org/legal/epl-v20.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at http://www.eclipse.org.

+ + + diff --git a/components/platform-ide/view-configurations/pom.xml b/components/platform-ide/view-configurations/pom.xml new file mode 100644 index 00000000000..205d9a1fa5c --- /dev/null +++ b/components/platform-ide/view-configurations/pom.xml @@ -0,0 +1,20 @@ + + 4.0.0 + + + org.eclipse.dirigible + dirigible-components-parent + 11.0.0-SNAPSHOT + ../../pom.xml + + + Components - IDE - Configurations - View + dirigible-components-view-configurations + jar + + + ../../../licensing-header.txt + ../../../ + + + \ No newline at end of file diff --git a/components/platform-ide/view-configurations/src/main/resources/META-INF/dirigible/view-configurations/configs/configurations-view.js b/components/platform-ide/view-configurations/src/main/resources/META-INF/dirigible/view-configurations/configs/configurations-view.js new file mode 100644 index 00000000000..34a9f124625 --- /dev/null +++ b/components/platform-ide/view-configurations/src/main/resources/META-INF/dirigible/view-configurations/configs/configurations-view.js @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2024 Eclipse Dirigible contributors + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * SPDX-FileCopyrightText: Eclipse Dirigible contributors + * SPDX-License-Identifier: EPL-2.0 + */ +const viewData = { + id: 'configurations', + label: 'Configurations', + region: 'center', + lazyLoad: true, + autoFocusTab: true, + path: '/services/web/view-configurations/configurations.html' +}; +if (typeof exports !== 'undefined') { + exports.getView = () => viewData; +} \ No newline at end of file diff --git a/components/platform-ide/view-configurations/src/main/resources/META-INF/dirigible/view-configurations/configurations.html b/components/platform-ide/view-configurations/src/main/resources/META-INF/dirigible/view-configurations/configurations.html new file mode 100644 index 00000000000..be7afd55c8a --- /dev/null +++ b/components/platform-ide/view-configurations/src/main/resources/META-INF/dirigible/view-configurations/configurations.html @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#NameRuntimeEnvironmentDeploymentModule
{{::$index + 1}}{{::configuration[0]}}{{::configuration[1]}}{{::configuration[2]}}{{::configuration[3]}}{{::configuration[4]}}
+ + + + + diff --git a/components/platform-ide/view-configurations/src/main/resources/META-INF/dirigible/view-configurations/extensions/configurations.extension b/components/platform-ide/view-configurations/src/main/resources/META-INF/dirigible/view-configurations/extensions/configurations.extension new file mode 100644 index 00000000000..1fac0712e4a --- /dev/null +++ b/components/platform-ide/view-configurations/src/main/resources/META-INF/dirigible/view-configurations/extensions/configurations.extension @@ -0,0 +1,5 @@ +{ + "module": "view-configurations/configs/configurations-view.js", + "extensionPoint": "platform-views", + "description": "Configurations View" +} \ No newline at end of file diff --git a/components/platform-ide/view-configurations/src/main/resources/META-INF/dirigible/view-configurations/project.json b/components/platform-ide/view-configurations/src/main/resources/META-INF/dirigible/view-configurations/project.json new file mode 100644 index 00000000000..224b171d2ea --- /dev/null +++ b/components/platform-ide/view-configurations/src/main/resources/META-INF/dirigible/view-configurations/project.json @@ -0,0 +1,5 @@ +{ + "guid": "view-configurations", + "dependencies": [], + "actions": [] +} \ No newline at end of file diff --git a/components/pom.xml b/components/pom.xml index 2a7740d53dd..ddff42d62fe 100644 --- a/components/pom.xml +++ b/components/pom.xml @@ -201,6 +201,7 @@ platform-ide/perspective-git platform-ide/perspective-documents platform-ide/perspective-database + platform-ide/perspective-operations platform-ide/view-welcome platform-ide/view-search platform-ide/view-projects @@ -220,6 +221,8 @@ platform-ide/view-result platform-ide/view-sql platform-ide/view-transfer + platform-ide/view-artefacts + platform-ide/view-configurations platform-ide/service-workspace platform-ide/service-transport platform-ide/service-template @@ -234,6 +237,16 @@ platform-ide/editor-bpm platform-ide/editor-image platform-ide/menu-bpm + platform-ide/menu-database + platform-ide/menu-entity + platform-ide/menu-extensions + platform-ide/menu-form-builder + platform-ide/menu-jobs + platform-ide/menu-listeners + platform-ide/menu-projects + platform-ide/menu-schema + platform-ide/menu-security + platform-ide/menu-websockets resources/resources-core @@ -1138,6 +1151,11 @@ dirigible-components-perspective-settings ${project.version} + + org.eclipse.dirigible + dirigible-components-perspective-operations + ${project.version} + org.eclipse.dirigible @@ -1234,6 +1252,16 @@ dirigible-components-view-transfer ${project.version} + + org.eclipse.dirigible + dirigible-components-view-artefacts + ${project.version} + + + org.eclipse.dirigible + dirigible-components-view-configurations + ${project.version} + org.eclipse.dirigible @@ -1307,6 +1335,56 @@ dirigible-components-menu-bpm ${project.version} + + org.eclipse.dirigible + dirigible-components-menu-database + ${project.version} + + + org.eclipse.dirigible + dirigible-components-menu-entity + ${project.version} + + + org.eclipse.dirigible + dirigible-components-menu-extensions + ${project.version} + + + org.eclipse.dirigible + dirigible-components-menu-form-builder + ${project.version} + + + org.eclipse.dirigible + dirigible-components-menu-jobs + ${project.version} + + + org.eclipse.dirigible + dirigible-components-menu-listeners + ${project.version} + + + org.eclipse.dirigible + dirigible-components-menu-projects + ${project.version} + + + org.eclipse.dirigible + dirigible-components-menu-schema + ${project.version} + + + org.eclipse.dirigible + dirigible-components-menu-security + ${project.version} + + + org.eclipse.dirigible + dirigible-components-menu-websockets + ${project.version} + org.eclipse.dirigible