Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 

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 PostgreSQL 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.

 

  1. Navigate to the target subaccount

  2. Expand the Services section

  3. Select the Service Marketplace

  4. From the list of services, select the PostgreSQL



(Service Marketplace - PostgreSQL)




  1. Click on the Create Instance button

  2. Select a Service Plan (e.g. v9.6-xsmall)

  3. Set the Instance Name (e.g. dirigible-database-ps)

  4. Click on the Create Instance button



(New Instance - PostgreSQL)


 

The PostgreSQL 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:

  1. Navigate to the target subaccount

  2. Expand the Services section

  3. Select the Service Instances

  4. Select your PostgreSQL instance (e.g. dirigible-database-ps)

  5. Click on the "more" option

  6. Select the Bind Application option



(PostgreSQL Service Instance - Bind Application)


 

  1. From the dropdown select the dirigible-runtime (or <your-application-name>-runtime) application

  2. Click on the Create button



(New Application Binding)


 

We are almost ready with the setup of PostgreSQL database 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 PostgreSQL configuration is applied. To do so, go to the Applications section in your subaccount.

  1. Select the Applications option from the navigation menu

  2. Open the dirigible-runtime (or <your-application-name>-runtime) application

  3. Go to the Service Bindings tab

  4. There you should be able to find the dirigible-database-ps service binding



(Service Bindings)


Now the dirigible-runtime (or <your-application-name>-runtime) application should be restarted, so that the PostgreSQL configuration is applied.

  1. Go to back to the dirigible-runtime (or <your-application-name>-runtime) application

  2. 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 PostgreSQL setup is complete, you can navigate to the Database perspective and confirm that the connection type is custom and the database name is POSTGRE.


(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.