infrautils.git
30 hours agoRemove ClusterMemberInfo 84/95784/8 master
Robert Varga [Wed, 14 Apr 2021 07:01:20 +0000 (09:01 +0200)]
Remove ClusterMemberInfo

This concept is only used by openflowplugin and it is a thinly wrapper
around Akka's JMX. As such it has no place in infrautils, as it violates
stated dependency requirements (i.e. no upstream project except
odlparent).

OFP should muck with cluster directly, so that the contract can be
properly hashed out.

JIRA: INFRAUTILS-77
Change-Id: Ic10af44302a3c03cd93ec224c3fd6d8a2ad597cd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
31 hours agoRemove the ability to query remote diagstatus 00/111900/2
Robert Varga [Wed, 29 May 2024 18:41:20 +0000 (20:41 +0200)]
Remove the ability to query remote diagstatus

This facility is making assumptions about where the HTTP service is
provided -- being tightly coupled to Pax Web via port settings.

Furthermore it makes assumption on ClusterMemberInfo to limit the
ability to poke around different IP addresses.

Remove the ability to specify target node, limiting the shell component
to local status only.

JIRA: INFRAUTILS-77
Change-Id: I4191fa7dfc66b0653368dc52a2163f96b8ba2670
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
31 hours agoBump versions to 7.0.0-SNAPSHOT 02/111902/2
Robert Varga [Wed, 29 May 2024 18:50:59 +0000 (20:50 +0200)]
Bump versions to 7.0.0-SNAPSHOT

This starts the major next development iteration.

Change-Id: If3005a0f0213a5c9e9b87f36585de80ce487a5cf
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
31 hours agoBump versions to 6.0.10-SNAPSHOT 01/111901/2
Robert Varga [Wed, 29 May 2024 18:50:02 +0000 (20:50 +0200)]
Bump versions to 6.0.10-SNAPSHOT

This starts the next development iteration.

Change-Id: I86e3fa5f97d71669b86eed6902a7683723158468
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
32 hours agoRelease infrautils v6.0.9
jenkins-releng [Wed, 29 May 2024 17:44:06 +0000 (17:44 +0000)]
Release infrautils

2 days agoRemove unused SuppressFBWarnings 85/111885/1
Robert Varga [Tue, 28 May 2024 15:11:49 +0000 (17:11 +0200)]
Remove unused SuppressFBWarnings

A number of suppressions are no longer relevant, this patch cleans them
up.

Change-Id: Ib28eda14fca81147eca518e320126012b17f5e4a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 days agoDeprecate o.o.i.ready.order 65/111865/6
Robert Varga [Mon, 27 May 2024 19:05:08 +0000 (21:05 +0200)]
Deprecate o.o.i.ready.order

This interface is currently unused and its only implementation does
exactly what one would do for a ComponentFactory.

JIRA: INFRAUTILS-102
Change-Id: Iacb03c8bfef876b71fe88ed743e4e01906c0d723
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 days agoCentralize DiagStatusServiceImpl 38/111838/4
Robert Varga [Fri, 24 May 2024 00:59:21 +0000 (02:59 +0200)]
Centralize DiagStatusServiceImpl

Use constructor injection to merge the OSGi activation lifecycle,
resulting in elimination of {Abstract,OSGi}DiagStatusImpl.

Also fixes declaration to ensure we are using greedy policy when
populating service status providers.

Change-Id: I843b6527568f6f47567b5a2be7d452736ac4d3be
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 days agoBump odlparent to 13.1.3 72/111872/3
Robert Varga [Tue, 28 May 2024 08:55:04 +0000 (10:55 +0200)]
Bump odlparent to 13.1.3

Pick up latest fixed from upstream.

Change-Id: I5f4c87094b62ecd2c07864c1e41f41b0fc9e9ca7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 days agoUse constructor injection in FunctionalityReadyNotifierImpl 63/111863/5
Robert Varga [Mon, 27 May 2024 18:02:58 +0000 (20:02 +0200)]
Use constructor injection in FunctionalityReadyNotifierImpl

We can make things a lot simpler by activating via constructor
injection.

Change-Id: Ie32ec2c6efec3b784eb5d0fa05fdcda0708f0190
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 days agoMigrate FunctionalityReadyNotifierTest to JUnit 5 64/111864/4
Robert Varga [Mon, 27 May 2024 18:27:33 +0000 (20:27 +0200)]
Migrate FunctionalityReadyNotifierTest to JUnit 5

This is a simple test with a lot of custom code. Simplify it with proper
mocking.

