summaryrefslogtreecommitdiffstats
path: root/dmi-service/src/main
diff options
context:
space:
mode:
authorleventecsanyi <levente.csanyi@est.tech>2024-08-15 13:52:21 +0200
committerleventecsanyi <levente.csanyi@est.tech>2024-08-15 13:56:31 +0200
commit636c228c5d646e7c919bc5ce135fa2967b3fef5a (patch)
tree26b71946894823dab64a0377060e6b278e7ed705 /dmi-service/src/main
parent202fc696cdf0a2503b2d5f738f892b8cb5da7bd9 (diff)
Refactored dat job interfaces - result endpoint changed is a separate commit
-changed openapi and stub implementations Issue-ID: CPS-2360 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: Ib7d826f5909278309b7c16dc5caaabbe5f01732b
Diffstat (limited to 'dmi-service/src/main')
-rw-r--r--dmi-service/src/main/java/org/onap/cps/ncmp/dmi/datajobs/rest/controller/DmiDatajobsRestController.java15
1 files changed, 4 insertions, 11 deletions
diff --git a/dmi-service/src/main/java/org/onap/cps/ncmp/dmi/datajobs/rest/controller/DmiDatajobsRestController.java b/dmi-service/src/main/java/org/onap/cps/ncmp/dmi/datajobs/rest/controller/DmiDatajobsRestController.java
index 928ec6b6..6ab56f57 100644
--- a/dmi-service/src/main/java/org/onap/cps/ncmp/dmi/datajobs/rest/controller/DmiDatajobsRestController.java
+++ b/dmi-service/src/main/java/org/onap/cps/ncmp/dmi/datajobs/rest/controller/DmiDatajobsRestController.java
@@ -34,13 +34,11 @@ public class DmiDatajobsRestController implements DmiDatajobApi {
/**
* This method is not implemented for ONAP DMI plugin.
*
- * @param requestId Identifier for the overall Datajob (required)
* @param subjobReadRequest Operation body (optional)
* @return (@ code ResponseEntity) Response entity
*/
@Override
- public ResponseEntity<Void> readDataJob(final String requestId,
- final SubjobReadRequest subjobReadRequest) {
+ public ResponseEntity<Void> readDataJob(final String destination, final SubjobReadRequest subjobReadRequest) {
return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED);
}
@@ -48,27 +46,23 @@ public class DmiDatajobsRestController implements DmiDatajobApi {
/**
* This method is not implemented for ONAP DMI plugin.
*
- * @param requestId Identifier for the overall Datajob (required)
* @param subjobWriteRequest Operation body (optional)
* @return (@ code ResponseEntity) Response entity
*/
@Override
- public ResponseEntity<Void> writeDataJob(final String requestId,
- final SubjobWriteRequest subjobWriteRequest) {
+ public ResponseEntity<Void> writeDataJob(final String destination, final SubjobWriteRequest subjobWriteRequest) {
return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED);
}
/**
* This method is not implemented for ONAP DMI plugin.
*
- * @param requestId Identifier for the overall Datajob (required)
* @param dataProducerJobId Identifier for the data producer job (required)
- * @param dataProducerId Identifier for the data producer as a query parameter (required)
+ * @param dataProducerId Identifier for the data producer (required)
* @return ResponseEntity Response entity indicating the method is not implemented
*/
@Override
- public ResponseEntity<Void> getDataJobStatus(final String requestId,
- final String dataProducerJobId,
+ public ResponseEntity<Void> getDataJobStatus(final String dataProducerJobId,
final String dataProducerId) {
return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED);
}
@@ -76,7 +70,6 @@ public class DmiDatajobsRestController implements DmiDatajobApi {
/**
* This method is not implemented for ONAP DMI plugin.
*
- * @param requestId Identifier for the overall Datajob (required)
* @param dataProducerJobId Identifier for the data producer job (required)
* @param dataProducerId Identifier for the data producer as a query parameter (required)
* @param destination The destination of the results, Kafka topic name or s3 bucket name (required)