Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
b6a9172
Add OPA permission calls to all applicable coprocessor hooks with tes…
adwk67 Mar 6, 2026
770172c
add claude.md to gitignore and reduce log level to trace for high fre…
adwk67 Mar 6, 2026
64a3458
bump to hbase 2.6.4
adwk67 Mar 6, 2026
dcae7d8
check default namespace permissions on namespace actions
adwk67 Mar 6, 2026
dae877b
added reflection test to confirm coverage
adwk67 Mar 6, 2026
379e495
renamed ctx variable consistently and refactored requirePermission
adwk67 Mar 6, 2026
14f4a7c
introduce OpType to add granularity
adwk67 Mar 6, 2026
d888e99
implement Filter-based preCheckAndPut/preCheckAndDelete overloads
adwk67 Mar 6, 2026
fc0ce0b
add mutation checks
adwk67 Mar 6, 2026
a1fd0a6
pass families to permission checker
adwk67 Mar 6, 2026
9491480
pass map of key + families to permission checker
adwk67 Mar 6, 2026
d745ed3
check pass-throughs and no-ops
adwk67 Mar 6, 2026
809db41
fix 2 warnings
adwk67 Mar 6, 2026
0ec9430
Add OPA policy testing layer design doc
adwk67 Mar 6, 2026
89baf61
Add OPA policy testing implementation plan
adwk67 Mar 6, 2026
62843ae
Add OpaFixtureWriter for capturing WireMock OPA fixtures
adwk67 Mar 6, 2026
9b71975
Fix OpaFixtureWriter concurrency: single monitor, plain int counters
adwk67 Mar 6, 2026
748faae
Wire OpaFixtureWriter into test teardown and WireMock listener
adwk67 Mar 6, 2026
0820e29
Filter system-user fixtures; fix listener registration in Variants test
adwk67 Mar 6, 2026
1847ff6
Use @Before for listener registration; document fixture filter
adwk67 Mar 6, 2026
8bb6302
Add Rego policy file and OPA test suite
adwk67 Mar 6, 2026
512e4a3
Add download-maven-plugin and exec-maven-plugin for OPA policy testing
adwk67 Mar 6, 2026
a885366
Move OPA fixtures to target/, add print counts, untrack plan docs
adwk67 Mar 9, 2026
f798ec7
Add unit tests for bulk load and lock hooks
adwk67 Mar 9, 2026
b81dfdb
add final
adwk67 Mar 9, 2026
bcb293f
clarified comment
adwk67 Mar 9, 2026
9fc4f4a
updated interface check test
adwk67 Mar 9, 2026
bf5d181
make casing consistent with rego rules in integration tests
adwk67 Mar 9, 2026
88fca27
added readonly tests to match integration test coverage
adwk67 Mar 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
/target/
/dependency-reduced-pom.xml
/dependency-reduced-pom.xml
/CLAUDE.md
.claude/
/target/opa
/docs/plans/
92 changes: 90 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
<spotless-maven-plugin.version>2.43.0</spotless-maven-plugin.version>

<hbase.version>2.6.0</hbase.version>
<hbase.version>2.6.4</hbase.version>
<hbase.protobuf.version>2.5.0</hbase.protobuf.version>
<caffeine.version>2.8.1</caffeine.version>
<caffeine.version>2.8.8</caffeine.version>
<opa.version>0.63.0</opa.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -106,6 +107,12 @@
<artifactId>hbase-testing-util</artifactId>
<version>${hbase.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.apache.directory.jdbm</groupId>
<artifactId>apacheds-jdbm1</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down Expand Up @@ -133,6 +140,30 @@
</dependency>
</dependencies>

<profiles>
<profile>
<id>opa-linux-amd64</id>
<activation>
<os><name>Linux</name><arch>amd64</arch></os>
</activation>
<properties><opa.classifier>linux_amd64_static</opa.classifier></properties>
</profile>
<profile>
<id>opa-mac-amd64</id>
<activation>
<os><name>Mac OS X</name><arch>x86_64</arch></os>
</activation>
<properties><opa.classifier>darwin_amd64</opa.classifier></properties>
</profile>
<profile>
<id>opa-mac-arm64</id>
<activation>
<os><name>Mac OS X</name><arch>aarch64</arch></os>
</activation>
<properties><opa.classifier>darwin_arm64</opa.classifier></properties>
</profile>
</profiles>

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -234,6 +265,63 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.8.1</version>
<executions>
<execution>
<id>download-opa</id>
<phase>process-test-resources</phase>
<goals><goal>wget</goal></goals>
<configuration>
<url>https://github.com/open-policy-agent/opa/releases/download/v${opa.version}/opa_${opa.classifier}</url>
<outputDirectory>${project.build.directory}</outputDirectory>
<outputFileName>opa</outputFileName>
<skipCache>false</skipCache>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>chmod-opa</id>
<phase>process-test-resources</phase>
<goals><goal>exec</goal></goals>
<configuration>
<executable>chmod</executable>
<arguments>
<argument>+x</argument>
<argument>${project.build.directory}/opa</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>opa-policy-test</id>
<phase>verify</phase>
<goals><goal>exec</goal></goals>
<configuration>
<executable>${project.build.directory}/opa</executable>
<workingDirectory>${project.basedir}</workingDirectory>
<arguments>
<argument>test</argument>
<argument>src/test/rego/hbase.rego</argument>
<argument>src/test/rego/hbase_test.rego</argument>
<argument>target/test-rego/fixtures.json</argument>
<argument>--v1-compatible</argument>
<argument>--explain</argument>
<argument>notes</argument>
<argument>-v</argument>
</arguments>
<skip>${maven.test.skip}</skip>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
Expand Down
Loading