Change-Id: I75287640f468db781e81e8ac5f469e4a478287da
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 weeks agoBump versions to 6.0.9-SNAPSHOT 99/111699/1
Robert Varga [Wed, 15 May 2024 11:38:23 +0000 (13:38 +0200)]
Bump versions to 6.0.9-SNAPSHOT

This starts the next development iteration.

Change-Id: I20e56603e7be1c0fb1422feb58836b70d0d2f7fb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 weeks agoRelease infrautils v6.0.8
jenkins-releng [Wed, 15 May 2024 11:09:11 +0000 (11:09 +0000)]
Release infrautils

2 weeks agoConvert features to template-feature-parent 39/111639/2
Robert Varga [Mon, 6 May 2024 12:57:39 +0000 (14:57 +0200)]
Convert features to template-feature-parent

We have a few warnings around packaging. Fix most of them by converting
features.

Change-Id: Id289c826385f46e5af4cd23fdca59ddc6372973f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 weeks agoBump odlparent to 13.1.2 97/111597/5
Robert Varga [Fri, 3 May 2024 19:05:17 +0000 (21:05 +0200)]
Bump odlparent to 13.1.2

Pick up latest updates from upstream. Also adjust for bundles-diag being
a thing.

Change-Id: I85a983228dab19075ea20757b55d79da891f0646
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 weeks agoClean up diagstatus-api a bit 13/111613/1
Robert Varga [Sat, 4 May 2024 10:38:44 +0000 (12:38 +0200)]
Clean up diagstatus-api a bit

Fixup a few warnings reported by error-prone.

Change-Id: I10614b47cf164ac1ba4f41daefc7b39d81b69cae
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 weeks agoClean up diagstatus-impl 08/111608/1
Robert Varga [Sat, 4 May 2024 05:32:37 +0000 (07:32 +0200)]
Clean up diagstatus-impl

Fix up warnings reported by error-prone.

Change-Id: Idb53884cfca14df93a7d280e4cec4dd7d16655b6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 weeks agoFix NotJavadoc errors in ready-api 96/111596/1
Robert Varga [Fri, 3 May 2024 19:51:16 +0000 (21:51 +0200)]
Fix NotJavadoc errors in ready-api

error-prone is issuing a warning, fix that by commenting out the javadoc
as well.

Change-Id: Ie69e1a0e923bea917f387f935598e8dba0182a76
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 weeks agoBump classgraph to 4.8.172 95/111595/1
Robert Varga [Fri, 3 May 2024 14:45:22 +0000 (16:45 +0200)]
Bump classgraph to 4.8.172

https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.159
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.160
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.161
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.162
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.163
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.164
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.165
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.166
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.167
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.168
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.169
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.170
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.171
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.172

Change-Id: I8f9bfc7e8610b8517480cb9895a4d2f77ae428f9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 weeks agoBump error-prone to 2.27.1 94/111594/1
Robert Varga [Fri, 3 May 2024 14:43:50 +0000 (16:43 +0200)]
Bump error-prone to 2.27.1

https://github.com/google/error-prone/releases/tag/v2.27.0
https://github.com/google/error-prone/releases/tag/v2.27.1

Change-Id: I68a26ee5f1c330ba34bcd4fc3941107af4c24959
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 weeks agoBump versions to 6.0.8-SNAPSHOT 95/111395/1
Robert Varga [Mon, 15 Apr 2024 12:34:26 +0000 (14:34 +0200)]
Bump versions to 6.0.8-SNAPSHOT

This starts the next development iteration.

Change-Id: I771941592e0b56adaba76e16bd79825b3029b2e9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 weeks agoRelease infrautils v6.0.7
jenkins-releng [Mon, 15 Apr 2024 12:01:05 +0000 (12:01 +0000)]
Release infrautils

6 weeks agoBump odlparent to 13.1.1 77/111377/5
Robert Varga [Sun, 14 Apr 2024 11:21:04 +0000 (13:21 +0200)]
Bump odlparent to 13.1.1

Adopt improvements from upstream. Also migrates to slf4j-2.x.

Change-Id: I42e6b7d388bcda4a8dc7d99a3ff585567e011e13
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 weeks agoBump error-prone to 2.26.1 78/111378/2
Robert Varga [Sun, 14 Apr 2024 11:22:14 +0000 (13:22 +0200)]
Bump error-prone to 2.26.1

https://github.com/google/error-prone/releases/tag/v2.26.0
https://github.com/google/error-prone/releases/tag/v2.26.1

