odlparent.git
6 years agoBump gson from 2.8.2 to 2.8.5 96/72296/3
dependabot[bot] [Fri, 25 May 2018 04:24:33 +0000 (04:24 +0000)]
Bump gson from 2.8.2 to 2.8.5

Bumps [gson](https://github.com/google/gson) from 2.8.2 to 2.8.5.
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.2...gson-parent-2.8.5)

Change-Id: Ia5205c86a58a2fbd08d2bb5f82abe6f07532fa5e
Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoBump org.eclipse.xtend.lib from 2.13.0 to 2.14.0 66/72266/3
dependabot[bot] [Fri, 25 May 2018 04:26:27 +0000 (04:26 +0000)]
Bump org.eclipse.xtend.lib from 2.13.0 to 2.14.0

Bumps [org.eclipse.xtend.lib](https://github.com/eclipse/xtext-lib) from 2.13.0 to 2.14.0.
- [Release notes](https://github.com/eclipse/xtext-lib/releases)
- [Commits](https://github.com/eclipse/xtext-lib/compare/v2.13.0...v2.14.0)

Change-Id: I90e0b093121f192d39758c40406d4d921ad91463
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoBump spotbugs from 3.1.2 to 3.1.3 93/72293/3
dependabot[bot] [Fri, 25 May 2018 04:24:07 +0000 (04:24 +0000)]
Bump spotbugs from 3.1.2 to 3.1.3

Bumps [spotbugs](https://github.com/spotbugs/spotbugs) from 3.1.2 to 3.1.3.
- [Changelog](https://github.com/spotbugs/spotbugs/blob/3.1.3/CHANGELOG.md)
- [Commits](https://github.com/spotbugs/spotbugs/compare/3.1.2...3.1.3)

Change-Id: Idbb5c94c535a91b9c367559e7d412b4b85466a59
Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBump truth from 0.36 to 0.40 62/72262/3
dependabot[bot] [Fri, 25 May 2018 04:27:01 +0000 (04:27 +0000)]
Bump truth from 0.36 to 0.40

Bumps [truth](https://github.com/google/truth) from 0.36 to 0.40.
- [Release notes](https://github.com/google/truth/releases)
- [Commits](https://github.com/google/truth/commits)

Change-Id: I46b8efd37c9503ebf1f5d49019bec873f91cba3b
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoBump spotbugs-maven-plugin from 3.1.3 to 3.1.3.1 92/72292/3
dependabot[bot] [Fri, 25 May 2018 04:25:04 +0000 (04:25 +0000)]
Bump spotbugs-maven-plugin from 3.1.3 to 3.1.3.1

Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 3.1.3 to 3.1.3.1.
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-3.1.3...e974b5a56a10b110f77bbefbf427a10f5c58a83c)

Change-Id: I0ae8347f7bb04f55be77bef18590e52c597321d6
Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoBump Immutables.org from 2.5.6 to 2.6.0 83/72183/2
dependabot[bot] [Tue, 22 May 2018 04:22:14 +0000 (04:22 +0000)]
Bump Immutables.org from 2.5.6 to 2.6.0

https://github.com/immutables/immutables#260-2018-05-19

https://github.com/immutables/immutables/milestone/68?closed=1

Thanks to https://dependabot.com for notifying me about this.

Change-Id: I2a01d7a0c11834b747a5a77d23df9d95b7477b9c
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoBump checkstyle from 8.7 to 8.10 85/72185/1
dependabot[bot] [Mon, 21 May 2018 12:20:33 +0000 (12:20 +0000)]
Bump checkstyle from 8.7 to 8.10

Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.7 to 8.10.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.7...checkstyle-8.10)

Thanks to https://dependabot.com for notifying me about this.

Change-Id: Ief8880af475832f79e3711f1616e1bc6c98e8a8d
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoremove redundancy in SingleFeatureTest 57/70857/2
Michael Vorburger [Thu, 12 Apr 2018 15:08:14 +0000 (17:08 +0200)]
remove redundancy in SingleFeatureTest

The aries.quiesce, aries.blueprint, equinox customizations
are already part of OpenDaylight's base Karaf customization.

see https://lists.opendaylight.org/pipermail/odlparent-dev/2018-April/001830.html

Change-Id: I4c89cddf07b5e144e9dc3cd21e4a7275f42815f8
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoProvide better traces with invalid URLs 92/71392/2
Stephen Kitt [Thu, 26 Apr 2018 09:44:14 +0000 (11:44 +0200)]
Provide better traces with invalid URLs

When a feature or bundle contains an invalid URL (or missing URL), the
resulting plugin error is rather inscrutable. This attempts to improve
the situation by indicating which feature is at fault.

Change-Id: If235349f5dcc6a73e5f77a97123feae43bc2eef2
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBump netty to 4.1.24 92/71292/1
Robert Varga [Wed, 25 Apr 2018 08:40:01 +0000 (10:40 +0200)]
Bump netty to 4.1.24

http://netty.io/news/2018/04/04/4-1-23-Final.html
http://netty.io/news/2018/04/19/4-1-24-Final.html

Change-Id: I6eb7d1362e7574c12239faa63d31d53a37391c6c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoUpgr. maven-site-plugin → 3.7, asciidoctor → 1.5.6 55/67555/7
Robert Varga [Wed, 24 Jan 2018 20:03:55 +0000 (21:03 +0100)]
Upgr. maven-site-plugin → 3.7, asciidoctor → 1.5.6

maven-site-plugin:
https://mail-archives.apache.org/mod_mbox/maven-announce/201712.mbox/%3C1970630.7WseVgZzlZ%40giga%3E

Notable fix here is java9 compatibility, allowing us to remove
a dependency override.

asciidoctor-maven-plugin:
https://github.com/asciidoctor/asciidoctor-maven-plugin/releases/tag/asciidoctor-maven-plugin-1.5.4
https://github.com/asciidoctor/asciidoctor-maven-plugin/releases/tag/asciidoctor-maven-plugin-1.5.5
https://github.com/asciidoctor/asciidoctor-maven-plugin/releases/tag/asciidoctor-maven-plugin-1.5.6

Notable fix is alignment with doxia, allowing us to get to a sane
configuration again.

Change-Id: I0b26797128b19ac4cb2a93ebc3d6588e61104e0a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoDisable more null-related FindBugs checks 27/71027/1
Stephen Kitt [Tue, 17 Apr 2018 10:59:03 +0000 (12:59 +0200)]
Disable more null-related FindBugs checks

These produce false-positives with Guava 23.6+. This effectively
neuters null-pointer analysis using FindBugs unfortunately (but is
necessary to avoid having lots of irrelevant @SuppressFBWarnings
statements throughout the project).

Change-Id: I10445789b1266b8636fae1ae1130d7e64e0f67b3
JIRA: ODLPARENT-146
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoAdd jersey-client to odl-jersey-1 72/70972/2
Stephen Kitt [Mon, 16 Apr 2018 09:34:58 +0000 (11:34 +0200)]
Add jersey-client to odl-jersey-1

The Jersey feature needs to include the client.

Change-Id: Ifa9d3d5a7b6ffe46bb4c20c68740178b85cbecbc
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoSingleFeatureTest preserves target/SFT/karaf.log 00/70900/1
Michael Vorburger [Thu, 12 Apr 2018 13:56:33 +0000 (15:56 +0200)]
SingleFeatureTest preserves target/SFT/karaf.log

see issue for background; reason why, and impact

Issue: ODLPARENT-148
Change-Id: I15eeac652057fabb0dbc161e554dbe81164ebe0a
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
(cherry picked from commit 4e5972854acffbe2faca51d8884f97475a433d3c)

6 years agoRemove ancient thirdparty jersey 1.17 packaging 73/70873/1
Ryan Goulding [Thu, 12 Apr 2018 19:04:31 +0000 (15:04 -0400)]
Remove ancient thirdparty jersey 1.17 packaging

We apparently used to ship an inlined version of jersey.  This is
no longer needed, and is removed here.

Change-Id: Id926a4d84140d8084e73f5228b47c38e428aec81
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
6 years agoBump EclipseLink Moxy JAXB impl 2.6.2 → 2.7.1 16/70716/3
Michael Vorburger [Tue, 10 Apr 2018 14:10:40 +0000 (16:10 +0200)]
Bump EclipseLink Moxy JAXB impl 2.6.2 → 2.7.1

see https://www.eclipse.org/eclipselink/releases/2.7.php

Issue: NEUTRON-160
Change-Id: I38f0285643ca0a1aea99a5e7f9e2b158bb86168c
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoSwitch to Karaf 4.2 34/70334/5
Stephen Kitt [Wed, 4 Apr 2018 10:01:57 +0000 (12:01 +0200)]
Switch to Karaf 4.2

This upgrades a number of related dependencies in the process.

Change-Id: I1aadc6f4a0ca95fd1bec256a2272ccc4e9ca6860
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoClean up Apache Commons features 33/70333/3
Stephen Kitt [Wed, 4 Apr 2018 12:09:40 +0000 (14:09 +0200)]
Clean up Apache Commons features

We were missing the dependency-tracking files, and commons-text
depends on commons-lang3 which we need to represent in the feature.

Change-Id: I0ef952688f9589f2385ef919bed2e3d1410d831d
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoUpdate dependency-check 28/67728/7
Stephen Kitt [Tue, 30 Jan 2018 15:43:23 +0000 (16:43 +0100)]
Update dependency-check

The jackson dependencies have been replaced by jackson-bom.

Change-Id: I1064e546c76acb357d3734c81c0a27b6312fe66a
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoremove ovsdb config from custom.properties 83/70383/1
Sam Hague [Thu, 5 Apr 2018 20:22:35 +0000 (13:22 -0700)]
remove ovsdb config from custom.properties

Change-Id: Ic3f4762c8f92ebcc958a80cec01fbda5749544af
Issue-ID: NETVIRT-434
Issue-ID: ODLPARENT-34
Signed-off-by: Sam Hague <shague@redhat.com>
6 years agoODLPARENT-137: restore the opendaylight prompt 89/70289/2
Stephen Kitt [Tue, 3 Apr 2018 12:33:27 +0000 (14:33 +0200)]
ODLPARENT-137: restore the opendaylight prompt

In Karaf 4.1 and later, it turns out that the prompt defined in the
branding is overridden by the shell initialisation script,
etc/shell.init.script, which defines its own prompt. This patch adds
our own version of that script which disables the override.

Thanks to Guillaume Nodet for figuring out where the override was
coming from, and to Michael Vorburger for the initial investigation!
See https://issues.apache.org/jira/browse/KARAF-5570 for details.

Change-Id: I22410cb0425ab5b8a3f6e7c410fbb76587f9f973
Signed-off-by: Stephen Kitt <skitt@redhat.com>
(cherry picked from commit 732b0dc09d15b3b001fa636783dc4cdafc224b40)

6 years agoODLPARENT-146: disable NP_NONNULL_PARAM_VIOLATION 88/70288/2
Stephen Kitt [Thu, 29 Mar 2018 00:30:57 +0000 (17:30 -0700)]
ODLPARENT-146: disable NP_NONNULL_PARAM_VIOLATION

Guava 23.6 switched from @Nullable to @NullableDecl, which causes
false positives in FindBugs’ ``NP_NONNULL_PARAM_VIOLATION`` rule;
we’re disabling the rule for now.

Change-Id: I135c90930ff7e8a2203da46e3106ed69c570f1c1
Signed-off-by: Stephen Kitt <skitt@redhat.com>
(cherry picked from commit 82eee8769f07ec730cfbfa45dfa1ab5652bb8f07)

6 years agoAdd 3.1.0 release notes 87/70287/2
Stephen Kitt [Thu, 22 Mar 2018 17:09:43 +0000 (18:09 +0100)]
Add 3.1.0 release notes

Change-Id: Ia77f26ac993219bcf7b90dfbad6cd254ea07d89d
Signed-off-by: Stephen Kitt <skitt@redhat.com>
(cherry picked from commit 34b60e9b2bb82afd7c11e0609c85f61f562d11c5)

6 years agoAdd 3.0.3 release notes 86/70286/2
Stephen Kitt [Mon, 19 Mar 2018 10:11:17 +0000 (11:11 +0100)]
Add 3.0.3 release notes

Change-Id: Ia19badf04234d5a03ef2e7d18ffe4db835b7a0be
Signed-off-by: Stephen Kitt <skitt@redhat.com>
(cherry picked from commit 07de5fbcfc958ca416c1f2317ac4ed58050f6a94)

6 years agoUse SpotBugs 3.1.2, and NP_NONNULL_PARAM_VIOLATION 08/70208/2
Stephen Kitt [Thu, 29 Mar 2018 14:48:03 +0000 (07:48 -0700)]
Use SpotBugs 3.1.2, and NP_NONNULL_PARAM_VIOLATION

This patch upgrades the SpotBugs plugin to 3.1.3 and the engine to
3.1.2. The changelog is
https://github.com/spotbugs/spotbugs/blob/3.1.2/CHANGELOG.md

SpotBugs 3.1.2 supports the nullable annotations in Checker Framework
(see
https://github.com/spotbugs/spotbugs/commit/dd436ff56abf0273a080ad228fcf5abd8ee3a097
for the patch), so we can re-enable NP_NONNULL_PARAM_VIOLATION when
using SpotBugs. This involves using a separate configuration, so this
patch splits everything out, including the report directory for
projects which run both FindBugs and SpotBugs.

Change-Id: I8cb110f12d79414d476b7a6c525412f3b7e2c188
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoAdd features for Apache Commons 14/70114/1
Stephen Kitt [Mon, 26 Mar 2018 18:41:38 +0000 (11:41 -0700)]
Add features for Apache Commons

This adds features for the four Apache Commons libraries we declare in
dependency management: Codec, Lang 3, Net and Text.

Change-Id: I6df54e97e44b14ce79c2ab7d5acd6b792ce59d9b
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoSwitch <issueManagement> from Bugzilla to JIRA 88/70088/1
Lorand Jakab [Mon, 26 Mar 2018 08:15:55 +0000 (11:15 +0300)]
Switch <issueManagement> from Bugzilla to JIRA

Change-Id: I432548aa2a3c7a3c3850a6a419abb24751d1ebef
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
6 years agoBump lmax disruptor to 3.4.1 49/69749/1
Robert Varga [Wed, 21 Mar 2018 11:22:10 +0000 (12:22 +0100)]
Bump lmax disruptor to 3.4.1

https://github.com/LMAX-Exchange/disruptor/releases/tag/3.4.0
https://github.com/LMAX-Exchange/disruptor/releases/tag/3.4.1

Change-Id: Ie702b3b97d2dc099b8402283b69eb18e114136ef
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump javassist to 3.22.0 28/69728/2
Robert Varga [Wed, 21 Mar 2018 02:46:36 +0000 (03:46 +0100)]
Bump javassist to 3.22.0

https://github.com/jboss-javassist/javassist/compare/rel_3_21_0_ga...rel_3_22_0_ga

Change-Id: Iae54ca698e04a55bfdfbcc6fd24ed46e9af1b647
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 47fe27592502cbd042c269bf21e8e03ed5df4ac2)

6 years agoBump netty to 4.1.22 26/69726/3
Robert Varga [Wed, 21 Mar 2018 02:39:58 +0000 (03:39 +0100)]
Bump netty to 4.1.22

http://netty.io/news/2018/02/05/4-0-56-Final-4-1-21-Final.html
http://netty.io/news/2018/02/21/4-1-22-Final.html

Change-Id: If7688af77baf5d9e1a3289d1cf5f42b0abf6f34e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit aae07f7a0cad6f94e4f511bcc3f466e14f93f235)

6 years agoBump scala to 2.12.5 25/69725/3
Robert Varga [Wed, 21 Mar 2018 02:38:16 +0000 (03:38 +0100)]
Bump scala to 2.12.5

http://www.scala-lang.org/news/2.12.5

Change-Id: I6a9fddc5ca58822367c146ec2d2cc547e61d7e7b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit e44d7d01ea051fb3dd51bdccf783c0f3e32ea963)

6 years agoBump akka to 2.5.11 24/69724/3
Robert Varga [Wed, 21 Mar 2018 01:56:47 +0000 (02:56 +0100)]
Bump akka to 2.5.11

https://akka.io/blog/news/2018/02/28/akka-2.5.11-released

Change-Id: Ida5ba9a519ec7336f32521e259d587b8cca3e57d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 9e31a398d1c8a8b3d76bc5596e2599d8ed6bd0eb)

6 years agoadd org.apache.karaf.scr.management to whitelist 25/69525/1
Michael Vorburger [Thu, 15 Mar 2018 11:09:32 +0000 (12:09 +0100)]
add org.apache.karaf.scr.management to whitelist

to fix spurious SingleFeatureTest (SFT) failures

see ODLPARENT-144; although unclear why this suddenly fails now

Change-Id: Ife9bdf0d94b028048cd6321e8fbdc5ec554a8bdb
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoUpdate usage information for odlparent properties 49/69449/2
Stephen Kitt [Tue, 13 Mar 2018 16:46:46 +0000 (17:46 +0100)]
Update usage information for odlparent properties

This patch updates the usage information for all active projects in
ODL, and removes some unused properties:
* maven.clean.plugin.version
* compiler.version
* releaseplugin.version
* akka.version
* leveldb.version

This is technically a breaking change, so this is 4.0 material only.

Change-Id: Ia68136adef7c6ab3c40544546908653e81d8ba11
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBump jacoco to 0.8.0 02/67902/2
Robert Varga [Sun, 4 Feb 2018 19:24:23 +0000 (20:24 +0100)]
Bump jacoco to 0.8.0

https://github.com/jacoco/jacoco/releases/tag/v0.8.0

Change-Id: Ibca747463e8c568bdc48147999f3d6f232ff6599
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoAdd odl-jackson-2.8 80/67280/17
Robert Varga [Thu, 18 Jan 2018 00:21:17 +0000 (01:21 +0100)]
Add odl-jackson-2.8

This a package containing a pre-configured jackson software package.

Change-Id: I459cfda5fb147b21a1e5339360fac06522307fbc
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump akka to 2.5.10 68/68868/2
Robert Varga [Wed, 28 Feb 2018 10:38:26 +0000 (11:38 +0100)]
Bump akka to 2.5.10

https://akka.io/blog/news/2018/02/23/akka-2.5.10-released

Change-Id: I10d598a96e4a08078e10551517cee7f3882fc49d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agosuppress CRLF_INJECTION_LOGS in TestBundleDiag 15/69315/1
Michael Vorburger [Fri, 9 Mar 2018 15:59:38 +0000 (16:59 +0100)]
suppress CRLF_INJECTION_LOGS in TestBundleDiag

https://find-sec-bugs.github.io/bugs.htm#CRLF_INJECTION_LOGS

Change-Id: I1969245de6d4e95e44787311fb61c0cc3adc7a15
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoadd modernizer.skip to -Pq 53/69153/1
Michael Vorburger [Tue, 6 Mar 2018 18:09:14 +0000 (19:09 +0100)]
add modernizer.skip to -Pq

I'm adding https://github.com/gaul/modernizer-maven-plugin/
to infrautils in Id85737d789efb7ee07c8c7a34bdac39d8a96e076,
and cannot figure out how to get Maven to merge an additional
property in a profile, so why don't we just have this in
odlparent already?  Some day modernizer-maven-plugin could
be in odlparent.

Change-Id: Id270c4a7f363eb4a0557810526e17043cac326e8
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoBump sevntu-checkstyle to 1.27 58/67558/3
Robert Varga [Wed, 24 Jan 2018 20:26:28 +0000 (21:26 +0100)]
Bump sevntu-checkstyle to 1.27

https://sevntu-checkstyle.github.io/sevntu.checkstyle/#1.25.0
https://sevntu-checkstyle.github.io/sevntu.checkstyle/#1.26.0
https://sevntu-checkstyle.github.io/sevntu.checkstyle/#1.27.0

Change-Id: Ifdc5c6c3d8f499893997af2258dbf0672a42b2b5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump checkstyle dependency to 8.7 57/67557/3
Robert Varga [Wed, 24 Jan 2018 20:23:12 +0000 (21:23 +0100)]
Bump checkstyle dependency to 8.7

http://checkstyle.sourceforge.net/releasenotes.html#Release_8.5
http://checkstyle.sourceforge.net/releasenotes.html#Release_8.6
http://checkstyle.sourceforge.net/releasenotes.html#Release_8.7

Change-Id: I0008e14482d07309a6c9e41cb9456e0004cfc8c2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump maven-checkstyle-plugin to 3.0.0 56/67556/4
Robert Varga [Wed, 24 Jan 2018 20:20:09 +0000 (21:20 +0100)]
Bump maven-checkstyle-plugin to 3.0.0

https://mail-archives.apache.org/mod_mbox/maven-announce/201801.mbox/%3Cop.zchs68akkdkhrr%40desktop-2khsk44.mshome.net%3E

Also removes checkstyle.version property, as noted in its TODO, and
switches from <sourceDirectory/> to <sourceDirectories/>, as
documented on the plugin site on
https://maven.apache.org/plugins/maven-checkstyle-plugin/

Change-Id: I3bffa47a300f314aaefe5181ca92fd0a6c925755
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBump BouncyCastle to 1.59 64/68864/2
Robert Varga [Wed, 28 Feb 2018 09:38:15 +0000 (10:38 +0100)]
Bump BouncyCastle to 1.59

https://www.bouncycastle.org/releasenotes.html, most notably fixes
CVE-2017-13098.

Change-Id: Ifb3c972f5c41722850249168d36b6ab669c7e4d0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump git-commit-id-plugin from 2.2.2 to 2.2.4 46/68546/2
Robert Varga [Fri, 23 Feb 2018 13:57:36 +0000 (14:57 +0100)]
Bump git-commit-id-plugin from 2.2.2 to 2.2.4

https://github.com/ktoso/maven-git-commit-id-plugin/releases/tag/v2.2.3
https://github.com/ktoso/maven-git-commit-id-plugin/releases/tag/v2.2.4

Change-Id: I3890a63b83434751e39f1a3bccd9c0727c317715
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump Karaf 4.1.4 → 4.1.5 65/68465/2
Stephen Kitt [Wed, 21 Feb 2018 14:06:22 +0000 (15:06 +0100)]
Bump Karaf 4.1.4 → 4.1.5

Release notes: http://karaf.apache.org/download.html#container-415

Change-Id: I4af39685f9f5c69a0f5fa5b22f1035dcef0936ba
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoExclude jsr250-api from enunciate-core-annotations 84/67184/2
Michael Vorburger [Tue, 16 Jan 2018 01:15:38 +0000 (02:15 +0100)]
Exclude jsr250-api from enunciate-core-annotations

to fix this (correct) complaint from ClasspathHellDuplicatesCheckRule:

file:/.../javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
overlaps with
file:/.../jre/lib/rt.jar
- total overlapping classes: 6 - different classloaders.

Change-Id: I6306d604d6b105f064e0e8f7f765a9af1ca7c11c
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agobundle-test-lib should be a bundle 82/68182/1
Robert Varga [Tue, 13 Feb 2018 12:26:42 +0000 (13:26 +0100)]
bundle-test-lib should be a bundle

This prevents the jar from being wrapped by users.

Change-Id: Ib2c2198dc2acca072f5c1dede8a85ca4d1b15963
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit afc1ccc1bc2e840855d1478c8e51299d72631e72)

6 years agoignore web.xml and BP *.xml in duplicate-finder 79/67179/4
Michael Vorburger [Mon, 15 Jan 2018 23:37:49 +0000 (00:37 +0100)]
ignore web.xml and BP *.xml in duplicate-finder

This avoids duplicate classpath errors when running the
duplicate-finder-maven-plugin on projects depending on ODL Karaf feature
artifacts (such as odl-netvirt-openstack), which will typically have
dependencies on several web related OSGi bundles that include
WEB-INF/web.xml, and allow any org/opendaylight/blueprint/*.xml,
not just autowire.xml.

Change-Id: Iacfb820d44febdcf20eafd99cf549e023ff47df9
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoRemove <scope>test from mycila 63/67763/3
Michael Vorburger [Wed, 31 Jan 2018 00:58:27 +0000 (01:58 +0100)]
Remove <scope>test from mycila

This allows odlparent-based projects to use Guice with Mycila more
easily in non-test related Java environments, such as in a pure JSE
opendaylight.simple (POC).

As per the original commit message when Mycila was first added to
odlparent, there is still no intention of using it (or Guice) in our
standard deployment model of running ODL in OSGi.  Therefore, this
contribution does still not include an OSGi MANIFEST.MF for Mycila,
nor a Karaf wrap feature for it, as we still do not need that.

Change-Id: I1f5586bd1dcf8d12756e33f4b74c4326b924058d
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoAAA-147: Upgrade Jolokia to 1.5.0 72/68072/1
Ryan Goulding [Thu, 8 Feb 2018 21:25:13 +0000 (16:25 -0500)]
AAA-147: Upgrade Jolokia to 1.5.0

Upgrades Jolokia to 1.5.0.  This version provides the ability to
delegate authentication for Jolokia to AAA, centralizing control
of AAA mechanisms.

Change-Id: Ic545ca2ad966e4ecee030bcaa6cfd3163c6dd606
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
6 years agoDetect slf4j API misuse via FindBugs extension 49/66449/4
Michael Vorburger [Thu, 14 Dec 2017 00:40:00 +0000 (01:40 +0100)]
Detect slf4j API misuse via FindBugs extension

see http://kengotoda.github.io/findbugs-slf4j/

Change-Id: I60b127526ccc057d37ef900b7502f4ea84517d8a
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoAdd ThreeTen-Extra 27/67727/2
Stephen Kitt [Tue, 30 Jan 2018 15:17:04 +0000 (16:17 +0100)]
Add ThreeTen-Extra

This provides a number of useful date/time classes, on top of the new
features in Java 8. See http://www.threeten.org/threeten-extra/ for
details. (Inspired by I044c092a662f2b38ebc3f53a371c3c801ca0192c.)

Change-Id: Ib73744ec639d80e96b16f013ca8a75a99b1c2e3a
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoRemove aggregator-parent 88/59388/6
Stephen Kitt [Thu, 22 Jun 2017 10:07:01 +0000 (12:07 +0200)]
Remove aggregator-parent

Unfortunately aggregator-parent can’t install or deploy itself, which
means it’s unusable outside odlparent. To avoid creating false hopes,
this patch removes aggregator-parent and adds two properties to
odlparent-lite to make it simpler to disable the corresponding
plugins.

Change-Id: I48705f7de0d8126818a4f16379e7775136b6e76c
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoAdd an OWASP profile for vulnerability checking 09/65509/3
Stephen Kitt [Tue, 14 Nov 2017 17:04:53 +0000 (18:04 +0100)]
Add an OWASP profile for vulnerability checking

This builds on the full dependency-check project, adding a -Powasp
option which checks all our published third-party dependencies against
the NVD database. This currently doesn’t fail the build.

Change-Id: I204f2c427c545a636cf2310b5902c8a4e4bcf873
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBump findbugs-maven-plugin from 3.0.4 to 3.0.5 52/66452/2
Michael Vorburger [Thu, 14 Dec 2017 02:02:15 +0000 (03:02 +0100)]
Bump findbugs-maven-plugin from 3.0.4 to 3.0.5

even though we're aiming for SpotBugs, it doesn't hurt to do a minor
version bump on the findbugs-maven-plugin, as we'll have to maintain it
for a while anyway until everything is switched to SpotBugs and we can
remove it.

Change-Id: I23a3aa939a30084157de5defcb5b9f09e762dea1
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoBump commons-lang3 3.6 → 3.7 68/65368/4
Stephen Kitt [Thu, 9 Nov 2017 14:25:21 +0000 (15:25 +0100)]
Bump commons-lang3 3.6 → 3.7

Release notes:
http://www.apache.org/dist/commons/lang/RELEASE-NOTES.txt

Change-Id: Idcc2eccbc22420d578511f4017e2098ace9b9bd0
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBump antlr to 4.7.1 00/67600/2
Robert Varga [Thu, 25 Jan 2018 15:18:38 +0000 (16:18 +0100)]
Bump antlr to 4.7.1

https://github.com/antlr/antlr4/releases/tag/4.7.1

Change-Id: Ic6139e09043a70c22a72170d1ed4ddba3357ca25
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agometainf-services should be scope=provided 03/67603/2
Robert Varga [Thu, 25 Jan 2018 15:12:53 +0000 (16:12 +0100)]
metainf-services should be scope=provided

Feature generation picks up optional dependencies, leading to this
artifact being included in features, which is wrong, as it is
needed at build time only. Mark it at scope=provided to keep downstreams
from worrying about it.

Change-Id: I70fa32bf08a47c18efefa4d3a10e61558f8f62ac
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit cfd1cf6c23d21e27f95051dbf8b82c65342e1ea0)

6 years agoBug 7891: Place provided features to featuresBoot 50/56350/4
Vratko Polak [Fri, 28 Apr 2017 16:47:35 +0000 (18:47 +0200)]
Bug 7891: Place provided features to featuresBoot

Specifically, org.apache.sshd/sshd-core/0.14.0 is excluded,
thus "ssh" feature has to be always installed.

Without this, distribution4-check with odl-netconf-mdsal
in integration fails at installing boot features, because
org.opendaylight.netconf.netty-util depends on sshd-core bundle,
which is only activated by "ssh" feature
(as any ODL feature drops that dependency,
because of exclusions in feature parents).

Change-Id: Ic1d3b19981fccca9c320a5079aaf9e2eadf09397
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
(cherry picked from commit d7cd41b97dc9081f7375af08ef5da07542f9b5c1)

6 years agoExclude leveldb-api from odl-akka-leveldb-0.7 85/67185/3
Michael Vorburger [Tue, 16 Jan 2018 01:38:02 +0000 (02:38 +0100)]
Exclude leveldb-api from odl-akka-leveldb-0.7

to fix this (correct) complaint from ClasspathHellDuplicatesCheckRule:

file:/.../org/iq80/leveldb/leveldb-api/0.7/leveldb-api-0.7.jar overlaps
with
file:/.../leveldbjni/leveldbjni-all/1.8-odl/leveldbjni-all-1.8-odl.jar
- total overlapping classes: 13 - same classloader ! This is an ERROR!

Change-Id: I929fb28606a8f6456747229ac2ceee6a90a9f04e
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBump H2 database to 1.4.196 01/67101/7
Robert Varga [Fri, 12 Jan 2018 10:09:01 +0000 (11:09 +0100)]
Bump H2 database to 1.4.196

http://www.h2database.com/html/changelog.html

Change-Id: Ifb33c7d06c3ec27851276b1c42837c7285a97396
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump spotbugs-maven-plugin from 3.1.0-RC6 to 3.1.1 26/66626/8
Michael Vorburger [Tue, 19 Dec 2017 22:13:13 +0000 (23:13 +0100)]
Bump spotbugs-maven-plugin from 3.1.0-RC6 to 3.1.1

https://github.com/spotbugs/spotbugs/blob/3.1.1/CHANGELOG.md

This requires a Maven version 3.5.0+, at the very least in
order to be able to "mvn deploy" without hitting a weird internal
Maven error related to consistency of the resolver pipeline.

Change-Id: I1325e628ce62bd0f8d426d7cc61246003fc06aed
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoODLPARENT-138: Require maven-3.5.0 or later 54/67554/1
Robert Varga [Wed, 24 Jan 2018 19:52:38 +0000 (20:52 +0100)]
ODLPARENT-138: Require maven-3.5.0 or later

Update maven enforcer to ensure odlparent-4.0.0 users use maven
3.5.0 or later. This is needed for update of spotbugs at the very
least, but will also allow us to use 3.5.0 features.

Change-Id: I13eabefc4e4316b0be204a808c69f09be8e7d59d
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump akka to 2.5.9 and typesafe config to 1.3.2 92/64092/26
Robert Varga [Mon, 9 Oct 2017 23:50:29 +0000 (01:50 +0200)]
Bump akka to 2.5.9 and typesafe config to 1.3.2

This is a major feature/preview release, the notes are at:
https://akka.io/blog/news/2017/09/28/akka-2.5.6-released
https://akka.io/blog/news/2017/11/17/akka-2.5.7-released
https://akka.io/blog/news/2017/12/08/akka-2.5.8-released
https://akka.io/blog/news/2018/01/11/akka-2.5.9-released-2.4.x-end-of-life

https://github.com/typesafehub/config/blob/master/NEWS.md

Also align aeron/agrona versions to match:
https://github.com/real-logic/Agrona/releases/tag/0.9.6
https://github.com/real-logic/Agrona/releases/tag/0.9.7
https://github.com/real-logic/Agrona/releases/tag/0.9.8
https://github.com/real-logic/Agrona/releases/tag/0.9.9
https://github.com/real-logic/Agrona/releases/tag/0.9.10
https://github.com/real-logic/Agrona/releases/tag/0.9.11
https://github.com/real-logic/Agrona/releases/tag/0.9.12

https://github.com/real-logic/aeron/releases/tag/1.3.0
https://github.com/real-logic/aeron/releases/tag/1.4.0
https://github.com/real-logic/aeron/releases/tag/1.5.0
https://github.com/real-logic/aeron/releases/tag/1.5.1
https://github.com/real-logic/aeron/releases/tag/1.5.2
https://github.com/real-logic/aeron/releases/tag/1.6.0
https://github.com/real-logic/aeron/releases/tag/1.7.0

Change-Id: I3bb94b6c33004366799f1c85f89fae61e3c6c6ec
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump Guava to 23.6 95/65895/18
Robert Varga [Fri, 24 Nov 2017 15:30:40 +0000 (16:30 +0100)]
Bump Guava to 23.6

https://github.com/google/guava/releases/tag/v23.4
https://github.com/google/guava/releases/tag/v23.5
https://github.com/google/guava/releases/tag/v23.6

Change-Id: I4b5e1619326e0d624be5743c5178da3447661f73
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump netty to 4.1.20 96/65896/15
Robert Varga [Fri, 24 Nov 2017 15:33:30 +0000 (16:33 +0100)]
Bump netty to 4.1.20

http://netty.io/news/2017/11/08/4-0-53-Final-4-1-17-Final.html
http://netty.io/news/2017/12/11/4-0-54-Final-4-1-18-Final.html
http://netty.io/news/2017/12/18/4-1-19-Final.html
http://netty.io/news/2018/01/22/4-0-55-Final-4-1-20-Final.html

Change-Id: I3b2328993299b2ee86ed643b22184a1ea09bbb35
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoDrop wrap from karaf4-parent 85/67485/2
Stephen Kitt [Tue, 23 Jan 2018 14:08:55 +0000 (15:08 +0100)]
Drop wrap from karaf4-parent

Including wrap in the boot features was a work-around and is no longer
necessary (all features requiring it now include it explicitly).

Change-Id: I061e201d590540d46f30157c6126196ff1add5ac
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBump versions to 4.0.0-SNAPSHOT 81/67481/1
Robert Varga [Tue, 23 Jan 2018 13:46:36 +0000 (14:46 +0100)]
Bump versions to 4.0.0-SNAPSHOT

Prepare master for next incompatible release stream.

Change-Id: I7fc3219f6439c73f39e946123803f225be98dbb9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump versions to 3.1.0-SNAPSHOT 80/67480/1
Robert Varga [Tue, 23 Jan 2018 13:45:37 +0000 (14:45 +0100)]
Bump versions to 3.1.0-SNAPSHOT

In preparation for 3.1.x branch, bump versions on master.

Change-Id: I568e9b5536809d5b90018862fb6c737cc0ead77d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump jersey-1.x to 1.19.4 and package it 94/67194/5
Robert Varga [Tue, 16 Jan 2018 08:55:38 +0000 (09:55 +0100)]
Bump jersey-1.x to 1.19.4 and package it

Rather than relying on downstreams doing their own packaging
of jersey, provide proper package of basic dependencies in a feature.

Change-Id: I576008ca9e9d6673f5f5d3ffc4081d9943b634e7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoAlign jetty version with karaf 96/66396/14
Robert Varga [Tue, 28 Nov 2017 10:03:01 +0000 (11:03 +0100)]
Align jetty version with karaf

karaf is pulling in version 9.3.21, while we are advertizing
9.2.19 -- which leads to odl-karaf-feat-jetty not squashing
dependencies in features.

Change-Id: I914d9a3c2c83426d58e6d4f8f5def9d7d29f6114
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump karaf to 4.1.4 18/66918/5
Robert Varga [Sun, 7 Jan 2018 21:02:31 +0000 (22:02 +0100)]
Bump karaf to 4.1.4

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12341702

of which most notable is jetty version alignment.

Change-Id: I23d74258d40635d78b20c4c3fe9e61f3f1c8ddd2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agofind-duplicate-classpath-entries in phase verify 37/67437/1
Michael Vorburger [Mon, 22 Jan 2018 18:48:03 +0000 (19:48 +0100)]
find-duplicate-classpath-entries in phase verify

instead of already during validate, because that's too early

https://lists.opendaylight.org/pipermail/odlparent-dev/2018-January/001597.html
https://lists.opendaylight.org/pipermail/odlparent-dev/2018-January/001589.html

Change-Id: I0e3ad52a3b8bc7175a2e98e320667a74001f54ae
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoUse jackson-bom to declare jackson dependencies 84/67284/1
Robert Varga [Thu, 18 Jan 2018 11:22:36 +0000 (12:22 +0100)]
Use jackson-bom to declare jackson dependencies

Importing jackson-bom declares all jackson components versions
in a consistent set.

Change-Id: I839db437eb965925b6a4cd3dd572e7e81df7e10f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoadd org.osgi.compendium to features-test 20/67220/1
Michael Vorburger [Tue, 16 Jan 2018 22:42:47 +0000 (23:42 +0100)]
add org.osgi.compendium to features-test

fixes SFT bug ODLPARENT-136
java.lang.ClassNotFoundException:
org.osgi.service.resolver.ResolutionException

Change-Id: Ifaa39b35d1975ccd2aec15f6ed56191637f43d73
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoStart 3.0.3-SNAPSHOT 03/67103/1
Stephen Kitt [Fri, 12 Jan 2018 10:20:24 +0000 (11:20 +0100)]
Start 3.0.3-SNAPSHOT

Change-Id: Ie676ecbb5c74d7db8654cecb56e25c51d9156f80
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoodlparent 3.0.2 release notes 04/66704/1
Stephen Kitt [Thu, 21 Dec 2017 09:30:20 +0000 (10:30 +0100)]
odlparent 3.0.2 release notes

Change-Id: Ic8bc02873149704d7673f2d8d594ffcd32416562
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoUse default upstream logging configuration 68/66568/1
Stephen Kitt [Mon, 18 Dec 2017 16:30:32 +0000 (17:30 +0100)]
Use default upstream logging configuration

Now that Karaf uses Log4J2, our custom configuration no longer works;
this patch uses the default upstream setup for the time being.

Change-Id: I1786d9f50d60a030dc3b265fdb70dc5130806c1a
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBump javadoc plugin to 3.0.0 04/66404/5
Robert Varga [Wed, 13 Dec 2017 06:09:24 +0000 (07:09 +0100)]
Bump javadoc plugin to 3.0.0

Proper release is now available, bump to it:
https://mail-archives.apache.org/mod_mbox/maven-announce/201712.mbox/%3Cop.zaufhhzukdkhrr%40desktop-2khsk44.mshome.net%3E

Change-Id: Icbb6bc02496e937320424a1ec8a4edac0ca09478
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoRemove JavaDoc <links> from odlparent 78/66278/3
Michael Vorburger [Wed, 6 Dec 2017 13:30:01 +0000 (14:30 +0100)]
Remove JavaDoc <links> from odlparent

because all of these, and more, are already in odlparent-lite now

see also https://jira.opendaylight.org/browse/ODLPARENT-121

This change does NOT fix that performance problem; only
change I4ca0c9e81985c2827e16654e9d9413c7d93f6068 does that,
whereas this one is just a clean up I stumbled upon.

Change-Id: Ifd66f318dfc3b900ad6fe06fa26e80932783cce8
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoDisable hiddenField check for abstract methods 10/66410/2
Robert Varga [Wed, 13 Dec 2017 08:15:54 +0000 (09:15 +0100)]
Disable hiddenField check for abstract methods

There is a valid use case, where we are forwarding a private field
to an abstract method. This clearly does not hide the field, as it
is invisible to subclasses -- hence disable HiddenField on abstract
methods.

Change-Id: I00adfce58eea65660cae06649168a09a560713a4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoODLPARENT-134: ensure correct startup with BC 49/66349/3
Stephen Kitt [Mon, 11 Dec 2017 14:35:30 +0000 (15:35 +0100)]
ODLPARENT-134: ensure correct startup with BC

In Karaf 4.1, Bouncy Castle no longer starts correctly; or rather,
loading kpix results in prov being refreshed, which restarts sshd and
most of Karaf.

This patch cleans up the startup.properties construction, and enforces
the correct order for Bouncy Castle. It also adds metatype and
blueprint.core.compatibility which must be loaded at boot to avoid
unwanted refreshes.

Change-Id: Ic8e8e0e932b9d9eaea292003118ef1936b67b822
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoAdd a javadoc-links profile 83/66283/2
Stephen Kitt [Wed, 6 Dec 2017 15:56:33 +0000 (16:56 +0100)]
Add a javadoc-links profile

... to build with external links (which adds substantial time to the
build).

Change-Id: Iea9adc7ed49ae39609ecd5d6bd012a35fe36fc81
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBump maven-enforcer-plugin 1.4.1 => 3.0.0-M1 71/66271/3
Michael Vorburger [Wed, 6 Dec 2017 11:35:02 +0000 (12:35 +0100)]
Bump maven-enforcer-plugin 1.4.1 => 3.0.0-M1

https://mail-archives.apache.org/mod_mbox/maven-announce/201707.mbox/%3Cop.y37atexzkdkhrr%40desktop-2khsk44%3E

Change-Id: I290370bb6619a6fe7c809646995877f73dd891a7
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoODLPARENT-133: process conditional dependencies 13/66313/1
Stephen Kitt [Thu, 7 Dec 2017 16:44:20 +0000 (17:44 +0100)]
ODLPARENT-133: process conditional dependencies

Karaf 4.1 uses many more conditional dependencies in its features,
which results in a distribution missing many dependencies which we
actually need. This patch adds conditional bundle processing to
PopulateLocalRepoMojo, resulting in a distribution where all
dependencies are available, regardless of the conditions.

Change-Id: Ic9eb2befbed066a486603f28c38d32a7e951dd9f
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoComment out JavaDoc <links> for build perf 77/66277/1
Michael Vorburger [Wed, 6 Dec 2017 13:28:07 +0000 (14:28 +0100)]
Comment out JavaDoc <links> for build perf

see https://jira.opendaylight.org/browse/ODLPARENT-121

Change-Id: I4ca0c9e81985c2827e16654e9d9413c7d93f6068
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoUse getClass() in equals(), and simplify 06/66206/2
Stephen Kitt [Mon, 4 Dec 2017 17:15:45 +0000 (18:15 +0100)]
Use getClass() in equals(), and simplify

Using getClass() enforces the equals() symmetry contract without
having to be careful with subclasses (which is fine since the classes
are final), and is also slightly faster.

Change-Id: I02dcb453c08f1139713b5d72629c2ab98c1ce86f
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoAvoid unnecessary copies of data structures 05/66205/1
Stephen Kitt [Mon, 4 Dec 2017 17:02:31 +0000 (18:02 +0100)]
Avoid unnecessary copies of data structures

In BundleDiagInfosImpl, the constructor is private, and forContext
creates new instances of the collections stored in the resulting
object specifically for that object; there’s no point in making
immutable *copies*.

Change-Id: I453cd97e957248a6f074ce292e685470e2f6973c
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBundleDiagInfos with getBundlesStateMap() 30/66030/4
Michael Vorburger [Tue, 28 Nov 2017 21:12:57 +0000 (22:12 +0100)]
BundleDiagInfos with getBundlesStateMap()

Allows infrautils.ready to offer infrautils.diagstatus per bundle infos

see https://jira.opendaylight.org/browse/INFRAUTILS-27

Change-Id: Ib2c529ac0d7d812148b8673c773d439e155c6224
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agobundles-test-lib with BundleDiagInfos 23/66023/2
Michael Vorburger [Tue, 28 Nov 2017 19:19:14 +0000 (20:19 +0100)]
bundles-test-lib with BundleDiagInfos

instead of BundleDiagInfosImpl (drop the *Impl, where possible)

Change-Id: I65046338016d77409e667a644f19bd3397ce8a0a
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoTestBundleDiag with configurable await logging 12/66012/2
Michael Vorburger [Tue, 28 Nov 2017 17:36:41 +0000 (18:36 +0100)]
TestBundleDiag with configurable await logging

Allows infrautils.ready to make TestBundleDiag INFO log less verbose

The full list of NOK bundles during boot caused confusion, even if INFO

see https://jira.opendaylight.org/browse/INFRAUTILS-17

Change-Id: Iad1badb29e6a061812640a9182973d7c2b679836
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoFix SFT for Archetype Self Test 40/65940/4
Michael Vorburger [Mon, 27 Nov 2017 18:18:21 +0000 (19:18 +0100)]
Fix SFT for Archetype Self Test

This sets the Pax Exam URL Maven localRepository so that the
SingleFeatureTest of the Archetype in controller works, even if
there is a -Dmaven.repo.local=, such as on Gerrit.

see https://jira.opendaylight.org/browse/CONTROLLER-1799

Change-Id: Idd6126944518bab0fa0b886a7012ea94aba3126e
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoStart 3.0.2-SNAPSHOT 26/65926/1
Stephen Kitt [Mon, 27 Nov 2017 09:47:27 +0000 (10:47 +0100)]
Start 3.0.2-SNAPSHOT

Change-Id: If127110ae6f0acc181966f748b5768f6461c1405
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoRelease notes for 3.0.1 93/65893/2
Stephen Kitt [Fri, 24 Nov 2017 14:47:26 +0000 (15:47 +0100)]
Release notes for 3.0.1

Change-Id: I2df6a518158836bc4e0d67e1e0bac721d8471a42
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoWorkaround broken upstream features 91/65891/1
Robert Varga [Fri, 24 Nov 2017 13:49:28 +0000 (14:49 +0100)]
Workaround broken upstream features

hibernate-validator-osgi-karaf-features-[5.3.4,5.4.2) is broken
due to invalid maven URL reference. Add hard exception to fix it up.

Change-Id: I6cc28817b721fd7fa6f7dd940c82a4b80acb81c2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoPre-compile FeatureUtil replacement patterns 88/65888/1
Robert Varga [Fri, 24 Nov 2017 13:09:06 +0000 (14:09 +0100)]
Pre-compile FeatureUtil replacement patterns

When we are discovering features, we end up converting a lot of URLs,
hence we end up recompiling the same patterns over and over again.

Rather than doing that, keep pre-compiled versions and reuse them.

Change-Id: I6b0b2b9e3c6ba9a13d20b7e16b4284feee222797
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoAdd a test distribution to test karaf4-parent 84/65884/3
Robert Varga [Fri, 24 Nov 2017 11:47:42 +0000 (12:47 +0100)]
Add a test distribution to test karaf4-parent

This adds a simple distribution, containing just odl-guava.

Change-Id: I65a9d85238f358072d595e7523a17f2a6eab8fc6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoStart 3.0.1-SNAPSHOT 98/65798/2
Stephen Kitt [Tue, 21 Nov 2017 13:48:04 +0000 (14:48 +0100)]
Start 3.0.1-SNAPSHOT

Change-Id: I9be70dcdef4b95a98095df72f7bb5e4eafb7ef59
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBug 7756 Bind web services to single port 31/51531/5
Ryan Goulding [Tue, 7 Feb 2017 19:37:08 +0000 (14:37 -0500)]
Bug 7756 Bind web services to single port

Right now, we mirror web service offerings on ports 8080 and 8181.
There has been much discussion surrounding consolidating on a single
port.  See these email threads:

https://lists.opendaylight.org/pipermail/release/2017-February/009244.html
https://lists.opendaylight.org/pipermail/controller-dev/2016-September/012677.html

Based on community feedback, it would appear that most people utilize
port 8181, and it would take a LOT of work to change that. Thus, this
change removes the port 8080 offering. If downstream consumers still
wish to use web services on port 8080, then can simply re-add the
connector in etc/jetty.xml without recompiling (will require karaf
container restart to reinitialize pax-web).

This is just a change to the default offering, and makes the ODL
platform a bit more consistent OOB.

Change-Id: I62ccf4a8f9719c7923f06204955239ceea8a780f
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoODL Parent 3.0.0 release notes 11/65411/3
Stephen Kitt [Fri, 10 Nov 2017 10:41:51 +0000 (11:41 +0100)]
ODL Parent 3.0.0 release notes

... and supporting Sphinx framework.

Change-Id: Ifa6a8ec9f159aa855868509de588d30f671d2680
Signed-off-by: Stephen Kitt <skitt@redhat.com>