summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-12-14Add Logger for RpcRegistryImplstable/1710Marek Gradzki2-5/+9
Change-Id: I6ef0133f0128fbf5cfb9ed9f0e738af0bda3a852 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 30332456b6c581085bb17d619ebb74c36e01c357)
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> (cherry picked from commit d0af6a93dd0c02a84960a557a7cfcf98088aa5d2)
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-10-31Set honeycomb version to 1.17.10.1-SNAPSHOTMarek Gradzki65-125/+125
Change-Id: Iacb351f6bcce8275c7a49295663f8d361b33fc16 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-30Bump Honeycomb version to 1.17.10v1.17.10Marek Gradzki65-125/+125
Change-Id: I06ff08cc2f5054bed62b309e09fef00f88b13b94 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-301.17.10 release notes updateMarek Gradzki2-1/+5
Change-Id: I9999a4d928b3deba0eed1cd183157ed48583ac34 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-24HONEYCOMB-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> (cherry picked from commit 5503731d866d318e9d5a2183608092a9d332dfe6)
2017-10-19Set honeycomb version back to 1.17.10-SNAPSHOTMarek Gradzki65-125/+125
Change-Id: I4b8b855e8a028ec230a9bf4b23266e4f1a7a3ea0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-19Bump honeycomb version to 1.17.10-RC2v1.17.10-RC2Marek Gradzki65-125/+125
Change-Id: I12d4756d471231bcda5e7ebc0769d46fd6948db7 Signed-off-by: Marek Gradzki <mgradzki@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-03Set honeycomb version back to 1.17.10-SNAPSHOTMarek Gradzki65-125/+125
Change-Id: I6c65ee7b5e6aa77ab3093ab9ee87dcd7a86bdfe0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-03Bump honeycomb version to 1.17.10-RC1v1.17.10-RC1Marek Gradzki65-125/+125
Change-Id: I12d4756d474261bcda5e7ebc0769d46fd6948db7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-03Set stable/1710 as default branch for gitreviewMarek Gradzki1-0/+1
Change-Id: I1776412341ad59b1fe0d73dc9cf0759abeb88a77 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>
2017-08-23DumpCacheManager: make dumpParams optionalMarek Gradzki2-6/+21
Change-Id: I6ee37f9e39842468f746656dff53b98c2b3796ba Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-23Move StaticCacheKeyFactory to honeycomb projectMarek Gradzki1-0/+56
Change-Id: I566c8ce15ac1cbf932c900812c12bd9c56b223f7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-17Release notes cleanup after releasing Honeycomb 1.17.07Marek Gradzki1-3/+3
Change-Id: I6eadb8123e09642899663e4195be6aabbdfc3075 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-16HONEYCOMB-386 - Make update optionalJan Srnicek24-140/+384
If customizer does not support update directly, updates for its handled nodes are broken up to delete + create pairs. Change-Id: I2929109e8c9a1db0bef108367cf7d839135ce173 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-15Honeycomb docs updateJan Srnicek4-4/+9
Change-Id: I3f65dffad169634e5cf273d8568066b7f15bda37 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-14Shutdown closing of resourcesJan Srnicek5-34/+57
Change-Id: If57a5414153cb983138872c7a1ded7c7066b1b6d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-14HONEYCOMB-381 - Shutdown handlerJan Srnicek3-0/+111
Change-Id: I5cf4317e5838470d1e792090c67d97db76ed14f2 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-10HONEYCOMB-387: bind HoneycombNotification2Netconf as EagerSingletonMarek Gradzki1-1/+1
https://gerrit.fd.io/r/#/c/7411/10 moved HoneycombNotification2Netconf instance creation out of distribution's Main. HoneycombNotification2Netconf is not used in any provider, so needs to be initialized eagerly. Change-Id: I1a5cfe6eb83b75a0b175052a8bda32eb4619218e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-03HONEYCOMB-362: bump ODL dependencies to CarbonMarek Gradzki44-287/+455
Change-Id: I63fa239e34178ab03c4eecd421bf19d80303d30e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-28HONEYCOMB-357: plugin development tutorial updateMarek Gradzki1-33/+166
Distribution's modules configuration was moved to pom.xml Restconf port was updated. Section on netconf testing was added. Change-Id: I9a33dc4c95f59641a2c306b6048917681b815b06 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit b11d5244510815250ad686ae5b3cda202cb017be)
2017-07-28Move BGP examples to hc2vppMarek Gradzki1-283/+0
Change-Id: I3a77a35fb039acb1e0a138450883922e9a02683f Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 756ffae6576fe50c052950418627be4a1d21f996)
2017-07-17HONEYCOMB-369: configurable BGP peersMarek Gradzki18-256/+837
BGP peer configuration is no longer read from bgp-peer.json file. Netconf/Restconf is can be used instead. BGP peer configuration in HC follows openconfig-extensions model (as in ODL BGP): * http://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html#bgp-peering * http://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html#bgp-application-peer-and-programmable-rib Change-Id: I91aa6c4fc0923edbacf6cd10abd3957569a4f8c6 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit a3d562afdd96d4c37fe608af99f364e879ee92b6)
2017-07-17Make BGP protocol instance name configurableMarek Gradzki4-11/+16
Change-Id: I49a201b8e027d229a60bb76abe9b5688af7b7cdf Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-17HONEYCOMB-370: make bgp peers configuration optionalMarek Gradzki2-55/+6
Change-Id: I459425f4ee8f43d0bf196d2c762e741c58667907 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-14HONEYCOMB-360 - Netconf Northbound Intefaces provider separationJan Srnicek32-188/+359
- Netconf configuration included under netconf.json Change-Id: If2a51d689e9bfc950da73f15a438277839140f8a Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-07-14HONEYCOMB-360 - Restconf Northbound Intefaces provider separationJan Srnicek39-326/+593
- Restconf configuration included under restconf.json Change-Id: I45f503d3ef383bd6e3d356308d3212c7314b7a28 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-07-11Fix typo in infra/cfg-init/asciidoc/Readme.adoclijingjing1-1/+1
Change-Id: Ib6fb7cb8a4d98f123981b11f85bcdd0a7fb4d8ba Signed-off-by: lijingjing <li.jingjing3@zte.com.cn>
2017-07-10HONEYCOMB-373 - Remove local module mappingJan Srnicek1-46/+3
Change-Id: Ic3a8a843168baed85cc31e0a09f9aa21cf691d1a Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-07-06Update jira project version in relese notes for 1.17.10Marek Gradzki2-3/+3
Change-Id: I450a247382a5ee57d219332c24f1fe0e1cb7f8f1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>