config yml repo https://github.com/DongJu-Na/spring-cloud-sample-config-repo
code repo https://github.com/DongJu-Na/spring-cloud-sample
I don't know why my spring profile is not changing. help.
- http://localhost:8888/dummyApi/dev Get
- http://localhost:8888/actuator/refresh Post or http://localhost:8080/actuator/refresh
dummyapi server log
2023-12-09T04:03:30.340+09:00 INFO 40500 --- [oundedElastic-1] o.s.c.c.c.ConfigServerConfigDataLoader : Located environment: name=dummyApi, profiles=[default], label=null, version=11e76149682022d4feed8891032ea0c441c6d613, state=null
Can you tell me what I'm missing?
Comment From: DongJu-Na
These endpoints on the config server are just looking up yml files. I misunderstood that they were changing profiles. Haha, this issue has been resolved on its own and is being closed!