You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by "Osborne, John D" <jo...@uabmc.edu> on 2018/05/14 19:47:36 UTC

Deploy Async Service without XML

Is it possible to deploy an UIMA-AS service without an XML descriptor similar to how UIMA-FIT works? I currently deploy services using deployAsyncService.sh

I have multiple long running services that need to work in different (production, testing, dev) environments and would prefer to avoid having an XML file for each service. I realize that with some refactoring (like removing environment specific parameters) this number of XML files could be reduced, but I've become spoiled with UIMA-FIT. :)

I'm looking at the toXML()  function so I can potentially generate the aggregate analysis engine with UIMA-FIT.

-John


Re: Deploy Async Service without XML

Posted by Olga Patterson <ol...@utah.edu>.
We have developed a framework to deal with UIMA AS programmatically. No dealing with XML ever. 

Feel free to check it out:
http://department-of-veterans-affairs.github.io/Leo/

Olga


-----Original Message-----
From: <ui...@gmail.com> on behalf of Jaroslaw Cwiklik <cw...@apache.org>
Reply-To: "user@uima.apache.org" <us...@uima.apache.org>
Date: Tuesday, May 15, 2018 at 2:58 AM
To: "user@uima.apache.org" <us...@uima.apache.org>
Subject: Re: Deploy Async Service without XML

    You can generate UIMA-AS deployment descriptor programmatically. You still
    need AE descriptor though.
    
    Please check UIMA-AS documentation:
    https://uima.apache.org/d/uima-as-2.10.3/uima_async_scaleout.html#ugr.ref.async.api.usage
    section 4.10 Generating Deployment Descriptor Programmatically
    
    Jerry
    
    On Mon, May 14, 2018 at 9:47 PM, Osborne, John D <jo...@uabmc.edu> wrote:
    
    > Is it possible to deploy an UIMA-AS service without an XML descriptor
    > similar to how UIMA-FIT works? I currently deploy services using
    > deployAsyncService.sh
    >
    > I have multiple long running services that need to work in different
    > (production, testing, dev) environments and would prefer to avoid having an
    > XML file for each service. I realize that with some refactoring (like
    > removing environment specific parameters) this number of XML files could be
    > reduced, but I've become spoiled with UIMA-FIT. :)
    >
    > I'm looking at the toXML()  function so I can potentially generate the
    > aggregate analysis engine with UIMA-FIT.
    >
    > -John
    >
    >
    


RE: [External Sender] Re: Deploy Async Service without XML

Posted by "Osborne, John D" <jo...@uabmc.edu>.
Thanks Jerry, not sure how I missed that.

 -John

________________________________________
From: uimaee@gmail.com [uimaee@gmail.com] on behalf of Jaroslaw Cwiklik [cwiklik@apache.org]
Sent: Tuesday, May 15, 2018 3:58 AM
To: user@uima.apache.org
Subject: [External Sender] Re: Deploy Async Service without XML

You can generate UIMA-AS deployment descriptor programmatically. You still
need AE descriptor though.

Please check UIMA-AS documentation:
https://urldefense.proofpoint.com/v2/url?u=https-3A__uima.apache.org_d_uima-2Das-2D2.10.3_uima-5Fasync-5Fscaleout.html-23ugr.ref.async.api.usage&d=DwIBaQ&c=o3PTkfaYAd6-No7SurnLtwPssd47t-De9Do23lQNz7U&r=SEpLmXf_P21h_X0qEQSssKMDDEOsGxxYoSxofi_ZbFo&m=U8uhcK-ff3unC3R6JrZd3dnzWauSyiuLs_FefZ7fZt8&s=pYKLSCtmns01alVgi7w6p-ZdLAjF6inrYmzko474muU&e=
section 4.10 Generating Deployment Descriptor Programmatically

Jerry

On Mon, May 14, 2018 at 9:47 PM, Osborne, John D <jo...@uabmc.edu> wrote:

> Is it possible to deploy an UIMA-AS service without an XML descriptor
> similar to how UIMA-FIT works? I currently deploy services using
> https://urldefense.proofpoint.com/v2/url?u=http-3A__deployAsyncService.sh&d=DwIBaQ&c=o3PTkfaYAd6-No7SurnLtwPssd47t-De9Do23lQNz7U&r=SEpLmXf_P21h_X0qEQSssKMDDEOsGxxYoSxofi_ZbFo&m=U8uhcK-ff3unC3R6JrZd3dnzWauSyiuLs_FefZ7fZt8&s=0vhUs649w82ayOgQS1h3m42wQo690J5W_P3ZOzDy8pE&e=
>
> I have multiple long running services that need to work in different
> (production, testing, dev) environments and would prefer to avoid having an
> XML file for each service. I realize that with some refactoring (like
> removing environment specific parameters) this number of XML files could be
> reduced, but I've become spoiled with UIMA-FIT. :)
>
> I'm looking at the toXML()  function so I can potentially generate the
> aggregate analysis engine with UIMA-FIT.
>
> -John
>
>

Re: Deploy Async Service without XML

Posted by Jaroslaw Cwiklik <cw...@apache.org>.
You can generate UIMA-AS deployment descriptor programmatically. You still
need AE descriptor though.

Please check UIMA-AS documentation:
https://uima.apache.org/d/uima-as-2.10.3/uima_async_scaleout.html#ugr.ref.async.api.usage
section 4.10 Generating Deployment Descriptor Programmatically

Jerry

On Mon, May 14, 2018 at 9:47 PM, Osborne, John D <jo...@uabmc.edu> wrote:

> Is it possible to deploy an UIMA-AS service without an XML descriptor
> similar to how UIMA-FIT works? I currently deploy services using
> deployAsyncService.sh
>
> I have multiple long running services that need to work in different
> (production, testing, dev) environments and would prefer to avoid having an
> XML file for each service. I realize that with some refactoring (like
> removing environment specific parameters) this number of XML files could be
> reduced, but I've become spoiled with UIMA-FIT. :)
>
> I'm looking at the toXML()  function so I can potentially generate the
> aggregate analysis engine with UIMA-FIT.
>
> -John
>
>