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.
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
Go to release section.
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:
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:
Great you setup your own environment.
Need a Sample?
Would you like to create quickly a sample project?
Choose File->Import->Sample menu:
Choose one from the list:
Click Finish and you are ready. You can explore the project structure.
Want to see it running? Select the project node (catalog) and choose the Activate action from the context menu.
It is done! Open the Web Viewer and select the catalog/WebContent/user/index.html from the Workspace Explorer.
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/
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
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
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.
Very Nice Innovative Concept, Really powerful eclipse RAP to make such Application.
good going.. Best of Luck.
Regards
Manoj
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
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
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
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
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.
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
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?
😉
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
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
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