airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shenoy, Gourav Ganesh" <goshe...@indiana.edu>
Subject Re: Exposing Sharing Service through PGA
Date Mon, 24 Jul 2017 17:29:44 GMT
You would need to add new Thrift interfaces/models under "thrift-interface-descriptions/service-cpis/profile-service".
After writing the thrift models/interfaces, you’ll need to generate the Java/PHP/C++ stubs.
As far as the handler, you would need to manually create a handler class and implement the
appropriate "Iface" class within the generated service class. You can refer to any of the
previous tenant/user service handler class.

Thanks and Regards,
Gourav Shenoy

From: Sneha Tilak <sneha.tilak26@gmail.com>
Reply-To: "dev@airavata.apache.org" <dev@airavata.apache.org>
Date: Monday, July 24, 2017 at 1:23 PM
To: "dev@airavata.apache.org" <dev@airavata.apache.org>
Cc: "Christie, Marcus Aaron" <machrist@iu.edu>
Subject: Re: Exposing Sharing Service through PGA

Thanks, Gaurav.

Is there any automated way to generate the handler or should it be done manually so that we
can generate the Thrift stubs. I am familiar with generating the stubs to be later included
in the PGA libraries.

Regards,
Sneha Tilak

Regards,
Sneha Tilak

On Mon, Jul 24, 2017 at 1:07 PM, Shenoy, Gourav Ganesh <goshenoy@indiana.edu<mailto:goshenoy@indiana.edu>>
wrote:
Hi Sneha,

If I recollect correctly, the roadmap to introduce the “Airavata-Services” SDK included
the Profile Service which consisted of 3 components – user, tenant and groups. Currently,
we have implemented the user and tenant SDKs. I am assuming, if you want to allow management
of the groups (via sharing) at the PGA or via service APIs, you will need to add a new implementation/service
for groups in the "profile-service" – something like "profile-group-core", and add thrift
server handler to "profile-service-server".

Hope this helps!

Thanks and Regards,
Gourav Shenoy

From: Sneha Tilak <sneha.tilak26@gmail.com<mailto:sneha.tilak26@gmail.com>>
Reply-To: "dev@airavata.apache.org<mailto:dev@airavata.apache.org>" <dev@airavata.apache.org<mailto:dev@airavata.apache.org>>
Date: Monday, July 24, 2017 at 12:53 PM
To: "dev@airavata.apache.org<mailto:dev@airavata.apache.org>" <dev@airavata.apache.org<mailto:dev@airavata.apache.org>>,
"Christie, Marcus Aaron" <machrist@iu.edu<mailto:machrist@iu.edu>>
Subject: Exposing Sharing Service through PGA

Hi dev / Marcus,

I have been working on implementing a UI to create and manage user groups in Airavata. For
this, we have to expose the Sharing Registry services to the PGA. What would be the best way
to do this?

Marcus, would this be similar to what we did for the Keycloak and Tenant profile features?

Regards,
Sneha Tilak

Mime
View raw message