Skip to content

Issue #1633 Possibility to disable SBA server side by property #1672

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

Merged
merged 4 commits into from
May 7, 2021
Merged

Issue #1633 Possibility to disable SBA server side by property #1672

merged 4 commits into from
May 7, 2021

Conversation

hammadirshad
Copy link

No description provided.

@codecov-io
Copy link

codecov-io commented Mar 21, 2021

Codecov Report

Merging #1672 (b5348de) into master (5807037) will increase coverage by 0.02%.
The diff coverage is 91.66%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1672      +/-   ##
============================================
+ Coverage     83.69%   83.72%   +0.02%     
- Complexity     1203     1208       +5     
============================================
  Files           151      152       +1     
  Lines          3514     3526      +12     
  Branches        251      253       +2     
============================================
+ Hits           2941     2952      +11     
- Misses          443      444       +1     
  Partials        130      130              
Impacted Files Coverage Δ Complexity Δ
...rver/ui/config/AdminServerUiAutoConfiguration.java 97.40% <ø> (ø) 6.00 <0.00> (ø)
...in/server/config/AdminServerAutoConfiguration.java 100.00% <ø> (ø) 12.00 <0.00> (ø)
...oot/admin/server/config/AdminServerProperties.java 82.85% <66.66%> (-1.52%) 8.00 <1.00> (+1.00) ⬇️
.../config/SpringBootAdminServerEnabledCondition.java 100.00% <100.00%> (ø) 4.00 <4.00> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5807037...b5348de. Read the comment docs.


if (!serverProperties.getServer().isEnabled()) {
return ConditionOutcome
.noMatch("Spring Boot Server is disabled, because 'spring.boot.admin.client.enabled' is false.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be spring.boot.admin.server.enabled in the noMatch string?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed in de02259

@@ -52,7 +56,7 @@ In addition when the reverse proxy terminates the https connection, it may be ne

| spring.boot.admin.probed-endpoints
| For Spring Boot 1.x client applications SBA probes for the specified endpoints using an OPTIONS request.
If the path differs from the id you can specify this as id:path (e.g. health:ping)..
If the path differs from the id you can specify this as id:path (e.g. health:ping)..
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is not related to the PR, right? Can you please revert to removing the spaces?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed in 60f3c40

@SteKoe SteKoe self-requested a review May 7, 2021 06:10
@ulischulte ulischulte linked an issue May 7, 2021 that may be closed by this pull request
@SteKoe SteKoe merged commit b350d55 into codecentric:master May 7, 2021
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

Successfully merging this pull request may close these issues.

Possibility to disable SBA server side on property
3 participants