-
Notifications
You must be signed in to change notification settings - Fork 282
Markings #3469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jalphonso
wants to merge
63
commits into
integration
Choose a base branch
from
accumulo-access
base: integration
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Markings #3469
Changes from 58 commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
a784c14
updated accumulo-utils to use accumulo-access
a97921f
refactor in progress
091811d
compilation fixes
76f2cbb
fixes
c315e82
added accumulo-access jar to classpath
acbc243
temporarily pull snapshot deps from github packages
d67a933
remove accumulo-utils exclusions
3f440bd
fix MetadataCachingTest
5656425
fix markings serialization
09c3908
Markings refactoring
6fe36bf
cleanup
406a914
remove duplicate mergeMarking like methods
ad2ef6c
rename mf to markingFunctions for consistency
a1f6fc7
formatting
e44b837
review feedback
6eb53b1
update SNAPSHOTs
cfcc027
add back needed methods
c0f60aa
tag cloud fixes
0522773
fix FieldBase and FieldCardinalityBase column visibility
d13ae1e
cleanup dead marking code
1e23bf8
fix SecurityMarking interface
e9ee8e8
marking fixes
480c1ec
marking class updates
f8687df
rebase fix
9ab4f09
restore flatten functions in mapreduce handler
2b812e8
bugfixes
7916bce
remove EMPTY_MARKINGS
745c734
marking combine bugfixes
04401a5
rebase fixes
256e8cf
fix MarkingFunctions to return empty ColumnVisibility when no access …
57267bd
DoucmentTransformer bugfix
deead2b
more bugfixes
717ce37
fix CacheableQueryRowImpl addColumn
bf03060
cleanup AccessExpressionUtils and MarkingFunctions.Default usage
172c0d7
updating comment in MarkingFunctions
07d3f4b
cleanup
1358fcd
add unit tests for AccessExpressionMarkings and Utils
eb535f2
remove instanceof AccessExpressionMarkings usage
8f4fc72
restore translateFromColumnVisibilityForAuths
2ecb24c
remove instanceof AccessExpression usage
5b757e9
restore previous exception msgs and handling
0d1bcd3
dictionary fixes
579b0c7
mr self-review changes
93db2d3
update microservices to use snapshots
8eab1ea
fix ExecutorProperties
3e17991
fix: Disable snapshot usage in POM files
dbdf6cb
revert microservice parents
88d30e7
add protostuff test cases to AccessExpressionMarkingsTest
8b3097b
migrate markingsMap to markings in dictionary api and service
da2af39
more MR fixes
8e5fda5
remove snapshots for unaffected modules
c7ca57a
remove extraneous test change
1158ca1
use -JFA-20260512-1 modifier in POMs
49540a8
fix spotbug issue
7956b99
Jeff MR feedback round 1
c21f3d9
Revert "use -JFA-20260512-1 modifier in POMs"
c07701b
fix XmlElement usage in DefaultEvent and DefaultField for markings
9065fc8
Fix: Handle null ColumnVisibility in ModelKeyParser
7be1fe8
Fix: Handle null/empty ColumnVisibility in MetadataDescriptionsHelper
dc20c60
update accumulo-access-core version
3d8ab21
reset microservice versions that did not change
fd2c422
reset starters that did not need to change
de9dd3d
revert query microservice changes
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 4 additions & 12 deletions
16
core/base-rest-responses/src/main/java/datawave/marking/SecurityMarking.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,24 +1,16 @@ | ||
| package datawave.marking; | ||
|
|
||
| import java.util.Map; | ||
|
|
||
| import org.apache.accumulo.core.security.ColumnVisibility; | ||
| import org.apache.accumulo.access.AccessExpression; | ||
|
|
||
| import datawave.validation.ParameterValidator; | ||
|
|
||
| public interface SecurityMarking extends ParameterValidator { | ||
|
|
||
| ColumnVisibility toColumnVisibility() throws MarkingFunctions.Exception; | ||
|
|
||
| String toColumnVisibilityString(); | ||
|
|
||
| Map<String,String> toMap(); | ||
|
|
||
| void fromMap(Map<String,String> map); | ||
| AccessExpression toAccessExpression() throws MarkingFunctions.Exception; | ||
|
|
||
| String mapToString(); | ||
| String toAccessExpressionString(); | ||
|
|
||
| void fromString(String xmlString); | ||
| Markings<?> toMarkings() throws MarkingFunctions.Exception; | ||
|
|
||
| void clear(); | ||
| } |
6 changes: 3 additions & 3 deletions
6
...base-rest-responses/src/main/java/datawave/webservice/query/result/event/HasMarkings.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,10 @@ | ||
| package datawave.webservice.query.result.event; | ||
|
|
||
| import java.util.Map; | ||
| import datawave.marking.Markings; | ||
|
|
||
| public interface HasMarkings { | ||
|
|
||
| void setMarkings(Map<String,String> markings); | ||
| void setMarkings(Markings<?> markings); | ||
|
|
||
| Map<String,String> getMarkings(); | ||
| Markings<?> getMarkings(); | ||
| } | ||
|
jalphonso marked this conversation as resolved.
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.