aaa.git
3 weeks agoBump H2 database to 2.2.224 84/111284/2 master
Samuel Schneider [Fri, 5 Apr 2024 14:16:00 +0000 (16:16 +0200)]
Bump H2 database to 2.2.224

Bump H2 database from version 2.2.220 to 2.2.224.
https://github.com/h2database/h2database/releases/tag/version-2.2.222
https://github.com/h2database/h2database/releases/tag/version-2.2.224

JIRA: AAA-275
Change-Id: Id2b9d7d633c7570663481fa6812536553e288d95
Signed-off-by: Samuel Schneider <samuel.schneider@pantheon.tech>
4 weeks agoFix: Update gerrit-review-action to v0.7 67/111167/1
Anil Belur [Mon, 1 Apr 2024 23:49:26 +0000 (09:49 +1000)]
Fix: Update gerrit-review-action to v0.7

Change-Id: Id44b19ab12435cee98bbeaef5f1ae28cfc1bd189
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 weeks agoBump versions to 0.19.4-SNAPSHOT 46/111146/1
Robert Varga [Sun, 31 Mar 2024 19:43:12 +0000 (21:43 +0200)]
Bump versions to 0.19.4-SNAPSHOT

This starts the next development iteration.

Change-Id: I1c74855ef3a1f58c922c9794499ba6682fb436dd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 weeks agoRelease aaa v0.19.3
jenkins-releng [Sun, 31 Mar 2024 16:52:59 +0000 (16:52 +0000)]
Release aaa

5 weeks agoBump controller to 9.0.2 08/111108/1
Robert Varga [Wed, 27 Mar 2024 12:26:14 +0000 (13:26 +0100)]
Bump controller to 9.0.2

Pick up updates from upstream.

Change-Id: I0e8a9d31882e7b448197dff462fec9ba9c52d145
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 weeks agoFix: Update gerrit-review-action to v0.6 37/110837/1
Anil Belur [Sun, 17 Mar 2024 23:40:49 +0000 (09:40 +1000)]
Fix: Update gerrit-review-action to v0.6

Change-Id: I794b9e51156593361dcc96db63fac76e6e0f9821
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
6 weeks agoBump versions to 0.19.3-SNAPSHOT 80/110780/1
Robert Varga [Sat, 16 Mar 2024 15:04:01 +0000 (16:04 +0100)]
Bump versions to 0.19.3-SNAPSHOT

This starts the next development iteration.

Change-Id: If06eaba22eab23ca4c7f8e32fc10c47b024baa7e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 weeks agoRelease aaa v0.19.2
jenkins-releng [Sat, 16 Mar 2024 14:28:21 +0000 (14:28 +0000)]
Release aaa

6 weeks agoMigrate to better RpcProviderService.registerRpcImplementations() 78/110778/1
Robert Varga [Fri, 15 Mar 2024 16:30:51 +0000 (17:30 +0100)]
Migrate to better RpcProviderService.registerRpcImplementations()

Remove the use of class references and ClassToInstanceMap.

Change-Id: I1e0d1ca61e1efb26cd77607bae03b4cc77eddc42
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 weeks agoBump upstreams 77/110777/2
Robert Varga [Fri, 15 Mar 2024 16:09:08 +0000 (17:09 +0100)]
Bump upstreams

Adopt:
- odlparent-13.0.11
- infrautils-6.0.6
- yangtools-13.0.2
- mdsal-13.0.1
- controller-9.0.1

Change-Id: I17301cb3d420b4adcb5e8acaa4c91b32babed9ac
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 weeks agoFix /moon property warning 74/110774/1
Ivan Hrasko [Fri, 15 Mar 2024 14:17:19 +0000 (15:17 +0100)]
Fix /moon property warning

Remove javax's WebServlet annotation usage which specifies URL patterns
and comes into conflict with osgi's HttpWhiteboardServletName and
HttpWhiteboardServletPattern when processed by org.ops4j.pax.web's
ServletTracker.

JIRA: AAA-272
Change-Id: I8ee07583f227cf8e3ebb657455906175ac79b617
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
7 weeks agoDefine RTD build.os 23/110523/3
Robert Varga [Thu, 7 Mar 2024 12:23:42 +0000 (13:23 +0100)]
Define RTD build.os

build.os is required, make sure we define it. Also update python
configuration and unshallow the git tree.

Change-Id: I1d7ba0d5adda60417ee17a3f9d6863195bb861bd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 months agoFix: Remove comma from mvn phases 08/110408/1
Anil Belur [Fri, 1 Mar 2024 00:46:03 +0000 (10:46 +1000)]
Fix: Remove comma from mvn phases

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I25404aeb2d362b794f89559ca4a89b69348682cf

