Yes, I forgot about this. Its a minimal documentation which describes primitive deployment. More complex deployments are supported but not documented. I think more work is needed to clean up the API and when done more documentation is necessary. This is work in progress.
-jerry On Fri, Aug 12, 2016 at 10:30 AM, Richard Eckart de Castilho <[email protected] > wrote: > It's in the documentation. That's how I stumbled over it again and tried > to remember why back in the day I had written my own factory. > > https://uima.apache.org/d/uima-as-2.8.1/uima_async_ > scaleout.html#ref.async.api.descriptor.generation > > Cheers, > > -- Richard > > > On 12.08.2016, at 16:28, Jaroslaw Cwiklik <[email protected]> wrote: > > > > I think this is documented in the code only for now and not in the > UIMA-AS > > documentation. This API still needs work. I was thinking of changing this > > to use Builder pattern to configure deployment using a series of set/add > > calls instead of passing many parameters. > > I can enhance the code to support your suggestion. I will create a new > JIRA > > to capture this requirement. > > Thanks > > > > -jerry > > > > > > > > On Thu, Aug 11, 2016 at 1:26 PM, Richard Eckart de Castilho < > [email protected]> > > wrote: > > > >> On 16.07.2015, at 23:10, Jaroslaw Cwiklik <[email protected]> wrote: > >>> > >>> The UIMA-AS *does* have an API to generate deployment descriptors > >> although > >>> its not documented. Its an internal API for now and most likely will be > >>> documented in the next release of UIMA-AS. The API is implemented by > >>> DeploymentDescriptorFactory.java. in the uimaj-as-core project. > >> > >> I see this is documented now. > >> > >> Would be nice if one could directly set an AnalyisEngineDescriptor in > the > >> ServiceContextImpl instead of having to first serialize the AED to a > file. > >> > >> Cheers, > >> > >> -- Richard > >> > >