Change-Id: I953b5b3c71ea2bad7374053f1edb8428ca73f2b2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 months agoAdd rtd configuration 31/110531/1
Robert Varga [Thu, 7 Mar 2024 13:30:38 +0000 (14:30 +0100)]
Add rtd configuration

Our RTD build is failing, fix it up.

Change-Id: I99b2edf84b5d7e3264b59eee683bd47ae26890d5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 months agoBump versions to 6.0.7-SNAPSHOT 37/110437/1
Robert Varga [Sat, 2 Mar 2024 10:14:21 +0000 (11:14 +0100)]
Bump versions to 6.0.7-SNAPSHOT

This starts the next development iteration.

Change-Id: Ida95869e0c52f2d36dfd61bce4945679f7490193
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 months agoRelease infrautils v6.0.6
jenkins-releng [Sat, 2 Mar 2024 04:32:08 +0000 (04:32 +0000)]
Release infrautils

2 months agoBump odlparent to 13.0.11 27/110427/1
Robert Varga [Fri, 1 Mar 2024 21:30:23 +0000 (22:30 +0100)]
Bump odlparent to 13.0.11

This picks up latest upgrades from upstream.

Change-Id: I3e3b252064f324416893a3f9912bf1e533c86156
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 months agoBump error-prone to 2.25.0 84/110284/1
Robert Varga [Thu, 22 Feb 2024 07:30:56 +0000 (08:30 +0100)]
Bump error-prone to 2.25.0

https://github.com/google/error-prone/releases/tag/v2.24.1
https://github.com/google/error-prone/releases/tag/v2.25.0

Change-Id: I53bbdf7ad8abee958a4e174e672794e4ffe92020
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 months agoBump versions to 6.0.6-SNAPSHOT 67/109467/1
Robert Varga [Fri, 29 Dec 2023 05:10:56 +0000 (06:10 +0100)]
Bump versions to 6.0.6-SNAPSHOT

This starts the next development iteration.

Change-Id: I450fb088ce61c27fe6564a430530a556c2a453cc
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 months agoRelease infrautils v6.0.5
jenkins-releng [Fri, 29 Dec 2023 04:21:17 +0000 (04:21 +0000)]
Release infrautils

5 months agoBump odlparent to 13.0.10 17/109417/1
Robert Varga [Tue, 26 Dec 2023 17:38:41 +0000 (18:38 +0100)]
Bump odlparent to 13.0.10

Pick up latest upgrades from upstream.

Change-Id: I628b016bf9a8fbb4839cb74dc2d5f04ac9fe2af9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 months agoBump error_prone to 2.24.0 14/109414/1
Robert Varga [Tue, 26 Dec 2023 16:54:08 +0000 (17:54 +0100)]
Bump error_prone to 2.24.0

https://github.com/google/error-prone/releases/tag/v2.24.0

Change-Id: Ie4a53abb34b80f9d427403bc43530ea16cd54fff
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 months agoBump odlparent to 13.0.9 87/109287/1
Robert Varga [Mon, 11 Dec 2023 13:39:16 +0000 (14:39 +0100)]
Bump odlparent to 13.0.9

Pick up latest fixes.

Change-Id: Ia6a37756bf7190db56def9b19c032ba8f5003979
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 months agoActivate error-prone up with JDK 9..21 86/109186/2
Robert Varga [Thu, 7 Dec 2023 06:12:38 +0000 (07:12 +0100)]
Activate error-prone up with JDK 9..21

ErrorProne seems to work reliably, enable it on up to JDK 21. While we
are in the area, we force JDK 9, as our configuration does not work with
Java 8 anyway.

Change-Id: Ia42d483563b28c02fd9351dbccf6365999142179
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 months agoBump odlparent to 13.0.8 83/109183/2
Robert Varga [Wed, 6 Dec 2023 22:12:03 +0000 (23:12 +0100)]
Bump odlparent to 13.0.8

Adopt latest fixes. Spotbugs is finding CT_CONSTRUCTOR_THROW, fix it by
making offending classes final.

Change-Id: I07653a9ef8c428ab354da4070f058720a47167fa
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 months agoBump versions to 6.0.5-SNAPSHOT 65/108765/1
Robert Varga [Tue, 31 Oct 2023 08:41:20 +0000 (09:41 +0100)]
Bump versions to 6.0.5-SNAPSHOT

This starts the next development iteration.

