Files
pgadmin4/support-new-azure-mgmt-rdbms.patch
Andreas Schneider 3a450a67b8 Accepting request 1101479 from home:StevenK:branches:server:database:postgresql
- Update to 7.4, extremely large list of changes, partially chosen:
  * Make Statistics, Dependencies, Dependants tabs closable and the user
    can add them back using the 'Add panel' option.
  * Added support for Logical Replication.
  * Implemented runtime using NWjs to open pgAdmin4 in a standalone window
    instead of the system tray and web browser.
  * Added Quick Search functionality for menu items and help articles.
  * Added publication and subscription support in Schema Diff.
  * Use cheroot as the default production server for pgAdmin4.
  * Show the login roles that are members of a group role be shown when
    examining a group role.
  * Added '--replace' option in Import server to replace the list of
    servers with the newly imported one.
  * Added zoom scaling options with keyboard shortcuts in runtime.
  * Use schema qualification while accessing the catalog objects.
  * Make the 'Save Data Changes' icon to be more intuitive.
  * Improve code coverage and API test cases for Server module.
  * Added support to set auto width of columns by content size in the data 
    output window.
  * Added support to connect PostgreSQL servers via Kerberos authentication.
  * Added "IF NOT EXISTS" clause while creating tables and partition tables
    which is convenient while using the ERD tool.
  * Added browse button to select the binary path in the Preferences.
  * Added Grant Wizard option under Package node.
  * Added support to launch PSQL for the connected database server.
  * Added window maximize/restore functionality for properties dialog.
  * Added support to set the binary path for the different database server
    versions.
  * Added OS, Browser, Configuration details in the About dialog.
  * Added support for rotating the pgAdmin log file on the basis of size

OBS-URL: https://build.opensuse.org/request/show/1101479
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgadmin4?expand=0&rev=53
2023-08-04 09:49:01 +00:00

23 lines
970 B
Diff

Index: pgadmin4-7.4/web/pgadmin/misc/cloud/azure/__init__.py
===================================================================
--- pgadmin4-7.4.orig/web/pgadmin/misc/cloud/azure/__init__.py
+++ pgadmin4-7.4/web/pgadmin/misc/cloud/azure/__init__.py
@@ -30,7 +30,7 @@ from azure.identity import AzureCliCrede
from azure.mgmt.resource import ResourceManagementClient
from azure.mgmt.subscription import SubscriptionClient
from azure.mgmt.rdbms.postgresql_flexibleservers.models import \
- NameAvailabilityRequest
+ CheckNameAvailabilityRequest
MODULE_NAME = 'azure'
@@ -354,7 +354,7 @@ class Azure:
"""
postgresql_client = self._get_azure_client('postgresql')
res = postgresql_client.check_name_availability.execute(
- NameAvailabilityRequest(
+ CheckNameAvailabilityRequest(
name=cluster_name,
type='Microsoft.DBforPostgreSQL/flexibleServers'))
res = res.__dict__