Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Chore: Update CWA-Parent to 1.7.1 (#266)
Browse files Browse the repository at this point in the history
* Update CWA-Parent to 1.7.1

* Update Checkstyle Config to > 3.2.0

Co-authored-by: github-actions <[email protected]>
  • Loading branch information
f11h and github-actions authored Oct 25, 2022
1 parent 9c76817 commit d665f57
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion codestyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
</module>
<module name="JavadocMethod">
<property name="scope" value="public"/>
<property name="accessModifiers" value="public"/>
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingReturnTag" value="true"/>
<property name="allowedAnnotations" value="Override, Test"/>
Expand Down
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>app.coronawarn</groupId>
<artifactId>cwa-parent</artifactId>
<version>1.6</version>
<version>1.7.1</version>
</parent>
<artifactId>cwa-quick-test-backend</artifactId>
<version>1.0.0-SNAPSHOT</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public ResponseEntity<Cancellation> getCancellation() {
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Successful"),
@ApiResponse(responseCode = "400", description = "Download Link for given PartnerId not yet available, "
+ "cancellation might not have been processed yet."),
+ "cancellation might not have been processed yet."),
@ApiResponse(responseCode = "404", description = "No cancellation found for given PartnerId.")
})
@GetMapping(value = "/download", produces = MediaType.APPLICATION_JSON_VALUE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public class QuickTestController {
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "OK"),
@ApiResponse(responseCode = "403", description =
"Cancellation already started, endpoint is not available anymore."),
"Cancellation already started, endpoint is not available anymore."),
@ApiResponse(responseCode = "500", description = "Query failed due to an internal server error")
})
@GetMapping(value = "", produces = MediaType.APPLICATION_JSON_VALUE)
Expand Down Expand Up @@ -127,7 +127,7 @@ public ResponseEntity<QuickTestResponseList> getQuickTestsForTenantIdAndPocId()
@ApiResponses(value = {
@ApiResponse(responseCode = "201", description = "Quicktest is created"),
@ApiResponse(responseCode = "403", description =
"Cancellation already started, endpoint is not available anymore."),
"Cancellation already started, endpoint is not available anymore."),
@ApiResponse(responseCode = "409", description = "Quicktest with short hash already exists"),
@ApiResponse(responseCode = "500", description = "Inserting failed because of internal error.")})
@PostMapping(value = "", consumes = MediaType.APPLICATION_JSON_VALUE)
Expand Down Expand Up @@ -164,7 +164,7 @@ public ResponseEntity<Void> createQuickTest(@Valid @RequestBody QuickTestCreatio
@ApiResponse(responseCode = "200 ", description = "Deletion successful."),
@ApiResponse(responseCode = "403", description = "Deletion of updated Quicktests not allowed."),
@ApiResponse(responseCode = "403", description =
"Cancellation started more then 24 hours ago, endpoint is not available anymore."),
"Cancellation started more then 24 hours ago, endpoint is not available anymore."),
@ApiResponse(responseCode = "500", description = "Updating failed because of internal error.")})
@DeleteMapping(value = "/{shortHash}")
@Secured(ROLE_COUNTER)
Expand All @@ -191,7 +191,7 @@ public ResponseEntity<Void> deleteEmptyQuickTest(@Valid @PathVariable("shortHash
@ApiResponses(value = {
@ApiResponse(responseCode = "204 ", description = "Update successful"),
@ApiResponse(responseCode = "403", description =
"Cancellation started more then 24 hours ago, endpoint is not available anymore."),
"Cancellation started more then 24 hours ago, endpoint is not available anymore."),
@ApiResponse(responseCode = "404", description = "Short Hash doesn't exists"),
@ApiResponse(responseCode = "500", description = "Updating failed because of internal error.")})
@PutMapping(value = "/{shortHash}/testResult", consumes = MediaType.APPLICATION_JSON_VALUE)
Expand Down Expand Up @@ -230,7 +230,7 @@ public ResponseEntity<Void> updateQuickTestStatus(
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "test found"),
@ApiResponse(responseCode = "403", description =
"Cancellation started more then 24 hours ago, endpoint is not available anymore."),
"Cancellation started more then 24 hours ago, endpoint is not available anymore."),
@ApiResponse(responseCode = "404", description = "test not found"),
@ApiResponse(responseCode = "500", description = "internal error.")})
@GetMapping(value = "/{shortHash}", produces = MediaType.APPLICATION_JSON_VALUE)
Expand Down Expand Up @@ -265,7 +265,7 @@ public ResponseEntity<QuickTestDccConsent> getDccConsent(
@ApiResponses(value = {
@ApiResponse(responseCode = "204 ", description = "Update successful"),
@ApiResponse(responseCode = "403", description =
"Cancellation already started, endpoint is not available anymore."),
"Cancellation already started, endpoint is not available anymore."),
@ApiResponse(responseCode = "404", description = "Short Hash doesn't exists"),
@ApiResponse(responseCode = "500", description = "Updating failed because of internal error.")})
@PutMapping(value = "/{shortHash}/personalData", consumes = MediaType.APPLICATION_JSON_VALUE)
Expand Down

0 comments on commit d665f57

Please sign in to comment.