jamesfredley opened a new pull request, #15426:
URL: https://github.com/apache/grails-core/pull/15426

   ## Summary
   
   Combines the curated property metadata from #15407 with the runtime 
environment collection from the `configuration-command` branch into a single 
hybrid `ConfigReportCommand`.
   
   ### What it does
   
   - Loads property metadata from `config-properties.yml` (descriptions, 
defaults for ~160 known Grails properties across 21 categories)
   - Collects runtime property values from the Spring `ConfigurableEnvironment`
   - Outputs a **3-column AsciiDoc table** (`Property | Description | Default`) 
organized by functional category
   - Runtime values **override** static defaults when the property is set in 
the running application
   - Properties not found in the metadata appear in a separate **"Other 
Properties"** section
   
   ### Changes
   
   - **`ConfigReportCommand.groovy`** - Modified to load YAML metadata and 
merge with runtime values
   - **`config-properties.yml`** - New metadata file with ~160 properties 
across 21 categories (Core, Web & Controllers, CORS, Views & GSP, GORM, 
DataSource, Spring Security, MongoDB, etc.)
   - **`ConfigReportCommandSpec.groovy`** - Updated unit tests for 3-column 
hybrid format
   - **`ConfigReportCommandIntegrationSpec.groovy`** - Updated integration 
tests for category-based layout
   
   ### Based on
   
   - Cherry-picks from #15407 (static AsciiDoc documentation) 
   - Cherry-picks from `configuration-command` branch (jdaugherty's 
ConfigReportCommand proof-of-concept)
   
   ### Test results
   
   - Unit tests: 16/16 passed
   - Integration tests: 8/8 passed


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to