3 months agoBump versions to 0.19.2-SNAPSHOT 60/110060/1
Robert Varga [Sun, 28 Jan 2024 10:58:47 +0000 (11:58 +0100)]
Bump versions to 0.19.2-SNAPSHOT

This starts the next development iteration.

Change-Id: Ic85ace4e703af51d26f4747269533e8a9a633c31
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 months agoRelease aaa v0.19.1
jenkins-releng [Sun, 28 Jan 2024 02:33:30 +0000 (02:33 +0000)]
Release aaa

3 months agoDo not publish aggregator pom.xmls 53/110053/1
Robert Varga [Sun, 28 Jan 2024 01:52:04 +0000 (02:52 +0100)]
Do not publish aggregator pom.xmls

We have three aggregators which are being installed and deployed -- and
they should not be. Hide them and reformat them to 4 spaces.

Change-Id: I41be501d4954c2728a0f66d97bc44d539fd3013b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 months agoRemove aaa.encrypt.PKIUtil 51/110051/3
Robert Varga [Sun, 28 Jan 2024 00:54:25 +0000 (01:54 +0100)]
Remove aaa.encrypt.PKIUtil

PKIUtil requires Bouncy Castle, which means we are leaking it from an
API artifact. There is only a single downstream user in netconf, which
can very easily do what PKIUtil provides itself.

JIRA: AAA-269
Change-Id: Icf509e1bd989f7609f7e072068dc4fb001b339eb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 months agoBump versions to 0.19.1-SNAPSHOT 62/109962/1
Robert Varga [Wed, 24 Jan 2024 19:55:31 +0000 (20:55 +0100)]
Bump versions to 0.19.1-SNAPSHOT

This starts the next development iteration.

Change-Id: Iaa2d6d8e6a44997f398e5a60bc05fc515700d8fb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 months agoRelease aaa v0.19.0
jenkins-releng [Wed, 24 Jan 2024 17:21:41 +0000 (17:21 +0000)]
Release aaa

3 months agoMerge "Throw exception if decryption/encryption fails"
Robert Varga [Wed, 24 Jan 2024 16:04:58 +0000 (16:04 +0000)]
Merge "Throw exception if decryption/encryption fails"

3 months agoThrow exception if decryption/encryption fails 51/108651/16
Peter Suna [Wed, 25 Oct 2023 11:52:15 +0000 (13:52 +0200)]
Throw exception if decryption/encryption fails

Previously, in the case of a failure during encryption or decryption
in AAA, the system would only log an error and return insered string.
This could lead user to believe that the operation was successful,
resulting in them receiving unencrypted/undecrypted data.
Also is possible that IllegalArgumentException is thrown which is also
wrong.

This patch simplifies things by throwing GeneralSecurityException, as
that is quite a natural thing to do.

In terms of IAEs -- this relates to String encoding and not encryption,
so we solve this by simply not providing String-based services, forcing
users to deal with translation themselves.

Since we are in the area, also convert unit tests to JUnit5, as they are
extremely simplistic.

Also make the service null-hostile, as that it almost is -- encrypt path
would throw IAE on null bytes, this turns it into a NPE and guards the
decrypt path the same way.

Finally we take care of the asymmetry in encrypt/descrypt when we do not
have a key -- simply by refusing to start it we fail to initialize.

JIRA: AAA-266
Change-Id: I4c9078e293fe5b98f0e6b69568ca10a75a4fbe07
Signed-off-by: Peter Suna <peter.suna@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Signed-off-by: Yaroslav Lastivka <yaroslav.lastivka@pantheon.tech>
3 months agoExpose Provide-Capability from aaa-cert 51/109951/1
Robert Varga [Wed, 24 Jan 2024 12:23:50 +0000 (13:23 +0100)]
Expose Provide-Capability from aaa-cert

Downstreams are interested in using ICertificateManager via OSGi DS.
Make sure we expose Provide-Capability to satisfy the Require-Capability
such use generates.

JIRA: AAA-268
Change-Id: Ibae9e6e19ec470c20c9c7a886db0b07af6556dfa
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 months agoConvert OSGiEncryptionServiceConfiguratorTest 15/109915/1
Robert Varga [Mon, 22 Jan 2024 18:23:55 +0000 (19:23 +0100)]
Convert OSGiEncryptionServiceConfiguratorTest

This is a simple test and we can ditch use of Hamcrest by taking
advantage of assertInstanceOf().

Change-Id: I7ebfcecda1d687fc6f51d9fc730a4a5734450c01
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 months agoFix warnings in aaa-shiro 14/109914/1
Robert Varga [Mon, 22 Jan 2024 17:17:45 +0000 (18:17 +0100)]
Fix warnings in aaa-shiro

We have a few deprecation warnings, fix them up.

