This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects

Resolve "Die Statistiken sollten auch in ElasticSearch hinterlegt werden."

Viewing commit 7c04ec0e
Show latest version
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -125,6 +125,7 @@ public class ReviewResource {
* @return the {@link ResponseEntity} with status {@code 200 (OK)} and the list of reviews in body.
*/
@GetMapping("/review")
@PreAuthorize(ADMIN_ROLE)
public ResponseEntity<List<ReviewDTO>> getAllReviews(ReviewCriteria criteria) {
log.debug("REST request to get Reviews by criteria: {}", criteria);
List<ReviewDTO> entityList = reviewQueryService.findByCriteria(criteria);