You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Ivo Leitão (JIRA)" <ji...@apache.org> on 2016/08/31 15:53:20 UTC

[jira] [Updated] (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 ]

Ivo Leitão updated SLING-6021:
------------------------------
    Description: 
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)

  was:
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}/database
aries.transaction.howl.bufferSizeKBytes=4

Is it possible or this is a completly new feature ? (I' ve tested and it does not work)


> 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
>            Priority: Minor
>
> 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
(v6.3.4#6332)