Change-Id: Ic9ab34acd1b9f9ca8ea7695fc984fc0b7a43247e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 months agoClean up warnings in aaa-password-service 13/109913/1
Robert Varga [Mon, 22 Jan 2024 17:17:16 +0000 (18:17 +0100)]
Clean up warnings in aaa-password-service

We have a few warnings about deprecation and also duplicate
version/groupId. Fix all of them up.

Change-Id: Ic2e72f188ea0f374d023ac8444289491bfe555f3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 months agoClean up warnings in aaa-encrypt-service 12/109912/1
Robert Varga [Mon, 22 Jan 2024 17:11:52 +0000 (18:11 +0100)]
Clean up warnings in aaa-encrypt-service

We have deprecation warnings, migrate them. While we are at it, also
suppress a static warning on deactivate().

Change-Id: If10e271fecc6aebbc3230b561d48527ce2f68d28
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 months agoMerge "Remove duplicate groupId"
Robert Varga [Mon, 22 Jan 2024 16:23:57 +0000 (16:23 +0000)]
Merge "Remove duplicate groupId"

3 months agoRemove duplicate groupId 11/109911/1
Robert Varga [Mon, 22 Jan 2024 15:52:12 +0000 (16:52 +0100)]
Remove duplicate groupId

We have groupId inherited from parent, do not override it.

Change-Id: Ib7c7d53a86c034b6a9684044abaa65a948add48b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 months agoCreate Unit Test for EncryptService's Failed Decryption 34/109834/3
Yaroslav Lastivka [Thu, 18 Jan 2024 12:47:13 +0000 (14:47 +0200)]
Create Unit Test for EncryptService's Failed Decryption

Added a unit test demonstrating that the decrypt method returns
the same password due to a failed decryption process,
resulting in an IllegalBlockSizeException.

JIRA: NETCONF-1216
Change-Id: I658a03d6dc81844c5e7f419c17dc13ca0602c85b
Signed-off-by: Yaroslav Lastivka <yaroslav.lastivka@pantheon.tech>
3 months agoBump upstreams 06/109806/5
Robert Varga [Tue, 16 Jan 2024 09:27:18 +0000 (10:27 +0100)]
Bump upstreams

Adopt:
- yangtools-13.0.1
- mdsal-13.0.0
- controller-9.0.0

Change-Id: If209af390b1333bf8273bacff623cdd5a8f1ed28
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 months agoBump versions to 0.19.0-SNAPSHOT 98/109798/1
Robert Varga [Tue, 16 Jan 2024 09:24:57 +0000 (10:24 +0100)]
Bump versions to 0.19.0-SNAPSHOT

This starts the next major development iteration.

Change-Id: I994a17f3cc1a0538f77da4a2016a2ccaa9cc1b7e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 months agoUse simple DataListener 75/109475/6
Robert Varga [Fri, 29 Dec 2023 07:58:20 +0000 (08:58 +0100)]
Use simple DataListener

Reuse the utility provided from mdsal-binding-api rather than rolling
our own -- making things a lot simpler.

Change-Id: I04a7deb174a362d89957211c63bd660af551ee40
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 months agoBump versions to 0.18.5-SNAPSHOT 78/109478/1
Robert Varga [Fri, 29 Dec 2023 09:53:44 +0000 (10:53 +0100)]
Bump versions to 0.18.5-SNAPSHOT

This starts the next development iteration.

Change-Id: I33d5f0886fef3cec3fffd32a97ceb433d74e4051
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 months agoRelease aaa v0.18.4
jenkins-releng [Fri, 29 Dec 2023 08:31:43 +0000 (08:31 +0000)]
Release aaa

4 months agoMerge changes I81b53d0e,I15ff8bc4
Robert Varga [Fri, 29 Dec 2023 08:13:29 +0000 (08:13 +0000)]
Merge changes I81b53d0e,I15ff8bc4

* changes:
  Bump upstreams
  Use constructor injection in aaa-password-service

4 months agoBump upstreams 68/109468/2
Robert Varga [Fri, 29 Dec 2023 06:13:54 +0000 (07:13 +0100)]
Bump upstreams

Adopt:
- odparent-13.0.10
- infrautils-6.0.5
- yangtools-11.0.5
- mdsal-12.0.4
- controller-8.0.4

Change-Id: I81b53d0ef52f396cc7066dc3654639da1187be83
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 months agoUse constructor injection in aaa-password-service 74/109474/1
Robert Varga [Fri, 29 Dec 2023 07:53:23 +0000 (08:53 +0100)]
Use constructor injection in aaa-password-service

Clean up OSGiPasswordServiceConfigBootstrap to not leak its
implementation details into the service registry and use constructor
injection to keep upgraded SpotBugs happy.

