Commit 9e625c35 authored by Matija Obreza's avatar Matija Obreza

Merge branch '260-increased-page-size-for-api-calls' into 'master'

Resolve "Increased page size for API calls" Closes #260 See merge request genesys-pgr/genesys-server!153
parents 07ce3c22 f8cbb4f0
Pipeline #5384 passed with stages
in 7 minutes 30 seconds
......@@ -38,7 +38,7 @@ public abstract class RestController {
protected static final ApiResult JSON_OK = new ApiResult(true);
@Value("${paginator.default.maxPageSize}")
@Value("${paginator.api.maxPageSize}")
protected int maxPageSize;
public static class ApiResult {
......
......@@ -24,11 +24,13 @@ base.cookie-secure=false
base.cookie-http-only=true
#Paginator
# Paginator
paginator.default.maxPageSize=500
paginator.default.pageSize=50
paginator.default.fastStep=3
paginator.default.maxPage=4
# Pagination for API calls
paginator.api.maxPageSize=1000
# Default account info
default.admin.email=admin@example.com
......
......@@ -19,6 +19,8 @@ paginator.default.maxPageSize=500
paginator.default.pageSize=2
paginator.default.fastStep=3
paginator.default.maxPage=4
# Pagination for API calls
paginator.api.maxPageSize=1000
# Default account info
default.admin.email=admin@example.com
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment