h-message-bus 0.0.3__py3-none-any.whl → 0.0.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- h_message_bus/adapters/nats_message_adapter.py +2 -2
- h_message_bus/adapters/nats_publisher_adapter.py +3 -3
- h_message_bus/adapters/nats_subscriber_adapter.py +4 -4
- h_message_bus/application/message_processor.py +1 -1
- h_message_bus/application/message_publisher.py +1 -1
- h_message_bus/infrastructure/nats_client_repository.py +1 -1
- {h_message_bus-0.0.3.dist-info → h_message_bus-0.0.4.dist-info}/METADATA +1 -1
- h_message_bus-0.0.4.dist-info/RECORD +19 -0
- h_message_bus-0.0.3.dist-info/RECORD +0 -19
- {h_message_bus-0.0.3.dist-info → h_message_bus-0.0.4.dist-info}/WHEEL +0 -0
- {h_message_bus-0.0.3.dist-info → h_message_bus-0.0.4.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
from nats.aio.msg import Msg as NatsMsg
|
2
2
|
|
3
|
-
from
|
4
|
-
from
|
3
|
+
from ..application.message_processor import MessageProcessor
|
4
|
+
from ..domain.hai_message import HaiMessage
|
5
5
|
|
6
6
|
|
7
7
|
class NatsMessageAdapter:
|
@@ -1,8 +1,8 @@
|
|
1
1
|
from typing import Optional
|
2
2
|
|
3
|
-
from
|
4
|
-
from
|
5
|
-
from
|
3
|
+
from ..application.message_publisher import MessagePublisher
|
4
|
+
from ..domain.hai_message import HaiMessage
|
5
|
+
from ..infrastructure.nats_client_repository import NatsClientRepository
|
6
6
|
|
7
7
|
|
8
8
|
class NatsPublisherAdapter(MessagePublisher):
|
@@ -1,9 +1,9 @@
|
|
1
1
|
from typing import Dict
|
2
2
|
|
3
|
-
from
|
4
|
-
from
|
5
|
-
from
|
6
|
-
from
|
3
|
+
from ..adapters.nats_message_adapter import NatsMessageAdapter
|
4
|
+
from ..application.message_processor import MessageProcessor
|
5
|
+
from ..application.message_subcriber import MessageSubscriber
|
6
|
+
from ..infrastructure.nats_client_repository import NatsClientRepository
|
7
7
|
|
8
8
|
|
9
9
|
class NatsSubscriberAdapter(MessageSubscriber):
|
@@ -0,0 +1,19 @@
|
|
1
|
+
h_message_bus/__init__.py,sha256=kWqtL6JKd1mUqsFqwzdQuV1vhKjvv1bxh4ShMHEhrHM,507
|
2
|
+
h_message_bus/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
+
h_message_bus/adapters/nats_message_adapter.py,sha256=sH6Gflk1_jVQciM0GxNIsPNigEktZPktcW_oK-dxNVo,1371
|
4
|
+
h_message_bus/adapters/nats_publisher_adapter.py,sha256=vQ9F1exFPMv2QUvTd_P_-PgPb7Wds2p9VXz9HkkgRM0,1763
|
5
|
+
h_message_bus/adapters/nats_subscriber_adapter.py,sha256=WX7xvJhVJVa24CRpWGG3SE8CLP7AXcO6ky-qhMTICCY,2072
|
6
|
+
h_message_bus/application/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
|
+
h_message_bus/application/message_processor.py,sha256=-I3yUtGQCxmw7McyCpJFMGfXFCMITbV7eDi3MqxpEZk,727
|
8
|
+
h_message_bus/application/message_publisher.py,sha256=hraRMOjjsAZLQOg09V99TjOuBy9Wu2NUtka7-x63doQ,835
|
9
|
+
h_message_bus/application/message_subcriber.py,sha256=2yqUUHVHtZlA6-zzyHzghdWQ7ZmdcFic5c0xi_rgG-M,741
|
10
|
+
h_message_bus/domain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
|
+
h_message_bus/domain/hai_message.py,sha256=mODVLRx_hgrnK9dbw57MiFATAiRwsgQ2TAOTA7r5Fcc,2108
|
12
|
+
h_message_bus/domain/topics.py,sha256=a3VfQuItmHMaHaDWf2N9DgU8ASUh3-EHHB12YIJPvNw,769
|
13
|
+
h_message_bus/infrastructure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
|
+
h_message_bus/infrastructure/nats_client_repository.py,sha256=JURLfrTk6188HLaHUHZItBu8utQb68CznP5oQDrTUKU,3343
|
15
|
+
h_message_bus/infrastructure/nats_config.py,sha256=Yzqqd1bCfmUv_4FOnA1dvqIpakzV0BUL2_nXQcndWvo,1304
|
16
|
+
h_message_bus-0.0.4.dist-info/METADATA,sha256=Jf2par702nSA2LQeoCenp71b77mdkpgHCZJKnT68GuQ,8870
|
17
|
+
h_message_bus-0.0.4.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
18
|
+
h_message_bus-0.0.4.dist-info/top_level.txt,sha256=7feCw9I0yIIqsYsVzUMYvCCmUTOiGX1a5F2VbSkFscc,14
|
19
|
+
h_message_bus-0.0.4.dist-info/RECORD,,
|
@@ -1,19 +0,0 @@
|
|
1
|
-
h_message_bus/__init__.py,sha256=kWqtL6JKd1mUqsFqwzdQuV1vhKjvv1bxh4ShMHEhrHM,507
|
2
|
-
h_message_bus/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
-
h_message_bus/adapters/nats_message_adapter.py,sha256=Xx16NPk1b7nNuy5BWw9F9SUBqjO98TQdxl3kfQzV0_E,1403
|
4
|
-
h_message_bus/adapters/nats_publisher_adapter.py,sha256=GaLqa0xJrq-2Ch5BDk3KCcTMv1RIzLzP13lEEoOImY4,1811
|
5
|
-
h_message_bus/adapters/nats_subscriber_adapter.py,sha256=vY6Cj90CLJmbWGXwH9VE6cPL0TUYdkywNkCjC12EV4Q,2136
|
6
|
-
h_message_bus/application/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
|
-
h_message_bus/application/message_processor.py,sha256=mGW3TVpMtEV0eSs3-t6G9ny12kbwdwRlm1IfURv856A,743
|
8
|
-
h_message_bus/application/message_publisher.py,sha256=6XimOGi2HpxTA1_y1akwCXqZ6HF6KkxUvwjy1XoAVPw,851
|
9
|
-
h_message_bus/application/message_subcriber.py,sha256=2yqUUHVHtZlA6-zzyHzghdWQ7ZmdcFic5c0xi_rgG-M,741
|
10
|
-
h_message_bus/domain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
|
-
h_message_bus/domain/hai_message.py,sha256=mODVLRx_hgrnK9dbw57MiFATAiRwsgQ2TAOTA7r5Fcc,2108
|
12
|
-
h_message_bus/domain/topics.py,sha256=a3VfQuItmHMaHaDWf2N9DgU8ASUh3-EHHB12YIJPvNw,769
|
13
|
-
h_message_bus/infrastructure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
|
-
h_message_bus/infrastructure/nats_client_repository.py,sha256=blGsJzqGzdqp0MyGxb_HoZgtqVJ4TfZAFFpsucOYWSU,3359
|
15
|
-
h_message_bus/infrastructure/nats_config.py,sha256=Yzqqd1bCfmUv_4FOnA1dvqIpakzV0BUL2_nXQcndWvo,1304
|
16
|
-
h_message_bus-0.0.3.dist-info/METADATA,sha256=AdWg-lw8muM9nRoDE8RACUkGdCgw6PMFA4889S5-wrg,8870
|
17
|
-
h_message_bus-0.0.3.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
18
|
-
h_message_bus-0.0.3.dist-info/top_level.txt,sha256=7feCw9I0yIIqsYsVzUMYvCCmUTOiGX1a5F2VbSkFscc,14
|
19
|
-
h_message_bus-0.0.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|