arrowhead-f / client-library-python

Arrowhead Client Library in Python
Eclipse Public License 2.0
5 stars 10 forks source link

Decouple system and service #11

Closed ajoino closed 4 years ago

ajoino commented 4 years ago

The service and system classes are coupled fairly strongly together at the moment. For example, the ConsumedHttpService and ProvidedHttpService classes both have an address and port field, which is systems related.

This information should rather be injected when necessary and does not need to always be there.