Change-Id: Ie67158070ab139a71d5d5873d4394daecea78ed7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
7 months agoRelease infrautils v6.0.4
jenkins-releng [Sun, 29 Oct 2023 23:31:31 +0000 (23:31 +0000)]
Release infrautils

7 months agoBump odlparent to 13.0.7 26/108726/1
Robert Varga [Sun, 29 Oct 2023 19:27:53 +0000 (20:27 +0100)]
Bump odlparent to 13.0.7

Adopt latest fixes and upgrades from upstream.

Change-Id: I35c39c2b7c3a70a80593eddc4a35fa45b42d4fc0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
7 months agoBump error-prone to 2.23.0 72/108572/1
Robert Varga [Fri, 20 Oct 2023 16:41:15 +0000 (18:41 +0200)]
Bump error-prone to 2.23.0

https://github.com/google/error-prone/releases/tag/v2.23.0

Change-Id: I43d0afea623aecad1b2aee3e5406e5ee4ccfe297
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
7 months agoBump odlparent to 13.0.6 71/108571/1
Robert Varga [Fri, 20 Oct 2023 16:11:03 +0000 (18:11 +0200)]
Bump odlparent to 13.0.6

Adopt latest fixes and upgrades from upstream.

Change-Id: Ied29825fe5148c50a186d5d26a3ae0e87acdf179
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
7 months agoBump versions to 6.0.4-SNAPSHOT 59/108159/1
Robert Varga [Mon, 2 Oct 2023 16:10:40 +0000 (18:10 +0200)]
Bump versions to 6.0.4-SNAPSHOT

This starts the next development iteration.

Change-Id: I5f431807683775e129ef424c4ef6e3038c519af2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
7 months agoRelease infrautils v6.0.3
jenkins-releng [Mon, 2 Oct 2023 15:35:16 +0000 (15:35 +0000)]
Release infrautils

7 months agoBump odlparent to 13.0.5 12/108112/1
Robert Varga [Sun, 1 Oct 2023 23:31:21 +0000 (01:31 +0200)]
Bump odlparent to 13.0.5

Pick up latest upgrades from upstream.

Change-Id: Icfefcade867f3d80dcb8605d3f4fe04052661294
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
8 months agoBump error-prone to 2.22.0 61/108061/1
Robert Varga [Fri, 29 Sep 2023 14:27:44 +0000 (16:27 +0200)]
Bump error-prone to 2.22.0

https://github.com/google/error-prone/releases/tag/v2.22.0

Change-Id: I345a2973a20787d757eaa23c63702522515d816b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
9 months agoBump versions to 6.0.3-SNAPSHOT 85/107585/1
Robert Varga [Wed, 30 Aug 2023 13:36:14 +0000 (15:36 +0200)]
Bump versions to 6.0.3-SNAPSHOT

This starts the next development iteration.

Change-Id: If2de54e5273472dff27b5d66a23f02338740b268
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
9 months agoRelease infrautils v6.0.2
jenkins-releng [Wed, 30 Aug 2023 12:17:39 +0000 (12:17 +0000)]
Release infrautils

9 months agoFix diagstatus-api dependencies 81/107581/1
Robert Varga [Wed, 30 Aug 2023 11:58:12 +0000 (13:58 +0200)]
Fix diagstatus-api dependencies

Add JDT annotations, which we are using.

Change-Id: I3b6bb863b4f49fc20866b6497357da961ee98ed7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
9 months agoBump odlparent to 13.0.4 78/107578/3
Robert Varga [Wed, 30 Aug 2023 11:41:02 +0000 (13:41 +0200)]
Bump odlparent to 13.0.4

Pick up latest updates from upstream. Also fix a Guava API reference.

Change-Id: I6a8f4239869a05482924e8ef6c75103c00b61124
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
9 months agoFix FunctionalityReadyNotifierTest checkstyle 80/107580/1
Robert Varga [Wed, 30 Aug 2023 11:55:19 +0000 (13:55 +0200)]
Fix FunctionalityReadyNotifierTest checkstyle

Upgraded checkstyle is finding a violation here, fix it up.

Change-Id: I0f44dcf94cb014eb2b60618eb83046c5169d49b2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
9 months agoFix up TestWebServerTest 79/107579/2
Robert Varga [Wed, 30 Aug 2023 11:51:34 +0000 (13:51 +0200)]
Fix up TestWebServerTest

Upgraded checkstyle is finding some violations. Also remove warning
suppression.

Change-Id: I86b9affd2dba99ce4f7b87730bac0870784b7221
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
9 months agoBump error-prone to 2.21.1 13/106513/3
Robert Varga [Sun, 18 Jun 2023 18:31:21 +0000 (20:31 +0200)]
Bump error-prone to 2.21.1

