mirror of
https://github.com/NationalSecurityAgency/datawave.git
synced 2026-11-10 11:41:46 -10:00
update accumulo-utils to use a POJO for storing markings and then updated the rest of the codebase that referenced it. replaced some of the ColumnVisibility usage with AccessExpression to improve performance. --------- Co-authored-by: Joe Alphonso <[email protected]>
30 lines
1.3 KiB
XML
30 lines
1.3 KiB
XML
<!DOCTYPE import-control PUBLIC
|
|
"-//Checkstyle//DTD ImportControl Configuration 1.4//EN"
|
|
"https://checkstyle.org/dtds/import_control_1_4.dtd">
|
|
|
|
<!-- This checkstyle rule is configured to ensure only use of Accumulo API -->
|
|
<import-control
|
|
pkg="(|
|
|
|datawave.*|
|
|
|datawave\.common\.test.*|
|
|
|datawave\.test.*|
|
|
|gov.nsa.datawave.*)" regex="true" strategyOnMismatch="allowed">
|
|
<!-- API packages -->
|
|
<allow pkg="org.apache.accumulo.access"/>
|
|
<allow pkg="org.apache.accumulo.core.client"/>
|
|
<allow pkg="org.apache.accumulo.core.data"/>
|
|
<allow pkg="org.apache.accumulo.core.security"/>
|
|
<allow pkg="org.apache.accumulo.core.iterators"/>
|
|
<allow pkg="org.apache.accumulo.minicluster"/>
|
|
<allow pkg="org.apache.accumulo.hadoop.mapreduce"/>
|
|
<allow pkg="org.apache.accumulo.core.spi"/>
|
|
|
|
<!-- Temporarily allow some specific classes until accumulo
|
|
team seperates parts of that into public api -->
|
|
<allow class="org.apache.accumulo.core.conf.Property"/>
|
|
<allow class="org.apache.accumulo.core.clientImpl.TabletLocator"/>
|
|
<allow class="org.apache.accumulo.core.file.keyfunctor.KeyFunctor" />
|
|
<!-- disallow everything else coming from accumulo -->
|
|
<disallow pkg="org.apache.accumulo"/>
|
|
</import-control>
|