Overview
Eclipse Dirigible is an
open-source cloud development platform that provides capabilities for
end-to-end development processes from
database modeling and management, through
RESTful services using server-side JavaScript, to pattern-based
user interface generation, role-based security,
external services integration, testing, debugging,
operations and monitoring.
Some of the unique features include:
The platform aims to unify open-source business services by providing software developers with a convenient set of tools for building, running, and operating business applications in the Cloud. Dirigible is also part of the
Eclipse Cloud Development top-level project.
Setup
Starting with the
Eclipse Dirigible 4.3 release, there is a built-in integration with the
SAP Cloud Platform Cloud Foundry environment. To deploy Eclipse Dirigible in your Cloud Foundry space, follow these steps from this blog
post.
After Dirigible is deployed, it's time to create a
HANA Schema service instance from the
service marketplace. This can be done either at
subaccount or
space level in the
Cloud Cockpit. The slight difference is that, if created at subaccount level, then the target space should be specified.
- Navigate to the target subaccount
- Expand the Services section
- Select the Service Marketplace
- From the list of services, select the SAP HANA Schemas & HDI Containers
(Service Marketplace - SAP HANA Schemas & HDI Containers)
- Click on the Create Instance button
- Select the schema service plan
- Set the Instance Name (e.g. dirigible-database-hana-schema)
- Click on the Create Instance button
(New Instance - SAP HANA Schema)
The SAP HANA Schema instance creation process will take some time
(5-10 min.).
Once the instance is created, it's time to bind it to your
Dirigible instance, or more specifically to the
dirigible-runtime (or <your-application-name>-runtime) application, deployed in your space. To do so go to the
service instances and select your instance:
- Navigate to the target subaccount
- Expand the Services section
- Select the Service Instances
- Select your SAP HANA Schema service instance (e.g. dirigible-database-hana-schema)
- Click on the "more" option
- Select the Bind Application option
(SAP HANA Schema Service Instance - Bind Application)
- From the dropdown select the dirigible-runtime (or <your-application-name>-runtime) application
- Click on the Create button
(New Application Binding)
We are almost ready with the setup of SAP HANA database schema for Dirigible on the Cloud Foundry environment. Now it's time to confirm that the binding was successful and to restart the
dirigible-runtime (or <your-application-name>-runtime) application, so that the SAP HANA Schema configuration is applied. To do so, go to the
Applications section in your subaccount.
- Select the Applications option from the navigation menu
- Open the dirigible-runtime (or <your-application-name>-runtime) application
- Go to the Service Bindings tab
- There you should be able to find the dirigible-database-hana-schema service binding
(Service Bindings)
Now the
dirigible-runtime (or <your-application-name>-runtime) application should be restarted, so that the SAP HANA Schema configuration is applied.
- Go to back to the dirigible-runtime (or <your-application-name>-runtime) application
- Click on the Restart button
After
the dirigible-runtime (or <your-application-name>-runtime) application is restarted, go to the dirigible (or <your-application-name>) application and access Dirigible from the
Application Route. To confirm that the SAP HANA database schema setup is complete, you can navigate to the
Database perspective and confirm that the connection type is
custom and the database name is
HANA.
(Dirigible Database Perspective)
Notes
Next you can follow the
Samples section to master some of the basic functionalities, explore the
Enterprise JavaScript APIs, check out the
YouTube channel for video content or simply visit the
official site for news and updates.