From ef08e0fcf7a8c507ccd0e5c6f6ed8d43e9583370 Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Wed, 10 Jul 2024 17:34:13 +0100 Subject: Policy Executor Feature Toggle - defined config parameters for feature toggle and server details - log request details when feature enabled - improved JavaDoc in Controller - improved configuration properties checks in HttpClientConfigurationSpec Issue-ID: CPS-2311 Change-Id: I1ff4bd3592ce2570ac74f9ec6e62b75001cb611a Signed-off-by: ToineSiebelink --- .../ncmp/rest/controller/NetworkCmProxyController.java | 18 +++++++++--------- cps-ncmp-rest/src/test/resources/application.yml | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'cps-ncmp-rest/src') diff --git a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java index bb2332d615..a482cf5a3c 100755 --- a/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java +++ b/cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java @@ -121,7 +121,7 @@ public class NetworkCmProxyController implements NetworkCmProxyApi { /** * Query resource data from datastore. * - * @param datastoreName name of the datastore + * @param datastoreName name of the datastore (currently only supports "ncmp-datastore:operational") * @param cmHandle cm handle identifier * @param cpsPath CPS Path * @param optionsParamInQuery options query parameter @@ -144,9 +144,9 @@ public class NetworkCmProxyController implements NetworkCmProxyApi { } /** - * Patch resource data from passthrough-running. + * Patch resource data. * - * @param datastoreName name of the datastore + * @param datastoreName name of the datastore (currently only supports "ncmp-datastore:passthrough-running") * @param cmHandle cm handle identifier * @param resourceIdentifier resource identifier * @param requestBody the request body @@ -173,9 +173,9 @@ public class NetworkCmProxyController implements NetworkCmProxyApi { } /** - * Create resource data in datastore pass-through running for given cm-handle. + * Create resource data for given cm-handle. * - * @param datastoreName name of the datastore + * @param datastoreName name of the datastore (currently only supports "ncmp-datastore:passthrough-running") * @param cmHandle cm handle identifier * @param resourceIdentifier resource identifier * @param requestBody the request body @@ -198,9 +198,9 @@ public class NetworkCmProxyController implements NetworkCmProxyApi { } /** - * Update resource data in datastore pass-through running for given cm-handle. + * Update resource data for given cm-handle. * - * @param datastoreName name of the datastore + * @param datastoreName name of the datastore (currently only supports "ncmp-datastore:passthrough-running") * @param cmHandle cm handle identifier * @param resourceIdentifier resource identifier * @param requestBody the request body @@ -224,9 +224,9 @@ public class NetworkCmProxyController implements NetworkCmProxyApi { } /** - * Delete resource data in datastore pass-through running for a given cm-handle. + * Delete resource data for a given cm-handle. * - * @param datastoreName name of the datastore + * @param datastoreName name of the datastore (currently only supports "ncmp-datastore:passthrough-running") * @param cmHandle cm handle identifier * @param resourceIdentifier resource identifier * @param contentType content type of the body diff --git a/cps-ncmp-rest/src/test/resources/application.yml b/cps-ncmp-rest/src/test/resources/application.yml index 9df1e580f6..aa5716716b 100644 --- a/cps-ncmp-rest/src/test/resources/application.yml +++ b/cps-ncmp-rest/src/test/resources/application.yml @@ -26,4 +26,4 @@ notification: enabled: true async: executor: - time-out-value-in-ms: 2000 \ No newline at end of file + time-out-value-in-ms: 2000 -- cgit 1.2.3-korg