Hi,

the artifact download and installation works. However, by default, yaml
is not considered by fileinstall. So, you have to add it in
etc/config.properties:

 felix.fileinstall.filter=.*\\.(cfg|config|yaml)

Then etc/*.yaml will be considered as cfg files and loaded by
FileInstall/ConfigAdmin.

Regards
JB

On 08/08/2018 11:50, imranrazakhan wrote:
> Suppose we have feature file like,
> 
> 
>     <?xml version="1.0" encoding="UTF-8"?>
>     <features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0";>\
>             <feature name="test-config" version="1.0.0" resolver="(obr)">
>                     <configfile
> finalname="/etc/test_properties.cfg">mvn:test/config-test/1.0.0-SNAPSHOT/cfg</configfile>
>                     <bundle>mvn:test/config-test/1.0.0-SNAPSHOT</bundle>
>             </feature>
>     </features>
> 
> Do Karaf support configuration like below and parse yaml accordingly
> 
>  
> 
>     <configfile
> finalname="/etc/test_properties.yaml">mvn:test/config-test/1.0.0-SNAPSHOT/cfg</configfile>
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to