summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/modules
diff options
context:
space:
mode:
authorKAPIL SINGAL <ks220y@att.com>2022-10-07 16:35:30 +0000
committerGerrit Code Review <gerrit@onap.org>2022-10-07 16:35:30 +0000
commitddd4e8990d487f34a190d314a0f0ea266925e532 (patch)
treec655cee94931fb373821ad660c28c062a3d3df9d /ms/blueprintsprocessor/modules
parent0afbca2f10dad1d169f2e32ae19d6c5e4327c271 (diff)
parent04caefad432066ee233eb33899601a42a52b84c1 (diff)
Merge "UATExecutor support for k8sConnectionPlugin"
Diffstat (limited to 'ms/blueprintsprocessor/modules')
-rw-r--r--ms/blueprintsprocessor/modules/commons/rest-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/rest/service/BluePrintRestLibPropertyService.kt8
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