Skip to content

fix: respond with 403 when max allowed limit for entities is exceeded

Codecov / codecov/patch failed Dec 17, 2024 in 0s

0.00% of diff hit (target 16.79%)

View this Pull Request on Codecov

0.00% of diff hit (target 16.79%)

Annotations

Check warning on line 29 in commons-rest/errors/src/main/java/org/eclipse/kapua/commons/rest/errors/KapuaMaxNumberOfItemsReachedExceptionMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

commons-rest/errors/src/main/java/org/eclipse/kapua/commons/rest/errors/KapuaMaxNumberOfItemsReachedExceptionMapper.java#L29

Added line #L29 was not covered by tests

Check warning on line 36 in commons-rest/errors/src/main/java/org/eclipse/kapua/commons/rest/errors/KapuaMaxNumberOfItemsReachedExceptionMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

commons-rest/errors/src/main/java/org/eclipse/kapua/commons/rest/errors/KapuaMaxNumberOfItemsReachedExceptionMapper.java#L34-L36

Added lines #L34 - L36 were not covered by tests

Check warning on line 45 in commons-rest/errors/src/main/java/org/eclipse/kapua/commons/rest/errors/KapuaMaxNumberOfItemsReachedExceptionMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

commons-rest/errors/src/main/java/org/eclipse/kapua/commons/rest/errors/KapuaMaxNumberOfItemsReachedExceptionMapper.java#L41-L45

Added lines #L41 - L45 were not covered by tests

Check warning on line 37 in commons-rest/model/src/main/java/org/eclipse/kapua/commons/rest/model/errors/MaxNumberOfItemsReachedExceptionInfo.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

commons-rest/model/src/main/java/org/eclipse/kapua/commons/rest/model/errors/MaxNumberOfItemsReachedExceptionInfo.java#L36-L37

Added lines #L36 - L37 were not covered by tests

Check warning on line 50 in commons-rest/model/src/main/java/org/eclipse/kapua/commons/rest/model/errors/MaxNumberOfItemsReachedExceptionInfo.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

commons-rest/model/src/main/java/org/eclipse/kapua/commons/rest/model/errors/MaxNumberOfItemsReachedExceptionInfo.java#L48-L50

Added lines #L48 - L50 were not covered by tests

Check warning on line 60 in commons-rest/model/src/main/java/org/eclipse/kapua/commons/rest/model/errors/MaxNumberOfItemsReachedExceptionInfo.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

commons-rest/model/src/main/java/org/eclipse/kapua/commons/rest/model/errors/MaxNumberOfItemsReachedExceptionInfo.java#L60

Added line #L60 was not covered by tests