This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch UNOMI-973-tenant-file-endpoints
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to
refs/heads/UNOMI-973-tenant-file-endpoints by this push:
new 1863c44d7 UNOMI-973: Compile the containment IT against master's BaseIT
1863c44d7 is described below
commit 1863c44d733c0d860e677b18ab6baa34c1ed3e7f
Author: Serge Huber <[email protected]>
AuthorDate: Sun Sep 27 14:27:17 2026 +0200
UNOMI-973: Compile the containment IT against master's BaseIT
The IT was up-ported from 3.0.x, whose BaseIT exposes an objectMapper
field. On master the mapper is reached through getObjectMapper(), so
the itests module did not compile and no integration test ran on
either engine.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
---
.../java/org/apache/unomi/itests/ProfileImportExportContainmentIT.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/itests/src/test/java/org/apache/unomi/itests/ProfileImportExportContainmentIT.java
b/itests/src/test/java/org/apache/unomi/itests/ProfileImportExportContainmentIT.java
index a15417f94..17701a7f3 100644
---
a/itests/src/test/java/org/apache/unomi/itests/ProfileImportExportContainmentIT.java
+++
b/itests/src/test/java/org/apache/unomi/itests/ProfileImportExportContainmentIT.java
@@ -207,7 +207,7 @@ public class ProfileImportExportContainmentIT extends
BaseIT {
*/
private Response postJson(String url, Object body) throws Exception {
HttpPost request = new HttpPost(getFullUrl(url));
- request.setEntity(new
StringEntity(objectMapper.writeValueAsString(body),
ContentType.APPLICATION_JSON));
+ request.setEntity(new
StringEntity(getObjectMapper().writeValueAsString(body),
ContentType.APPLICATION_JSON));
try (CloseableHttpResponse response = httpClient.execute(request)) {
return new Response(response.getStatusLine().getStatusCode(),
response.getEntity() == null ? "" :
EntityUtils.toString(response.getEntity()));