summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2023-04-21 12:06:11 +0100
committermpriyank <priyank.maheshwari@est.tech>2023-04-21 12:06:14 +0100
commit4679c1c64a88ee65b0f86e14be32a8b82f8da469 (patch)
tree1bd9591a8edd13006dcb992f6caebb98ea3308c4
parent3c9f2b305b9f85edfe8791295e0c1bbdbd4b8304 (diff)
Rearrange method params
- auto generated code results in parameter sequence mismatch. Issue-ID: CPS-1627 Change-Id: I5b9ca44867bff42bfc5ca35a41560d9ef86b069a Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
-rw-r--r--src/main/java/org/onap/cps/ncmp/dmi/rest/controller/DmiRestController.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/main/java/org/onap/cps/ncmp/dmi/rest/controller/DmiRestController.java b/src/main/java/org/onap/cps/ncmp/dmi/rest/controller/DmiRestController.java
index 176a445a..9459d1b1 100644
--- a/src/main/java/org/onap/cps/ncmp/dmi/rest/controller/DmiRestController.java
+++ b/src/main/java/org/onap/cps/ncmp/dmi/rest/controller/DmiRestController.java
@@ -107,14 +107,13 @@ public class DmiRestController implements DmiPluginApi, DmiPluginInternalApi {
* This method is not implemented for ONAP DMI plugin.
*
* @param datastoreName name of the data store
- * @param body list of cm-handles
- * @param topic Kafka topic name
+ * @param topic Kafka topic name
+ * @param body list of cm-handles
* @return (@ code ResponseEntity) response entity
*/
@Override
- public ResponseEntity<Void> getResourceDataByCmHandles(final String datastoreName,
- final Object body,
- final String topic) {
+ public ResponseEntity<Void> getResourceDataByCmHandles(final String datastoreName, final String topic,
+ final Object body) {
return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED);
}