diff options
author | ToineSiebelink <toine.siebelink@est.tech> | 2024-07-10 17:34:13 +0100 |
---|---|---|
committer | ToineSiebelink <toine.siebelink@est.tech> | 2024-07-11 16:41:46 +0100 |
commit | ef08e0fcf7a8c507ccd0e5c6f6ed8d43e9583370 (patch) | |
tree | e4ec5eb32df022b04e43691064bbb419014e34f9 /cps-ncmp-rest/src | |
parent | dd1b77b906052911b4883c7fa515ca1f2f2e9fda (diff) |
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 <toine.siebelink@est.tech>
Diffstat (limited to 'cps-ncmp-rest/src')
-rwxr-xr-x | cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/NetworkCmProxyController.java | 18 | ||||
-rw-r--r-- | cps-ncmp-rest/src/test/resources/application.yml | 2 |
2 files changed, 10 insertions, 10 deletions
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 |