Does 3.0.0-M use any of the /application /app-name_profile type loading at all for secrets? #593
-
Comparing the docs for version 2.4.x and 3.0.0-M, it looks like 3.0.0-M no longer will automatically load common properties under /secret/application, service specific properties under /secret/service-name, with or without _profile specifications, etc. Does this still happen at all in 3.0.0-M or does it strictly only use the secrets specified individually in spring.config.import? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
There was a lot of confusion about this feature and lots of edge cases where it did not work as users expected so we decided to make this feature less magical but more explicit. At this stage you need to specify exactly the secret you need. We may re-consider but so far we haven't received feedback to do so. |
Beta Was this translation helpful? Give feedback.
-
Personally I found this feature very useful. Now I have to declare all imports explicitly for different profiles. |
Beta Was this translation helpful? Give feedback.
There was a lot of confusion about this feature and lots of edge cases where it did not work as users expected so we decided to make this feature less magical but more explicit. At this stage you need to specify exactly the secret you need.
We may re-consider but so far we haven't received feedback to do so.