You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org> on 2013/02/18 14:23:14 UTC
[jira] [Resolved] (STANBOL-910) Refactor Viewable and LDpath
Freemaker Template rendering
[ https://issues.apache.org/jira/browse/STANBOL-910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reto Bachmann-Gmür resolved STANBOL-910.
----------------------------------------
Resolution: Fixed
Assignee: Reto Bachmann-Gmür (was: Rupert Westenthaler)
Taking over and resolving issue after having modified it an way that the used client-apis remain unaltered but keeping the modularization gain and extending decoupling further.
> Refactor Viewable and LDpath Freemaker Template rendering
> ---------------------------------------------------------
>
> Key: STANBOL-910
> URL: https://issues.apache.org/jira/browse/STANBOL-910
> Project: Stanbol
> Issue Type: Bug
> Components: Commons
> Affects Versions: commons-0.11.0
> Reporter: Rupert Westenthaler
> Assignee: Reto Bachmann-Gmür
>
> Currently the o.a.s.commons.web.viewable module depends on LDpath. A dependency that is IMO unwanted.
> The reason for that is that all Stanbol JAX-RS and Web UI modules do depend on Viewable to render the Web UI. Because of that all such modules depend also on LDpath without actually using it.
> In addition the LdRenderer (in o.a.s.commons.ldpathtempate) does not only care about rendering LDpath based templates but also includes the functionality of loading Freemarker templates provided by OSGI bundles.
> The refactoring will:
> * provide a BundleTemplateLoader: An OSGI service that implements the Freemaker TemplateLoader interface. This service will be part of the o.a.s.commons.web.viewable module and replace the current LdRenderer.
> * move Viewable and RdfViewable to the correct package (o.a.s.commons.web.viewable). Deprecated sub-classes are kept in the current package (o.a.s.commons.viewable) for backward compatibility.
> * create a new o.a.s.commons.web.viewable.ldpath module that provide JAX-RS writer for LDPath baesd Freemaker templates. This will also allow the Viewable module to no longer depend on LDPath
> * small adaptions to the o.a.s.usermanagement as this directly used LDRenderer. This adaptions will replace LDRenderer with the TemplateLoader service and the LdViewableWirter provided by the o.a.s.commons.web.viewable.ldpath module module
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira