Skip to Content
Author's profile photo Nedelcho Delchev

Dirigible on SAP HANA Cloud Platform

Have you ever wondered if it is possible to develop end to end your next cloud application directly via the browser? What language should you use? What kind of other tools should you need for the database management, authorization definitions, testing, life-cycle management, monitoring…?


What if you can write the whole application in JavaScript? You like Ruby? What about Groovy as well? And still in the same environment? 

What if you can run directly Apache Camel‘s Routes as simplified integration services and scheduled jobs?

What if you can browse your database schema or catalog and execute your query and update scripts again in the same environment?

What if you can have a jump start with your user interface by using predefined site templates based on OpenUI5? You are already familiar with other AJAX frameworks? Let me guess – jQuery? Bootstrap? AngularJS?

What if you can create your next SalesOrder entity from the table, through the CRUD service, to the user interface only via wizards, without a need to touch the code?

You want to share the project with the other members of your team? What about Git? What if you can collaborate also worldwide via the open place for exchange of samples?


Too many questions? We are just starting…


Dirigible is Open-Sourced

It’s a big pleasure to announce that the internal TGiF project Dirigible has been open sourced under Apache License and is available on GitHub joining the growing family of SAP HANA Cloud Labs projects.


Is it the answer to your questions? Could be…


Try it Now


The easiest way to taste the IDEaaS is to open the location http://trial.dirigible.io with your preferred browser.

/wp-content/uploads/2014/03/dirigible_workspace_417213.png

Deploy on Your HCP Account


Since the trial instance is shared, you have limited functionality (publish to registry, update SQL statements, etc. are forbidden), so it is better to run Dirigible on your own account on HANA Cloud Platform. How to do that?

Just download the latest release from GitHub: https://github.com/SAP/cloud-dirigible

/wp-content/uploads/2014/03/github_main_417214.png


Go to release section.


/wp-content/uploads/2014/03/github_releases_417269.png


Download both WAR files.


Get HCP SDK 1.x from https://tools.hana.ondemand.com/#cloud and unzip it on your local file system.


Go to neo-java-web-sdk-1.xxx/tools folder.

Deploy with command:

neo deploy –account <your_account> –application <application_name> –user <your_user> –host <target_landscape_host> –source <downloaded_wars_directory>

Start with command:

neo start –account <your_account> –application <application_name> –user <your_user> –host <target_landscape_host> -y

https://help.hana.ondemand.com/help/frameset.htm?7613dee4711e1014839a8273b0e91070.html



Congratulations! You have a Dirigible in your account!

Go to https://account.hanatrial.ondemand.com/cockpit at Authorizations section:

/wp-content/uploads/2014/03/dirigible_authorization_417270.png

Add both roles to your user (Developer and Operator) to have full access to all the features.

Now open the IDE link from the Cockpit:

/wp-content/uploads/2014/03/dirigible_cockpit_417271.png


Great you setup your own environment.



Need a Sample?

Would you like to create quickly a sample project?

Choose File->Import->Sample menu:

/wp-content/uploads/2014/03/dirigible_import_417290.png

Choose one from the list:

/wp-content/uploads/2014/03/dirigible_sample_417291.png

Click Finish and you are ready. You can explore the project structure.

/wp-content/uploads/2014/03/dirigible_imported_417314.png

Want to see it running? Select the project node (catalog) and choose the Activate action from the context menu.


/wp-content/uploads/2014/03/dirigible_activate_417296.png

It is done! Open the Web Viewer and select the catalog/WebContent/user/index.html from the Workspace Explorer.


/wp-content/uploads/2014/03/dirigible_test_417297.png

You can Publish the project and show to your buddies your own Pizza Catalog.


You do not have a Pizza Restaurant? It is high time you established one, isn’t it?


References:

The project site: http://www.dirigible.io

The source code is available at GitHub – http://github.com/SAP/cloud-dirigible

Forum: http://forum.dirigible.io

Twitter: https://twitter.com/dirigible_io

Youtube: https://www.youtube.com/channel/UCYnsiVQ0M9iQLqP5DXCLMBA/

Help: http://help.dirigible.io

Samples: http://samples.dirigible.io

Google Group: https://plus.google.com/111171361109860650442/posts

Blog: http://dirigible-logbook.blogspot.com/


Assigned Tags

      14 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Stoyan Manchev
      Stoyan Manchev

      Hi Nedelcho,

      Dirigible is a nice product that I really like. You get a powerfull, integrated and ready to use development environment in just a few clicks.

      I have used Dirigible on Trial instance, but still don't understand what is this "limited functionality" that you mention in the blog.

      best regards

      Stoyan

      Author's profile photo Nedelcho Delchev
      Nedelcho Delchev
      Blog Post Author

      Thank you Stoyan!

      Having in mind that we have only one instance for all the users that want just to get an impression about the toolkit without deploying on their account, we have to limit some "write" permissions e.g. publishing on the registry, executing update SQL statements via the SQL console, deleting tables, etc. (I have updated the blog accordingly)

      Regards,

      Nedelcho

      Author's profile photo Vladimir Pavlov
      Vladimir Pavlov

      OK, now I see where your confusion stems from. "Trial instance" above refers to Dirigible trial instance at http://trial.dirigible.io/, not HCP trial instance (i.e. account). When you deploy it in your own HCP account, you don't have those limitations.

      And yes, it's a great blog post - really interested in any kind of feedback coming from folks who tried it.

      Author's profile photo Former Member
      Former Member

      Very Nice Innovative Concept, Really powerful eclipse RAP to make such Application.

      good going.. Best of Luck.

      Regards

      Manoj

      Author's profile photo Dibyajyoti Nanda
      Dibyajyoti Nanda

      Hi Nedelcho Delchev,

      Thanks for a valuable tool .

      I have tried all the above steps but I am stuck on some question .

      1.you have suggested to deploy the application using NEO SDK 1.0 version ?

      but I have deployed the application using neo-javaee6-wp-sdk-2.26.12.2 and it is working fine . so please let me know is there any specific reason to deploy with NEO SDK 1.0 version.

      2. you have suggested to deploy the application in Hana trail account but after deployment I am unable to run both application at once because the trial account does not allow to run both application at a time .


      3. I am able to run the IDE war file but not able to run the other war file due  to above restriction .

      so please suggest how I can use the Hann trial Account to run both application at a time.

      Thanks Again for such a good Tool .

      Thanks & Regards

      Dibyajyoti Nanda

      Author's profile photo Nedelcho Delchev
      Nedelcho Delchev
      Blog Post Author

      Thanks Dibyajyoti!

      1. SDK 1.x is lighter than 2.x although both should be fine -

      https://help.hana.ondemand.com/help/frameset.htm?0cd13b65789e46a49c9ece74636a934c.html

      https://help.hana.ondemand.com/help/frameset.htm?be583e0a135640bcb06ef2db6a6ff51a.html

      2. Just put both WAR files in one directory and for "deploy" command above point to the directory (not to specific WAR file). In this way you can deploy multiple WAR files on Trial.

      3. ... as above

      Regards,

      Nedelcho

      Author's profile photo Dibyajyoti Nanda
      Dibyajyoti Nanda

      Hi Nedelcho,

      I am using below command to deploy application

      neo deploy --account p1670107trial --application dirigible  --user p1670107  --host hanatrial.ondemand.com --source "D:/Data Back/New folder/Cloud-Drigible/dirigiblewars"

      but i am getting below error

      [Wed Mar 26 19:48:06 IST 2014] Deployment started...............................

      ................................................................................

      ................................................................................

      ................................................................................

      ................................................................................

      ................................................................................

      ..............................................................................

      [Wed Mar 26 20:13:27 IST 2014] Deployment finished with error

      ❗ ERROR: Internal server error

      Please suggest

      Thanks & Reagrds

      Dibyajyoti Nanda

      Author's profile photo Yordan Pavlov
      Yordan Pavlov

      Hello Dibyajyoti,

      you were unable to deploy because the "hanatrial" landscape was in maintenance HANA Cloud Trial downtime announcements

      Also you need to check out if the default database for your account is set to HANA not MaxDB

      Author's profile photo Jason Scott
      Jason Scott

      This is cool stuff Nedelcho...

      What is in the pipeline for this tool - is it destined to become more mainstream or just a toy for SAP?

      If you build an app with Dirigible are you locked to dirigible from that point on or can you continue development with standard SAPHCP toolset?

      --Jason.

      Author's profile photo Nedelcho Delchev
      Nedelcho Delchev
      Blog Post Author

      Hi Jason,

      Thanks for the nice words and the very good questions! 😉

      The modest goal of the project is simple - Dirigible to become THE Cloud Toolkit and not only for SAP. The demand by the open source community as well as the SAP ecosystem is crucial to shape it in the "right" way and to make it successful.

      The strategy of the project is to base all the development of the toolkit itself as well as the applications built with it on open standards, frameworks and common sense - does it sound like lock-in? Of course, our intention is to keep the users stay in the Dirigible environment only, which we strive to achieve only by usability and completeness.

      Still there are some key features remaining (https://github.com/SAP/cloud-dirigible/issues), but we keep going.


      Regards,

      Nedelcho

      Author's profile photo Jason Scott
      Jason Scott

      Sounds great. Will start playing around with it. Any possibility of direct access to the JVM for running java, scala, etc?

      I assume you have access to any HANA assets you've created like calc. views or are you restricted to entities within the dirigible project itself?

      😉

      Author's profile photo Nedelcho Delchev
      Nedelcho Delchev
      Blog Post Author

      Yes, for both 🙂

      You can use fully qualified names of the java classes (accessible for the web applications' class loader) https://developer.mozilla.org/en-US/docs/Rhino/Scripting_Java

      or use the already injected standard objects https://dirigible.hana.ondemand.com/dirigible/wiki/help/api.wiki

      About HANA database artifacts - you access everything, which you can via JDBC. The HANA specific stuff you have to create via the "SQL Console" view e.g. "CREATE COLUMN TABLE..." or via SAP HANA Cloud Platform Tools (https://tools.hana.ondemand.com/kepler/)

      Regards,

      Nedelcho

      Author's profile photo Dibyajyoti Nanda
      Dibyajyoti Nanda

      Hi Nedelcho,

      Thanks for your suggestion .

      I have successfully deployed the application and it is working fine .

      but from import I am unable to get any list of project as described above.

      can you please suggest on the same .

      if possible please provide any link which tells how to create a project from scratch.

      its a cool stuff . 🙂

      Thanks & Regards

      Dibyajyoti Nanda

      Author's profile photo Nedelcho Delchev
      Nedelcho Delchev
      Blog Post Author

      Hi Dibyajyoti,

      Thanks!

      Until we investigate the import issue, probably you would like to have a look at the Samples site (http://samples.dirigible.io) and the Help (http://help.dirigible.io)?

      Regards,

      Nedelcho