summaryrefslogtreecommitdiffstats
path: root/infra/it
AgeCommit message (Collapse)AuthorFilesLines
2017-11-22Cleanup various Sonar waringsMarek Gradzki1-6/+4
Unused code, imports, etc. Change-Id: Icb19d6a877d5ddbfd85caa86c4e62880e4db3c44 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-03HONEYCOMB-359 - Wildcarded writersJan Srnicek1-3/+53
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-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-04HONEYCOMB-401 - Fix compilation issues for benchmarkJan Srnicek5-50/+58
Change-Id: I93df9e6b65273c82da308a194f4fe6488c6ce5e1 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-10-03Bump honeycomb version to 1.18.01-SNAPSHOTMarek Gradzki8-17/+17
Change-Id: I64bcd7e45da5d7431ba436ff6ad1ac62cd1d1051 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-02Use relative paths in IT test configMarek Gradzki1-1/+1
Change-Id: Ic19175c90fbd91ba81aaa812f735c03eb9c9a836 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-29Include IT coverage in JaCoCo and Sonar reportsMarek Gradzki1-0/+13
* 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-08-16HONEYCOMB-386 - Make update optionalJan Srnicek2-40/+40
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-03HONEYCOMB-362: bump ODL dependencies to CarbonMarek Gradzki1-3/+3
Change-Id: I63fa239e34178ab03c4eecd421bf19d80303d30e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-14HONEYCOMB-360 - Netconf Northbound Intefaces provider separationJan Srnicek1-15/+0
- 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 Srnicek9-53/+103
- Restconf configuration included under restconf.json Change-Id: I45f503d3ef383bd6e3d356308d3212c7314b7a28 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-07-03HONEYCOMB-360 - Separate ProviderTrait to dedicated projectJan Srnicek2-6/+4
This change is necessary to break dep cycle, that would by introduced by splitting netconf and data-core modules. Also allows to reduce use in hc2vpp(some project incude whole minimal-distribution-core just because of this one interface) Change-Id: I7744b4dc78f6d6797263b10bbc4ead545a2f6593 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-09Move Ids interface to test-modelMarek Gradzki4-18/+17
The interface is useful for testing infra with HC's test-model Change-Id: I6c1fd1888bccfd2ff461984bc0b4b7c42ce65347 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-09Move ordering logic out of AbstractSubtreeManagerRegistryBuilderBuilderMarek Gradzki4-25/+39
Introduces YangDAG that maintains topological order for yang schema nodes and can be used by other components to read additional graph edges, e.g. from file (HONEYCOMB-365). Change-Id: Ia3046d38ffb4ca222412309f6c4391afc9315bd2 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-19Remove unnecessary usages of Supplier interfaceMarek Gradzki2-3/+3
Change-Id: I6bc2f99806f81c206dcf31711a01fcebe809288a 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-03-31Fix memory-benchmark-api pom.xmlMarek Gradzki1-0/+1
Change-Id: I72f0e5339d9fc39a3ca76c67a20e8358ce7f700a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-07Use StreamWriterGenerator.create instead of deprecated constructorMarek Gradzki1-2/+2
Change-Id: Ief2224325fb7b9ec1dd3bbb21536f6306b68aa1a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-27HONEYCOMB-344 - structural reader for listJan Srnicek2-55/+22
Change-Id: Ia02ed73daaeea547d49c9ec2d4d7d10f4db85b5e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-10Fix support for nested augmentations when augmenting listsMarek Gradzki2-0/+78
Change-Id: I96e7db8f295c9c3d5b14395c7785574d12d76ea9 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-31HONEYCOMB-293 - Memory benchmarkingJan Srnicek27-2/+1441
Contains configuration for benchmarks: - Honeycomb on rest(just infra, no data) - Honeycomb with 1000 data nodes - Honeycomb with 10000 data nodes Each benchmark outputs two files: - out_path_name-HeapMemoryUsage.csv - out_path_name-NonHeapMemoryUsage.csv Both files are in format : committed,init,max,used 109576192,109051904,1525153792,12194752 Data sample sizes can be easily adjusted, just by changing start parameter -DsampleSize Change-Id: If6f9919307574237689326b4a38d410ec563200a Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-23HONEYCOMB-302: add support for nested augmentationsMarek Gradzki3-3/+349
Change-Id: I60f1b3f79ddb578d6fca157fe5736de40b30623e Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 78886acd688284585c2e219e18d7289f49cc8a45)
2017-01-04Bump Honeycomb version to 17.04Marek Gradzki4-9/+9
Change-Id: I99bc2593d50e59a6d4293e2d98ef3a9569a55008 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-19HONEYCOMB-288: JMH's CSV postprocessing to format accepted by Jenkin's plot ↵Marek Gradzki4-17/+181
plugin Generates 3 plots for write operations: - simple-container.csv, - list-in-container.csv, - complex-list-in-container.csv and one plot for read operations: operational-read.csv from benchmark.csv. Jenkins plot plugin uses only first record line from CSV file: https://github.com/jenkinsci/plot-plugin/blob/master/src/main/webapp/help-csv.html#L15 therefore each generated CSV contains two lines: header and single record. Change-Id: I489c3401673d72a4b3ea3ec00197366118d1ff5f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-07Set honeycomb version to 17.01 to allign with vpp releaseMarek Gradzki4-9/+9
Change-Id: I47f37a60f276928672fc2bd53e948641d9278014 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-08HONEYCOMB-270 Add isPresent() to Readers/CustomizersMaros Marsalek4-6/+19
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-10-20HONEYCOMB-261 Make ModificationDiff schema awareMaros Marsalek1-5/+5
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-09-26HONEYCOMB-209 Configure maven siteMaros Marsalek6-10/+29
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-1/+1
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 Marsalek1-0/+4
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 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-08Dependency management for skinny-logbackMarek Gradzki1-5/+0
Change-Id: If12c6043175f43918f098f6102dd019715ed6104 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-07Cleanup TODOs and FIXMEsMaros Marsalek4-6/+10
- 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-08-31Bump version to 1.16.12-SNAPSHOTMaros Marsalek3-5/+5
Change-Id: I27b09dc1fdf7597c8b0751d8cbf950500e03fa23 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-07-29HONEYCOMB-130: Rename infra packages(remove vpp/v3po)Maros Marsalek5-29/+30
Change-Id: Ic5b90e397e3743623d01b206bc60bc5c7df6b981 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-07-29HONEYCOMB-130: Separate v3po plugin from HC infraMaros Marsalek9-0/+1575
Creating folders: - common/ - infra/ - v3po/ - vpp-common/ Change-Id: I2c39e1b17e39e7c0f0628f44aa5fe08563fa06e4 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>