Abhishek Kapoor wrote:

Sir,
As far as I understood, we have to first register all our executable modules(present in genapptest/bin) in Airavata like the one registered in samples of Airavata and this has no relation with language apis present. So there must be some library or online api present so that I could use regter functions.
Any language api can be used, but one of them *needs* to be used.
It would be nice to use the php api for html5/php generated code,
java api for java
c++ for qt versions.
You can study what Nadeem did here https://github.com/NadeemAnjum/GenAppAiravata But his registry program isn't included since he wrote some of it in java because the nice thrift bindings weren't available then.

To do this correctly in the genapp way, you would create something in genapp/languages/{html5,qt3,...}/util/register_airavata.{php,cpp,java} then add this program to each language assembly json code so it is produced "once"
and this would be produced when genapp.pl is run for an application.
If you can get it to work as a simple command line program for now, I can help provide your further instructions
to get it properly integrated into genapp.

Define variables in the code for host and port and we can later map them to directives.json or appconfig.json values.

-E.

Reply via email to