I was trying to use yml file only but it fails. Then I try to use properties file its working fine.
I was check using yamllint.com it is said valid.
I don't know it's not coming the result.
Still error on my local. I already pushed new file.
Previously I tried like that but still error. Now I am rolling back to use bank-account-service-dev.yml & bank-account-service-uat.yml but still error.
Hmm any changes to your git repo containing these files, make sure you do a git add and git commit and then restart your cloud config server for it to reflect properly
Also one other thing with the yml file is you don't need the
spring:
config:
activate:
on-profile: dev
if you follow the naming convention.
All you need to do is set the profile for the microservice of the bank-account-service when you run it.
Hi Mark,
Cannot pull from remote gitlab.com/microservice-samples/mi..., the working tree is not clean.
Hmm any changes to your git repo containing these files, make sure you do a git add and git commit and then restart your cloud config server for it to reflect properly
Also one other thing with the yml file is you don't need the
spring:
config:
activate:
on-profile: dev
if you follow the naming convention.
All you need to do is set the profile for the microservice of the bank-account-service when you run it.
It's working now. I am using Spring Cloud Native with File Backend.
Git Backend is to much error for me.
Thank for your support.
Awesome !