summaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2017-07-06Bump honeycomb version to 1.17.10-SNAPSHOTMarek Gradzki8-17/+17
Change-Id: I6294fc266b704568d4e093a50d615f96eac153be Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-30HONEYCOMB-373 - Separate minimal distribution modules to core moduleJan Srnicek2-53/+7
Change-Id: I5278f91ea06f57c84b44a8458ef44469ebd0cf84 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-30HONEYCOMB-358 - Generate guice to yang modules indexJan Srnicek6-17/+380
Generates two descriptor files yang-modules-binding/yang-modules - List of Yang modules by project(classpath + deps) yang-mapping/FULL_PROJECT_NAME-yang-modules-index - Index from Guice modules to Yang modules that are used by respective Guice module These files are included in jar files and distribution resources Change-Id: Iafc178219245df9129fb426a5876215c6fd1837e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-23Bump ODL dependencies to Boron-SR4Marek Gradzki1-8/+8
Change-Id: I06aee0da6fe2f702c735bfa5413de19ba3132046 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-09Exclude .idea folder from checkstyleJan Srnicek1-1/+2
Change-Id: I4e9cd08ad8640b2733fa1c62cbd620a639e81bed Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-05-26Include ODL's BGP to HC minimal distroMarek Gradzki1-0/+8
Features: - static bgp instance - static peer registry (both remote & app peers supported) - bgp operational state exposed via RESTCONF/NETCONF - bgp-inet support - postman collection with examples TODOs: - make bgp disabled by default in honeycomb.json (probably bgp should be build using profile or allow to filter yangs loaded by SchemaCtx, otherwise footprint will grow) - update asciidocs for infra module - SPI for VPP integration: - allow RIB changes listeners - or writers (that can reject changes) to mirror netconf/restconf design - expose bgp server & peer cfg via netconf/restconf (currently read from json files) - test support for all BGP extensions (flowspec BGP needs additional care) - make bgp extensions fully configurable (probably requires changes in ODL) Testing 1) start hc distro: ./infra/minimal-distribution/target/minimal-distribution-1.17.07-SNAPSHOT-hc/minimal-distribution-1.17.07-SNAPSHOT/honeycomb 2) run bgp-testtool: java -jar ./target/bgp-testtool-0.6.3-Boron-SR3-executable.jar -ra 127.0.0.1:1790 -la 127.0.0.2:17900 -pr 2 -ll DEBUG --active true -as 65000 -mp true then GET http://localhost:8183/restconf/operational/bgp-rib:bgp-rib Change-Id: I156d6a1c79174279db8c8936c40ac1f28e14794c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-04-07Bump ODL dependencies to Boron-SR3Marek Gradzki1-8/+14
Boron SR3 contains fixes for HC2VPP-62,HC2VPP-69,HC2VPP-68 Change-Id: I06ad40da6fe2f702c735bfa5413de19ba3132046 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-04-07Introduce salGenerator.version propertyMarek Gradzki2-1/+2
All ODL dependencies are in one place now. Change-Id: I0fc91f7efcf81e002dcbef9acfef1d82eac80238 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-31Bump version to 1.17.07-SNAPSHOTMarek Gradzki8-17/+17
Change-Id: Ie7b486c266ea34df999e7122b5ef12d26aded863 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-15Downgrade ODL dependencies to Beryllium-SR4Marek Gradzki2-14/+8
Workaround for HC2VPP-62 until https://bugs.opendaylight.org/show_bug.cgi?id=7759 is fixed. Change-Id: I0e9c82378865bf99c1843b0399940a53350e2d76 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-18HONEYCOMB-240 - copy generated images to site folderJan Srnicek2-0/+58
Unable to achieve same results with maven resource plugin. Change-Id: I564f00dcabca638b4bee40fe05ff8d4505623832 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-04Bump Honeycomb version to 17.04Marek Gradzki8-17/+17
Change-Id: I99bc2593d50e59a6d4293e2d98ef3a9569a55008 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-21Bump ODL dependencies to Boron-SR2Marek Gradzki2-6/+6
Fixes HONEYCOMB-290 among others Change-Id: I3902dacc2cc8279abec43cd3b4d74074485cf7e0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-20Bump restconf version to 1.4.2-BoronMarek Gradzki1-1/+1
Fixes Status.OK on fail with successful revert (HONEYCOMB-297) Change-Id: I3862347775eea08a62671d5755f95b07f64e99bb Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-07Set honeycomb version to 17.01 to allign with vpp releaseMarek Gradzki8-17/+17
Change-Id: I47f37a60f276928672fc2bd53e948641d9278014 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-09HONEYCOMB-240 Remove imagesdir asciidcotor prefixMaros Marsalek1-1/+0
Change-Id: Ia086f3b677fe33ecb20a3ded780dac9f89415590 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-11-01HONEYCOMB-272: bump mockito version to 2.2.9Marek Gradzki1-1/+1
ArgumentMatchers.any() does not match null anymore, so some of the tests has been updated. Change-Id: I5de0fdfe87fc8e5c8ce24bfae8daeaba032195ff Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-28HONEYCOMB-274 Fix checkstyle license checksMaros Marsalek4-15/+44
Change-Id: I9a7783bf072b2e2396f0fa1a784bcb57adb689b4 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-21Fix attributes substitution in release_notesMaros Marsalek1-2/+0
Change-Id: I96ae1f6e5b21bf2db010758c8c0f4267aef59e93 Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-19HONEYCOMB-157: fix honeycomb-kill scriptMarek Gradzki2-5/+7
Change-Id: I10c5446d17cecec00188dc69389bbc85c90ce652 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-17HONEYCOMB-225 Bump ODL to BoronMaros Marsalek2-13/+20
Change-Id: I45e30b4815737dd4bafe39d839d90c9799ad3cb7 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-17HONEYCOMB-157 Extract groovy scripts from pomsMaros Marsalek13-107/+414
And put all of them into a dedicated module Change-Id: Id04c66806a89af68d821a43ef92f0a59220e04e9 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-13HONEYCOMB-207 : Configurable modules list for distributionsJan Srnicek1-1/+51
Export list of modules for built distribution on compile time according to distribution.modules property to ***module-config.txt Load aggregated set of modules on start from all descriptors in /modules folder Change-Id: Icdeb23536aee3a243a221d3f2ec5f340d387764e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-26HONEYCOMB-209 Configure maven siteMaros Marsalek15-21/+331
To produce site for Honeycomb + javadoc asciidoc To build the site: mvn clean install site:attach-descriptor site mvn site:stage -DstagingDirectory=/home/mmarsale/tmp/stage Change-Id: I4246bb09ba02b74a2a9c84ee73f8dba02384fffa Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-23HONEYCOMB-145 - Utility Class RefactoringJan Srnicek1-2/+6
problematic mockito-all changed to mockito-core( https://github.com/mockito/mockito/issues/324) Translate Utils Splitted to multiple Trait Interfaces Ipv4Translator - Logic for translation of ipv4-based data Ipv6Translator - Logic for translation of ipv6-based data MacTranslator - Logic for translation of mac-based data AddressTranslator - Aggregation trait for Ipv4/Ipv6/Mac JvppReplyConsumer - Logic for extracting replies from jvpp calls ByteDataTranslator - any byte-based conversions Plus some existing utility classes changed to traits Change-Id: I342b625954223966802e65dca0fabf8456c89345 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-21HONEYCOMB-202: Honeycomb-parent pomMaros Marsalek5-524/+490
As a replacement for: odlparent-lite + odlparent + bundle-parent + binding-parent + config-parent Change-Id: I68054fe548a627a92978d5aa399f5d4aea6b9703 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-19HONEYCOMB-196: unit test for LispModuleMarek Gradzki1-0/+7
Increases test coverage of lisp plugin to approximately 43%. Change-Id: I2d60eae05dab9c4277f1b601616b9be4262de7eb Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-19Fix project names to match artifactIdMarek Gradzki1-1/+1
Incorrect names can obscure statistics provided by Sonar (uses project names, not artifact ids). Change-Id: I6d8450cfd57ac3c19116760e8a474b705de9750b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-19HONEYCOMB-195: unit test for V3poModule.javaMarek Gradzki1-0/+6
Increases test coverage of v3po plugin to approximately 70% Change-Id: I8833710c3deb1681e9b7f18e25f9bcacba4a6689 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-08HONEYCOMB-197 Enable jacoco for minimal distributionsMaros Marsalek1-1/+126
Change-Id: I12bd942d21b8a3952546fdaccfb4ded997a98fc7 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-08HONEYCOMB-197 Minimal distribution positive testMaros Marsalek1-0/+20
Change-Id: I2191472f10b39a026ccde2494a7921655c57c314 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-08Dependency management for skinny-logbackMarek Gradzki1-0/+7
Change-Id: If12c6043175f43918f098f6102dd019715ed6104 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-08HONEYCOMB-78: enable HC restartMarek Gradzki1-6/+21
Includes: - restart script for honeycomb - HONEYCOMBC-78 fix: jVPPRegistry.close() is not invoked in case of VPP restart. That prevents subsequent attempts to establish connection from failing (we cannot invoke vl_client_disconnect_from_vlib before connect_to_vpe on fresh vpp instance). Change-Id: Icf4d6a6a40605ed34d307a0f1405b8804ba5df53 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-07HONEYCOMB-120 Remove sonar.skip from commonMaros Marsalek1-4/+0
Change-Id: Ic33ce2c2f71e3d7bc6f6f0e58c084f5991df9135 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-07HONEYCOMB-200 Exclude samples, tools and common from sonarMaros Marsalek1-1/+6
Change-Id: I42d014b48f2315c8c99cee988aa29940a837deb0 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-07Cleanup TODOs and FIXMEsMaros Marsalek3-15/+156
- Fix minor ones - Report bigger and include issue number in comment - Pull common dependencies into dependency management of common/parents Change-Id: I06a6ac37c52b603fd73ed42023d6b2e7fa18010f Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-06HONEYCOMB-157: add debug scriptMarek Gradzki1-4/+12
Change-Id: I2f65514f7c2adfeb2714584588a262f2e44f70f6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-31Bump version to 1.16.12-SNAPSHOTMaros Marsalek6-9/+9
Change-Id: I27b09dc1fdf7597c8b0751d8cbf950500e03fa23 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-30HONEYCOMB-140 - Honeycomb Plugin ArchetypeJan Srnicek2-2/+4
Change-Id: I6e04fb769e82fb539dbd6a79bb465974796137a4 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-08-25Remove groovy to reduce footprintMaros Marsalek1-3/+6
Change-Id: I798558e52329c26aa5481d702745c4d46e290615 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-22Honeycomb deb packagingMaros Marsalek1-4/+8
Change-Id: I6f029ef9236cbd3f7f20fd8e44f83b15cdedc5db Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-19HONEYCOMB-18 Fixing comments from reviewsMaros Marsalek1-1/+2
Change-Id: Ic0565d601d13b5f50ec3c714a43600e32a7e456b Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-19Make Restconf thread pools configurableMaros Marsalek1-1/+2
Change-Id: Ie03a1fde5181cfd8457e36d67afc2cc0c69c1e1d Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-19HONEYCOMB-21 Add HTTPS for RestconfMaros Marsalek1-1/+1
Change-Id: If8bae91ce30592971584645b8dcecdbbeb4a0ddb Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-19HONEYCOMB-22: Remove karaf based distribution and wiringMaros Marsalek4-180/+0
Change-Id: I48aafb726de53b6ad3fb9b97c202f712dfa4a540 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-19HONEYCOMB-137: Put minimal distribution into RPMMaros Marsalek1-3/+6
Change-Id: I163be0361f75a29aac569b019892433b12bfb0a6 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-19HONEYCOMB-21 Vpp-integration minimal distributionMaros Marsalek4-5/+10
Change-Id: I1a44028ae38c3ab70aa3a7b173cd0c81c820378a Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-16HONEYCOMB-21 Common parents for minimal distributionsMaros Marsalek4-0/+267
Change-Id: Iaa2e3f80289444d1a965eaaebfdb4a77d1bea301 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-07-14Add google's error prone static analysis to buildMaros Marsalek2-8/+44
Can be also integrated with IDEs: http://errorprone.info/docs/installation Change-Id: I5f695995078139a077bd9d62c68792207c904e11 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-07-13Introduce integration tests to HoneycombMaros Marsalek2-84/+0
+ Add writer infrastructure initial test Change-Id: I0c1017f55c9456f145943ca6db6221555b746c8f Signed-off-by: Maros Marsalek <mmarsale@cisco.com>