Change-Id: I15ff8bc4b4af6305bc30a95b71402919501d7164
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 months agoFix: Set MVN_PHASES to clean and install 00/108800/3
Anil Belur [Wed, 1 Nov 2023 10:07:59 +0000 (20:07 +1000)]
Fix: Set MVN_PHASES to clean and install

The defaults being set are "clean, deploy".
Pass additional opts "-Dkaraf.keep.unpack"

Change-Id: I672b44bba07709cd45a7e008b17769c0f28b8b08
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 months agoCI: Add AAA CSIT workflow prototype 28/109328/1
Anil Belur [Sat, 16 Dec 2023 00:32:46 +0000 (10:32 +1000)]
CI: Add AAA CSIT workflow prototype

Add a workflow to test tje CSIT 1-Node for AAA

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: Ib1bb3610afbc143050505c841a01fdea2fe424df

6 months agoFix: Use mvn version 3.8.3 96/108796/1
Anil Belur [Wed, 1 Nov 2023 07:09:04 +0000 (17:09 +1000)]
Fix: Use mvn version 3.8.3

The version of mvn does not match what is required in pom file.

Error:  Detected Maven Version: 3.8.2 is not in the allowed
range [3.8.3,).

Change-Id: Ie1133036b5ceb235cf7ce712ef762b70b3be21be
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
6 months agoBump versions to 0.18.4-SNAPSHOT 89/108789/1
Robert Varga [Tue, 31 Oct 2023 13:04:39 +0000 (14:04 +0100)]
Bump versions to 0.18.4-SNAPSHOT

This starts the next development iteration.

Change-Id: I35b42e04430dd8589484f772dda0f2ca0b56f80d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 months agoRelease aaa v0.18.3
jenkins-releng [Tue, 31 Oct 2023 11:17:49 +0000 (11:17 +0000)]
Release aaa

6 months agoBump upstreams 69/108769/1
Robert Varga [Tue, 31 Oct 2023 10:28:18 +0000 (11:28 +0100)]
Bump upstreams

Adopt:
- odlparent-13.0.7
- infrautils-6.0.4
- yangtools-11.0.4
- mdsal-12.0.3
- controller-8.0.3

Change-Id: I42b6715d24614bcbdce6c52d53d48062d2614531
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 months agoBump H2 database to 2.2.220 54/106954/3
Yaroslav Lastivka [Fri, 21 Jul 2023 08:35:00 +0000 (11:35 +0300)]
Bump H2 database to 2.2.220

https://github.com/h2database/h2database/releases/tag/version-2.2.220

JIRA: AAA-262
Change-Id: I6400fb784899c178c538e355168a4f71e1a8668e
Signed-off-by: Yaroslav Lastivka <yaroslav.lastivka@pantheon.tech>
6 months agoFix: Invalid workflow file name 10/108610/1
Anil Belur [Mon, 23 Oct 2023 23:54:39 +0000 (09:54 +1000)]
Fix: Invalid workflow file name

Error:
-> "lfit/releng-reusable-workflows/.github/workflows/gerrit-compose-
  required-maven-verify.yaml@main"
: failed to fetch workflow: workflow was not found.

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I7b666579f767b8cee61389834ab18e4d55b6bb66

6 months agoFix: Set ODL Nexus proxy env variable through vars 13/108513/3
Anil Belur [Thu, 19 Oct 2023 01:45:51 +0000 (11:45 +1000)]
Fix: Set ODL Nexus proxy env variable through vars

The workflow is modified to take in extra vars which now allows
to set the env vars.

Change-Id: If93b1c49c86f1bde23f5c1536320bc7737876ce4
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
6 months agoFix: Set ODL Nexus proxy env in workflow 56/108356/1
Anil Belur [Wed, 11 Oct 2023 22:50:54 +0000 (08:50 +1000)]
Fix: Set ODL Nexus proxy env in workflow

Change-Id: I0c9bd9c0b02902af9dad72eb8256c3be985624d7
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
6 months agoCI: Add Github Actions maven verify aaa workflow 95/108295/1
Anil Belur [Tue, 10 Oct 2023 01:47:10 +0000 (11:47 +1000)]
CI: Add Github Actions maven verify aaa workflow

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: Ibff5cf99b61b19dd5447757d863101c23a699fa6

7 months agoBump versions to 0.18.3-SNAPSHOT 11/107911/1
Robert Varga [Mon, 18 Sep 2023 17:15:04 +0000 (19:15 +0200)]
Bump versions to 0.18.3-SNAPSHOT

This starts the next development iteration.

Change-Id: Ie361fd2c573de59dab2063bab2ba2befa14f6a43
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
7 months agoRelease aaa v0.18.2
jenkins-releng [Mon, 18 Sep 2023 16:11:21 +0000 (16:11 +0000)]
Release aaa

