summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-01-09Set stable/1801 as default branch for gitreviewMarek Gradzki1-0/+1
Change-Id: I7c9b4ce0bf32b696b2f71c03f20a2a163f82ce68 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-08Use Comparator.comparingInt instead of lambdaMarek Gradzki1-11/+11
Change-Id: I42372554876c27e4c5d4f053f537d6d52ff449f8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-04Check for missing readers when building CompositeReaderRegistryJakub Morvay1-3/+9
Change-Id: Ic5e16e7a53836600236701caa51599bc0b957955 Signed-off-by: Jakub Morvay <jmorvay@frinx.io>
2017-12-20Improve read failed error messageMarek Gradzki1-1/+1
Change-Id: I5b74855284765b8281ec79122cad69d1a8f87856 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-12-14Add Logger for RpcRegistryImplMarek Gradzki2-5/+9
Change-Id: I6ef0133f0128fbf5cfb9ed9f0e738af0bda3a852 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-12-11Do not hardcode websocket parameters in RestconfConfigurationMarek Gradzki1-2/+2
Change-Id: I3891eae1aac45fcd6e8adf4384c48d657998ed27 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-12-05Allow table type registration for BGP extensionjan.srnicek1-2/+2
modules with different package name Change-Id: I0f6336052081fff923711e71cf85b748d8d4c730 Signed-off-by: jan.srnicek <jan.srnicek@pantheon.tech>
2017-12-04Fixed bug in ModificationDiffMartin Sunal1-1/+3
when leaf is modified in augmentation modification type is subtree-modified. Implementation expected only type write or delete. Change-Id: I3146b1a7322bd73d7972fecaceeafa654eeb84a4 Signed-off-by: Martin Sunal <msunal@frinx.io> Signed-off-by: Maros Marsalek <maros.mars@gmail.com>
2017-11-30HONEYCOMB-417: bump ODL dependencies to Nitrogen SR1Marek Gradzki7-10/+19
Change-Id: I6fe0d310a36dd8b0262c7db53f520616e65022e4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-27Fixating of asciidoc-scriptsjan.srnicek1-1/+1
Same situation as honeycomb-common-scripts, this allows using different versioning when using honeycomb artifacts Change-Id: If78a2d542e8611b44260671fc27be285eed55317 Signed-off-by: jan.srnicek <jan.srnicek@pantheon.tech>
2017-11-24Fix getRevertTransactionContext() closeMarek Gradzki1-8/+17
Also suppress Sonar warnings casused by SONARJAVA-1670. until SonarCube is upgraded (HONEYCOMB-419). Change-Id: Id5b775dfdd97180f6627192bd04aaac4f1e4e4c0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-23Set sonar-maven-plugin version to 3.3.0.603Marek Gradzki1-0/+11
If Maven encounters a plugin with no version declaration, it will use the LATEST version, which might not be compatible with Sonar server (fd.io uses 5.6 currently). Therefore it is recommended to lock down version of Sonar plugin: http://blog.sonatype.com/2008/04/maven-209-released/ The patch should fix honeycomb and hc2vpp merge job failures caused by using incompatible sonar-maven-plugin version. Change-Id: Ib95aa4a131e1b8b7d85a531bba8e5a9f7c95cf2d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-23Fix method/modifiers ordering to comply with JLSMarek Gradzki6-79/+79
Change-Id: I2b886a118ff5167df89a2922802b343ce5978c95 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-22Fix Sonar warnings in FlatWriterRegistryMarek Gradzki1-10/+3
Remove useless variables and simplify if conditions. Change-Id: I48a28334c47103057832f640c692c25625483bb6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-22Cleanup various Sonar waringsMarek Gradzki9-69/+10
Unused code, imports, etc. Change-Id: Icb19d6a877d5ddbfd85caa86c4e62880e4db3c44 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-22Make fields of UpdateFailedException transientMarek Gradzki1-2/+5
Exceptions are Serializable. Fields of Serializable class must be either Serializable or transient. But DataObjects are not serializable, and there is really no reason to serialize UpdateFailedException. This patch excludes fields of the UpdateFailedException from serialization process to fix Sonar warnings. Change-Id: I1eb9408289241bb4fe6f712ed9208f8460eef317 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-22Add missing @Override annotationsMarek Gradzki19-2/+36
Fix isses reported by Sonar thanks to IntelliJ's code inspection. Change-Id: Ief7b4307d4b90e107f010d7feaa307776afaf947 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-22Add serialVersionUID to UpdateFailedExceptionMarek Gradzki1-0/+1
Serializable classes should have serialVersionUID defined. Change-Id: I0ad79f6d82ed72bcea521c4cafc53219ff82a7fa Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-21Fixating version of common scriptsJan Srnicek1-1/+1
If something tries to use impl-parent, and its uses diferent versioning, project.version would be override in this case with that project version Change-Id: I5e2490a437712e36a11eb83550b2b05cd49477a3 Signed-off-by: Jan Srnicek <jan.srnicek@pantheon.tech>
2017-11-20Use InetAddresses.forString instead of InetAddress.getByNameMarek Gradzki4-25/+9
Unlike InetAddress.getByName(), Guava's InetAddresses.forString() never cause DNS services to be accessed. JDK equivalents whenever you are expecting to handle only IP address string literals, so there is no blocking DNS penalty for a malformed string. See: https://google.github.io/guava/releases/22.0/api/docs/com/google/common/net/InetAddresses.html#forString-java.lang.String- Change-Id: Id1fc5fa45465b0e0b3aea7d60b9fdb855240d902 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-10HONEYCOMB-385: bump ODL dependencies to NitrogenMarek Gradzki25-170/+151
* guava bumped to 22.0 (same as used by ODL) * use 4K RSA for SSH server (related to bouncy-castle bump in ODL) - based on https://git.opendaylight.org/gerrit/#/c/60138/2 - also fixes HC2VPP-207 * removed some yang models from netconf-whitelist.xml, that are no longer present in ODL dependencies, * increased timeouts in distro tests, because generating 4K RSA key my last longer (especially on slow jenkins nodes). * EmptyMountPointService exposed to enable reuse by notification and restconf providers Change-Id: I2ff32bd7f0298716210fcfee4918007a42fab171 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-07Make restconf depend on miminal-distribution-coreMarek Gradzki2-5/+6
Follows infra/notrthbound/netconf dependency direction. Change-Id: Ie29115e2b0b969d33270493c6d6cc4e9bda5e009 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-06HONEYCOMB-359 - Wildcarded writers for BGP extensionsJan Srnicek10-47/+189
Defines wildcarded writers for BGP extensions to be able to write theirs respective part of ApplicationRib Change-Id: I0057b59c5977d5f75e0bc3c0c8eae9b8cfdf0f85 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-11-03HONEYCOMB-359 - Wildcarded writersJan Srnicek16-120/+419
Adds option to specify subtree writer that can handle whole subtree of nodes without having whole subtree specified. Its checking if node is children at runtime, rather than having pre-computed tree Change-Id: Ic46f2bd6de84f0dd14865825399f5a90a1f80859 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-10-31Post 1.17.10 release notes cleanupMarek Gradzki1-5/+0
Change-Id: Ib5760d558c1622e3ece7eae569c742e6fda3b82b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-23HONEYCOMB-405 - Revert fix for indirect updatesJan Srnicek12-595/+950
If indirect update(delete+create) fails in a way, that delete passed, but update part failed, delete part must be reverted Moves reverter creation to MDTG and test cases related too it to ModifiableDataTreeDelegatorRevertTest Fixes tracking of allready processed changes by tracking them from perspective of processModifications() method Introduces UpdateFailedException as replacement for BulkUpdateException(now thrown also for single updates) Separates ReverterImpl from FlatWriterRegistry and ads unit tests Change-Id: If0066d0716d9476be89b1d99985b6745becac15e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-10-20Adjust benchmark paramsJan Srnicek2-26/+115
Increases number of iterations and reduces iteration time, to produce more representative results. Also describes what each annotation/parameter is used for Change-Id: I0d8b693620c01a617870cc1999bfefbd2e0377fd Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-10-18HONEYCOMB-390: bump ODL dependencies to Carbon SR2Marek Gradzki2-9/+9
Change-Id: Ic7a5a7d883e7c6691b4b5deeb0980a93aef42799 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-09HONEYCOMB-393 - Enable site plugin for yang-whitelist projectsJan Srnicek2-34/+14
Change-Id: I744ca366a81aecb5b79da7041e47db9c2363bd6e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-10-09HONEYCOMB-393 - Introduce asciidoc-scripts && scripts-parentJan Srnicek8-57/+151
Change-Id: I15032951c52d25a3805c0348c8f400a935174eef Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-10-09HONEYCOMB-363 - Bgp extension modulesJan Srnicek39-228/+1486
Provides maven modules per bgp extension. Defines common configuration that can be used to define new extensions(AbstractBgpExtensionModule). Change-Id: I1c8ff65b6f9aa5474026f4bdf42476bd0559208e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-10-04HONEYCOMB-401 - Fix compilation issues for benchmarkJan Srnicek8-73/+72
Change-Id: I93df9e6b65273c82da308a194f4fe6488c6ce5e1 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-10-03Update jira project version in relese notes for 1.18.01Marek Gradzki2-3/+3
Change-Id: Iad1bdd2ab775dff9b207e0777858815edec88be3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-03Bump honeycomb version to 1.18.01-SNAPSHOTMarek Gradzki65-125/+125
Change-Id: I64bcd7e45da5d7431ba436ff6ad1ac62cd1d1051 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-02Fix BGP RIB link-state configurationMarek Gradzki1-1/+8
Change-Id: I896f1aae3b71e21bd6127aedf22faef07a132daf Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-02Use relative paths in IT test configMarek Gradzki3-3/+3
Change-Id: Ic19175c90fbd91ba81aaa812f735c03eb9c9a836 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-29Include IT coverage in JaCoCo and Sonar reportsMarek Gradzki4-2/+57
* 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-13Make data stored in ModificationCache eligible for GC earlierMarek Gradzki1-2/+8
ModificationCache might store huge amount of data. After DOs are retreved from readers it is not used anymore. Change-Id: I66d57047212fed02321c416af3608c4998315ce7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-12HONEYCOMB-392 - Footprint measuring supportJan Srnicek14-1/+429
Change-Id: I079c8ceef84cda43159e1823fe42ad77cdc981e8 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-09-07Fix Sonar error-handling issuesMarek Gradzki4-9/+9
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 - Netconf whitelistJan Srnicek2-0/+135
Change-Id: I279f77fcada863c7ece2c2368fc4b5f957b45435 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-09-05HONEYCOMB-389 - Restconf whitelistJan Srnicek4-20/+89
Change-Id: I4c60d0ea569e85b23a9d0127ef496545fc475a61 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-09-05HONEYCOMB-389 - Static yang binding api and implJan Srnicek17-1/+631
Also provides ignore option for default module list generation Change-Id: I9e10215491c964e6e88f90d6a3ad4335c94ec7d2 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-09-05Make DataModification closeableMaros Marsalek3-5/+21
and close the modification from transactions. This enables cleanup of underlay resources per transaction. It is not needed when managing VPP, but might be useful for other use-cases where underlay transactions are involved. Change-Id: If14197052172be0158fd7efb5ee1794935d576bc Signed-off-by: Maros Marsalek <maros.mars@gmail.com>
2017-08-25HC2VPP-218 - Context initialization bindingJan Srnicek1-4/+1
Binds correct DOMDataBroker for context Change-Id: Id09e77d6223a9c322e98879ccb5824539b5d2ce6 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-24Do not fail if CloseableComponent's shutdown failsMarek Gradzki2-14/+88
Change-Id: I6875874f5b388a4d289c538f2d3dbfd4ff6feec3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>