def __init__(self, module): super().__init__(module) self.sempv2_api = SolaceSempV2Api(module) _raw_api_version, self.sempv2_version = self.sempv2_api.get_sempv2_version( self.get_config()) self.sempv2_version_map_key = self.get_sempv2_version_map_key( self.sempv2_version)
def assert_min_sempv2_version_supported(self): if self.MIN_SEMP_V2_VERSION_STR is not None: sempv2_api = SolaceSempV2Api(self.get_module()) _version_str, version = sempv2_api.get_sempv2_version( self.get_config()) min_sempv2_version = SolaceUtils.create_version( self.MIN_SEMP_V2_VERSION_STR) if version < min_sempv2_version: raise SolaceMinSempv2VersionSupportedError( self.get_module()._name, f"{version}", min_sempv2_version)
def __init__(self, module: AnsibleModule): super().__init__(module) self.sempv2_api = SolaceSempV2Api(module) self.sempv2_get_paging_api = SolaceSempV2PagingGetApi( module, self.is_supports_paging()) self.existing_key_list = None self.created_key_list = [] self.deleted_key_list = [] self.duplicate_key_list = [] self.error_key_list = [] self.changed = False
def __init__(self, module): super().__init__(module) self.sempv2_api = SolaceSempV2Api(module)
def __init__(self, module): super().__init__(module) self.sempv2_api = SolaceSempV2Api(module) self.solace_cloud_api = SolaceCloudApiCertAuthority(module)
def __init__(self, module: AnsibleModule): super().__init__(module) self.config = SolaceTaskBrokerConfig(module) self.sempv2_api = SolaceSempV2Api(module)
def __init__(self, module): super().__init__(module) self.sempv2_api = SolaceSempV2Api(module) self.sempv1_api = SolaceSempV1Api(module) self.solace_cloud_api = SolaceCloudApi(module)
def __init__(self, module): super().__init__(module) self.sempv2_api = SolaceSempV2Api(module) # authorization group names contain ',' and '=' # '=' must not be encoded, ',' instead must be encoded self.sempv2_api.set_safe_for_path_array('=')
def __init__(self, module): super().__init__(module) self.sempv2_api = SolaceSempV2Api(module) self.solace_cloud_api = SolaceCloudApi(module) self.current_settings = None