diff options
author | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2022-10-06 18:03:09 +0200 |
---|---|---|
committer | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2022-10-06 18:41:42 +0000 |
commit | 04caefad432066ee233eb33899601a42a52b84c1 (patch) | |
tree | cd93875949892eb339e69714e3da6ffb09e961d1 /ms/blueprintsprocessor/modules/commons/rest-lib/src | |
parent | adc8f4c193a138f9cb06c145e16d56103acd5ecc (diff) |
UATExecutor support for k8sConnectionPlugin
Issue-ID: CCSDK-3785
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: Ice34d61ac62fe8935a6df539376dcbb9e998beaf
Diffstat (limited to 'ms/blueprintsprocessor/modules/commons/rest-lib/src')
-rw-r--r-- | ms/blueprintsprocessor/modules/commons/rest-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/rest/service/BluePrintRestLibPropertyService.kt | 8 |
1 files changed, 8 insertions, 0 deletions
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 |