summaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2017-10-03Bump honeycomb version to 1.18.01-SNAPSHOTMarek Gradzki11-21/+21
Change-Id: I64bcd7e45da5d7431ba436ff6ad1ac62cd1d1051 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-29Include IT coverage in JaCoCo and Sonar reportsMarek Gradzki1-2/+18
* introduces jacoco-it.exec which stores aggregated IT test execution data, * configures Sonar to use jacoco-it.exec to report IT coverage, * marks following modules as integration tests: - it-test - minimal-distribution-test - bgp-distribution-test Change-Id: I538c1febb6112a6abad29061f6b00259a0d79f9f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-29Clean JaCoCo and Sonar configurationMarek Gradzki1-11/+1
Remove unused and obsolete values from honeycomb-parent's pom. Change-Id: I520a1b69169db6778787bae9ac8d4092a9078e4f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-29Bump JaCoCo Maven Plugin to 0.7.9Marek Gradzki1-1/+1
Change-Id: I67019b56d98b5896f7a4eb02657bd39ca2e238e5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-14Young Generation sizing optimalizationJan Srnicek1-1/+1
Change-Id: I3fd503029f7734578142ae4606cfc8988204af2e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-09-07Fix Sonar error-handling issuesMarek Gradzki1-1/+1
Change-Id: Iae8a7d27ed4ba778abe5bdbb937f55fa4d7a6638 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-06Disable site for yang-whitelistMarek Gradzki2-0/+36
Should fix merge job issues introduced by HONEYCOMB-389 Change-Id: Ieb937267fdc05492c0f58761cb36b3f45749d042 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-05HONEYCOMB-389 - Restconf whitelistJan Srnicek2-20/+43
Change-Id: I4c60d0ea569e85b23a9d0127ef496545fc475a61 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-09-05HONEYCOMB-389 - Static yang binding api and implJan Srnicek16-1/+629
Also provides ignore option for default module list generation Change-Id: I9e10215491c964e6e88f90d6a3ad4335c94ec7d2 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-03HONEYCOMB-362: bump ODL dependencies to CarbonMarek Gradzki3-11/+23
Change-Id: I63fa239e34178ab03c4eecd421bf19d80303d30e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-14HONEYCOMB-360 - Restconf Northbound Intefaces provider separationJan Srnicek1-7/+0
- Restconf configuration included under restconf.json Change-Id: I45f503d3ef383bd6e3d356308d3212c7314b7a28 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-07-10HONEYCOMB-373 - Remove local module mappingJan Srnicek1-46/+3
Change-Id: Ic3a8a843168baed85cc31e0a09f9aa21cf691d1a Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
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>