Hi Aravind, Yes this is confusing. These configurations are for Airavata backend (in future for custos backend). I prefixed these configurations by respective backend name [1]. I will shortly send a detailed note to dev list on how to setup MFT properly in local environments. Let's move the discussion to there as it would be helpful for general public.
[1] https://github.com/apache/airavata-mft/blob/master/services/resource-service/server/src/main/resources/application.properties#L23 Thanks Dimuthu On Thu, Apr 2, 2020 at 5:28 PM Aravind Ramalingam <[email protected]> wrote: > Hello, > > Thank you, that makes sense! > But I was actually wondering what the current code base is doing? Since in > the application.properties file for resource service, there is a specific > address for a registry server. > [image: image.png] > Are we connecting to this for getting resource information? > > Also, in Secret service the application.properties file has localhost for > credentials server. > [image: image.png] > Are we supposed to run any other project to support the service? > > Thank you > Aravind Ramalingam > > On Thu, Apr 2, 2020 at 4:04 PM DImuthu Upeksha <[email protected]> > wrote: > >> Aravind, >> >> Resource and Secret services are only proxy services. It can bind to any >> backend type. Custos is one backend. In production use, it should bind to >> custos. But in local development, it's inconvenient to work with multiple >> moving parts so in that case it can bind to a local backend which receives >> data through couple of files where you can change content easily. >> >> Dimuthu >> >> On Thu, Apr 2, 2020 at 3:56 PM Aravind Ramalingam <[email protected]> >> wrote: >> >>> Hi Dimuthu, >>> >>> Thank you for that. >>> So you mean to say that the resource service and secret service >>> currently have the data predefined and that is why the proto message has >>> default numbers as it's values? >>> A small question on that, are the data stored internally or do the >>> resource service and secret service connect to an external server? >>> Cause I initially thought the secret service will connect to the Custos >>> project for it's data. >>> >>> Thank you >>> Aravind Ramalingam >>> >>> On Apr 2, 2020, at 15:24, DImuthu Upeksha <[email protected]> >>> wrote: >>> >>> >>> Hi Aravind, >>> >>> Yes your understanding is correct. We assume that Resource service and >>> Secret Service has all the data you need to initiate the transfer. I'm >>> working on a standalone version of MFT where you can configure credentials >>> and resources as a configuration file for development purposes and >>> hopefully I will be able to push it today. Once it's done, you can use them >>> to test the framework. With that, I will submit some samples as well. >>> >>> Thanks >>> Dimuthu >>> >>> On Thu, Apr 2, 2020 at 1:01 PM Aravind Ramalingam <[email protected]> >>> wrote: >>> >>>> Hello, >>>> >>>> Thank you for clarifying. >>>> If I've understood the architecture correctly, even if we are using >>>> another language we would require to build the proto files only for API? As >>>> the other services are internal to the system. >>>> >>>> Could you please provide a sample message that can be passed to the >>>> service? It would really help us get started. >>>> >>>> Thank you >>>> Aravind Ramalingam >>>> >>>> On Apr 2, 2020, at 12:26, DImuthu Upeksha <[email protected]> >>>> wrote: >>>> >>>> >>>> Hi Aravind, >>>> >>>> Currently all the calls to the API are performed through gRPC. For >>>> Java, clients are already generated from the maven build, but if you are >>>> using any other language, you have to build it using proto files in the >>>> stub module of each service. Usability is a place where we need to improve >>>> in MFT as we are currently supporting it only to bind to an existing >>>> service that require MFT rather than a user directly talking to it. But it >>>> is also a valid use case and we need to improve it. >>>> >>>> Thanks >>>> Dimuthu >>>> >>>> On Thu, Apr 2, 2020 at 4:29 AM Aravind Ramalingam <[email protected]> >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> Thank you for the solution. That resolved the dependencies issue. >>>>> After that i started the services in the order mentioned in the >>>>> README. >>>>> >>>>> <image.png> >>>>> >>>>> >>>>> The services started successfully and connected the external Consul >>>>> host. >>>>> But I am confused as to how a user would make a call to the >>>>> ApiServiceApplication? Are there any endpoints exposed or is it only >>>>> through gRPC calls? >>>>> A little more insight would be helpful. >>>>> >>>>> Thank you, >>>>> Aravind Ramalingam >>>>> >>>>> On Thu, Apr 2, 2020 at 12:44 AM Bandaru, Vivek Shresta <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi Aravind, >>>>>> >>>>>> >>>>>> >>>>>> This seems to be an Intellij issue. I resolved the dependency issues >>>>>> on my Intellij by enabling ‘Use plugin registry’ in maven preferences and >>>>>> rebuilding my project. >>>>>> >>>>>> >>>>>> >>>>>> Seems like there are 5 SpringBoot microservices in MFT. >>>>>> >>>>>> >>>>>> >>>>>> <image001.png> >>>>>> >>>>>> >>>>>> >>>>>> As far as my understanding goes, MFT alone doesn’t do anything, it’s >>>>>> a helper service. It works along with ‘Airavata’ server. >>>>>> >>>>>> >>>>>> >>>>>> If someone can point us towards some MFT Tutorials and documentation >>>>>> on how to setup Airavata along with MFT, that would be really helpful. >>>>>> >>>>>> >>>>>> >>>>>> Regards, >>>>>> >>>>>> Vivek. >>>>>> >>>>>> >>>>>> >>>>>> *From: *Aravind Ramalingam <[email protected]> >>>>>> *Reply-To: *"[email protected]" <[email protected]> >>>>>> *Date: *Wednesday, April 1, 2020 at 9:41 PM >>>>>> *To: *"[email protected]" <[email protected]> >>>>>> *Subject: *[External] Airavata MFT project errors >>>>>> >>>>>> >>>>>> >>>>>> This message was sent from a non-IU address. Please exercise caution >>>>>> when clicking links or opening attachments from external sources. >>>>>> >>>>>> >>>>>> >>>>>> Hello, >>>>>> >>>>>> >>>>>> >>>>>> I am trying to compile and run the Airvata MFT project. >>>>>> >>>>>> After completing mvn clean install successfully, I found that the >>>>>> services are not running due to errors in certain files. >>>>>> >>>>>> >>>>>> >>>>>> <image002.png> >>>>>> >>>>>> >>>>>> >>>>>> I have attached the screenshot for your reference. I suspect its some >>>>>> missing dependencies. Can you please help me resolve this? >>>>>> >>>>>> Also can you guide me on the sequence of how to start the >>>>>> applications, i am confused how to run the project. >>>>>> >>>>>> >>>>>> >>>>>> Thank you >>>>>> >>>>>> Aravind Ramalingam >>>>>> >>>>>
