Enable JUnit tests and porting to java 17
[ccsdk/cds.git] / ms / blueprintsprocessor / modules / commons / rest-lib / src / main / kotlin / org / onap / ccsdk / cds / blueprintsprocessor / rest / service / RestLoggerService.kt
index 7442366..f5552a6 100644 (file)
@@ -150,7 +150,7 @@ suspend fun <T> mdcWebCoroutineScope(
     replaceWith = ReplaceWith("mdcWebCoroutineScope")
 )
 /** Used in Rest controller API methods to populate MDC context to nested coroutines from reactor web filter context. */
-@UseExperimental(InternalCoroutinesApi::class)
+@OptIn(InternalCoroutinesApi::class)
 fun <T> monoMdc(
     context: CoroutineContext = EmptyCoroutineContext,
     block: suspend CoroutineScope.() -> T?