https://github.com/google/error-prone/releases/tag/v2.20.0
https://github.com/google/error-prone/releases/tag/v2.21.0
https://github.com/google/error-prone/releases/tag/v2.21.1

Change-Id: Ia3195697e7d761e0943e1ba3d874d1c0cb7c9e3c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
11 months agoBump versions to 6.0.2-SNAPSHOT 69/106669/1
Robert Varga [Mon, 26 Jun 2023 09:05:38 +0000 (11:05 +0200)]
Bump versions to 6.0.2-SNAPSHOT

This starts the next development iteration.

Change-Id: I42d227096d8905f1b76916255f95e431b16c5972
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
11 months agoBump odlparent to 13.0.3 61/106661/2
Robert Varga [Fri, 23 Jun 2023 16:41:46 +0000 (18:41 +0200)]
Bump odlparent to 13.0.3

Pick up latest fixes from upstream.

Change-Id: I3cb423eef2521601599aa04ec4a6d0218ace8050
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
11 months agoBump Guice to 6.0.0 59/106659/1
Robert Varga [Fri, 23 Jun 2023 15:10:52 +0000 (17:10 +0200)]
Bump Guice to 6.0.0

https://github.com/google/guice/wiki/Guice600

JIRA: INFRAUTILS-101
Change-Id: Ia08057d4175b43d53e2ac2135fe66e249bd53f87
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
11 months agoBump versions to 6.0.1-SNAPSHOT 29/106529/1
Robert Varga [Sun, 18 Jun 2023 21:17:59 +0000 (23:17 +0200)]
Bump versions to 6.0.1-SNAPSHOT

This starts the next development iteration.

Change-Id: I4b59266a0e2663cdc951cf995bdb804af2f45fe0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
11 months agoRelease infrautils v6.0.0
jenkins-releng [Sun, 18 Jun 2023 20:46:20 +0000 (20:46 +0000)]
Release infrautils

11 months agoRework ServiceRegistration 85/106285/4
Robert Varga [Tue, 30 May 2023 19:36:57 +0000 (21:36 +0200)]
Rework ServiceRegistration

Move the report() method to the registration, cleaning up lifecycle
here.

JIRA: INFRAUTILS-99
Change-Id: Ie05a03eebc1e94d63843baf003dfe233a1a243fa
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
11 months agoDelete unnecessary assertions 08/106308/16
Yaroslav Lastivka [Wed, 31 May 2023 09:55:54 +0000 (12:55 +0300)]
Delete unnecessary assertions

assertThat() was deleted as it has already
checked in the end of testDiagStatus()

JIRA: INFRAUTILS-100
Change-Id: I5216cd28bffe602531f007e6a4819527d9f29413
Signed-off-by: Yaroslav Lastivka <yaroslav.lastivka@pantheon.tech>
11 months agoAdd custom adapter factory 76/106276/16
Yaroslav Lastivka [Tue, 30 May 2023 15:01:18 +0000 (18:01 +0300)]
Add custom adapter factory

ServiceStatusSummary#toJSON() fails with upgraded Java.
GSON has trouble with java.lang.Throwable.
We should improve previous solution

Added custom adapter factory to proper serialization
Throwable objects to JSON.

JIRA: INFRAUTILS-100
Change-Id: I8ccce0935e801b1cceb83d1d554e92eddcfd3867
Signed-off-by: Yaroslav Lastivka <yaroslav.lastivka@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
11 months agoAdd custom serializer/deserializer 07/106307/10
Yaroslav Lastivka [Wed, 31 May 2023 09:44:38 +0000 (12:44 +0300)]
Add custom serializer/deserializer

GSON has trouble with java.lang.Throwable.
ServiceStatusSummary#toJSON() fails with upgraded Java.

Added custom serializer and deserializer for
Throwable objects.

JIRA: INFRAUTILS-100
Change-Id: I7e2e71e074004fdf814107703c7f34def4b33833
Signed-off-by: Yaroslav Lastivka <yaroslav.lastivka@pantheon.tech>
11 months agoBump odlparent to 13.0.1 45/106345/2
Robert Varga [Thu, 1 Jun 2023 10:38:06 +0000 (12:38 +0200)]
Bump odlparent to 13.0.1

Adopt latest upgrades from upstream.