7 months agoBump upstreams 07/107907/1
Robert Varga [Mon, 18 Sep 2023 14:51:14 +0000 (16:51 +0200)]
Bump upstreams

Adopt:
- yangtools-11.0.2
- mdsal-12.0.2
- controller-8.0.2

Change-Id: If9c28789aa1e2866dc67687338b5c43a3be89fc6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
7 months agoDisable invalidRequest.blockTraversal 88/107888/4
Robert Varga [Sat, 16 Sep 2023 06:31:31 +0000 (08:31 +0200)]
Disable invalidRequest.blockTraversal

Shiro's traversal filtering disallows escaped slashes, which are part of
RESTCONF spec. Disable traversal filtering by default.

JIRA: AAA-265
Change-Id: I17fce53bf9e8f34a81796fa476508f5dd5a5b7e1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
7 months agoMigrate aaa-cert to simple RPCs 20/107220/3
Robert Varga [Wed, 6 Sep 2023 14:22:44 +0000 (16:22 +0200)]
Migrate aaa-cert to simple RPCs

Do not use RpcService-based interfaces.

JIRA: AAA-263
Change-Id: Ic93ead576a11ff6b2dea0199309ff909b974b029
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
8 months agoFix odl-aaa-encryption-service 51/107651/1
Robert Varga [Thu, 31 Aug 2023 20:03:49 +0000 (22:03 +0200)]
Fix odl-aaa-encryption-service

We should be referencing upstream features through a range, fix that.

Change-Id: Ie8b4e4de00acc7c8f06ffbfdc924248286526757
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
8 months agoBump versions to 0.18.2-SNAPSHOT 26/107626/1
Robert Varga [Thu, 31 Aug 2023 09:35:00 +0000 (11:35 +0200)]
Bump versions to 0.18.2-SNAPSHOT

This starts the next development iteration.

Change-Id: I308800a1450d2ccd0a9cc64525d18cca3049d190
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
8 months agoRelease aaa v0.18.1
jenkins-releng [Thu, 31 Aug 2023 09:00:12 +0000 (09:00 +0000)]
Release aaa

8 months agoBump shiro to 1.12.0 07/107607/2
Robert Varga [Thu, 31 Aug 2023 07:23:01 +0000 (09:23 +0200)]
Bump shiro to 1.12.0

https://shiro.apache.org/blog/2023/07/18/apache-shiro-1120-released.html

JIRA: AAA-264
Change-Id: I2b8da8e1d85afe5f74a14b18d7d22cb336519e1f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
8 months agoBump upstreams 05/107605/2
Robert Varga [Wed, 30 Aug 2023 16:32:27 +0000 (18:32 +0200)]
Bump upstreams

Adopt:
- odlparent-13.0.4
- infrautils-6.0.2
- yangtools-11.0.1
- mdsal-12.0.1
- controller-8.0.1

Change-Id: I070f0363a33db28c02c2529e4870c0a66590bece
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
8 months agoMake nested classes final 04/107604/1
Robert Varga [Wed, 30 Aug 2023 16:31:50 +0000 (18:31 +0200)]
Make nested classes final

This fixes checkstyle violations reported by upgraded checkstyle.

Change-Id: Icda2fed21a05615c6831a90471202b5dbdee2272
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
8 months agoAdd sonarcloud badges to README 89/107189/10
Matej Sramcik [Tue, 1 Aug 2023 13:49:50 +0000 (15:49 +0200)]
Add sonarcloud badges to README

Add sonarcloud badges: Reliability Rating, Quality Gate Status,
Technical Debt, Coverage, Lines of Code, Code Smells, Maintainability
Rating, Security Rating, Vulnerabilities and Duplicated Lines.

JIRA: AAA-261
Change-Id: I5e0a8ed3025c444ff63d3229bd4f243e987502e9
Signed-off-by: Matej Sramcik <matej.sramcik@pantheon.tech>
8 months agoAdd maven, javadoc and license badges to README 50/106950/8
Matej Sramcik [Fri, 21 Jul 2023 09:05:47 +0000 (11:05 +0200)]
Add maven, javadoc and license badges to README

Add maven central, javadoc and license badges to README.

JIRA: AAA-261
Change-Id: Ifc1f98ddf1c5489a033b2bb1bd31456d4a1cb0d0
Signed-off-by: Matej Sramcik <matej.sramcik@pantheon.tech>
8 months agoMake getCipherSuites() static 19/107219/1
Robert Varga [Thu, 3 Aug 2023 12:05:17 +0000 (14:05 +0200)]
Make getCipherSuites() static

This is a simple stateless method, make sure it is static.

