Skip to content

Implement "all" endpoints supporting to configure whole instances#222

Draft
pathob wants to merge 1 commit into
mainfrom
all-endpoints
Draft

Implement "all" endpoints supporting to configure whole instances#222
pathob wants to merge 1 commit into
mainfrom
all-endpoints

Conversation

@pathob

@pathob pathob commented May 9, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@pathob pathob changed the base branch from main to prepare-1.0 June 2, 2025 21:49
@pathob pathob force-pushed the prepare-1.0 branch 2 times, most recently from 409ad69 to d34c610 Compare June 5, 2025 14:46
Base automatically changed from prepare-1.0 to main June 24, 2025 22:52
@pathob pathob force-pushed the all-endpoints branch 3 times, most recently from 6ce4812 to 95d6b8d Compare July 8, 2025 22:00
@pathob pathob force-pushed the all-endpoints branch 2 times, most recently from e10fca3 to 972184b Compare February 22, 2026 11:35
@deftdevs deftdevs deleted a comment from sonarqubecloud Bot Feb 22, 2026
@pathob pathob force-pushed the all-endpoints branch 2 times, most recently from b29c8d8 to 98c8bbf Compare February 24, 2026 13:14
@deftdevs deftdevs deleted a comment from sonarqubecloud Bot Feb 24, 2026
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
14.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

PUT / accepts a product-specific _AllModel and applies each present
sub-field through the existing services. The outcome of every sub-field is
reported in the response's status map; the overall HTTP status aggregates
them (200 all success, 207 partial success, uniform client error code, or
500 on any server error). License keys in responses are redacted.

Commons provides the shared framework: _AllResource/_AllService
abstractions, ServiceResult, _AllModelStatus, ServiceResultUtil (including
group-aware sub-entity status keys such as settings/custom-html), and
LicenseKeyRedactor. Each product contributes its _AllModel, _AllServiceImpl,
_AllResourceImpl (with product-typed OpenAPI response schemas), composite
settings services, and Spring wiring. Composite settings services are not
exposed as beans where their type would make by-type injection of the
narrow settings interfaces ambiguous in the REST layer.

Covered by unit tests for the framework, the composite default methods and
the product services, plus functional tests for the _all endpoint (single-
and multi-entity payloads, empty model, authentication and authorization)
and a Confluence settings-branding functional test guarding the REST DI
wiring.
@sonarqubecloud

sonarqubecloud Bot commented Jul 4, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
16.6% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

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