finally remove debug loggin
This commit is contained in:
@@ -516,14 +516,8 @@ public class PretixManager implements SmartInitializingSingleton {
|
|||||||
*/
|
*/
|
||||||
public JsonElement request(String path, HttpMethod method, JsonElement payload,
|
public JsonElement request(String path, HttpMethod method, JsonElement payload,
|
||||||
MultiValueMap<String, String> queryParameters) {
|
MultiValueMap<String, String> queryParameters) {
|
||||||
|
|
||||||
String cleanedPath = path.replace(host, "");
|
|
||||||
|
|
||||||
logger.debug("method:" + method.toString() + ", path: " + path + ", cleaned path: " + cleanedPath + ", host: "
|
|
||||||
+ host);
|
|
||||||
|
|
||||||
WebClient.RequestBodySpec request = webClient.method(method)
|
WebClient.RequestBodySpec request = webClient.method(method)
|
||||||
.uri(uriBuilder -> uriBuilder.path(cleanedPath).queryParams(queryParameters).build());
|
.uri(uriBuilder -> uriBuilder.path(path).queryParams(queryParameters).build());
|
||||||
|
|
||||||
if (payload != null) {
|
if (payload != null) {
|
||||||
request.bodyValue(gson.toJson(payload));
|
request.bodyValue(gson.toJson(payload));
|
||||||
|
|||||||
@@ -264,8 +264,6 @@ public class MembershipManager {
|
|||||||
years += membershipfeeOrderPositionMap.get(membershipId).size();
|
years += membershipfeeOrderPositionMap.get(membershipId).size();
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.debug("membershipId: " + membershipId + " | years: " + years);
|
|
||||||
|
|
||||||
Instant active = InstantHelper.truncate(InstantHelper.plus(membershipStart, years, ChronoUnit.YEARS),
|
Instant active = InstantHelper.truncate(InstantHelper.plus(membershipStart, years, ChronoUnit.YEARS),
|
||||||
ChronoUnit.YEARS);
|
ChronoUnit.YEARS);
|
||||||
|
|
||||||
@@ -733,7 +731,6 @@ public class MembershipManager {
|
|||||||
JsonElement response = pretixManager.request(path, HttpMethod.GET, queryParams);
|
JsonElement response = pretixManager.request(path, HttpMethod.GET, queryParams);
|
||||||
|
|
||||||
if (response == null) {
|
if (response == null) {
|
||||||
logger.debug("results: " + result.size() + " ? " + queryParams.getFirst("item"));
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -751,7 +748,6 @@ public class MembershipManager {
|
|||||||
return fetchAllOrderPositions(path, queryParams, result, page);
|
return fetchAllOrderPositions(path, queryParams, result, page);
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.debug("results: " + result.size() + " ? " + queryParams.getFirst("item"));
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
<unit-api.version>2.2</unit-api.version>
|
<unit-api.version>2.2</unit-api.version>
|
||||||
<commons-csv.version>1.14.1</commons-csv.version>
|
<commons-csv.version>1.14.1</commons-csv.version>
|
||||||
<dnsjava.version>3.6.3</dnsjava.version>
|
<dnsjava.version>3.6.3</dnsjava.version>
|
||||||
<revision>4.0.2</revision>
|
<revision>4.0.3</revision>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
|
|||||||
Reference in New Issue
Block a user