From 04caefad432066ee233eb33899601a42a52b84c1 Mon Sep 17 00:00:00 2001 From: Lukasz Rajewski Date: Thu, 6 Oct 2022 18:03:09 +0200 Subject: UATExecutor support for k8sConnectionPlugin Issue-ID: CCSDK-3785 Signed-off-by: Lukasz Rajewski Change-Id: Ice34d61ac62fe8935a6df539376dcbb9e998beaf --- .../rest/service/BluePrintRestLibPropertyService.kt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ms/blueprintsprocessor/modules') diff --git a/ms/blueprintsprocessor/modules/commons/rest-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/rest/service/BluePrintRestLibPropertyService.kt b/ms/blueprintsprocessor/modules/commons/rest-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/rest/service/BluePrintRestLibPropertyService.kt index 4f91e547b..ac6cac2b7 100644 --- a/ms/blueprintsprocessor/modules/commons/rest-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/rest/service/BluePrintRestLibPropertyService.kt +++ b/ms/blueprintsprocessor/modules/commons/rest-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/rest/service/BluePrintRestLibPropertyService.kt @@ -63,6 +63,14 @@ open class BluePrintRestLibPropertyService(private var bluePrintPropertiesServic return postInterceptor?.getInstance(selector, service) ?: service } + open fun interceptExternalBlueprintWebClientService( + externalService: BlueprintWebClientService, + selector: String + ): BlueprintWebClientService { + val service = preInterceptor?.getInstance(selector) ?: externalService + return postInterceptor?.getInstance(selector, service) ?: service + } + fun restClientProperties(prefix: String): RestClientProperties { val type = bluePrintPropertiesService.propertyBeanType( "$prefix.type", String::class.java -- cgit 1.2.3-korg