You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2019/09/04 08:04:00 UTC

[jira] [Resolved] (SLING-6021) Supporting variable substitution in sling installer configuration factory

     [ https://issues.apache.org/jira/browse/SLING-6021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-6021.
-------------------------------------
      Assignee: Carsten Ziegeler
    Resolution: Won't Fix

This can now be handled with configuration plugins (see FELIX-5293)

> Supporting variable substitution in sling installer configuration factory
> -------------------------------------------------------------------------
>
>                 Key: SLING-6021
>                 URL: https://issues.apache.org/jira/browse/SLING-6021
>             Project: Sling
>          Issue Type: New Feature
>          Components: Installer
>    Affects Versions: Installer Configuration Factory 1.0.14
>            Reporter: Ivo Leitão
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>         Attachments: PropertiesTransformer.java
>
>
> I'm not completely sure if this is a new feature or not but I've not find any documentation that explains how to perform variable transformation in configuration resources.
> In my use case I want to configure Apache Aries Transaction manager (snippet bellow) and I would like to use the ${sling.home} environment variable
> aries.transaction.recoverable=true
> aries.transaction.timeout=600
> aries.transaction.howl.maxBlocksPerFile=513
> aries.transaction.howl.maxLogFiles=2
> aries.transaction.howl.logFileDir=${sling.home}
> aries.transaction.howl.bufferSizeKBytes=4
> Is it possible or this is a completly new feature ? (I' ve tested and it does not work)



--
This message was sent by Atlassian Jira
(v8.3.2#803003)