Merge pull request #30 from Aignosi/fix/SAM0123-231
Remove asyncua Version Constraint
This commit is contained in:
@@ -162,6 +162,7 @@ class OpcManager(SientiaMonitoring):
|
|||||||
cert = str(Path(self.cert_path)) if self.cert_path else None
|
cert = str(Path(self.cert_path)) if self.cert_path else None
|
||||||
private_key = str(Path(self.private_key_path)) if self.private_key_path else None
|
private_key = str(Path(self.private_key_path)) if self.private_key_path else None
|
||||||
server_cert = str(Path(self.server_cert_path)) if self.server_cert_path else None
|
server_cert = str(Path(self.server_cert_path)) if self.server_cert_path else None
|
||||||
|
assert cert is not None and private_key is not None
|
||||||
|
|
||||||
if self.client:
|
if self.client:
|
||||||
self.client.application_uri = self.server_uri
|
self.client.application_uri = self.server_uri
|
||||||
@@ -209,7 +210,7 @@ class OpcManager(SientiaMonitoring):
|
|||||||
assert self.client is not None # Informa ao mypy que client não é None
|
assert self.client is not None # Informa ao mypy que client não é None
|
||||||
|
|
||||||
self.client.name = self.pod_id
|
self.client.name = self.pod_id
|
||||||
self.client.application_name = self.pod_id
|
self.client.description = self.pod_id
|
||||||
pod_uri = self.pod_id.replace('-', ':')
|
pod_uri = self.pod_id.replace('-', ':')
|
||||||
self.client.application_uri = pod_uri
|
self.client.application_uri = pod_uri
|
||||||
self.client.product_uri = pod_uri
|
self.client.product_uri = pod_uri
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
asyncua==1.1.5
|
asyncua
|
||||||
redis
|
redis
|
||||||
sientia_do==1.12.1
|
sientia_do==1.12.1
|
||||||
prometheus_client
|
prometheus_client
|
||||||
|
|||||||
Reference in New Issue
Block a user