Skip to content

Conversation

@Wweiei
Copy link
Contributor

@Wweiei Wweiei commented Sep 19, 2025

feat:refactor reserved keyword fields for discovery_upstream table. #6137
This PR refactor discovery_upstream reserved keyword fields by renaming two database columns in the "discovery_upstream" table to avoid reserved keyword conflicts. The changes rename "url" to "upstream_url" and "status" to "upstream_status". And fixed an error in tag-sqlmap.xml.

  • Renamed database column "url" to "upstream_url" across all database schemas and related code
  • Renamed database column "status" to "upstream_status" across all database schemas and related code
  • Updated all corresponding Java entity classes, mappers, and service implementations to use the new field names
  • fix an error in tag-sqlmap.xml, which would cause an error during unit testing.

Make sure that:

  • You have read the contribution guidelines.
  • You submit test cases (unit or integration tests) that back your changes.
  • Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

@Aias00 Aias00 added this to the 2.7.0.3 milestone Sep 22, 2025
@Aias00 Aias00 merged commit feadbd2 into apache:master Sep 22, 2025
61 of 106 checks passed
@Wweiei Wweiei deleted the feat/refactor-reserved-keyword-fields-discovery-upstream branch September 24, 2025 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants