summaryrefslogtreecommitdiffstats
path: root/infra
AgeCommit message (Collapse)AuthorFilesLines
2016-12-13HONEYCOMB-151: Rpc supportv1.17.01-RC0Marek Gradzki21-5/+712
Change-Id: Iccffe5412b4bb06b606b66f7c0e7ebd601d5a7d1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-07Set honeycomb version to 17.01 to allign with vpp releaseMarek Gradzki20-38/+38
Change-Id: I47f37a60f276928672fc2bd53e948641d9278014 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-24HONEYCOMB-289 - Type-aware support for DumpCacheManagerJan Srnicek5-60/+130
Standard cache key factory made type-aware Added checking for type of returned data from cache Change-Id: Ie4d31a9d2b0d25c4b2f4ea66be98060f449007b6 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-24Fix leaf list modification detectionMaros Marsalek3-1/+58
Change-Id: Ib7bcde546faf8e9bf73d16adaf87c2f8c43ec4aa Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-11-23HONEYCOMB-170 Add more information to RevertFailedExMaros Marsalek9-91/+142
Change-Id: I6b24a1d061c94d57730b20cde4c5b3c39444b119 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-11-10Remove hc2vpp codebaseMaros Marsalek1-0/+173
Moved to a dedicated hc2vpp project in fd.io Change-Id: I03dc3b3029f21b127a00c69a86bcd8e467896241 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-11-08HONEYCOMB-270 Add isPresent() to Readers/CustomizersMaros Marsalek36-219/+272
So that they can influence whether empty data is to be considered as present + Move registries implementations from util to impl + Introduce DelegatingReader trait + Extend GenericReader where possible to reduce duplication Change-Id: I5a416acd0c4eab1fbc30fcbe585719991dbe9215 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-11-07HONEYCOMB-287 Infra micro-benchmarksMaros Marsalek11-0/+1010
Config (write) Operational (read) Add -Pbenchmark to maven execution to include benchmarks Change-Id: Ia4815ffc109e34629279b9418b962a9f91c38c30 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-11-07Make persistence optionalMaros Marsalek3-2/+30
Change-Id: I9db2d9705abeb27be0fb0c71229386b1943dcaf9 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-11-03Properly close open files(persistence)Maros Marsalek1-4/+4
Change-Id: I0b6a01c7360e056059b0c8ed1821a0fdddc59308 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-11-03HONEYCOMB-259 - CacheKeyFactoryJan Srnicek4-8/+323
Provides logic for creating scoped keys Change-Id: I126bcb9255b4f8a3f2585f50e6e718948581e7f0 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-01HONEYCOMB-272: bump mockito version to 2.2.9Marek Gradzki5-15/+33
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-28Fix relative parent for test-apiMaros Marsalek1-0/+1
Change-Id: Iee03b1506302dd5a9a4d16e0c85d695fcccf7d03 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-28HONEYCOMB-274 Fix checkstyle license checksMaros Marsalek7-41/+91
Change-Id: I9a7783bf072b2e2396f0fa1a784bcb57adb689b4 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-28Honeycomb-73 Extensible initializers remove leftoversMaros Marsalek4-329/+0
Change-Id: Id610346e39585867290170bf09528ecf6e032ee4 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-28Honeycomb-73 Extensible initializers frameworkMaros Marsalek33-77/+806
Change-Id: Ib23453d4040d59a512686315995a5cf9e532cefc Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-26Enable createParents for RealtimeMappingContextMaros Marsalek2-4/+4
Change-Id: I2f5747a2348728b88f9ff9d5c3f0f39a98dbefdf Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-26Remove gzip filter from Restconfs web.xmlMaros Marsalek1-15/+0
Change-Id: I720a27965b3b95122f31316ae6d4d4dfa9874041 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-26HONEYCOMB-266 - Test data injection with @InjectTestDataJan Srnicek23-1/+1069
Field/Method param injection of data from json files that are bindable/parsable by provided yang schema Change-Id: I726ef5d92e85d93d1e48175287b6192538965dd5 Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-10-24HONEYCOMB-255 - Cutting identifiers to prevent failing of revertsJan Srnicek9-38/+158
Mapping allready processes changes for reverting by InstanceIdentifier instead of using KeyedInstanceIdentifier(to prevent failing to identify handleable nodes) Modified logging to prevent double/triple logging of detailed cause of failed bulk update Reusing WriteContext for revert(removed try with resource to prevent closing of write context before revert) Change-Id: Ie939ebe443629f9cdad5b5b449aa8c5dac40ea67 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-20HONEYCOMB-261 Make ModificationDiff schema awareMaros Marsalek9-112/+252
to check presence statement on containers for starters + update all checks in ModificationDiff to be performed on schema instead of data Change-Id: I6ec1a0f9e1ca821ef9f6835072d075dd0994bdb6 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-20HONEYCOMB-261 Dont return empty containers from readMaros Marsalek1-1/+4
Change-Id: I0b17b958f55a5bf83e2644dc9843fe5e631baa55 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-17HONEYCOMB-225 Bump ODL to BoronMaros Marsalek5-16/+34
Change-Id: I45e30b4815737dd4bafe39d839d90c9799ad3cb7 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-17HONEYCOMB-157 Extract groovy scripts from pomsMaros Marsalek1-3/+2
And put all of them into a dedicated module Change-Id: Id04c66806a89af68d821a43ef92f0a59220e04e9 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-14HONEYCOMB-229 Introduce NAT to HCMaros Marsalek4-6/+66
Reflects SNAT from VPP: - 1:1 Static IPv4 mapping - interface in/out NAT feature management Bonus: - Support presence containers in infra Change-Id: Ieb38526f83edbae5e605d5c7e39bb22bbafc50e5 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-13HONEYCOMB-207 : Configurable modules list for distributionsJan Srnicek8-26/+357
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-10-13HONEYCOMB-168 Replace deprecated GZip filter with handlerMaros Marsalek6-29/+21
Change-Id: Idb82d23d3e79289f356a875c3729c80bb53f2567 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-06HONEYCOMB-236 - Unified read/write exceptionsJan Srnicek5-105/+18
Change-Id: Idde761d0c0c2c4d96555ef94dbdaa87fad889493 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-28HONEYCOMB-210 - DumpEmptyCheck removedJan Srnicek6-129/+12
Change-Id: I95ea94c3a1a581753f7eb667af7aacde832c21fd Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-28HONEYCOMB-209 Move Reconciliation document from wiki to adocMaros Marsalek1-2/+83
https://wiki.fd.io/view/Honeycomb/Persistence Change-Id: If8be6c6a2466a1d6d2a95bbf1ea36883956a6dd7 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-26HONEYCOMB-209 Configure maven siteMaros Marsalek33-34/+72
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 Srnicek10-9/+10
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-20/+13
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-19Fix project names to match artifactIdMarek Gradzki2-2/+2
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-16HONEYCOMB-194 Raise unit test coverage of transle-impl to 80%Maros Marsalek4-30/+281
Change-Id: I8d032e1a90004ee4bd6ebbae002a8e66a7e85919 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-16HONEYCOMB-194 Raise unit test coverage of cfg-init to 80%Maros Marsalek3-4/+273
Change-Id: Id90c291bb944387b1ffad15b40c08c32c518bb49 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-16HONEYCOMB-194 Raise unit test coverage of translation-util to 80%Maros Marsalek16-15/+1054
Change-Id: I6689f6d1f6a4a1376465783dad2650f5137142d2 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-14Dump cache management moved to translate-utilsJan Srnicek10-0/+425
Removed all references to vpp to be usable in any plugin Change-Id: Id63b06d643f4004e67b2502fc02e58cf3d238b3b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-13Bump ports for RESTCONF to avoid ODL conflictsMaros Marsalek1-2/+2
Change-Id: Ibd7df6a3c841d6330c18c9b0a29ac2d85200ac48 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-13HONEYCOMB-194 Raise test coverage for translate-api to 80%Maros Marsalek8-8/+356
Change-Id: I6f055ae926aaf876863adb7eddadde0abefdda91 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-08HONEYCOMB-197 Enable jacoco for minimal distributionsMaros Marsalek1-1/+1
Change-Id: I12bd942d21b8a3952546fdaccfb4ded997a98fc7 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-08HONEYCOMB-197 Minimal distribution positive testMaros Marsalek6-0/+356
Change-Id: I2191472f10b39a026ccde2494a7921655c57c314 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-08Dependency management for skinny-logbackMarek Gradzki1-5/+0
Change-Id: If12c6043175f43918f098f6102dd019715ed6104 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-07HONEYCOMB-194 Increase data-impl coverage to 87%Maros Marsalek7-49/+238
Change-Id: I1bd6d6ad2e8d35322346aa658e74413ce2d889f0 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-07Cleanup TODOs and FIXMEsMaros Marsalek53-387/+161
- 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-05Fix ReaderFactory: remove AutoClosable from listMarek Gradzki2-8/+4
of implemented interfaces. Reader factories do not need to be AutoClosable. Change-Id: I779e87eb0b03750e264df52e14eee58467ca799a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-05Fix Writer Factory: remove AutoClosable from listMarek Gradzki1-5/+1
of implemented interfaces. WriterFactories do not need to be AutoClosable. Change-Id: I1947489b7eac2ccf4c34b3212c93ed76922a595f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-02Fix restoration orderMaros Marsalek1-1/+1
Change-Id: If90a801d69954cbddb1907b32079a3cb928ff4ab Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-31Fixing sonar issues #1Maros Marsalek22-110/+131
Change-Id: I4c27d0ad2fd1655db2237ae914361f029093084c Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-31Bump version to 1.16.12-SNAPSHOTMaros Marsalek17-30/+30
Change-Id: I27b09dc1fdf7597c8b0751d8cbf950500e03fa23 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>