Skip to content

Commit

Permalink
docs(autoconfigure): Follow Spring Boot JavaDoc guidelines
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Vitale <[email protected]>
  • Loading branch information
ThomasVitale committed Jan 27, 2024
1 parent 35a24de commit b7227b5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class FixedTenantResolutionProperties {
private boolean enabled = false;

/**
* The name of the fixed tenant to use in each context.
* Identifier of the fixed tenant to use in each context.
*/
private String tenantId = FixedTenantResolver.DEFAULT_FIXED_TENANT;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static class Mdc {
private boolean enabled = true;

/**
* The key to use for including the tenant identifier information in MDC.
* Key to use for including the tenant identifier information in MDC.
*/
private String key = MdcTenantContextEventListener.DEFAULT_TENANT_ID_KEY;

Expand Down Expand Up @@ -71,7 +71,7 @@ public static class Observations {
private boolean enabled = true;

/**
* The key to use for including the tenant identifier information in observations.
* Key to use for including the tenant identifier information in observations.
*/
private String key = ObservationTenantContextEventListener.DEFAULT_TENANT_ID_KEY;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class HttpTenantResolutionProperties {
private boolean enabled = true;

/**
* The HTTP type of resolution.
* Mode of HTTP resolution.
*/
private HttpResolutionMode type = HttpResolutionMode.HEADER;

Expand Down Expand Up @@ -73,7 +73,7 @@ public Filter getFilter() {
public static class Header {

/**
* The name of the HTTP header from which to resolve the current tenant.
* Name of the HTTP header from which to resolve the current tenant.
*/
private String headerName = HeaderTenantResolver.DEFAULT_HEADER_NAME;

Expand All @@ -90,7 +90,7 @@ public void setHeaderName(String headerName) {
public static class Cookie {

/**
* The name of the HTTP cookie from which to resolve the current tenant.
* Name of the HTTP cookie from which to resolve the current tenant.
*/
private String cookieName = CookieTenantResolver.DEFAULT_COOKIE_NAME;

Expand All @@ -112,8 +112,8 @@ public static class Filter {
private boolean enabled = true;

/**
* A list of HTTP request paths for which the tenant resolution will not be
* performed.
* Comma-separated list of HTTP request paths for which the tenant resolution will
* not be performed.
*/
private List<String> ignorePaths = List.of("/actuator/**", "/webjars/**", "/css/**", "/js/**", ".ico");

Expand Down

0 comments on commit b7227b5

Please sign in to comment.