Change-Id: Ib2294c1a6146e25430a04051a890c38a9d281ba5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
10 months agoBump versions to 0.18.1-SNAPSHOT 82/106782/1
Robert Varga [Sun, 2 Jul 2023 16:03:14 +0000 (18:03 +0200)]
Bump versions to 0.18.1-SNAPSHOT

This starts the next development iteration.

Change-Id: I5e2be76bfbd61f7e3907c80c2587a99233421e2e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
10 months agoRelease aaa v0.18.0
jenkins-releng [Sun, 2 Jul 2023 13:20:17 +0000 (13:20 +0000)]
Release aaa

10 months agoUse controller released artifacts 78/106778/1
Robert Varga [Sun, 2 Jul 2023 11:01:36 +0000 (13:01 +0200)]
Use controller released artifacts

Ditch snapshots, use the properly-released version.

Change-Id: Iadcc45ca93d789e3b97f1a29e79a0bcde810b87f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
10 months agoBump to mdsal-12.0.0 69/106769/1
Robert Varga [Fri, 30 Jun 2023 08:32:38 +0000 (10:32 +0200)]
Bump to mdsal-12.0.0

Use properly-release artifacts.

Change-Id: I106d95559193ca28d701407366929f3195256ab0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
10 months agoBump upstreams 97/106697/1
Robert Varga [Mon, 26 Jun 2023 13:31:04 +0000 (15:31 +0200)]
Bump upstreams

Adopt:
- odlparent-13.0.3
- infrautils-6.0.1
- yangtools-11.0.0

Change-Id: Id968ba10a647b7a614cdd85fa65056542c0f29be
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
10 months agoClean up javadoc links 96/106696/1
Robert Varga [Mon, 26 Jun 2023 13:33:34 +0000 (15:33 +0200)]
Clean up javadoc links

Our dependencies have changed, adjust their links.

Change-Id: Icb36424d91749c3d90529463283a9959dc816228
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
10 months agoClean up dependencies a bit 63/106563/1
Robert Varga [Tue, 20 Jun 2023 21:19:43 +0000 (23:19 +0200)]
Clean up dependencies a bit

Fixup warnings reported by depends-maven-plugin.

Change-Id: I77e17349c34b1cc8779df4dbb345abcea4ba6ccb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
10 months agoMerge changes If4efc2c9,I8debbf74,Ied5296d8
Robert Varga [Tue, 20 Jun 2023 21:08:46 +0000 (21:08 +0000)]
Merge changes If4efc2c9,I8debbf74,Ied5296d8

* changes:
  Cleanup AAA dev-guide
  Cleanup AAA user-guide
  Cleanup AAA readme

10 months agoMerge "Remove API to validate user access"
Robert Varga [Tue, 20 Jun 2023 21:04:39 +0000 (21:04 +0000)]
Merge "Remove API to validate user access"

10 months agoBump upstreams 32/106532/5
Robert Varga [Mon, 19 Jun 2023 11:44:04 +0000 (13:44 +0200)]
Bump upstreams

Adopt:
- odlparent-13.0.1
- infrautils-6.0.0
- yangtools-11.0.0-SNAPSHOT
- mdsal-12.0.0-SNAPSHOT
- controller-8.0.0-SNAPSHOT

Also update aaa-cli-jar shading to string crypto signatures.

Change-Id: I331dda04333fae7c71d1ad403e073e9cf0974c5e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
10 months agoRemove API to validate user access 68/104868/5
Yaroslav Lastivka [Mon, 13 Mar 2023 12:36:56 +0000 (14:36 +0200)]
Remove API to validate user access

API to validate user access is not working and its not useful at all.

Its not desired that admin knows users' passwords as it is required
by this user validation API.

Admin users can retrieve information provided by this API by using:
list-users, list-roles and list-domains APIs which are working fine.

JIRA: AAA-252
Change-Id: I7e1c2b0cef93851d59c4367a578fa7758d6c449d
Signed-off-by: Yaroslav Lastivka <yaroslav.lastivka@pantheon.tech>
10 months agoMerge "Bump conf.yaml versions to Potassium"
Robert Varga [Mon, 19 Jun 2023 16:03:23 +0000 (16:03 +0000)]
Merge "Bump conf.yaml versions to Potassium"

10 months agoBump versions to 0.18.0-SNAPSHOT 31/106531/1
Robert Varga [Mon, 19 Jun 2023 11:50:57 +0000 (13:50 +0200)]
Bump versions to 0.18.0-SNAPSHOT

This starts the next major development iteration.

Change-Id: Ib2e58d52ec02aba6bea2ff6bc0a77119f0421c25
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
10 months agoBump versions to 0.17.11-SNAPSHOT 34/106434/1
Robert Varga [Thu, 8 Jun 2023 18:06:25 +0000 (20:06 +0200)]
Bump versions to 0.17.11-SNAPSHOT

This starts the next development iteration.

Change-Id: Id7336b6fae78ebef049070541496ec64f9675568
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
10 months agoRelease aaa v0.17.10
jenkins-releng [Thu, 8 Jun 2023 16:00:47 +0000 (16:00 +0000)]
Release aaa

10 months agoBump upstreams 33/106433/1
Robert Varga [Thu, 8 Jun 2023 15:35:31 +0000 (17:35 +0200)]
Bump upstreams

Adopt:
- yangtools-10.0.8
- mdsal-11.0.11
- controller-7.0.8

Change-Id: Ibb690d229466c31c533f5e1f29c1dc4d065186fb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
10 months agoCleanup AAA dev-guide 06/106306/5
Matej.Sramcik [Wed, 31 May 2023 09:37:44 +0000 (11:37 +0200)]
Cleanup AAA dev-guide

Remove occurrences of Oauth2.

JIRA: AAA-260
Change-Id: If4efc2c96ad70578ab54feaeed98450b37156277
Signed-off-by: Matej Sramcik <matej.sramcik@pantheon.tech>
10 months agoCleanup AAA user-guide 05/106305/4
Matej.Sramcik [Wed, 31 May 2023 09:35:47 +0000 (11:35 +0200)]
Cleanup AAA user-guide

Remove occurrences of Oauth2.

JIRA: AAA-260
Change-Id: I8debbf7402d3ddf8bc64f94c491c7946ba7bef6d
Signed-off-by: Matej Sramcik <matej.sramcik@pantheon.tech>
10 months agoCleanup AAA readme 03/106303/4
Matej.Sramcik [Wed, 31 May 2023 08:37:22 +0000 (10:37 +0200)]
Cleanup AAA readme

Update Java, Maven and Python versions.
Remove occurrences of Oauth2.

JIRA: AAA-260
Change-Id: Ied5296d8338d330570f8679a64b10981f508c72d
Signed-off-by: Matej Sramcik <matej.sramcik@pantheon.tech>
11 months agoBump versions to 0.17.10-SNAPSHOT 46/106346/1
Robert Varga [Thu, 1 Jun 2023 11:26:45 +0000 (13:26 +0200)]
Bump versions to 0.17.10-SNAPSHOT

This starts the next development iteration.

Change-Id: I5b9f6d71e6d19623175bee86d3e187c38f208e84
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
11 months agoRelease aaa v0.17.9
jenkins-releng [Thu, 1 Jun 2023 10:53:14 +0000 (10:53 +0000)]
Release aaa

11 months agoBump upstreams 43/106343/1
Robert Varga [Thu, 1 Jun 2023 10:17:09 +0000 (12:17 +0200)]
Bump upstreams

Adopt:
- odlparent-12.0.6
- infrautils-5.0.5
- yangtools-10.0.7
- mdsal-11.0.10
- controller-7.0.7

Change-Id: Iba20e8db7222bd960df69013ea2614e8bfaf12eb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
11 months agoBump conf.yaml versions to Potassium 26/106226/5
Matej.Sramcik [Mon, 29 May 2023 08:57:37 +0000 (10:57 +0200)]
Bump conf.yaml versions to Potassium

Change aaa configuration to Potassium

JIRA: AAA-259
Change-Id: I91ee76146e3b0c8b4ef7a763f30098c05d811d2f
Signed-off-by: Matej.Sramcik <matej.sramcik@pantheon.tech>
11 months agoBump conf.yaml versions to Argon 63/106163/3
Matej.Sramcik [Fri, 26 May 2023 09:34:15 +0000 (11:34 +0200)]
Bump conf.yaml versions to Argon

Change aaa configuration to Argon

JIRA: AAA-259
Change-Id: I723f3a441108ca7edb792b046d4b97a7da35c0f1
Signed-off-by: Matej Sramcik <matej.sramcik@pantheon.tech>
12 months agoBump versions to 0.17.9-SNAPSHOT 66/105566/1
Robert Varga [Fri, 21 Apr 2023 08:59:29 +0000 (10:59 +0200)]
Bump versions to 0.17.9-SNAPSHOT

This starts the next development iteration.

Change-Id: I992e9239ae5afe6ffe34f7797d53e75a1d5cf479
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
12 months agoRelease aaa v0.17.8
jenkins-releng [Fri, 21 Apr 2023 07:48:43 +0000 (07:48 +0000)]
Release aaa

12 months agoBump upstreams 24/105524/2
Robert Varga [Wed, 19 Apr 2023 21:24:03 +0000 (23:24 +0200)]
Bump upstreams

Adopt:
- odlparent-12.0.5
- infrautils-5.0.4
- yangtools-10.0.6
- mdsal-11.0.9
- controller-7.0.6

