From d0fa29fa1a57ad72eace4ec51427ece72a3209ca Mon Sep 17 00:00:00 2001 From: James Garner Date: Wed, 9 Oct 2024 18:16:34 +1300 Subject: [PATCH] fix: update client_facades to pass validation test --- juju/client/connection.py | 106 ++++++++++++++++++-------------------- 1 file changed, 51 insertions(+), 55 deletions(-) diff --git a/juju/client/connection.py b/juju/client/connection.py index cb87f118e..c8c55cf60 100644 --- a/juju/client/connection.py +++ b/juju/client/connection.py @@ -22,46 +22,45 @@ # Please keep in alphabetical order client_facades = { - 'Action': {'versions': [2, 6, 7]}, + 'Action': {'versions': [7]}, 'ActionPruner': {'versions': [1]}, - 'Agent': {'versions': [2, 3]}, + 'Admin': {'versions': [3]}, + 'Agent': {'versions': [3]}, 'AgentLifeFlag': {'versions': [1]}, 'AgentTools': {'versions': [1]}, - 'AllModelWatcher': {'versions': [2, 3, 4]}, - 'AllWatcher': {'versions': [1, 2, 3, 4]}, + 'AllModelWatcher': {'versions': [4]}, + 'AllWatcher': {'versions': [3]}, 'Annotations': {'versions': [2]}, - 'Application': {'versions': [14, 15, 16, 17, 19]}, - 'ApplicationOffers': {'versions': [1, 2, 4]}, + 'Application': {'versions': [17, 18, 19]}, + 'ApplicationOffers': {'versions': [4]}, 'ApplicationScaler': {'versions': [1]}, - 'Backups': {'versions': [1, 2, 3]}, + 'Backups': {'versions': [3]}, 'Block': {'versions': [2]}, - 'Bundle': {'versions': [5, 6]}, - 'CharmHub': {'versions': [1]}, - 'CharmRevisionUpdater': {'versions': [2]}, - 'CharmDownloader': {'versions': [1]}, - 'Charms': {'versions': [5, 6]}, - 'Cleaner': {'versions': [2]}, - 'Client': {'versions': [5, 6]}, - 'Cloud': {'versions': [1, 2, 3, 4, 5, 7]}, - 'Controller': {'versions': [9, 11]}, - 'CrossModelRelations': {'versions': [1, 2]}, - 'CrossModelSecrets': {'versions': [1]}, - 'CrossController': {'versions': [1]}, - 'CredentialManager': {'versions': [1]}, - 'CredentialValidator': {'versions': [1, 2]}, + 'Bundle': {'versions': [6]}, 'CAASAdmission': {'versions': [1]}, - 'CAASAgent': {'versions': [1, 2]}, + 'CAASAgent': {'versions': [2]}, 'CAASApplication': {'versions': [1]}, 'CAASApplicationProvisioner': {'versions': [1]}, 'CAASFirewaller': {'versions': [1]}, - 'CAASFirewallerEmbedded': {'versions': [1]}, 'CAASFirewallerSidecar': {'versions': [1]}, - 'CAASModelOperator': {'versions': [1]}, 'CAASModelConfigManager': {'versions': [1]}, + 'CAASModelOperator': {'versions': [1]}, 'CAASOperator': {'versions': [1]}, 'CAASOperatorProvisioner': {'versions': [1]}, 'CAASOperatorUpgrader': {'versions': [1]}, - 'CAASUnitProvisioner': {'versions': [1, 2]}, + 'CAASUnitProvisioner': {'versions': [2]}, + 'CharmDownloader': {'versions': [1]}, + 'CharmRevisionUpdater': {'versions': [2]}, + 'Charms': {'versions': [6, 7]}, + 'Cleaner': {'versions': [2]}, + 'Client': {'versions': [6, 7]}, + 'Cloud': {'versions': [7]}, + 'Controller': {'versions': [11]}, + 'CredentialManager': {'versions': [1]}, + 'CredentialValidator': {'versions': [2]}, + 'CrossController': {'versions': [1]}, + 'CrossModelRelations': {'versions': [2]}, + 'CrossModelSecrets': {'versions': [1]}, 'Deployer': {'versions': [1]}, 'DiskManager': {'versions': [2]}, 'EntityWatcher': {'versions': [2]}, @@ -69,37 +68,36 @@ 'ExternalControllerUpdater': {'versions': [1]}, 'FanConfigurer': {'versions': [1]}, 'FilesystemAttachmentsWatcher': {'versions': [2]}, - 'Firewaller': {'versions': [3, 4, 5, 7]}, 'FirewallRules': {'versions': [1]}, + 'Firewaller': {'versions': [7]}, 'HighAvailability': {'versions': [2]}, 'HostKeyReporter': {'versions': [1]}, - 'ImageManager': {'versions': [2]}, 'ImageMetadata': {'versions': [3]}, 'ImageMetadataManager': {'versions': [1]}, - 'InstanceMutater': {'versions': [2, 3]}, - 'InstancePoller': {'versions': [3, 4]}, + 'InstanceMutater': {'versions': [3]}, + 'InstancePoller': {'versions': [4]}, 'KeyManager': {'versions': [1]}, 'KeyUpdater': {'versions': [1]}, 'LeadershipService': {'versions': [2]}, 'LifeFlag': {'versions': [1]}, - 'Logger': {'versions': [1]}, 'LogForwarding': {'versions': [1]}, - 'Machiner': {'versions': [1, 2, 5]}, + 'Logger': {'versions': [1]}, 'MachineActions': {'versions': [1]}, - 'MachineManager': {'versions': [9, 10]}, + 'MachineManager': {'versions': [10]}, 'MachineUndertaker': {'versions': [1]}, - 'MeterStatus': {'versions': [1, 2]}, + 'Machiner': {'versions': [5]}, + 'MeterStatus': {'versions': [2]}, 'MetricsAdder': {'versions': [2]}, 'MetricsDebug': {'versions': [2]}, 'MetricsManager': {'versions': [1]}, 'MigrationFlag': {'versions': [1]}, - 'MigrationMaster': {'versions': [1, 3]}, + 'MigrationMaster': {'versions': [3]}, 'MigrationMinion': {'versions': [1]}, 'MigrationStatusWatcher': {'versions': [1]}, - 'MigrationTarget': {'versions': [1]}, - 'ModelConfig': {'versions': [1, 2, 3]}, - 'ModelGeneration': {'versions': [1, 2, 4]}, - 'ModelManager': {'versions': [2, 3, 4, 5, 9]}, + 'MigrationTarget': {'versions': [1, 2]}, + 'ModelConfig': {'versions': [3]}, + 'ModelGeneration': {'versions': [4]}, + 'ModelManager': {'versions': [9]}, 'ModelSummaryWatcher': {'versions': [1]}, 'ModelUpgrader': {'versions': [1]}, 'NotifyWatcher': {'versions': [1]}, @@ -108,45 +106,43 @@ 'PayloadsHookContext': {'versions': [1]}, 'Pinger': {'versions': [1]}, 'Provisioner': {'versions': [11]}, - 'ProxyUpdater': {'versions': [1, 2]}, - 'RaftLease': {'versions': [1, 2]}, + 'ProxyUpdater': {'versions': [2]}, + 'RaftLease': {'versions': [2]}, 'Reboot': {'versions': [2]}, 'RelationStatusWatcher': {'versions': [1]}, 'RelationUnitsWatcher': {'versions': [1]}, - 'RemoteRelations': {'versions': [1, 2]}, 'RemoteRelationWatcher': {'versions': [1]}, - 'Resources': {'versions': [1, 2, 3]}, + 'RemoteRelations': {'versions': [2]}, + 'Resources': {'versions': [3]}, 'ResourcesHookContext': {'versions': [1]}, - 'Resumer': {'versions': [2]}, 'RetryStrategy': {'versions': [1]}, - 'Secrets': {'versions': [1, 2]}, - 'SecretsManager': {'versions': [1, 2]}, + 'SSHClient': {'versions': [4]}, 'SecretBackends': {'versions': [1]}, 'SecretBackendsManager': {'versions': [1]}, 'SecretBackendsRotateWatcher': {'versions': [1]}, + 'Secrets': {'versions': [1, 2]}, 'SecretsDrain': {'versions': [1]}, + 'SecretsManager': {'versions': [1, 2]}, 'SecretsRevisionWatcher': {'versions': [1]}, - 'SecretsRotationWatcher': {'versions': [1]}, 'SecretsTriggerWatcher': {'versions': [1]}, 'Singular': {'versions': [2]}, 'Spaces': {'versions': [6]}, 'StatusHistory': {'versions': [2]}, - 'Storage': {'versions': [3, 4, 6]}, - 'StorageProvisioner': {'versions': [3, 4]}, + 'Storage': {'versions': [6]}, + 'StorageProvisioner': {'versions': [4]}, 'StringsWatcher': {'versions': [1]}, - 'Subnets': {'versions': [2, 4, 5]}, - 'SSHClient': {'versions': [1, 2, 3, 4]}, + 'Subnets': {'versions': [5]}, 'Undertaker': {'versions': [1]}, 'UnitAssigner': {'versions': [1]}, - 'Uniter': {'versions': [18]}, + 'Uniter': {'versions': [18, 19]}, + 'UpgradeSeries': {'versions': [3]}, + 'UpgradeSteps': {'versions': [2]}, 'Upgrader': {'versions': [1]}, - 'UpgradeSeries': {'versions': [1, 3]}, - 'UpgradeSteps': {'versions': [1, 2]}, - 'UserManager': {'versions': [1, 2, 3]}, + 'UserManager': {'versions': [3]}, 'UserSecretsDrain': {'versions': [1]}, 'UserSecretsManager': {'versions': [1]}, - 'VolumeAttachmentsWatcher': {'versions': [2]}, 'VolumeAttachmentPlansWatcher': {'versions': [1]}, + 'VolumeAttachmentsWatcher': {'versions': [2]}, }