Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ security, and extensions — but deliberately *without* the heavier engines such
That scoping is expressed entirely through the dependency set in `application/pom.xml` — the same
lever you use to add or drop a component here.

**Three deliberate departures from the platform defaults**, all in the edition's own configuration:

- **Full Java support alongside JavaScript.** `engine-java` (in-process `javac` + the bean container), `data-store-java` (Java `@Entity` -> Hibernate), the `api-modules-java` SDK, `ide-java-lsp` (JDT.LS), `ide-java-debug` (the DAP bridge) and the Java / Java Debug views. Note that the SDK exposes `org.eclipse.dirigible.sdk.bpm`, so `api-modules-java` -> `api-bpm` -> `engine-bpm-flowable` puts the BPM engine on the classpath; this edition ships none of the BPM tooling.
- **No Intent Driven tooling.** There is no `engine-intent`, so `resources-builder` (the conversational Builder shell) is excluded from `group-ui` rather than shipped with nothing behind it. `resources-inbox` is excluded for the same reason - the BPM task inbox has no BPM surface here.
- **Home is the Workbench IDE.** `DIRIGIBLE_HOME_URL=services/web/shell-ide/` in `dirigible.properties`, overriding the platform's 14.16.0+ default of `services/web/home/`. The launchpad stays reachable at `/services/web/home/`; only the `/` redirect changes. Consequence: upstream's `HomepageRedirectIT` asserts the platform default and cannot run here - it was dropped from the common suite, and the edition's own `HomePageIT` (Workbench welcome view on `/`) guards the override.

## Dirigible version

The version is pinned by `codbex-platform-parent` through its `dirigible.version` property; parent releases track Dirigible releases 1:1 (parent 14.17.0 -> Dirigible 14.17.0), so bumping the edition means bumping the parent. Bumps are not mechanical - Dirigible removes things: the OData engine was extracted in 14.16.0 (un-managing `com.codbex.olingo:olingo-odata2-lib`, which fails a version-less declaration at model-read time) and the AngularJS/TypeScript application templates went with it.

**The UI overrides under `components/ui/` are forks of upstream files** - diff them against the matching Dirigible module on every bump; they drift silently (translations must live in `i18n/<locale>/*.json`, the only folder `platform-core/extension-services/locales.js` scans).

## Build & run

There is no Maven wrapper; use a system `mvn` (Java 21 / Amazon Corretto 21 per the Dockerfile).
Expand Down
40 changes: 40 additions & 0 deletions application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,36 @@
<groupId>org.eclipse.dirigible</groupId>
<artifactId>dirigible-components-engine-cms-s3</artifactId>
</dependency>

<!-- Java support: in-process compilation, entities, the client SDK, language server and debugger -->
<dependency>
<groupId>org.eclipse.dirigible</groupId>
<artifactId>dirigible-components-engine-java</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.dirigible</groupId>
<artifactId>dirigible-components-data-store-java</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.dirigible</groupId>
<artifactId>dirigible-components-api-modules-java</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.dirigible</groupId>
<artifactId>dirigible-components-ide-java-lsp</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.dirigible</groupId>
<artifactId>dirigible-components-ide-java-debug</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.dirigible</groupId>
<artifactId>dirigible-components-ui-view-java</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.dirigible</groupId>
<artifactId>dirigible-components-ui-view-java-debug</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.dirigible</groupId>
<artifactId>dirigible-components-api-cms</artifactId>
Expand Down Expand Up @@ -151,6 +181,16 @@
<groupId>org.eclipse.dirigible</groupId>
<artifactId>dirigible-components-ui-menu-help</artifactId>
</exclusion>
<!-- Intent Driven tooling: there is no intent engine in this edition to back it -->
<exclusion>
<groupId>org.eclipse.dirigible</groupId>
<artifactId>dirigible-components-resources-builder</artifactId>
</exclusion>
<!-- BPM task inbox: there is no BPM engine in this edition to back it -->
<exclusion>
<groupId>org.eclipse.dirigible</groupId>
<artifactId>dirigible-components-resources-inbox</artifactId>
</exclusion>
</exclusions>
</dependency>

Expand Down
4 changes: 4 additions & 0 deletions application/src/main/resources/dirigible.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# General
DIRIGIBLE_MULTI_TENANT_MODE=false

