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

🐛 [REST API] Fix ServiceConfigurations to return KapuaIllegalArgument instead of 204 #4064

Merged
merged 1 commit into from
Jul 1, 2024

fix(api): throw `KapuaIllegalArgument` for non-KapuaConfigurableServi…

c090c8a
Select commit
Loading
Failed to load commit list.
Merged

🐛 [REST API] Fix ServiceConfigurations to return KapuaIllegalArgument instead of 204 #4064

fix(api): throw `KapuaIllegalArgument` for non-KapuaConfigurableServi…
c090c8a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jun 27, 2024 in 1s

0.00% of diff hit (target 16.81%)

View this Pull Request on Codecov

0.00% of diff hit (target 16.81%)

Annotations

Check warning on line 91 in rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java#L91

Added line #L91 was not covered by tests

Check warning on line 94 in rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java#L93-L94

Added lines #L93 - L94 were not covered by tests

Check warning on line 108 in rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java#L108

Added line #L108 was not covered by tests

Check warning on line 112 in rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java#L110-L112

Added lines #L110 - L112 were not covered by tests

Check warning on line 118 in rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java#L114-L118

Added lines #L114 - L118 were not covered by tests

Check warning on line 138 in rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java#L138

Added line #L138 was not covered by tests

Check warning on line 141 in rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java#L140-L141

Added lines #L140 - L141 were not covered by tests