Add Replicator's config files to etc on startup 95/92795/1
authorTibor Král <tibor.kral@pantheon.tech>
Wed, 19 Aug 2020 10:05:28 +0000 (12:05 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 29 Sep 2020 18:32:13 +0000 (20:32 +0200)
commit82a3eab7e8a2b6d7c776a54d540b3ccf93a7adad
treef667e2bf70a897e3fd3cf17786e12898f6857587
parent48050e169bc79211537121a70b4ce03fbf2a9e3e
Add Replicator's config files to etc on startup

Currently the configuration files don't reside inside
the etc folder when the bundle starts up. They either
have to be created manually or by editing via Karaf
Config CLI. This makes it more difficult for the
user to see the options and modify them as needed.

Add the files directly to the bundle stating all the
options and filled with default value. Then load them
inside the etc folder on bundle startup.

Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
Change-Id: If55316d89dcb5570d4f9f8a5b30fd5310ad90a48
(cherry picked from commit 6f149e51688bf6d9fee30b704af9ef4b7ac81a0f)
features/odl-mdsal-exp-replicate-netty/src/main/feature/feature.xml [new file with mode: 0644]
replicate/mdsal-replicate-netty/pom.xml
replicate/mdsal-replicate-netty/src/main/resources/config/org.opendaylight.mdsal.replicate.netty.sink.cfg [new file with mode: 0644]
replicate/mdsal-replicate-netty/src/main/resources/config/org.opendaylight.mdsal.replicate.netty.source.cfg [new file with mode: 0644]