sungwy commented on code in PR #3332:
URL: https://github.com/apache/polaris/pull/3332#discussion_r2646316932
##########
extensions/auth/opa/tests/src/intTest/java/org/apache/polaris/extension/auth/opa/test/OpaIntegrationTestBase.java:
##########
@@ -21,12 +21,42 @@
import static io.restassured.RestAssured.given;
import static org.junit.jupiter.api.Assertions.fail;
+import com.fasterxml.jackson.databind.ObjectMapper;
+import io.restassured.RestAssured;
+import io.restassured.config.ObjectMapperConfig;
+import io.restassured.http.ContentType;
+import java.io.UncheckedIOException;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+import java.util.Map;
+import org.junit.jupiter.api.AfterEach;
+
/**
* Base class for OPA integration tests providing common helper methods for
authentication and
* principal management.
*/
public abstract class OpaIntegrationTestBase {
+ private static final ObjectMapper JSON = new ObjectMapper();
Review Comment:
Sounds good 👍
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]