Change-Id: I5dcc1ab9e1dc605eb10d242b0b7da46f0eb3498e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
11 months agoBump versions to 6.0.0-SNAPSHOT 44/106344/1
Robert Varga [Thu, 1 Jun 2023 10:35:55 +0000 (12:35 +0200)]
Bump versions to 6.0.0-SNAPSHOT

This starts the next development iteration.

Change-Id: Ifea9e183d3896a9d9742aabc9beeca616c869d25
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
12 months agoBump versions to 5.0.6-SNAPSHOT 10/106310/1
Robert Varga [Wed, 31 May 2023 12:06:49 +0000 (14:06 +0200)]
Bump versions to 5.0.6-SNAPSHOT

This starts the next development iteration.

Change-Id: I4501cd851ac08f41d166dd00d6454d4a74bbbb5b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
12 months agoRelease infrautils v5.0.5
jenkins-releng [Wed, 31 May 2023 11:07:08 +0000 (11:07 +0000)]
Release infrautils

12 months agoBump odlparent to 12.0.6 72/106172/2
Robert Varga [Fri, 26 May 2023 20:26:08 +0000 (22:26 +0200)]
Bump odlparent to 12.0.6

Pick up latest plugin and dependency upgrades.

Change-Id: Ib5503c323bd38288e68948125a2017c1b344b14c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
12 months agoAdd a workaround 83/106283/1
Robert Varga [Tue, 30 May 2023 18:37:17 +0000 (20:37 +0200)]
Add a workaround

Test failures are caused by
https://github.com/jacoco/jacoco/issues/1328, explicitly pin that
version so we can perform the upgrade.

JIRA: INFRAUTILS-100
Change-Id: I44cfe9b98cefb3422dbee2a28c83c6859798a8fe
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit c76c506c8ea59a58dbcf2760986e9c235ff6d51b)

12 months agoBump classgraph to 4.8.158 36/105936/2
Robert Varga [Sat, 13 May 2023 20:43:39 +0000 (22:43 +0200)]
Bump classgraph to 4.8.158

https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.155
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.156
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.157
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.158

Change-Id: I60a87569a8ff62e2b4342fe54f4bddc2241b1d89
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
12 months agoBump error_prone to 2.19.1 35/105935/1
Robert Varga [Sat, 13 May 2023 18:53:23 +0000 (20:53 +0200)]
Bump error_prone to 2.19.1

https://github.com/google/error-prone/releases/tag/v2.19.0
https://github.com/google/error-prone/releases/tag/v2.19.1

Change-Id: I4a2c7a9278062e2c35e8b326d74ec4edefa97d4d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
13 months agoBump versions to 5.0.5-SNAPSHOT 39/105539/1
Robert Varga [Thu, 20 Apr 2023 07:58:12 +0000 (09:58 +0200)]
Bump versions to 5.0.5-SNAPSHOT

This starts the next development iteration.

Change-Id: I2f241a8b449e5c3d3efc0e58acc3bd34b3202a44
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
13 months agoBump odlparent to 12.0.5 37/105537/1
Robert Varga [Thu, 20 Apr 2023 07:38:16 +0000 (09:38 +0200)]
Bump odlparent to 12.0.5

Pick up a regression fix and a few updates.

Change-Id: I760ca2ca5adb5932ec49db690322527ed00a1fb3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
13 months agoRemove surefire override 13/105413/1
Robert Varga [Wed, 12 Apr 2023 09:39:56 +0000 (11:39 +0200)]
Remove surefire override

We have surefire-3.0.0, this is just a downgrade.

Change-Id: I9ad45f43173ada59e8cc009e08e0b5019ceba80b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
13 months agoBump odlparent to 12.0.4 68/105368/1
Robert Varga [Tue, 11 Apr 2023 11:16:39 +0000 (13:16 +0200)]
Bump odlparent to 12.0.4

Pick up latest fixes from upstream. Also migrate callers of
Optional.get().

Change-Id: I519d55e6a7ece7891a54d8b19c87665882b042f7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
15 months agoBump versions to 5.0.4-SNAPSHOT 51/104551/1
Robert Varga [Thu, 23 Feb 2023 11:38:22 +0000 (12:38 +0100)]
Bump versions to 5.0.4-SNAPSHOT

This starts the next development iteration.

Change-Id: Ibdbe5487b9bcbc865eef151580b18c691f55a818
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
15 months agoBump odlparent to 12.0.3 50/104550/1
Robert Varga [Thu, 23 Feb 2023 11:08:21 +0000 (12:08 +0100)]
Bump odlparent to 12.0.3

Pick up latest upgrades from upstream.

Change-Id: I156d4024d513373c39eccaaa6ecdd7d8fbd07c6f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
16 months agoBump versions to 5.0.3-SNAPSHOT 70/104170/1
Robert Varga [Thu, 26 Jan 2023 13:28:36 +0000 (14:28 +0100)]
Bump versions to 5.0.3-SNAPSHOT

This starts the next development iteration.

Change-Id: Ia1ecc667c69f92741f32862ba0d60624e2832299
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
16 months agoBump classgraph to 4.8.154 69/104169/1
Robert Varga [Thu, 26 Jan 2023 13:25:22 +0000 (14:25 +0100)]
Bump classgraph to 4.8.154

https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.142
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.143
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.144
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.145
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.146
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.147
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.148
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.149
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.150
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.151
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.152
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.153
https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.154

Change-Id: I13be6aa898fc2ea31220f56d98b9c07da08ad519
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
16 months agoBump odlparent to 12.0.2 47/104147/1
Robert Varga [Thu, 26 Jan 2023 11:47:35 +0000 (12:47 +0100)]
Bump odlparent to 12.0.2

Pick up latest upgrades from upstream.

Change-Id: I898c44ac2836a8e10424ba1562438fadd760c685
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
16 months agoBump error-prone to 2.18.0 06/104006/1
Robert Varga [Wed, 11 Jan 2023 22:46:32 +0000 (23:46 +0100)]
Bump error-prone to 2.18.0

https://github.com/google/error-prone/releases/tag/v2.18.0

Change-Id: Iebaa7c592dbc803347a37d70c511b1a7e85228ac
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
16 months agoBump error-prone to 2.17.0 49/103849/2
Robert Varga [Sun, 1 Jan 2023 11:47:32 +0000 (12:47 +0100)]
Bump error-prone to 2.17.0

https://github.com/google/error-prone/releases/tag/v2.17.0

Change-Id: I3e93919744608147d6e942c08d863bb66ad4c0ef
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
18 months agoBump versions to 5.0.2-SNAPSHOT 91/103391/1
Robert Varga [Fri, 25 Nov 2022 09:32:22 +0000 (10:32 +0100)]
Bump versions to 5.0.2-SNAPSHOT

This starts the next development iteration.

Change-Id: Iefe5c8b2409a4ff0519862fa51e989158f08bee0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
18 months agoBump odlparent to 12.0.1 90/103390/1
Robert Varga [Fri, 25 Nov 2022 09:31:59 +0000 (10:31 +0100)]
Bump odlparent to 12.0.1

Pick up latest fixes from upstream.

Change-Id: I8ec3bdd4975880c9cabaf9fe34bbcb520f649089
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
18 months agoBump versions to 5.0.1-SNAPSHOT 92/103092/1
Robert Varga [Fri, 4 Nov 2022 20:12:09 +0000 (21:12 +0100)]
Bump versions to 5.0.1-SNAPSHOT

This starts the next development iteration.

Change-Id: I9589d3a913b88ab7acf09c0e6b789876635cb681
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
18 months agoDo not use Collections.emptyList() 91/103091/1
Robert Varga [Fri, 4 Nov 2022 20:09:44 +0000 (21:09 +0100)]
Do not use Collections.emptyList()

Use List.of() instead. Also use streams to transform entries, resulting
in unmodifiable lists.

Change-Id: Ia94f8a353fec341fd4b2eea4e7eebfd8ce9f4686
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
18 months agoRemove LoggingUncaughtThreadDeathContextRunnable 75/103075/2
Robert Varga [Thu, 3 Nov 2022 15:03:49 +0000 (16:03 +0100)]
Remove LoggingUncaughtThreadDeathContextRunnable

This class has been deprecated for removal in previous release, remove
it.

Change-Id: I5a0221c6d185474028c29987923214a66fa29dd6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
18 months agoDeprecate LoggingUncaughtThreadDeathContextRunnable 74/103074/2
Robert Varga [Thu, 3 Nov 2022 15:03:11 +0000 (16:03 +0100)]
Deprecate LoggingUncaughtThreadDeathContextRunnable

This class is not used anywhere, deprecate it for removal.

Change-Id: If4d4bd8c14d697a639cbec7ea8b603e5adbc8c40
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
18 months agoBump odlparent to 12.0.0 65/103065/1
Robert Varga [Thu, 3 Nov 2022 13:47:08 +0000 (14:47 +0100)]
Bump odlparent to 12.0.0

Adopt latest versions of upstreams.

