Skip to content

Conversation

@kimago
Copy link
Member

@kimago kimago commented Dec 19, 2025

Removes use of non-maintained service-config library for config parsing
https://vmw-jira.broadcom.net/browse/TNZ-64710

Parse config yaml using standard go packages

[TNZ-64710](https://vmw-jira.broadcom.net/browse/TNZ-64710)

Authored-by: Kim Bassett <[email protected]>

# Conflicts:
#	src/github.com/cloudfoundry-incubator/cf-mysql-cluster-health-logger/go.mod
#	src/github.com/cloudfoundry-incubator/cf-mysql-cluster-health-logger/go.sum
Parse config yaml using standard go packages

[TNZ-64710](https://vmw-jira.broadcom.net/browse/TNZ-64710)

Authored-by: Kim Bassett <[email protected]>
Parse config using standard go packages

[TNZ-64710](https://vmw-jira.broadcom.net/browse/TNZ-64710)

Authored-by: Kim Bassett <[email protected]>
Parse config using standard go packages

[TNZ-64710](https://vmw-jira.broadcom.net/browse/TNZ-64710)

Authored-by: Kim Bassett <[email protected]>
- Use yaml not json when integration tests marshal Configs
- Mark some config as "yaml: omitempty" to avoid overwriting
  with zero values when above test-marshalled empty configs
  are consumed
- (plus handle a nearby ignored error)

[TNZ-64710](https://vmw-jira.broadcom.net/browse/TNZ-64710)

Authored-by: Kim Bassett <[email protected]>
Parse config using standard go packages
- Use yaml not json when integration tests marshal test Configs.
  (JSON saves time.Duration as integer values not strings; new
  yaml libraries reject that representation)
- Mark some config as "yaml: omitempty" to avoid overwriting
  with zero values when above test-marshalled empty configs
  are consumed
- (plus handle a nearby ignored error)

[TNZ-64710](https://vmw-jira.broadcom.net/browse/TNZ-64710)

Authored-by: Kim Bassett <[email protected]>
@kimago kimago force-pushed the feature/remove-service-config-TNZ-64710 branch from 895cf6a to 458c65e Compare December 22, 2025 18:48
Copy link
Member

@abg abg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-project-automation github-project-automation bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group Dec 22, 2025
@abg
Copy link
Member

abg commented Dec 22, 2025

I'll merge once the pipeline is clear and green. Currently validating dependency bump merges from this morning.

@abg abg merged commit f32d67a into main Dec 23, 2025
2 checks passed
@abg abg deleted the feature/remove-service-config-TNZ-64710 branch December 23, 2025 15:59
@github-project-automation github-project-automation bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants