close
Skip to content

Add asset pipeline configuration metadata#445

Merged
jdaugherty merged 4 commits into
wondrify:5.0.xfrom
jamesfredley:docs/spring-configuration-metadata
Mar 4, 2026
Merged

Add asset pipeline configuration metadata#445
jdaugherty merged 4 commits into
wondrify:5.0.xfrom
jamesfredley:docs/spring-configuration-metadata

Conversation

@jamesfredley

Copy link
Copy Markdown
Contributor

Summary

  • add spring configuration metadata for Grails asset pipeline properties
  • generate and include a configuration properties reference page in the docs
  • add a docs task to regenerate the properties reference from metadata

Copilot AI review requested due to automatic review settings February 26, 2026 18:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds Spring configuration metadata for Grails asset pipeline properties to enable IDE autocomplete and documentation support. The changes include creating a metadata JSON file, generating documentation from it, and integrating the documentation into the existing docs structure.

Changes:

  • Added Spring configuration metadata JSON file defining 23 asset pipeline configuration properties
  • Created a Gradle task to automatically generate AsciiDoc documentation from the metadata
  • Integrated the generated configuration properties reference into the documentation

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
asset-pipeline-grails/src/main/resources/META-INF/spring-configuration-metadata.json Defines Spring configuration metadata for 23 grails.assets.* properties including types, descriptions, and default values
asset-pipeline-docs/src/asciidoc/configurationProperties.adoc Generated documentation table listing all configuration properties with descriptions and defaults
asset-pipeline-docs/build.gradle Adds generateConfigurationProperties task to convert metadata JSON to AsciiDoc format
asset-pipeline-docs/src/asciidoc/index.adoc Includes the new configuration properties section in the documentation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread asset-pipeline-docs/src/asciidoc/configurationProperties.adoc Outdated
Comment thread asset-pipeline-docs/build.gradle Outdated
The generation logic was treating empty strings the same as null values,
showing '-' instead of the actual empty string default for digestSalt.
Now distinguishes null (no default) from empty string (explicit default).
The file is regenerated by generateConfigurationProperties task every build.
Committing it creates unnecessary diff noise.
@jdaugherty jdaugherty merged commit 6adaa7f into wondrify:5.0.x Mar 4, 2026
2 checks passed
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.

3 participants