Change-Id: I36646ca8dbd85e8af6dedf43bf803e2c629516c7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
18 months agoRemove testutils.concurrent 62/103062/1
Robert Varga [Thu, 3 Nov 2022 12:14:17 +0000 (13:14 +0100)]
Remove testutils.concurrent

These classes are not used anywhere and have been deprecated, remove
them.

Change-Id: Ib95c2872c53cd0fe3c415e12fbd722fb42d92f6b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
18 months agoRemove Partials 61/103061/1
Robert Varga [Thu, 3 Nov 2022 12:11:01 +0000 (13:11 +0100)]
Remove Partials

This class has been deprecated, remove it.

Change-Id: I11c01b5e531f14bba293f728c6f67fbc6b5130d5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
18 months agoRemove StackTraces 60/103060/1
Robert Varga [Thu, 3 Nov 2022 10:42:59 +0000 (11:42 +0100)]
Remove StackTraces

This class is not used anywhere, remove it.

Change-Id: I2ff89626473ed3b07f0fee91146e513ccb8aa36b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
18 months agoBump versions to 5.0.0-SNAPSHOT 59/103059/1
Robert Varga [Thu, 3 Nov 2022 10:45:24 +0000 (11:45 +0100)]
Bump versions to 5.0.0-SNAPSHOT

This starts next major development iteration.

Change-Id: Ic21986466e9f67da316f5a1753effda01c32ae01
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
19 months agoBump versions to 4.0.3-SNAPSHOT 22/102922/1
Robert Varga [Fri, 28 Oct 2022 13:59:51 +0000 (15:59 +0200)]
Bump versions to 4.0.3-SNAPSHOT

This starts the next development iteration.

Change-Id: I28efedefd6dbdf74d089368494512adcf97b58ad
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
19 months agoUpdate odlparetn to 11.0.2 64/102864/1
Robert Varga [Mon, 24 Oct 2022 18:52:35 +0000 (20:52 +0200)]
Update odlparetn to 11.0.2

Pick up latest updates from upstream.

Change-Id: I35046963b94c13dd17f65684f9fe04826ee48961
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
19 months agoBump error-prone to 2.16 63/102863/1
Robert Varga [Mon, 24 Oct 2022 14:51:57 +0000 (16:51 +0200)]
Bump error-prone to 2.16

https://github.com/google/error-prone/releases/tag/v2.16

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

21 months agoBump versions to 4.0.2-SNAPSHOT 36/102136/1
Robert Varga [Wed, 17 Aug 2022 14:37:23 +0000 (16:37 +0200)]
Bump versions to 4.0.2-SNAPSHOT

This starts the next development iteration.

Change-Id: I302cb8b61f4f107e91144f41f48e3513723ddb6c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
21 months agoBump odlparent to 11.0.1 73/101973/1
Robert Varga [Fri, 5 Aug 2022 16:40:41 +0000 (18:40 +0200)]
Bump odlparent to 11.0.1

Pick up latest upgrade from upstream.

Change-Id: Iee012015b01ca70452b513e21ad7f16c1b4f727e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
21 months agoBump error-prone to 2.15.0 67/101967/1
Robert Varga [Thu, 4 Aug 2022 16:08:10 +0000 (18:08 +0200)]
Bump error-prone to 2.15.0

https://github.com/google/error-prone/releases/tag/v2.15.0

Change-Id: I6747d88577be6f7a6f7858e0d83f62bcacfff712
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
23 months agoBump versions to 4.0.1-SNAPSHOT 87/101487/1
Robert Varga [Tue, 7 Jun 2022 11:09:58 +0000 (13:09 +0200)]
Bump versions to 4.0.1-SNAPSHOT

This starts the next development iteration.

Change-Id: I637875e22a14657c6d9d3929c5cbf9bb3e28092a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
23 months agoDeprecate testutils.concurrent for removal 86/101486/1
Robert Varga [Tue, 7 Jun 2022 11:04:55 +0000 (13:04 +0200)]
Deprecate testutils.concurrent for removal

The classes in this package are not used anywhere except examples,
deprecate them for removal.

Change-Id: I2a12d92fd6f09ab3dac81a5761c3aecc357a44fc
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
23 months agoDeprecate Partials for removal 85/101485/1
Robert Varga [Tue, 7 Jun 2022 09:25:46 +0000 (11:25 +0200)]
Deprecate Partials for removal

This class is only used internally, deprecate it for removal.

Change-Id: I080f88bab779ef6470a7fcc4d3d2a4474e551640
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>