Hi Dinuka,

Can you please research which of the Apache Software Foundation projects 
https://projects.apache.org/ have ruby artifacts published and find the 
relevant documentation on how they are doing account management and official 
artifact publishing?

Thanks,
Suresh

On Oct 26, 2020, at 12:17 PM, Dinuka Desilva 
<[email protected]<mailto:[email protected]>> wrote:

This message was sent from a non-IU address. Please exercise caution when 
clicking links or opening attachments from external sources.

Hi Suresh,

For publishing the packages, it's required to have an account [1]. I would say 
having an account for the lab would be better than pushing them through a 
personal account. What do you think?

One more thing I would like to clarify was the name of the package. I named it 
just "airavata". And the default module is "Airavata" and inside that there's a 
sub module called "Client". So, in a way it's extendible if needed.

Example usage :-

require "thrift"
require "airavata"

transport = Thrift::BufferedTransport.new(Thrift::Socket.new('localhost', 9930))
protocol = Thrift::BinaryProtocol.new(transport)
airavataApiClient = Airavata::Client.new(protocol)
transport.open()

airavataApiClient.isUserExists(authzToken, gatewayId, userName)


Regards,
Dinuka

[1] https://rubygems.org<https://rubygems.org/>

On Mon, Oct 26, 2020 at 8:10 PM Dinuka Desilva 
<[email protected]<mailto:[email protected]>> wrote:
Hi Eric,

Thanks for the feedback. I updated the PR accordingly and managed to test it 
locally too.

Regards,
Dinuka

On Fri, Oct 23, 2020 at 1:50 AM Suresh Marru 
<[email protected]<mailto:[email protected]>> wrote:
Thank you Eric, we will follow up on the PR.

Suresh

On Oct 22, 2020, at 4:13 PM, Franz, Eric 
<[email protected]<mailto:[email protected]>> wrote:

Suresh,

I posted a comment here 
https://github.com/apache/airavata/pull/265#issuecomment-714734200

And am happy to help however I can.

Thanks,
Eric

---
Eric Franz, Gateways Lead Engineer
Ohio Supercomputer Center
An Ohio Technology Consortium (OH-TECH) Member
1224 Kinnear Road
Columbus, OH 43212
email: [email protected]<mailto:[email protected]>

From: Suresh Marru <[email protected]<mailto:[email protected]>>
Date: Thursday, October 22, 2020 at 12:18 PM
To: Airavata Dev <[email protected]<mailto:[email protected]>>, 
"Franz, Eric" <[email protected]<mailto:[email protected]>>
Subject: Re: [AIRAVATA-3379] airavata-ruby-sdk

Hi Eric,

Do you have suggestions on how ruby SDK’s should be distributed? Once Dinuka 
packages thrift generated ruby libraries and adds some higher order 
simplification API’s, can you please advise on what is the best practice for 
creating a gem and publishing it to a gem repo?

Thanks,
Suresh


On Oct 21, 2020, at 3:02 PM, Dinuka Desilva 
<[email protected]<mailto:[email protected]>> wrote:

Hi Everyone,

Following the other client sdks [1] available, I'm going to enable the ruby sdk 
[2] for the airavata api. Meanwhile, I have a couple of points to discuss.

1) Should we follow a similar pattern for additional code (apart from what's 
generated from thrift) introduced to the clients regardless of language? The 
feasibility is also one aspect to be discussed.

2) What's the process of publishing the clients to public registries?

Regards,
Dinuka

[1] 
https://github.com/apache/airavata/tree/master/airavata-api/airavata-client-sdks<https://urldefense.com/v3/__https:/github.com/apache/airavata/tree/master/airavata-api/airavata-client-sdks__;!!KGKeukY!kF3Lp5XEjGrUd3Mn1_MHMskmcOjmNBqg3n3lDCUX8Va4jJ8H3oowtrIcirtiPA$>
[2] 
https://github.com/apache/airavata/pull/265<https://urldefense.com/v3/__https:/github.com/apache/airavata/pull/265__;!!KGKeukY!kF3Lp5XEjGrUd3Mn1_MHMskmcOjmNBqg3n3lDCUX8Va4jJ8H3oowtrImbZefOQ$>


Reply via email to