Skip to content
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

Add support for AdminRules to Rest Batch services #219

Open
taba90 opened this issue Jul 14, 2022 · 2 comments
Open

Add support for AdminRules to Rest Batch services #219

taba90 opened this issue Jul 14, 2022 · 2 comments

Comments

@taba90
Copy link
Contributor

taba90 commented Jul 14, 2022

As per the title the new functionality aims to allow to send post requests with list of rules and admin rules to GeoFence.
The insertion will be executed in a single transaction so that either all rules are correctly inserted either none if some rule in the list is invalid.

taba90 pushed a commit to taba90/geofence that referenced this issue Jul 14, 2022
@etj
Copy link
Member

etj commented Jul 14, 2022

@taba90 It's implemented since long

You may want to simply expand the current implementation to include operations for the AdminRules:

public void runBatch(RESTBatch batch) throws BadRequestRestEx, NotFoundRestEx, InternalErrorRestEx {

@taba90 taba90 changed the title Allow Insertion of multiple Rules and Admin Rule via Rest Add support for AdminRules to Rest Batch services Jul 18, 2022
@taba90
Copy link
Contributor Author

taba90 commented Jul 18, 2022

Thanks for your point @etj I've changed the issue name to address the addition of admin rule support to REST Batch

taba90 added a commit to taba90/geofence that referenced this issue Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants