Replies: 4 comments 1 reply
-
maybe show your application.properties/application.yaml |
Beta Was this translation helpful? Give feedback.
-
spring.application.name=application management.endpoint.health.show-details=always azure.service.endpoints.global.aadMembershipRestUri=https://graph.windows.net/me/memberOf?api-version=1.6&$top=999 spring.security.user.name=admin logbook.exclude = /heartbeat, /actuator/prometheus spring.cloud.aws.parameterstore.region=eu-central-1 spring.config.import=aws-parameterstore:/config/application/ cloud.aws.stack.auto=false spring.flyway.schemas=application Also I put breakpoint in ParameterStorePropertySource class while debugging I see that the getParametersByPath returns no parameters, I am using AWS_PROFILE env variable for the authenctication. |
Beta Was this translation helpful? Give feedback.
-
I have a central Config class which has the property |
Beta Was this translation helpful? Give feedback.
-
Is there any update on this? I tried to autowire the SSM client in the app manually and then it does get all the parameters, however while the app initialises the context with plugin there is no response with the same client. |
Beta Was this translation helpful? Give feedback.
-
Hi,
We're in process of migrating a spring boot 2 app to spring boot 3 (3.1.2), and using awspring cloud 3.0.2 plugins for ssm parameter store config using spring.config.import=aws-parameterstore:/config/application/, however I always get this error. Is there something I am missing?
Could not resolve placeholder 'graphQlUrl' in value "${graphQlUrl}"
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:180)
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:239)
at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:210)
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:191)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:920)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1358)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1337)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:713)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:696)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:145)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:483)
... 82 more
Beta Was this translation helpful? Give feedback.
All reactions