Add Replicator's config files to etc on startup 96/92796/2
authorTibor Král <tibor.kral@pantheon.tech>
Wed, 19 Aug 2020 10:05:28 +0000 (12:05 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 29 Sep 2020 22:47:16 +0000 (22:47 +0000)
commit9881742de73902684897c2c14979c6040f238c03
tree8252d535707654c0018c76219967cad8ad9df289
parent7c1b3bcc2d83999599e7fc613bdc53d272e2237c
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)
(cherry picked from commit 82a3eab7e8a2b6d7c776a54d540b3ccf93a7adad)
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]