[ 
https://issues.apache.org/jira/browse/UIMA-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15413897#comment-15413897
 ] 

Eddie Epstein commented on UIMA-5043:
-------------------------------------

Consider a large UIMA analysis aggregate that has multiple functional 
subsystems (aggregates) and hundreds of configuration parameters. UIMA 
configuration parameter values are distributed across many primitive component 
descriptors, and optionally configuration parameter overrides in aggregate 
descriptors.

There are two problems with this situation: 1) the overall system configuration 
is distributed and therefor hard to summarize, and 2) when a subsystem is to be 
exercised apart from the complete aggregate it is necessary to gather and 
reproduce all of the parameter overrides. 

UIMA external overrides were created ~3 years ago solve these two issues. 
Configuration values can be put in "settings files" that are global, i.e. 
independent of what annotator uses an external override. Analytic subsystems 
can be run independently or in different aggregate designs without having to 
change any component descriptors or settings files. 

External overrides have been quite successful for their original intended use, 
and people have started using them for other purposes. Consider a non-UIMA 
component that is instantiated by a UIMA component. Or consider UIMA external 
resources, components that are intended to be shared by multiple annotators. 
How are these configured? Users have started using the external parameter 
override mechanism for these situations, but the existing APIs do not support 
this use case well, hence this Jira to improve the situation.

> Provide method to access individual external override settings
> --------------------------------------------------------------
>
>                 Key: UIMA-5043
>                 URL: https://issues.apache.org/jira/browse/UIMA-5043
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Burn Lewis
>            Assignee: Burn Lewis
>            Priority: Minor
>             Fix For: 2.9.0SDK
>
>
> The framework loads the external override settings and uses them in any 
> configuration parameter that has an external override name attached,  Users 
> have asked for the ability to access these values directly without the 
> indirection of configuration parameter entries in descriptors.  Currently the 
> complete Settings object that holds all the external override settings loaded 
> by the framework is accessible via UimaContextAdmin.
> An improvement would be to allow individual values to be read using a method 
> in the UimaContext interface, perhaps: 
> String getExternalOverride(String name)
> String[] getExternalOverrideArray{String name)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to