Browse Source

Updated logging to reflect page number in requests

master
Jim Martens 10 months ago
parent
commit
9f7c8adadd
  1. 22
      oparl-server/src/main/java/de/twomartens/oparlservice/control/OParlController.java

22
oparl-server/src/main/java/de/twomartens/oparlservice/control/OParlController.java

@ -124,7 +124,7 @@ public class OParlController {
@PathVariable(required = false)
@Parameter(description = "page number", example = "1")
Integer pageNumber) {
log.info("invoked method /v1.1/body/{}/consultations", id);
log.info("invoked method /v1.1/body/{}/consultations/{}", id, pageNumber);
if (pageNumber == null) {
pageNumber = 1;
}
@ -165,7 +165,7 @@ public class OParlController {
@PathVariable(required = false)
@Parameter(description = "page number", example = "1")
Integer pageNumber) {
log.info("invoked method /v1.1/body/{}/files", id);
log.info("invoked method /v1.1/body/{}/files/{}", id, pageNumber);
if (pageNumber == null) {
pageNumber = 1;
}
@ -205,7 +205,7 @@ public class OParlController {
@PathVariable(required = false)
@Parameter(description = "page number", example = "1")
Integer pageNumber) {
log.info("invoked method /v1.1/body/{}/legislativeTerms", id);
log.info("invoked method /v1.1/body/{}/legislativeTerms/{}", id, pageNumber);
if (pageNumber == null) {
pageNumber = 1;
}
@ -246,7 +246,7 @@ public class OParlController {
@PathVariable(required = false)
@Parameter(description = "page number", example = "1")
Integer pageNumber) {
log.info("invoked method /v1.1/body/{}/locations", id);
log.info("invoked method /v1.1/body/{}/locations/{}", id, pageNumber);
if (pageNumber == null) {
pageNumber = 1;
}
@ -287,7 +287,7 @@ public class OParlController {
@PathVariable(required = false)
@Parameter(description = "page number", example = "1")
Integer pageNumber) {
log.info("invoked method /v1.1/body/{}/meetings", id);
log.info("invoked method /v1.1/body/{}/meetings/{}", id, pageNumber);
if (pageNumber == null) {
pageNumber = 1;
}
@ -311,7 +311,7 @@ public class OParlController {
@PathVariable(required = false)
@Parameter(description = "page number", example = "1")
Integer pageNumber) {
log.info("invoked method /v1.1/organization/{}/meetings", id);
log.info("invoked method /v1.1/organization/{}/meetings/{}", id, pageNumber);
if (pageNumber == null) {
pageNumber = 1;
}
@ -351,7 +351,7 @@ public class OParlController {
@PathVariable(required = false)
@Parameter(description = "page number", example = "1")
Integer pageNumber) {
log.info("invoked method /v1.1/body/{}/memberships", id);
log.info("invoked method /v1.1/body/{}/memberships/{}", id, pageNumber);
if (pageNumber == null) {
pageNumber = 1;
}
@ -375,7 +375,7 @@ public class OParlController {
@PathVariable(required = false)
@Parameter(description = "page number", example = "1")
Integer pageNumber) {
log.info("invoked method /v1.1/organization/{}/memberships", id);
log.info("invoked method /v1.1/organization/{}/memberships/{}", id, pageNumber);
if (pageNumber == null) {
pageNumber = 1;
}
@ -424,7 +424,7 @@ public class OParlController {
@PathVariable(required = false)
@Parameter(description = "page number", example = "1")
Integer pageNumber) {
log.info("invoked method /v1.1/body/{}/organizations", id);
log.info("invoked method /v1.1/body/{}/organizations/{}", id, pageNumber);
if (pageNumber == null) {
pageNumber = 1;
}
@ -465,7 +465,7 @@ public class OParlController {
@PathVariable(required = false)
@Parameter(description = "page number", example = "1")
Integer pageNumber) {
log.info("invoked method /v1.1/body/{}/papers", id);
log.info("invoked method /v1.1/body/{}/papers/{}", id, pageNumber);
if (pageNumber == null) {
pageNumber = 1;
}
@ -505,7 +505,7 @@ public class OParlController {
@PathVariable(required = false)
@Parameter(description = "page number", example = "1")
Integer pageNumber) {
log.info("invoked method /v1.1/body/{}/persons", id);
log.info("invoked method /v1.1/body/{}/persons/{}", id, pageNumber);
if (pageNumber == null) {
pageNumber = 1;
}

Loading…
Cancel
Save