You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2011/02/14 14:53:57 UTC
[jira] Commented: (STANBOL-86) Offline mode support
[ https://issues.apache.org/jira/browse/STANBOL-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994296#comment-12994296 ]
Bertrand Delacretaz commented on STANBOL-86:
--------------------------------------------
Note that for now offline mode is defined statically when the offline bundle starts, by the bundle Activator.
This can easily be changed to a more dynamic behavior if needed, and services that depend on the OnlineMode or OfflineMode services will be enabled/disabled dynamically.
> Offline mode support
> --------------------
>
> Key: STANBOL-86
> URL: https://issues.apache.org/jira/browse/STANBOL-86
> Project: Stanbol
> Issue Type: Improvement
> Components: Enhancer
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
>
> 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.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira