kapua
kapua copied to clipboard
Disable the Swagger UI if needed
Brief description of the PR.
This PR fixes #3594, i.e. add the possibility to disable the Swagger UI if needed.
In order to disable the Swagger UI execute the deployment script with the --no-swagger
parameter. This will cause any request to /doc/*
endpoints to return with a 404
error code and message Swagger UI disabled
.
Codecov Report
Merging #3595 (e176acf) into develop (1456571) will decrease coverage by
16.64%
. The diff coverage is0.00%
.
:exclamation: Current head e176acf differs from pull request most recent head 6376819. Consider uploading reports for the commit 6376819 to get more accurate results
@@ Coverage Diff @@
## develop #3595 +/- ##
==============================================
- Coverage 50.12% 33.47% -16.65%
+ Complexity 259 147 -112
==============================================
Files 1668 1669 +1
Lines 31992 32005 +13
Branches 2637 2637
==============================================
- Hits 16035 10714 -5321
- Misses 15020 20430 +5410
+ Partials 937 861 -76
Impacted Files | Coverage Δ | |
---|---|---|
...pse/kapua/app/api/core/filter/SwaggerUIFilter.java | 0.00% <0.00%> (ø) |
|
...rc/main/java/org/eclipse/kapua/KapuaException.java | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
...c/main/java/org/eclipse/kapua/KapuaErrorCodes.java | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
...in/java/org/eclipse/kapua/broker/BrokerDomain.java | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
...java/org/eclipse/kapua/commons/util/ClassUtil.java | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
...ain/java/org/eclipse/kapua/event/ServiceEvent.java | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
...n/java/org/eclipse/kapua/broker/BrokerDomains.java | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
...va/org/eclipse/kapua/commons/util/SystemUtils.java | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
...n/java/org/eclipse/kapua/model/domain/Actions.java | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
.../java/org/eclipse/kapua/message/KapuaPosition.java | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
... and 438 more |