From ea7d1b448699d890d15fd37c69d4705a094a1b53 Mon Sep 17 00:00:00 2001 From: emaclee Date: Sun, 24 Mar 2024 19:05:34 +0000 Subject: Uplift Spring boot 3.2.4 - uplifted spring boot from 3.1.2 to 3.2.4 - removed redundant dependencies - upgraded relevant dependencies - use of @Bean(some_name) is give a specific bean name - using @Bean(some_name) with @Qualifier so on the injection point to specify which bean to actually inject, this is used as we deal with multiple beans of the same type. Issue-ID: CPS-2101 Change-Id: I64d5bf567b9eb03fb39034a46528d0160b332715 Signed-off-by: emaclee --- cps-ncmp-service/lombok.config | 5 +++-- cps-ncmp-service/pom.xml | 8 +------- .../cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java | 5 +++++ .../impl/config/embeddedcache/TrustLevelCacheConfig.java | 13 ++++++++----- .../cps/ncmp/api/impl/inventory/CmHandleQueriesImpl.java | 9 ++++++++- .../cps/ncmp/api/impl/trustlevel/TrustLevelManager.java | 8 +++++++- .../impl/trustlevel/dmiavailability/DmiPluginWatchDog.java | 6 +++++- 7 files changed, 37 insertions(+), 17 deletions(-) (limited to 'cps-ncmp-service') diff --git a/cps-ncmp-service/lombok.config b/cps-ncmp-service/lombok.config index 359519ca7..f5a2cabf4 100644 --- a/cps-ncmp-service/lombok.config +++ b/cps-ncmp-service/lombok.config @@ -1,5 +1,5 @@ # ============LICENSE_START======================================================= -# Copyright (C) 2021-2022 Nordix Foundation +# Copyright (C) 2021-2024 Nordix Foundation # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,4 +17,5 @@ # ============LICENSE_END========================================================= config.stopBubbling = true -lombok.addLombokGeneratedAnnotation = true \ No newline at end of file +lombok.addLombokGeneratedAnnotation = true +lombok.copyableAnnotations += org.springframework.beans.factory.annotation.Qualifier \ No newline at end of file diff --git a/cps-ncmp-service/pom.xml b/cps-ncmp-service/pom.xml index 4feb67644..99b1ef3e3 100644 --- a/cps-ncmp-service/pom.xml +++ b/cps-ncmp-service/pom.xml @@ -1,7 +1,7 @@