Change-Id: I54dd1f1a0d3df8ca21accc25b26efb578a1cebef
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
12 months agoMigrate callers of Optional.get() 23/105523/1
Robert Varga [Wed, 19 Apr 2023 21:49:20 +0000 (23:49 +0200)]
Migrate callers of Optional.get()

Use Optional.orElseThrow() instead.

Change-Id: I0b12efb5a35fa3f5e56b219ee7c213f653eb0aad
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
13 months agoBump versions to 0.17.8-SNAPSHOT 30/105030/1
Robert Varga [Mon, 27 Mar 2023 08:04:44 +0000 (10:04 +0200)]
Bump versions to 0.17.8-SNAPSHOT

This starts the next development iteration.

Change-Id: I5a14b9ef8228d1f4026f8612558cd6c52cce6524
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
13 months agoUse ClusteredDTCL in OSGiEncryptionServiceConfigurator 29/105029/1
Robert Varga [Mon, 27 Mar 2023 07:41:21 +0000 (09:41 +0200)]
Use ClusteredDTCL in OSGiEncryptionServiceConfigurator

Plain DataTreeChangeListener is not being notified on non-leader nodes,
leading to a failure to start up. Fix that by using
ClusteredDataTreeChangeListener.

JIRA: AAA-258
Change-Id: I479fb5b0ec5fb4186de0f747839ee75c18d01609
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
13 months agoMerge "Update dev-guide doc for H2 client"
Robert Varga [Tue, 21 Mar 2023 09:33:42 +0000 (09:33 +0000)]
Merge "Update dev-guide doc for H2 client"

13 months agoRemove OAuth2 remnants 68/104968/5
OleksandrZharov [Mon, 20 Mar 2023 09:42:53 +0000 (10:42 +0100)]
Remove OAuth2 remnants

Removed code related to tokens and their validation from
TokenAuthRealm class - OAuth2 is gone so we don't need it.

JIRA: AAA-255
Change-Id: I67e1a155c70f6ea8a328676bd462acd97332d58b
Signed-off-by: OleksandrZharov <Oleksandr.Zharov@pantheon.tech>
13 months agoRemove ODLHttpAuthenticationFilter 73/104773/4
Ivan Hrasko [Mon, 6 Mar 2023 12:52:51 +0000 (13:52 +0100)]
Remove ODLHttpAuthenticationFilter

ODLHttpAuthenticationFilter is a remnant from times ODL
supported OAuth2.

Remove it and replace in AAA configuration with Shiro's
default BasicHttpAuthenticationFilter. Thus we do no need to
set used filter explicitly in configuration.

JIRA: AAA-255
Change-Id: I13fb22ff7c2c36e7a504eaf5baa5b7c069ee3f2a
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
Signed-off-by: OleksandrZharov <Oleksandr.Zharov@pantheon.tech>
13 months agoUpdate dev-guide doc for H2 client 28/104728/5
Peter Suna [Thu, 2 Mar 2023 14:55:48 +0000 (15:55 +0100)]
Update dev-guide doc for H2 client

The current documentation is missing information about
the credentials and the location where the H2 database is stored.

JIRA: AAA-253
Change-Id: Ifb01e9f1ea9583520bf09ce1dcb19770107feb4c
Signed-off-by: Peter Suna <peter.suna@pantheon.tech>
14 months agoBump versions to 0.17.7-SNAPSHOT 80/104580/1
Robert Varga [Fri, 24 Feb 2023 18:57:24 +0000 (19:57 +0100)]
Bump versions to 0.17.7-SNAPSHOT

This starts the next development iteration.

Change-Id: Ib06169ea55cf4251bfd2462e04a2d94f6aabf6c0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
14 months agoBump upstreams 75/104575/1
Robert Varga [Thu, 23 Feb 2023 21:29:25 +0000 (22:29 +0100)]
Bump upstreams

Adopt:
- odlparent-12.0.3
- infrautils-5.0.3
- yangtools-10.0.4
- mdsal-11.0.7
- controller-7.0.4

Change-Id: Icecb33051294b1a1f402d848bca02e0e367a0050
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
14 months agoMerge "Use {Key,Trust}ManagerFactory.getDefaultAlgorithm()"
Robert Varga [Thu, 23 Feb 2023 21:28:03 +0000 (21:28 +0000)]
Merge "Use {Key,Trust}ManagerFactory.getDefaultAlgorithm()"

14 months agoMerge changes I405a2317,Ifbaf2447,Ief534eaa
Robert Varga [Thu, 23 Feb 2023 18:29:44 +0000 (18:29 +0000)]
Merge changes I405a2317,Ifbaf2447,Ief534eaa

* changes:
  Remove oauth2 example from docs
  Fix IdM examples in user-guide
  Update AAA documentation