Skip to content

refactor: user friendly name for proxy address#2318

Merged
madhavilosetty-intel merged 1 commit into
mainfrom
proxyAdjustments
Sep 8, 2025
Merged

refactor: user friendly name for proxy address#2318
madhavilosetty-intel merged 1 commit into
mainfrom
proxyAdjustments

Conversation

@rsdmike

@rsdmike rsdmike commented Sep 8, 2025

Copy link
Copy Markdown
Member

PR Checklist

  • Unit Tests have been added for new changes
  • API tests have been updated if applicable
  • All commented code has been removed
  • If you've added a dependency, you've ensured license is compatible with Apache 2.0 and clearly outlined the added dependency.

What are you changing?

Anything the reviewer should know when reviewing this PR?

If the there are associated PRs in other repositories, please link them here (i.e. device-management-toolkit/repo#365 )

Copilot AI review requested due to automatic review settings September 8, 2025 20:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the proxy configuration API to use a more user-friendly field name by changing accessInfo to address for proxy server addresses.

  • Renamed accessInfo field to address throughout the codebase for better clarity
  • Updated database schema to use address column instead of accessInfo
  • Modified validation logic and test cases to reflect the new field name

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/test/collections/rps.postman_collection.json Updated API test collection to use address field in requests and assertions
src/stateMachines/ciraConfiguration.ts Changed AMT.Models.MPServer property from AccessInfo to address
src/routes/admin/proxy/proxyValidator.ts Updated validation rules to check address field instead of accessInfo
src/models/RCS.Config.ts Updated interface definitions and comments to use address terminology
src/data/postgres/tables/proxyConfigs.ts Modified database queries to use address column and updated field mappings
src/data/postgres/tables/proxyConfigs.test.ts Updated test cases to use address field in mock data and assertions
data/init.sql Changed database schema to use address column and updated constraint names

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread data/init.sql
Comment thread data/init.sql Outdated
@madhavilosetty-intel
madhavilosetty-intel merged commit 3d443d8 into main Sep 8, 2025
9 checks passed
@madhavilosetty-intel
madhavilosetty-intel deleted the proxyAdjustments branch September 8, 2025 22:05
@RosieAMT

RosieAMT commented Oct 8, 2025

Copy link
Copy Markdown

🎉 This PR is included in version 2.28.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants