Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Environments Concept in Micronaut Context #12809

Conversation

puneetbehl
Copy link
Contributor

Implemented a new MicronautYamlPropertySourceLoader which reads environment specific properties from application.yml file based on the current configured environment.

Fixes #12082

Implemented a new MicronautYamlPropertySourceLoader which reads environment specific properties from application.yml file based on the current configured environment.

Fixes #12082
@puneetbehl puneetbehl added this to the 6.0.0 milestone Dec 6, 2022
@puneetbehl puneetbehl force-pushed the 12082-micronaut-beans-do-not-receive-configuration-from-environments-block branch from 360a603 to 3eaf678 Compare December 6, 2022 17:30
@puneetbehl puneetbehl force-pushed the 12082-micronaut-beans-do-not-receive-configuration-from-environments-block branch from 3eaf678 to ac9fdc9 Compare December 6, 2022 17:44
@puneetbehl puneetbehl merged commit 4ff0c1f into 6.0.x Dec 7, 2022
puneetbehl added a commit that referenced this pull request Mar 13, 2023
* Update projectVersion to 6.0.0-SNAPSHOT

* Update GrailsUtilTests.java

* Update groovy-joint-workflow.yml

* Update to minimum Java 11 (#12783)

* Update Micronaut monorepo (#12800)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Support Environments Concept in Micronaut Context (#12809)

* Support Environments Concept in Micronaut Context

Implemented a new MicronautYamlPropertySourceLoader which reads environment specific properties from application.yml file based on the current configured environment.

Fixes #12082

* Update GroovyConfigPropertySourceLoaderSpec.groovy

* Use Java 11 for Release (#12812)

Update Release Workflow YAML file to use Java 11 for the build.

* Release v6.0.0-M1

* Back to 6.0.0-SNAPSHOT

* Merge branch 5.3.x (#12908)

* Update dependabot.yml

* Update aspectjVersion to v1.9.19 (#12822)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Fix typo in Readme (#12838)

* Update Micronaut monorepo (#12806)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Bump grails-datastore-gorm-hibernate5 from 7.3.0 to 7.3.1 (#12824)

Bumps [grails-datastore-gorm-hibernate5](https://github.com/grails/gorm-hibernate5) from 7.3.0 to 7.3.1.
- [Release notes](https://github.com/grails/gorm-hibernate5/releases)
- [Commits](grails/gorm-hibernate5@v7.3.0...v7.3.1)

---
updated-dependencies:
- dependency-name: org.grails:grails-datastore-gorm-hibernate5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update spring boot to v2.7.8 (#12823)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.gradle.enterprise to v3.12.2 (#12813)

* Update plugin com.gradle.enterprise to v3.12.2

* Remove explicit test-rety plugin

Gradle Enterprise 3.12.2 implicity includes the test-retry plugin

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Puneet Behl <behlp@objectcomputing.com>

* Update apache-tomcat monorepo to v9.0.71 (#12842)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update apache-maven-resolver monorepo to v1.9.4 (#12841)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update apache-ant monorepo to v1.10.13 (#12830)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Micronaut Spring monorepo to v4.5.0 (#12846)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update spring core to v5.3.25 (#12845)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update junit5 monorepo (#12844)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency net.java.dev.jna:jna to v5.13.0 (#12847)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update release-drafter/release-drafter action to v5.22.0 (#12849)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.methvin:directory-watcher to v0.17.3 (#12856)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.gradle.enterprise to v3.12.3 (#12853)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Micronaut monorepo to v3.8.3 (#12852)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Grails Profile BOM (#12857)

Update grails angular profile to 8.0.2

* Release v5.3.0

* Back to 5.3.1-SNAPSHOT

* Fix for Groovy STC and SC issues (#12851)

* `@CompileStatic` property access

* `@CompileStatic` property access

* `@CompileStatic` collection element type

* Update Micronaut monorepo to v3.8.4 (#12862)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update datastoreVersion to v7.3.3 (#12861)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.apache.maven:maven-resolver-provider to v3.9.0 (#12843)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.methvin:directory-watcher to v0.18.0 (#12866)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Grails Gradle Plugin to 5.2.5 (#12865)

* Update dependency com.netflix.nebula:gradle-extra-configurations-plugin to v9 (#12818)

* Update dependency com.netflix.nebula:gradle-extra-configurations-plugin to v9

* Update nebula.optional-base plugin id

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Puneet Behl <behlp@objectcomputing.com>

* Update alpine Docker tag to v20230208 (#12864)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Vue profile to 5.0.3 (#12867)

* Update from Micronaut 3.5.4 to 3.5.7 (#12871)

* Update Grails Gradle Plugin to 5.2.6 (#12872)

* Release v5.2.6

* Back to 5.2.7-SNAPSHOT

* Update dependency commons-fileupload:commons-fileupload to v1.5 (#12869)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Dependency cleanup (#12868)

Remove dependency to tomcat-embed-logging-log4j from grails-plugin-datasource
Issue #11631 (#11631)

* Update Grails Gradle Plugin to 5.3.0 (#12873)

* Release v5.3.1

* Back to 5.3.2-SNAPSHOT

* Revert "Update dependency org.apache.maven:maven-resolver-provider to v3.9.0 (#12843)"

This reverts commit 9fdfad5.

* Release v5.3.2

* Back to 5.3.3-SNAPSHOT

* Update Micronaut monorepo to v3.8.5 (#12876)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.github.gradle-nexus:publish-plugin to v1.2.0 (#12881)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update release-drafter/release-drafter action to v5.23.0 (#12880)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jsoup:jsoup to v1.15.4 (#12878)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update gspVersion to v5.2.2 (#12877)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency gradle to v6.9.4 (#12882)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update apache-tomcat monorepo to v9.0.72 (#12884)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update spring boot to v2.7.9 (#12885)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update apache-maven-resolver monorepo to v1.9.5 (#12883)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mattias Reichel <mattias.reichel@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Milles <eric.milles@thomsonreuters.com>
Co-authored-by: ivo-k <ikurbjuhn@lstelcom.com>

* Update dependency com.sun.xml.bind:jaxb-impl to v2.3.8

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Puneet Behl <behlp@objectcomputing.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mattias Reichel <mattias.reichel@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Milles <eric.milles@thomsonreuters.com>
Co-authored-by: ivo-k <ikurbjuhn@lstelcom.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Micronaut beans do not receive configuration from environments block
1 participant