You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by Saminda Wijeratne <sa...@gmail.com> on 2013/09/13 19:16:53 UTC

Airavata Mock API

As a first step to have an improved API we are looking at redesigning how
we look at the API. Following is a simple set of tasks we could start with.

Add an application
Add a workflow/experiment
Run workflow/experiment
View results

I've did a small mock using REST services and is commited in the
sandbox[1]. There's a hosted version @ [2]

Thoughts are welcome.

Saminda

1. https://svn.apache.org/repos/asf/airavata/sandbox/api-mock
2. http://156.56.179.200:9090/airavata-mock-service/help

Re: Airavata Mock API

Posted by Amila Jayasekara <th...@gmail.com>.
Hi Saminda,

Thanks for taking initiative for this.

I was trying to play a little bit with this. First of all I am little
confused from where should I start. I can see 3 main modules.

1. airavata-mock-core
2. airavata-mock-service
3. airavata-mock-service-utils

I can see that you have created a REST SERVICE API. But it is hard for me
to use this without a "REST client code". Without actually writing some
gateway code it is hard for me to give feedback on the mock API.

Further I would say that we should start thinking about the API from "end
user". So an end user will first start using "API client code" (REST
client, like we have right now in existing Airavata code). So we need to
first mock the "client API". Based on "client API mock" we can design the
service API (When designing the service API, we can think about other non
functional requirements such as scalability, performance etc .. in addition
to usability).

Thanks
Amila






On Fri, Sep 13, 2013 at 1:16 PM, Saminda Wijeratne <sa...@gmail.com>wrote:

> As a first step to have an improved API we are looking at redesigning how
> we look at the API. Following is a simple set of tasks we could start with.
>
> Add an application
> Add a workflow/experiment
> Run workflow/experiment
> View results
>
> I've did a small mock using REST services and is commited in the
> sandbox[1]. There's a hosted version @ [2]
>
> Thoughts are welcome.
>
> Saminda
>
> 1. https://svn.apache.org/repos/asf/airavata/sandbox/api-mock
> 2. http://156.56.179.200:9090/airavata-mock-service/help
>
>