gchq / Gaffer

A large-scale entity and relation database supporting aggregation of properties
Apache License 2.0
1.77k stars 350 forks source link

Gh-3270: Make DeleteAllData a core operation #3271

Closed cn337131 closed 1 month ago

cn337131 commented 1 month ago

The operation DeleteAllData previously had to be added to the operationsdeclarations.json to be available, and this was only in Accumulo Stores. This work adds the operation to all stores and enables it for any graph as otherwise you must restart the graph to add this to the operationdeclarations file for it to be available.

Also addresses some technical debt in the MapStore.

Related issue

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 83.87097% with 5 lines in your changes missing coverage. Please review.

Project coverage is 67.55%. Comparing base (75c0d07) to head (83c0aa3). Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
...ore/SingleUseMapStoreWithoutVisibilitySupport.java 0.00% 3 Missing :warning:
...k/gov/gchq/gaffer/mapstore/multimap/MapOfSets.java 0.00% 1 Missing :warning:
...java/uk/gov/gchq/gaffer/proxystore/ProxyStore.java 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #3271 +/- ## ============================================= + Coverage 67.53% 67.55% +0.02% - Complexity 2591 2592 +1 ============================================= Files 926 927 +1 Lines 29776 29791 +15 Branches 3289 3289 ============================================= + Hits 20108 20125 +17 + Misses 8220 8219 -1 + Partials 1448 1447 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud