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

'spring.config.import with nacos' support profile and multiple values #3552

Closed
wangYX657211334 opened this issue Dec 22, 2023 · 4 comments
Closed
Labels

Comments

@wangYX657211334
Copy link

Which Component
spring-cloud-starter-alibaba-nacos-config

Is your feature request related to a problem? Please describe.
'spring.config.import with nacos' not support profile and multiple values
e.g
1. not support profile
image
image
2. not support multiple values
image
image

Describe the solution you'd like
modify com.alibaba.cloud.nacos.configdata.NacosConfigDataLocationResolver
1. support profile
each location splice profile
image
image

1. support multiple values
each location spilt
image
image

Describe alternatives you've considered
#2450

Additional context

wangYX657211334 added a commit to wangYX657211334/spring-cloud-alibaba that referenced this issue Dec 22, 2023
'spring.config.import with nacos' support profile and multiple values
@ruansheng8
Copy link
Collaborator

If you want to import multiple configurations at the same time, you can configure it like this:

spring:
  config:
    import:
      - nacos:xxx-service.yml
      # custom group and enable refresh
      - nacos:custom.yml?group=SERVICE_GROUP&refreshEnabled=true

@wangYX657211334
Copy link
Author

In other words,Why don't we go and support it profile and multiple configurations

Copy link

This issue has been open 30 days with no activity. This will be closed in 7 days.

@github-actions github-actions bot added the stale label Jan 24, 2024
Copy link

github-actions bot commented Feb 1, 2024

This issue has been automatically marked as stale because it hasn't had any recent activity.If you think this should still be open, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for your interest and contribution to the Sping Cloud Alibaba Community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants