Skip to content

docs: fix docs consistency - #6037

Merged
SteKoe merged 51 commits into
masterfrom
docs/fix-docs-consistency
Nov 30, 2026
Merged

SteKoe merged 51 commits into
masterfrom
docs/fix-docs-consistency

Conversation

@SteKoe

@SteKoe SteKoe commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

No description provided.

- Use the auto-configured event store instead of manual beans
- Add spring-boot-starter-hazelcast to all dependency snippets
- Remove non-existent hazelcast.* properties and HAZELCAST_MEMBERS
- Drop hazelcast-kubernetes, it is bundled in hazelcast 5.x
- Align the sample page with the sample code
- Clarify that registrations are shared via events
- Fix persistence wording, Maven version and sample table

Closes #6021
- Correct host type values and required Spring Boot version
- Fix instance-auth property name and CSRF snippet
- Fix notification filter endpoint, ttl and notifier examples
- Use Flux.from(eventStore).subscribe in event store examples
- Correct ID generators and default instance repository
- Correct service host type values
- Replace non-existent client lifecycle events
- Fix InstanceFilter and discovery property examples
- Fix management path placeholder and metadata key names
- Fix InstanceFilter snippets and public main methods
- Remove non-existent discovery, TLS and heartbeat properties
- Use resolvable base-path placeholders and EUREKA_SERVICE_URL
- Use spring.application.name for Zookeeper service name
- Replace removed AntPathRequestMatcher and xss.block APIs
- Fix EndpointRequest import and drop unused SecurityProperties import
- Remove unjustified CSRF exemption for notification endpoints
- Describe the two real SSRF protection layers accurately
- Add the CSRF ignore list to minimal and role-based examples
- Replace non-existent FilteringNotifier SpEL API and fix reminders
- Fix SSE stream endpoints, register body tags and CORS section
- Correct status order, monitor properties and prefer-ip deprecation
- Fix InstanceWebClient examples, sample profiles and prerequisites
- Remove non-existent SBA global APIs from custom UI sample and FAQ
…r guides

- Document EndpointDetector bean instead of non-existent strategy bean
- Fix endpoint detection triggers, fallback behaviour and probed endpoints
- Use real StatusUpdater and InfoUpdater constructors
- Correct custom status code handling and timestamp access
- State that exactly one InstanceFilter bean is allowed
- Share the FilteringNotifier bean and keep the mail properties bound
- Use a stable instance ID generator example
- Define CustomCsrfFilter in the security snippet
- State the residual CSRF risk of the exemptions
- Align the event versioning snippet with InstanceEvent
- State auto-deregistration is only the default on cloud platforms
- Describe the Cloud Foundry factory and the real masking patterns
- Separate InstanceFilter from discovery filter properties
- Use the full actuator path as management.context-path
- Remove tags.* keys that Consul metadata cannot carry
- Drop underscore keys that the server does not recognise
- Replace non-existent CookieCsrfTokenRepository API
- State the residual CSRF risk of the documented exemptions
- Replace a header-based CSRF bypass with a path-based matcher
- Require authentication for actuator endpoints on a separate port
- Document SSRF filter bean naming, enablement and connector conditions
- Fix role-based and service-account scenarios
… toggle

- Use endpoint ids or absolute URLs in custom health and info updaters
- Correct the StatusChangeLogger example
- State that /mcp stays exposed when mcp.enabled is false
- Fix list binding and duplicate registration in instance filter examples
- Add missing imports and correct endpoint detection scenarios
- Replace @eventlistener examples that never fire with notifier and store subscriptions
- Use the primary notifier pattern for filtering and reminding
- Correct the sample feature matrix and Zookeeper sample config
- Fix the custom UI sample metrics, store description and vite config
- Remove HAL claims, fix links, Jolokia version and event lifecycle order
- Align FAQ instance ID and CSRF advice with the code
- Describe /instances/{id} stream as Instance snapshots
- Replace the wrong stateless claim with the event store and polling behaviour
- Inject RegistrationClient instead of a non-existent RestClient bean
- Note that dash metadata keys are equivalent and credentials travel as metadata
- Add the required @EnableAdminServer step to the quick start
- Use valid client config types for Claude Code, Cursor and Claude Desktop
- Require an HttpExchangeRepository bean for httpexchanges
- Note that InstanceFilter does not hide instances from MCP tools
- State that Spring Session with Hazelcast needs the servlet stack
- Explain that notificationFiltersMap only takes effect via FilteringNotifier
…te notes

- Correct Boot's default user behaviour with oauth2-client
- State that the UI requires the XSRF-TOKEN cookie
- Replace the multiple filter chain example
- Add cookie CSRF handling and the ASYNC dispatch rule to full chain snippets
- Use a real LDAP server setup and dash-style Consul credential keys
- Remove the wrong SameSite default claim
…ST error docs

- Use real Consul heartbeat, ACL token, TLS and datacenter properties
- Pass the registered FilteringNotifier bean to the reminding notifier
- Use the composite notifier pattern in the FAQ
- Replace unregistered custom UI components and add npm-install to the pom
- Document empty 404 bodies and standard Boot error responses
- Use com.hazelcast.spring:hazelcast-spring-session 4.0.0
- Add the session serialization config for the embedded member
- Replace the @eventlistener example that never fires
- Use ClientProperties.getAdminUrl in the custom registrator
- Match the Cloud Foundry metadata contributor snippet to the code
The generated property table showed spring-boot-admin-application-store, the code default is spring-boot-admin-event-store.
… auth notes

- Add spring-security-ldap to the LDAP section
- Add the ASYNC dispatch rule to the OAuth2 chain
- Clarify that /actuator/** exemption only covers the server's own actuator
- Warn that the YAML-only setup cannot register clients or use the full UI
- Add the missing PasswordEncoder bean to the actuator example
- Explain that metadata credentials work regardless of instance-auth.enabled
…pgrade notes

- Add CSRF handling to the FAQ UI security snippet
- Use a bare management-base-url in the FAQ
- Do not claim the Hazelcast sample shares notification filters
- Fix the SSE example order and the servlet sample NotifierConfig
- Add a Jackson 3 section to the upgrade guide
- Use the configured in-memory user in the client registration snippet
- Add the missing spring-boot-starter-security dependency and a servlet-only note
- Remove the misleading Jolokia remark from the stack comparison
Pyctuator must register at POST {contextPath}/instances, not the base URL.
…imeout margin

- Add management.endpoint.health.status.order for custom statuses
- Make the MCP security snippet standalone and keep client registration reachable
- Note the one-second margin of the status update timeout
… examples

- Replace the servlet sample SecuritySecureConfig with the real configuration
- Make the FAQ custom view an instance view
- Fix the Kubernetes health 401 advice
- Add the ASYNC rule and CustomCsrfFilter to the FAQ UI security snippet
- Note that the Consul sample registers no CustomCsrfFilter
…note

- Wire the LDAP AuthenticationManager explicitly and drop the in-memory user
- Put the ASYNC dispatch rule before role-restricted rules in the RBAC example
- Limit the skipped connection-time SSRF filter to a user-defined ClientHttpConnector
… WebClient example

- State that the Consul sample lacks CustomCsrfFilter so UI writes may get 403
- Use the sample's real health URL and recommend health-check-path
- Replace the removed WebClient exchange() with retrieve().toBodilessEntity()
…SP example

- Describe the AuthenticationManager bean as a fallback for the global manager
- State the context path login redirect behaviour conservatively
- Use one CSP example with data: images on all pages
- Explain that the status timeout is derived from status-interval minus one second
- Remove timeout examples that StatusUpdateTrigger overwrites
- Make the MCP security snippet profile-free and document the Basic auth user
- Use the upper-case Eureka app name in instance-auth.service-map
- Lower-case Eureka names in the InstanceFilter examples
- Require management.info.env.enabled for info.tags
- Remove callout markers from the properties example
…ions

- Set SERVER_PORT=8081 where the examples publish 8081
- Mount the nginx snippet as conf.d/default.conf
- Add a dependency versions section with the Spring Cloud and SBA BOMs
The per-request timeout filter (default-timeout or timeout.<endpointId>) also applies, so longer health checks need both it and status-interval raised.
…nippets

The Eureka, Consul and Zookeeper discovery starters do not bring actuator or a web server, so clients built exactly as documented had no health endpoint.
…curl examples

- Use a health-path relative to the management context path
- Document the Authorization header for Consul checks in the secure profile
- Send Accept: text/event-stream when streaming /instances/events and document the JSON variant
…stence claim

- Put spring-boot.run.arguments on one quoted line
- Build the Eureka sample jar before docker-compose up
- State that the servlet sample sessions live in an in-memory HSQL database
… and Consul check path

- Use eureka.client.timeout.* for the RestClient based transport
- Add a default to the management.port placeholder
- Whitelist ruok and mntr for Zookeeper and use the archive download URL
- Disable proxy buffering and extend the read timeout for SSE behind nginx
- Set health-check-path for the Consul separate management port example
- Note that unversioned Boot starters come from the Spring Boot BOM
…pendency BOMs

- Cover /applications/*/actuator/** and DELETE /applications/* in the RBAC examples
- Restrict non-GET proxy methods to ADMIN and keep registering clients reachable
- Add actuator and web starters to the Eureka client snippet
- Link the Spring Cloud and SBA BOM section from the getting started and server pages
…site and commands

- Replace the status change @eventlistener that never fires with an event store subscriber
- Remove session persistence claims the servlet sample does not implement
- Correct reminder statuses, Eureka lease timing, Netty thread names and brew/Docker Consul setup
- State that SBA 4.x.y needs the same Spring Boot minor
- Add the shutdown endpoint prerequisite and the install step for the MCP sample
…andle Consul management service

- Make heapdump, threaddump, env and configprops ADMIN-only in the RBAC examples
- Note that the UI Jolokia MBean view needs ADMIN because its reads are POST
- Ignore the Consul <app>-management service in the separate management port example
…ck alternative

- Use /** matchers for env and configprops and restrict GET on jolokia to ADMIN
- Require an explicit health-check-url when register-management is disabled
SBA SNAPSHOT artifacts are not on a public repository, so a fresh clone must run mvn clean install -DskipTests once.
The UI loads the MBean tree with GET jolokia/list, so permitting only POST for USER does not make the view usable.
…structions

- Send Accept: application/json in REST examples so the UI forwarding is not hit
- Show the absolute Location header of the register endpoint
- Inject ObjectProvider<List<Notifier>> as a bean method parameter to avoid a dependency cycle
- Pass profile, port and client URL together in the sample port examples
- Disable TCP/IP when showing Hazelcast multicast and Kubernetes discovery
- Complete the custom UI build snippets and fix the sample feature matrix and Eureka status text
…ilter bean

- Resolve the delegate notifiers lazily to avoid the filtering and reminding cycle
- Keep a single FilteringNotifier bean so filters added via the REST endpoint apply to the chain
- Align the notification, custom notifier, event types and FAQ examples
…and client CSRF notes

- Match the Admin Server's own actuator with plain /actuator paths, as the context path does not move it
- Permit health and info in the first CSRF example and state that the exemption only skips the token check
- Show the security headers as a fragment instead of a second SecurityFilterChain
- Warn that UI write operations on a client with default security need CSRF handling
- Fix the instance metadata curl example
@SteKoe
SteKoe requested a review from a team as a code owner November 30, 2026 06:56
@SteKoe
SteKoe enabled auto-merge (squash) November 30, 2026 06:56
@SteKoe
SteKoe merged commit 4ace399 into master Nov 30, 2026
2 checks passed
@SteKoe
SteKoe deleted the docs/fix-docs-consistency branch November 30, 2026 07:08
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.

1 participant