Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
An offline mode is needed to run integration tests in a repeatable way, even if remote Internet services like geonames are not available.
I'll create a commons bundle that activates either an OnlineMode or an OfflineMode service, the latter being active if the org.apache.stanbol.offline.mode system property is set to "true".
Components that should only be activate when online can then state that by having an @Reference to the OnlineMode service, or to the OfflineMode service to only be active when offline.
Attachments
Issue Links
- blocks
-
STANBOL-87 In integration tests, disable enhancement engines that require online access
- Closed