Skip to content

Commit 2756b8b

Browse files
committed
update to current 2.0.0-SNAPSHOT of ardoco (III)
1 parent c92ca8c commit 2756b8b

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/main/java/edu/kit/kastel/mcse/ardoco/tlr/rest/api/controller/AbstractController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ protected ResponseEntity<ArdocoResultResponse> handleRunPipeLineResult(ArdocoRun
9797
/**
9898
* Handles the process of running a pipeline and waiting for the result, building a response accordingly.
9999
*
100-
* @param runner the {@link ArDoCoRunner} instance to execute
100+
* @param runner the {@link ArdocoRunner} instance to execute
101101
* @param requestId the unique request ID associated with the pipeline run
102102
* @param inputFiles the list of input files for the pipeline run
103103
* @return a {@link ResponseEntity} containing the {@link ArdocoResultResponse} with the status and result message

src/main/java/edu/kit/kastel/mcse/ardoco/tlr/rest/api/controller/InconsistencyController.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public InconsistencyController(InconsistencyService service) {
6464
* @return a ResponseEntity containing the result of the processing pipeline
6565
* @throws FileNotFoundException if the provided file is empty or doesn't exist
6666
* @throws FileConversionException if the provided file cannot be converted
67+
* @throws IOException if an I/O error occurs during processing
6768
*/
6869
@Operation(summary = "Starts the SWATTR (sad-sam) processing pipeline with Inconsistency Detection", description = "Starts the inconsistency processing pipeline with the given project name, the type of the architecture model and files.")
6970
@PostMapping(value = "/start", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
@@ -96,6 +97,7 @@ public ResponseEntity<ArdocoResultResponse> runPipeline(
9697
* @return a ResponseEntity containing the result of the processing pipeline
9798
* @throws FileNotFoundException if the provided file is empty or doesn't exist
9899
* @throws FileConversionException if the provided file cannot be converted
100+
* @throws IOException if an I/O error occurs during processing
99101
*/
100102
@Operation(summary = "Starts the SWATTR (sad-sam) processing pipeline with Inconsistency Detection and waits until the result is obtained", description = "Starts the inconsistency processing pipeline with the given project name, the type of the architecture model and files and waits until the SadSamTraceLinks and Inconsistencies are obtained.")
101103
@PostMapping(value = "/start-and-wait", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)

src/main/java/edu/kit/kastel/mcse/ardoco/tlr/rest/api/service/AbstractRunnerTLRService.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
* asynchronous tasks, and interacting with a database for storing and retrieving
2929
* results.
3030
* <p>
31-
* Implementing classes are responsible for defining how the {@link ArDoCoResult} is
32-
* converted to JSON format by implementing the {@link #convertResultToJsonString(ArDoCoResult)} method.
31+
* Implementing classes are responsible for defining how the {@link ArdocoResult} is
32+
* converted to JSON format by implementing the {@link #convertResultToJsonString(ArdocoResult)} method.
3333
*/
3434
public abstract class AbstractRunnerTLRService extends AbstractService {
3535

@@ -64,7 +64,7 @@ public AbstractRunnerTLRService(TraceLinkType traceLinkType) {
6464
}
6565

6666
/**
67-
* Takes the {@link ArDoCoResult} and converts the contained trace links of the service's type to JSON format.
67+
* Takes the {@link ArdocoResult} and converts the contained trace links of the service's type to JSON format.
6868
*
6969
* @param result the ArDoCo result containing trace links
7070
* @return JSON representation of trace links

0 commit comments

Comments
 (0)