'Spring Cloud Config Server is not loading properties in RHOS from the temp location

Yaml

server: servlet: context-path: /configserver-api

management: endpoints: web: exposure: include: "*" endpoint: health: probes: enabled: true health: livenessstate: enabled: true readinessstate: enabled: true

spring: application: name: configserver-api cloud: config: server: git: uri: https://work.global.com/em-api-configs default-label: master searchPaths: '{application}/{profile}' #clone-on-start: true basedir: /usr/local/tomcat/temp # to customize the local repo location force-pull: true #if the content is dirty in local compared to remote, then it will read from git url refreshRate: 60

We were able to deploy code in to RHOS without any issues,

Below response we are seeing:

{ "name": "arpf-api", "profiles": [ "dev" ], "label": null, "version": "c76c959164db142046e411a510d1e275ac9f9880", "state": null, "propertySources": [ ] }

Not able to load property source.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source