You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update LDAP group pattern property in ProjectServiceImpl and add info to application yaml… (#16)
This pull request makes significant improvements to the application's
configuration, focusing on environment variable management,
documentation, and flexibility for deployment in different environments.
The main changes involve restructuring the `application.yaml` file to
better organize configuration sections, enhance documentation, and
ensure that sensitive or environment-specific values are supplied via
environment variables. Additionally, there is a small fix in the
`ProjectServiceImpl` class to align a configuration property key.
**Configuration and Environment Management Improvements:**
* Refactored `application.yaml` to consistently use environment
variables for sensitive and environment-specific settings (e.g.,
database credentials, OAuth2 endpoints, external service URLs),
improving security and deployment flexibility.
* Enhanced inline documentation throughout `application.yaml` to clarify
the purpose and usage of each configuration option, making onboarding
and troubleshooting easier.
[[1]](diffhunk://#diff-7f1ba62cb5d27efca72927e6323654ce62284153382d96af57c77893160b3fadR1-R103)
[[2]](diffhunk://#diff-7f1ba62cb5d27efca72927e6323654ce62284153382d96af57c77893160b3fadL79-R163)
[[3]](diffhunk://#diff-7f1ba62cb5d27efca72927e6323654ce62284153382d96af57c77893160b3fadL159-R228)
[[4]](diffhunk://#diff-7f1ba62cb5d27efca72927e6323654ce62284153382d96af57c77893160b3fadR244-R246)
[[5]](diffhunk://#diff-7f1ba62cb5d27efca72927e6323654ce62284153382d96af57c77893160b3fadR270-R279)
* Added or expanded configuration sections for logging, Spring Boot
infrastructure, security, actuator endpoints, OpenTelemetry, and
external integrations (Ansible, OpenShift, Bitbucket, Projects Info
Service), with detailed comments and improved defaulting via environment
variables.
[[1]](diffhunk://#diff-7f1ba62cb5d27efca72927e6323654ce62284153382d96af57c77893160b3fadR1-R103)
[[2]](diffhunk://#diff-7f1ba62cb5d27efca72927e6323654ce62284153382d96af57c77893160b3fadL79-R163)
[[3]](diffhunk://#diff-7f1ba62cb5d27efca72927e6323654ce62284153382d96af57c77893160b3fadL159-R228)
[[4]](diffhunk://#diff-7f1ba62cb5d27efca72927e6323654ce62284153382d96af57c77893160b3fadR244-R246)
[[5]](diffhunk://#diff-7f1ba62cb5d27efca72927e6323654ce62284153382d96af57c77893160b3fadR270-R279)
**Code Consistency and Bug Fixes:**
* Updated the property key in `ProjectServiceImpl.java` from
`ldap.group.pattern` to `services.project.ldap.group.pattern` to match
the new configuration structure, ensuring the correct value is injected.
Copy file name to clipboardExpand all lines: service-projects/src/main/java/org/opendevstack/apiservice/serviceproject/service/impl/ProjectServiceImpl.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ public class ProjectServiceImpl implements ProjectService {
0 commit comments