apache / apache/uima-ruta

ruta-core is unable to access extension from ruta-core-ext in OSGI context

Open
#128 0 comments 0 reactions 1 assignee Claimed by @reckart View on GitHub
🦟 Bug
Dominant language
Java
Stars
20
Forks
3
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
ruta-core-ext contains some extension functions that need to be enabled e.g. as

```
createEngineDescription(
RutaEngine.class,
RutaEngine.PARAM_ADDITIONAL_EXTENSIONS, StringOperationsExtension.class);
```

However, the ruta-core bundle has no optional import of the required packages from ruta-core-ext and there is also no alternative such as an SPI which would allow discovery.

**To Reproduce**
Steps to reproduce the behavior:
1. Try running a Ruta engine which uses an extension in an OSGI context

**Expected behavior**
The simplest solution would probably be adding an optional import for the packages of `ruta-core-ext` to the `ruta-core` bundle.

**Please complete the following information:**
- Version: 3.3.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.