Skip to content

Commit

Permalink
Upgraded react to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas345 committed Jan 25, 2024
1 parent cdf28d7 commit 693ce63
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ public ProfileStatisticsController(StatisticsService statisticsService) {
this.statisticsService = statisticsService;
}

@RequestMapping(value = "/ping", produces = "plain/text", method = RequestMethod.GET)
public ResponseEntity<String> returnPing() {
return ResponseEntity.ok("UP!");
}

@RequestMapping(value = "/skill/usage/absolute", produces = "application/json")
public ResponseEntity<List<SkillUsage>> getMostUsedSkills(@RequestParam(value = "max", required = false) Integer maxSkills) {
if(maxSkills == null) maxSkills = DEFAULT_MAX_SKILLS;
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ spring:
pwr-profile-service-url: http://pwr-profile-service:9004
---
spring:
profiles: localDev
config:
activate:
on-profile: localDev
redis:
host: localhost
port: 6379
Expand Down

0 comments on commit 693ce63

Please sign in to comment.