# Land on the Workbench IDE, not on the platform's Home launchpad (the 14.16.0+ default is
# services/web/home/). This is a tooling edition, so the IDE is home.
DIRIGIBLE_HOME_URL=services/web/shell-ide/

DIRIGIBLE_PRODUCT_NAME=${project.title}
DIRIGIBLE_PRODUCT_VERSION=${project.version}
DIRIGIBLE_PRODUCT_COMMIT_ID=${git.commit.id}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,69 +9,83 @@
* SPDX-FileCopyrightText: 2022 codbex or an codbex affiliate company and contributors
* SPDX-License-Identifier: EPL-2.0
*/
exports.getMenu = () => ({
systemMenu: true,
id: 'help',
menu: {
translation: {
key: 'common:help',
},
label: 'Help',
items: [
{
translation: {
key: 'menu-help:portal',
},
label: 'Help Portal',
action: 'open',
link: 'https://www.codbex.com/documentation/tooling/',
separator: false
import { repository } from "sdk/platform";

export function getMenu() {
const hasOpenApi = repository.getResource('/registry/public/view-swagger/project.json').exists();
const config = {
systemMenu: true,
id: 'help',
menu: {
translation: {
key: 'common:help',
},
{
translation: {
key: 'menu-help:support',
label: 'Help',
items: [
{
translation: {
key: 'menu-help:portal',
},
label: 'Help Portal',
action: 'open',
link: 'https://www.codbex.com/documentation/tooling/',
separator: false
},
label: 'Contact Support',
action: 'open',
link: 'https://www.codbex.com/contact/',
separator: false
},
{
translation: {
key: 'menu-help:pricing',
{
translation: {
key: 'menu-help:support',
},
label: 'Contact Support',
action: 'open',
link: 'https://www.codbex.com/contact/',
separator: false
},
label: 'Pricing Plans',
action: 'open',
link: 'https://www.codbex.com/pricing/',
separator: false
},
{
translation: {
key: 'menu-help:whatsNew',
{
translation: {
key: 'menu-help:pricing',
},
label: 'Pricing Plans',
action: 'open',
link: 'https://www.codbex.com/pricing/',
separator: false
},
label: 'What\'s New',
action: 'open',
link: 'https://www.codbex.com/technology',
separator: false
},
{
translation: {
key: 'menu-help:updates',
{
translation: {
key: 'menu-help:whatsNew',
},
label: 'What\'s New',
action: 'open',
link: 'https://www.codbex.com/technology',
separator: false
},
label: 'Check for Updates',
action: 'open',
link: 'https://www.codbex.com/products/',
separator: true
},
{
id: 'about',
translation: {
key: 'menu-help:about',
{
translation: {
key: 'menu-help:updates',
},
label: 'Check for Updates',
action: 'open',
link: 'https://www.codbex.com/products/',
separator: true
},
label: 'About',
action: 'openWindow',
separator: false
}
]
{
id: 'about',
translation: {
key: 'menu-help:about',
},
label: 'About',
action: 'openWindow',
separator: false
}
]
}
};
if (hasOpenApi) {
config.menu.items.splice(5, 0, {
label: 'OpenAPI',
action: 'open',
link: '/services/web/view-swagger/ui/',
separator: true
});
}
});
return config;
};
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ welcome.controller('WelcomeController', ($scope, $http, WorkspaceService, Templa
controlType: 'input',
type: 'text',
label: template.parameters[i].label,
require: true,
required: template.parameters[i].required === true,
};
}
return form;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<script src="js/welcome.js" type="text/javascript"></script>
<style>
.imgColor path {
background-color: var(--fdAvatarBackgroundColor);
fill: var(--fdAvatarColor);
background-color: var(--accent);
fill: var(--accent-foreground);
}

</style>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
CustomSecurityIT.class, //
DatabasePerspectiveIT.class, //
GitPerspectiveIT.class, //
HomepageRedirectIT.class, //
MailIT.class, //
MessagingFacadeIT.class, //
SecurityIT.class, //
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.codbex.platform</groupId>
<artifactId>codbex-platform-parent</artifactId>
<version>13.6.0</version>
<version>14.17.0</version>
</parent>

<name>codbex-helios-parent</name>
Expand Down
Loading