HONEYCOMB-355: move BGP to separate distribution 63/6763/5
authorMarek Gradzki <mgradzki@cisco.com>
Thu, 18 May 2017 14:46:46 +0000 (16:46 +0200)
committerMarek Gradzki <mgradzki@cisco.com>
Mon, 29 May 2017 06:36:30 +0000 (08:36 +0200)
commit685bffccd16d58fc5c1dd5c118ee74aa39effa68
treea9e9dd8277e818d6bb3c6ced7ad5ae74bab3c07c
parent46589c652a58b1cd56dab268b59d96bc20b5dd1f
HONEYCOMB-355: move BGP to separate distribution

Given current YangBindingProviderModule implementation (HONEYCOMB-358),
needed to preserve footprint of minimal distro.

The change also:
- reverts logger&persistence config changes
introduced by https://gerrit.fd.io/r/#/c/5972/
- improves logging for BGP component initialization

Change-Id: Ie223833518be21628edb7ace36c7618e427585e0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
37 files changed:
infra/bgp-distribution/asciidoc/Readme.adoc [new file with mode: 0644]
infra/bgp-distribution/bgp_postman_collection.json [moved from infra/bgp_postman_collection.json with 100% similarity]
infra/bgp-distribution/pom.xml [new file with mode: 0644]
infra/bgp-distribution/src/main/java/io/fd/honeycomb/infra/bgp/BGPDispatcherImplProvider.java [moved from infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/bgp/BGPDispatcherImplProvider.java with 96% similarity]
infra/bgp-distribution/src/main/java/io/fd/honeycomb/infra/bgp/BGPExtensionConsumerContextProvider.java [moved from infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/bgp/BGPExtensionConsumerContextProvider.java with 85% similarity]
infra/bgp-distribution/src/main/java/io/fd/honeycomb/infra/bgp/BGPPeerRegistryProvider.java [moved from infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/bgp/BGPPeerRegistryProvider.java with 93% similarity]
infra/bgp-distribution/src/main/java/io/fd/honeycomb/infra/bgp/BgpConfiguration.java [new file with mode: 0644]
infra/bgp-distribution/src/main/java/io/fd/honeycomb/infra/bgp/BgpConfigurationModule.java [new file with mode: 0644]
infra/bgp-distribution/src/main/java/io/fd/honeycomb/infra/bgp/BgpExtensionsModule.java [moved from infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/bgp/BgpExtensionsModule.java with 98% similarity]
infra/bgp-distribution/src/main/java/io/fd/honeycomb/infra/bgp/BgpModule.java [moved from infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/bgp/BgpModule.java with 98% similarity]
infra/bgp-distribution/src/main/java/io/fd/honeycomb/infra/bgp/BgpNettyThreadGroupProvider.java [moved from infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/bgp/BgpNettyThreadGroupProvider.java with 87% similarity]
infra/bgp-distribution/src/main/java/io/fd/honeycomb/infra/bgp/BgpRIBProvider.java [moved from infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/bgp/BgpRIBProvider.java with 95% similarity]
infra/bgp-distribution/src/main/java/io/fd/honeycomb/infra/bgp/BgpReaderFactoryProvider.java [moved from infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/bgp/BgpReaderFactoryProvider.java with 98% similarity]
infra/bgp-distribution/src/main/java/io/fd/honeycomb/infra/bgp/BgpReadersModule.java [moved from infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/bgp/BgpReadersModule.java with 96% similarity]
infra/bgp-distribution/src/main/java/io/fd/honeycomb/infra/bgp/BgpServerProvider.java [moved from infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/bgp/BgpServerProvider.java with 90% similarity]
infra/bgp-distribution/src/main/java/io/fd/honeycomb/infra/bgp/BgpWriterFactoryProvider.java [moved from infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/bgp/BgpWriterFactoryProvider.java with 98% similarity]
infra/bgp-distribution/src/main/java/io/fd/honeycomb/infra/bgp/BgpWritersModule.java [moved from infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/bgp/BgpWritersModule.java with 96% similarity]
infra/bgp-distribution/src/main/java/io/fd/honeycomb/infra/bgp/RIBExtensionConsumerContextProvider.java [moved from infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/bgp/RIBExtensionConsumerContextProvider.java with 85% similarity]
infra/bgp-distribution/src/main/java/io/fd/honeycomb/infra/bgp/distro/Main.java [new file with mode: 0644]
infra/bgp-distribution/src/main/resources/honeycomb-minimal-resources/config/bgp-peers.json [moved from infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/bgp-peers.json with 100% similarity]
infra/bgp-distribution/src/main/resources/honeycomb-minimal-resources/config/bgp.json [new file with mode: 0644]
infra/bgp-distribution/src/test/java/io/fd/honeycomb/infra/bgp/distro/BgpDistributionTest.java [new file with mode: 0644]
infra/bgp-distribution/src/test/resources/WEB-INF/web.xml [new file with mode: 0644]
infra/bgp-distribution/src/test/resources/bgp-peers.json [moved from infra/minimal-distribution/src/test/resources/bgp-peers.json with 100% similarity]
infra/bgp-distribution/src/test/resources/bgp.json [new file with mode: 0644]
infra/bgp-distribution/src/test/resources/honeycomb-keystore [new file with mode: 0644]
infra/bgp-distribution/src/test/resources/honeycomb.json [new file with mode: 0644]
infra/bgp-distribution/src/test/resources/logback.xml [new file with mode: 0644]
infra/minimal-distribution/pom.xml
infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/Main.java
infra/minimal-distribution/src/main/java/io/fd/honeycomb/infra/distro/cfgattrs/HoneycombConfiguration.java
infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/honeycomb.json
infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/logback.xml
infra/minimal-distribution/src/test/java/io/fd/honeycomb/infra/distro/BaseMinimalDistributionTest.java
infra/minimal-distribution/src/test/resources/honeycomb.json
infra/pom.xml
infra/translate-utils/src/main/java/io/fd/honeycomb/translate/util/write/BindingBrokerWriter.java