Steeltoe icon indicating copy to clipboard operation
Steeltoe copied to clipboard

Support Tanzu Application Configuration Service

Open TimHess opened this issue 2 years ago • 2 comments

Given that Tanzu Application Configuration Service can be viewed as a successor to Spring Cloud Config Server, Steeltoe should also support reading configuration provided by it.

Preliminary support provided by the new Kubernetes.ServiceBindings package already reads in configuration provided by the service and for a configurationSlice named "spring-properties" will result in IConfiguration entries such as this:

"k8s:bindings:spring-properties:cook.special": {
  "value": "Pickled Cactus"
},
"k8s:bindings:spring-properties:dessertMenu": {
  "value": "Strawberry Cake with Whipped Cream"
},
"k8s:bindings:spring-properties:provider": {
  "value": "acs"
},
"k8s:bindings:spring-properties:secretMenu": {
  "value": "Crawfish Casserole"
},
"k8s:bindings:spring-properties:type": {
  "value": "config"
}

We should remap any non-system keys to the root of the configuration so they can be easily accessed by developers. We should not map system keys like "provider" or "type" as those are only likely to cause confusion

TimHess avatar Oct 04 '23 18:10 TimHess

@TimHess Since the related PR has been closed unmerged, does this issue need to remain open?

bart-vmware avatar Dec 20 '23 07:12 bart-vmware

Steeltoe support for working with Tanzu Application Configuration Service is being put on hold at this point in time. For anyone looking to use Application Configuration Service in a .NET application, please reach out and let us know. It wouldn't take too much work, but we are not presently aware of any demand for this support and would like customer input before adding the code.

TimHess avatar Dec 20 '23 18:12 TimHess