From 84f5a7dc288ea7fcc47fbe798b27cf9684a4b770 Mon Sep 17 00:00:00 2001 From: davidc0le Date: Mon, 28 Feb 2022 17:18:50 +0000 Subject: [PATCH 1/3] Align decorator variable with method vpparam naming --- traffic_control/clients/python/trafficops/tosession.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traffic_control/clients/python/trafficops/tosession.py b/traffic_control/clients/python/trafficops/tosession.py index 3ba7438c05..f907911f04 100644 --- a/traffic_control/clients/python/trafficops/tosession.py +++ b/traffic_control/clients/python/trafficops/tosession.py @@ -1293,7 +1293,7 @@ def get_parameters(self, query_params=None): :raises: Union[LoginError, OperationError] """ - @api_request('get', 'profiles/{id:d}/parameters', ('3.0',)) + @api_request('get', 'profiles/{profile_id:d}/parameters', ('3.0',)) def get_parameters_by_profile_id(self, profile_id=None): """ Get all Parameters associated with a Profile by Id. From c70bbc1ba3c33c5fc285b46502ee56ba988994ac Mon Sep 17 00:00:00 2001 From: davidc0le Date: Mon, 28 Feb 2022 17:19:03 +0000 Subject: [PATCH 2/3] Update Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 505975d542..3cf4cf650a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - [#6549](https://github.com/apache/trafficcontrol/issues/6549) Fixed internal server error while deleting a delivery service created from a DSR (Traafic Ops). - [#6538](https://github.com/apache/trafficcontrol/pull/6538) Fixed the incorrect use of secure.port on TrafficRouter and corrected to the httpsPort value from the TR server configuration. - [#6562](https://github.com/apache/trafficcontrol/pull/6562) Fixed incorrect template in Ansible dataset loader role when fallbackToClosest is defined. +- Python client: Corrected parameter name in decorator for get_parameters_by_profile_id ### Removed - Remove traffic_portal dependencies to mitigate `npm audit` issues, specifically `grunt-concurrent`, `grunt-contrib-concat`, `grunt-contrib-cssmin`, `grunt-contrib-jsmin`, `grunt-contrib-uglify`, `grunt-contrib-htmlmin`, `grunt-newer`, and `grunt-wiredep` From 545316c114bce2b478358487ef89634f6d353372 Mon Sep 17 00:00:00 2001 From: davidc0le Date: Mon, 28 Feb 2022 17:31:05 +0000 Subject: [PATCH 3/3] Update Changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cf4cf650a..0c2c2afd0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - [#6549](https://github.com/apache/trafficcontrol/issues/6549) Fixed internal server error while deleting a delivery service created from a DSR (Traafic Ops). - [#6538](https://github.com/apache/trafficcontrol/pull/6538) Fixed the incorrect use of secure.port on TrafficRouter and corrected to the httpsPort value from the TR server configuration. - [#6562](https://github.com/apache/trafficcontrol/pull/6562) Fixed incorrect template in Ansible dataset loader role when fallbackToClosest is defined. -- Python client: Corrected parameter name in decorator for get_parameters_by_profile_id +- [#6590](https://github.com/apache/trafficcontrol/pull/6590) Python client: Corrected parameter name in decorator for get_parameters_by_profile_id ### Removed - Remove traffic_portal dependencies to mitigate `npm audit` issues, specifically `grunt-concurrent`, `grunt-contrib-concat`, `grunt-contrib-cssmin`, `grunt-contrib-jsmin`, `grunt-contrib-uglify`, `grunt-contrib-htmlmin`, `grunt-newer`, and `grunt-wiredep`