Re: Registry API for Genapp

2015-06-02 Thread Emre Brookes
Abhishek Kapoor wrote: Sir, Due to some reasons, I am unable to checkout the repository. My network is blocking it abhishek@abhishek-notebook:~/Desktop/gsoc2015$ git clone https://github.com/abhikgp/airavata-sandbox.git Cloning into 'airavata-sandbox'... fatal: unable to access 'https://gith

Re: Registry API for Genapp

2015-06-02 Thread Abhishek Kapoor
Hello Sir, I will shift the register file in languages in genapp so that , menu.json and directives.json would not be a problem. I will start git asap.

[jira] [Commented] (AIRAVATA-1624) [GSoC] Securing Airavata API

2015-06-02 Thread Hasini Gunasinghe (JIRA)
[ https://issues.apache.org/jira/browse/AIRAVATA-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14568951#comment-14568951 ] Hasini Gunasinghe commented on AIRAVATA-1624: - Hi all, I have created a up

[jira] [Comment Edited] (AIRAVATA-1624) [GSoC] Securing Airavata API

2015-06-02 Thread Hasini Gunasinghe (JIRA)
[ https://issues.apache.org/jira/browse/AIRAVATA-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14568951#comment-14568951 ] Hasini Gunasinghe edited comment on AIRAVATA-1624 at 6/2/15 11:07 AM: ---

Re: Registry API for Genapp

2015-06-02 Thread Suresh Marru
Abhishek, You can also try github ssh protocol if https is not working. Just google for github connectivity issues behind firewall and you might find an answer based on your institution firewall settings. Suresh > On Jun 2, 2015, at 5:48 AM, Abhishek Kapoor > wrote: > > > Hello Sir, > I w

WSO2 Idenity Server Embedded Mode?

2015-06-02 Thread Suresh Marru
Hi Hasini, You have already addressed developer inconvenience and integration tests with is_api_secured flag. But just curious if identity server can be run in embedded mode? Suresh

Re: Registry API for Genapp

2015-06-02 Thread Abhishek Kapoor
Hello Suresh Sir, I have used svn and its working fine with me.If in case I had to work with multiple repositories, I will switch to ssh.

[jira] [Commented] (AIRAVATA-1624) [GSoC] Securing Airavata API

2015-06-02 Thread Suresh Marru (JIRA)
[ https://issues.apache.org/jira/browse/AIRAVATA-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14569004#comment-14569004 ] Suresh Marru commented on AIRAVATA-1624: Hi Hasini, I am curios of the OAuth g

Re: WSO2 Idenity Server Embedded Mode?

2015-06-02 Thread Hasini Gunasinghe
Hi Suresh, Ideally, WSO2 IS (and other WSO2 products in general) can be run in embedded mode. However, there will be many implications of doing that such as increasing the size of the Airavata distribution (WSO2 IS default distribution is 315 MB - you can install only the necessary features, howev

Re: Registry API for Genapp

2015-06-02 Thread Pierce, Marlon
Hi Abhishek, I’m not sure what you mean by “used svn and it is working fine”. Marlon From: Abhishek Kapoor mailto:abhishek.kapoo...@gmail.com>> Reply-To: "dev@airavata.apache.org" mailto:dev@airavata.apache.org>> Date: Tuesday, June 2, 2015 at 7:49 AM To: "dev@a

Re: WSO2 Idenity Server Embedded Mode?

2015-06-02 Thread Pierce, Marlon
For what it worth, I think we should find a different route than embedding if this is only to make it easy for downloaders to get up and running. Marlon From: Hasini Gunasinghe mailto:hasi7...@gmail.com>> Reply-To: "dev@airavata.apache.org" mailto:dev@airavata.ap

Re: WSO2 Idenity Server Embedded Mode?

2015-06-02 Thread Pierce, Marlon
Let me phrase that a little better. We should make it as easy as possible for people to get Airavata and its supporting services up and running. But embedding services in a single VM seems like a drain on effort to support an artificial use case. I think it is more interesting to look at a

Re: WSO2 Idenity Server Embedded Mode?

2015-06-02 Thread Suresh Marru
Hi Hasini, Agreed (to Marlon’s responses as well). This answers by pondering. Let me take back my suggestion and proceed as planned with assumption that IS is deployed separately. Suresh > On Jun 2, 2015, at 8:55 AM, Pierce, Marlon wrote: > > Let me phrase that a little better. We should ma

Re: Too Many Leaf Modules.

2015-06-02 Thread Suresh Marru
Hi Shameera, We are getting close to be on same page but not quite yet. What I see missing is a reference to a succinct Airavata architecture vision document. We have many papers on high level goals, but what we need is a concise one pager on Architecture goals. I will work on it, but will need

Re: Registry API for Genapp

2015-06-02 Thread Emre Brookes
Airavata is using git and GenApp is currently using svn. Abhishek - yes, you are going to have to use both git and svn. You should see if you can use git following Suresh's recommendations so you don't have to always rsync to your git clone on gw106.iu.xsede.org and can keep it locally. -Emre

Re: Too Many Leaf Modules.

2015-06-02 Thread Shameera Rathnayaka
Hi Suresh, As you have fist hand experience of how airavata architecture evolve, let's do as you suggest. But this is not correct way IMO. "Airavata Components will need to be loosely coupled and should be developed at a different pace upgradable and replaceable independently" , we can achieve the

Re: Too Many Leaf Modules.

2015-06-02 Thread Suresh Marru
Let me try to put it in the terminology you are using: GFac component level goal is to submit a job. In the RPC approach (which is defunct now) the component level interface looks like - https://github.com/apache/airavata/blob/master/modules/gfac/gfac-thrift-descriptions/gfac.cpi.service.thrift#

Build failure in master

2015-06-02 Thread Supun Nakandala
Hi all, I am getting the following error when trying to build master locally. [ERROR] Failed to execute goal on project airavata-api-server: Could not resolve dependencies for project org.apache.airavata:airavata-api-server:jar:0.16-SNAPSHOT: The following artifacts could not be resolved: org.wso

Re: Build failure in master

2015-06-02 Thread Suresh Marru
Its a temporary fix, but in time for 0.16 release can we check with apache stratos to see if there is a plan for having these jars in maven central? I am guessing here stratos will also use these dependencies. Suresh > On Jun 2, 2015, at 11:00 AM, Supun Nakandala > wrote: > > Hi all, > >

[jira] [Commented] (AIRAVATA-1624) [GSoC] Securing Airavata API

2015-06-02 Thread Hasini Gunasinghe (JIRA)
[ https://issues.apache.org/jira/browse/AIRAVATA-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14569238#comment-14569238 ] Hasini Gunasinghe commented on AIRAVATA-1624: - Hi Suresh, There are four g

[jira] [Comment Edited] (AIRAVATA-1624) [GSoC] Securing Airavata API

2015-06-02 Thread Hasini Gunasinghe (JIRA)
[ https://issues.apache.org/jira/browse/AIRAVATA-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14569238#comment-14569238 ] Hasini Gunasinghe edited comment on AIRAVATA-1624 at 6/2/15 3:08 PM:

Re: Build failure in master

2015-06-02 Thread Hasini Gunasinghe
Hi Supun, Sorry about this. I have added http://maven.wso2.org/nexus/content/groups/wso2-public/ repo to airavata/samples/java-client/secure-client/pom.xml, but have missed to add it to the pom.xml of airavata-api-server, which has caused the above build failure. I will send a pull request by addi

Airavata 0.16 maven module organization

2015-06-02 Thread Suresh Marru
Hi All, While we let other thread on leaf modules going, here is a abstract suggestion for maven modules. Please critique: We need to ensure the directory structure used for code navigability should not created additional maven release artifacts. In 0.15 and earlier versions, we have been rele

Re: Registry API for Genapp

2015-06-02 Thread Abhishek Kapoor
Hello Pierce, I meant , I checked out the airavata-snadbox using svn instead of git.Apparently, We can clone git repository using svn also and I also pulled a request and added some files.

Re: [jira] [Commented] (AIRAVATA-1624) [GSoC] Securing Airavata API

2015-06-02 Thread Amila Jayasekara
Hi Hasini, Demo is mainly to discuss the progress and exchange feedback and to be honest I dont think I have time to follow instructions and set it up due to several reasons. (Pretty outdated with Airavata and busy with personal life and lab work) @Suresh : Could you please arrange a time for the

Re: Airavata 0.16 maven module organization

2015-06-02 Thread Shameera Rathnayaka
Hi Suresh, After reading this mail, what i understood is, you are not going to solve the problem we have, instead you are replacing one problem with another. Why we need maven module refactoring in the first place is to reduce unnecessary maven modules. What you are suggesting is replacing another

Re: [jira] [Commented] (AIRAVATA-1624) [GSoC] Securing Airavata API

2015-06-02 Thread Hasini Gunasinghe
Hi Amila, Sure, I am happy to do the demo and would appreciate a lot your feedback. Thanks & Best Regards, Hasini. On Tue, Jun 2, 2015 at 11:42 AM, Amila Jayasekara wrote: > Hi Hasini, > > Demo is mainly to discuss the progress and exchange feedback and to be > honest I dont think I have time

Re: Airavata 0.16 maven module organization

2015-06-02 Thread Suresh Marru
Hi Shameera, Can you be concrete on what the problem you foresee and lets address it. If the problem is number if maven modules, is it really a problem? I certainly not explaining architecture through maven. What I am trying to address for 1.0 with this is: * Lets say we have validation imple

PHP AMQP Client

2015-06-02 Thread Suresh Marru
Hi All, Any suggestions on a recommended PHP library for RabbitMQ? Or any potential pit falls on using https://github.com/videlalvaro/php-amqplib for production usage? Suresh

Re: Airavata 0.16 maven module organization

2015-06-02 Thread Chathuri Wimalasena
Hi Suresh, Why we need component-interface-descriptions (which resides outside) and interfaces inside the component ? Thanks.. Chathuri On Tue, Jun 2, 2015 at 11:25 AM, Suresh Marru wrote: > Hi All, > > While we let other thread on leaf modules going, here is a abstract > suggestion for maven

Re: Airavata 0.16 maven module organization

2015-06-02 Thread Suresh Marru
Hi Chathuri, What I am proposing is each component (irrespective of whether it is actively called by RPC or passively picks up from work queue) describe its high level interface through thrift IDL’s. If the component exposes a thrift interface then the component client is implementing using the

Re: Airavata 0.16 maven module organization

2015-06-02 Thread Shameera Rathnayaka
​Hi Suresh, On Tue, Jun 2, 2015 at 12:15 PM, Suresh Marru wrote: > Hi Shameera, > > Can you be concrete on what the problem you foresee and lets address it. > If the problem is number if maven modules, is it really a problem? > ​Problem is current maven dependency graph is complex and prone to

Re: Airavata 0.16 maven module organization

2015-06-02 Thread Suresh Marru
On Jun 2, 2015, at 1:33 PM, Shameera Rathnayaka wrote: > > ​Hi Suresh, > > On Tue, Jun 2, 2015 at 12:15 PM, Suresh Marru > wrote: > Hi Shameera, > > Can you be concrete on what the problem you foresee and lets address it. If > the problem is number if maven modules,

How to run airavata with new APIToken changes

2015-06-02 Thread Chathuri Wimalasena
Hi Hasini, What are the steps to run airavata server with new APIToken changes. Is there a way we can disable the token for simple test cases ? When I try registerApplications from CreateLaunchExperiment class, I'm getting following error. Exception in thread "main" org.apache.thrift.protocol.TP

Re: How to run airavata with new APIToken changes

2015-06-02 Thread Supun Nakandala
Hi, I had the same issue. There is a property in the airavata-server.properties to disable security API changes(in the bottom of the file). Even if you disable that when invoking getAPIVersion method you still have to send a authzToken with some token value. I had to do the below changes in PHP

Re: How to run airavata with new APIToken changes

2015-06-02 Thread Chathuri Wimalasena
Thanks Supun. I did the same in the CreateLaunchExperiment class. It fixed the issue. On Tue, Jun 2, 2015 at 4:47 PM, Supun Nakandala wrote: > Hi, > > I had the same issue. There is a property in the > airavata-server.properties to disable security API changes(in the bottom of > the file). Even

Re: Airavata 0.16 Design Refactoring Suggestion?

2015-06-02 Thread Suresh Marru
Hi Shameera, This looks good. I have a cosmetic suggestion not related to the design. While we re-organize the code, we probably also want to rename the components so they are self-explanatory. The monitor in your diagram should be made more concrete like “HPC Job Monitor”. I think the nam

Re: How to run airavata with new APIToken changes

2015-06-02 Thread Hasini Gunasinghe
Hi Chathuri, Supun, Yes, you can disable securing the API when writing integration tests which run without IS. You can pass null value to the AuthzToken parameter in such cases. I actually have listed the steps to follow when adding a new method to the API with the secured API at https://cwiki.ap

Re: How to run airavata with new APIToken changes

2015-06-02 Thread Chathuri Wimalasena
Hi Hasini, Thanks for the information. I think we can't pass null for the AuthzToken since it is a required parameter in thrift API definition. As Supun mentioned, I created an AuthzToken object with some dummy string and pass it to get the API version. Thanks.. Chathuri On Tue, Jun 2, 2015 at 1

Re: How to run airavata with new APIToken changes

2015-06-02 Thread Hasini Gunasinghe
Hi Chathuri, Yes, you are correct, we need to pass *new AuthzToken(""). *I have tested the passing of null only at compile time. Passing null gives errors in run time. I updated the docs at [1] accordingly. [1] https://cwiki.apache.org/confluence/display/AIRAVATA/Developer+Documentation+for+Secur