Sdc11073

Latest version: v2.1.0

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.1.0

Added

- support for python version 3.12
- new method ContextStateTransaction.disaccociate_all
- additional schemata for validation can be declared in SdcProviderComponents and SdcConsumerComponents
- new method Consumer.restart
- log a message with level INFO when a context state update is received
- allow to use full qualified name instead of IP in provider and consumer

Fixed

- possible exception in ConsumerMdib._get_context_states [350](https://github.com/Draegerwerk/sdc11073/issues/350)
- reference tests and example provider
- node member of DescriptorContainer not updated on description modification report [357](https://github.com/Draegerwerk/sdc11073/issues/357)
- accessing a multikey may lead to IndexError [359](https://github.com/Draegerwerk/sdc11073/issues/359)
- wrong data type for ClinicalInfo.RelatedMeasurement[362](https://github.com/Draegerwerk/sdc11073/issues/362)
- fixed a bug where sending and receiving socket are used after they have been closed already [328](https://github.com/Draegerwerk/sdc11073/issues/328)
- reduced the amount of udp sockets to 2 [328](https://github.com/Draegerwerk/sdc11073/issues/328)
- fixed `address already in use` bug [328](https://github.com/Draegerwerk/sdc11073/issues/328)
- fixed SetServiceClient.set_numeric_value not accepting float, int or string.
- fixed a bug where a message would be thrown away, if the udp binding of the discovery would be used by provider and consumer, as they would share the same ip and port [367](https://github.com/Draegerwerk/sdc11073/issues/367)
- Exception in wsdiscovery if no Scopes in message [356](https://github.com/Draegerwerk/sdc11073/issues/356)
- fixed error message not set in OperationInvokedReport[375](https://github.com/Draegerwerk/sdc11073/issues/375).
- incorrect BindingMdibVersion and UnbindingMdibVersion [168](https://github.com/Draegerwerk/sdc11073/issues/168)
- ensure_location_context_descriptor and ensure_patient_context_descriptor also work for multiple system contexts in mdib.
- provider mdib observables are updated [365](https://github.com/Draegerwerk/sdc11073/issues/365)
- fixed possible error if _ThreadingHTTPServer fails to start and in server_close self.dispatcher member does not exist

Changed

- ContainerBase.diff uses math.isclose for comparison, test added
- removed the `MULTICAST_OUT` logger from commlog [328](https://github.com/Draegerwerk/sdc11073/issues/328)
- SetContextState operation sets ContextAssociation according to value in proposed context state.
Before the proposed state was always associated.
Check added in SetContextState that max. one proposed state per descriptor is associated.
- refactored ClientMdib.reload_all and processing of notifications
-

2.0.1

Fixed

- inconsistent InstanceId attributes in GetMdibResponse

2.0.0

Fixed

- `RuntimeError: dictionary changed size during iteration` for `remote_services` in the discovery [335](https://github.com/Draegerwerk/sdc11073/issues/335)
- DescriptorTransaction sometimes causes wrong DescriptorVersion in states [340](https://github.com/Draegerwerk/sdc11073/issues/340)

2.0.0rc2

Fixed

- fixed a bug where sending and receiving socket are used after they have been closed already [328](https://github.com/Draegerwerk/sdc11073/issues/328)
- fixed a bug where `getsockname()` is called before the socket is binded
- fixed cyclic import [333](https://github.com/Draegerwerk/sdc11073/issues/333)

2.0.0rc1

Fixed

- fixed a bug where comparing `ExtensionLocalValue` would fail when using the `!=` operator [305](https://github.com/Draegerwerk/sdc11073/issues/305)
- fixed wrong typing info in LocalizedText
- added a safety sleep in consumer when starting http server
- fixed possible caching errors in AlarmProvider and AudioPauseProvider

Changed
- new interface for transactions: split transaction into different kinds, e.g. descriptor_transaction, metric_state_transaction, etc.
- `SdcConsumer` provides a dictionary with the current connection status of each subscription it is subscribed to [271](https://github.com/Draegerwerk/sdc11073/issues/271)
- added `force_ssl_connect` parameter to constructor of consumer.

2.0.0a7

Added
- added a way to process operations directly (directly send 'Fin' instead of Wait, Started,...)
- added handling of SystemErrorReports.

Fixed
- basic_logging_setup only handles sdc logger, no more side effect due to calling logging.basicConfig.
- fix possible invalid prefix if QName is a node text.
- fixed wrong response for SetContextState message. [287](https://github.com/Draegerwerk/sdc11073/issues/287)
- fixed connection problem when provider closes socket after first request. [289](https://github.com/Draegerwerk/sdc11073/issues/289)
- change default in ContainerBase.mk_copy to not copy node due to performance problems. [294](https://github.com/Draegerwerk/sdc11073/issues/294)
- waveform provider too slow
- create MetricValue for DistributionSampleArrayMetricState
- dropping of Bye-messages when stopping wsdiscovery

Changed
- change python classes of `addressing_types.py` to match ws-addressing standard of 2006 instead of 2004
- The final OperationInvokedReport has OperationTargetRef parameter set.
This required refactoring of Operations handling.
- moved waveform generator from mdib to roles.waveformprovider
- alert provider performs self check one second before SelfCheckInterval elapses

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.