You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "Harald Wellmann (JIRA)" <ji...@apache.org> on 2018/04/29 21:06:00 UTC
[jira] [Created] (TAMAYA-336) Configuration templates do not work
with custom configurations
Harald Wellmann created TAMAYA-336:
--------------------------------------
Summary: Configuration templates do not work with custom configurations
Key: TAMAYA-336
URL: https://issues.apache.org/jira/browse/TAMAYA-336
Project: Tamaya
Issue Type: Bug
Components: Extensions
Affects Versions: 0.3-incubating
Reporter: Harald Wellmann
h3. Scenario
I'm building a configuration template from an interface, passing a custom configuration as a parameter. This configuration differs from the default configuration obtained by {{ConfigurationProvider.getConfiguration()}}.
{code}
AppConfiguration appConfig = ConfigurationInjection.getConfigurationInjector()
.createTemplate(AppConfiguration.class, customConfiguration);
{code}
h3. Expected Behaviour
{{appConfig}} returns values from the {{customConfiguration}}.
h3. Actual Behaviour
{{appConfig}} returns values from the default configuration.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)