jararaca 0.3.11a13__py3-none-any.whl → 0.3.11a14__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.
Potentially problematic release.
This version of jararaca might be problematic. Click here for more details.
- jararaca/cli.py +14 -4
- {jararaca-0.3.11a13.dist-info → jararaca-0.3.11a14.dist-info}/METADATA +1 -1
- {jararaca-0.3.11a13.dist-info → jararaca-0.3.11a14.dist-info}/RECORD +6 -6
- {jararaca-0.3.11a13.dist-info → jararaca-0.3.11a14.dist-info}/LICENSE +0 -0
- {jararaca-0.3.11a13.dist-info → jararaca-0.3.11a14.dist-info}/WHEEL +0 -0
- {jararaca-0.3.11a13.dist-info → jararaca-0.3.11a14.dist-info}/entry_points.txt +0 -0
jararaca/cli.py
CHANGED
|
@@ -102,7 +102,10 @@ async def declare_worker_infrastructure(
|
|
|
102
102
|
channel = await connection.channel()
|
|
103
103
|
|
|
104
104
|
# Only force delete infrastructure if requested at the beginning
|
|
105
|
-
if force or (
|
|
105
|
+
if force or (
|
|
106
|
+
interactive_mode
|
|
107
|
+
and click.confirm(f"Delete existing infrastructure for exchange: {exchange}?")
|
|
108
|
+
):
|
|
106
109
|
click.echo(f"→ Deleting existing infrastructure for exchange: {exchange}")
|
|
107
110
|
await RabbitmqUtils.delete_exchange(channel, exchange)
|
|
108
111
|
await RabbitmqUtils.delete_exchange(channel, RabbitmqUtils.DEAD_LETTER_EXCHANGE)
|
|
@@ -120,7 +123,10 @@ async def declare_worker_infrastructure(
|
|
|
120
123
|
await dlq.bind(dlx, routing_key=RabbitmqUtils.DEAD_LETTER_EXCHANGE)
|
|
121
124
|
except Exception as e:
|
|
122
125
|
click.echo(f"Error during exchange declaration: {e}")
|
|
123
|
-
if force or (
|
|
126
|
+
if force or (
|
|
127
|
+
interactive_mode
|
|
128
|
+
and click.confirm("Error occurred. Recreate infrastructure?")
|
|
129
|
+
):
|
|
124
130
|
await channel.close()
|
|
125
131
|
await connection.close()
|
|
126
132
|
raise
|
|
@@ -153,7 +159,9 @@ async def declare_worker_infrastructure(
|
|
|
153
159
|
f"✓ Declared message handler queue: {queue_name} (routing key: {routing_key})"
|
|
154
160
|
)
|
|
155
161
|
except Exception as e:
|
|
156
|
-
click.echo(
|
|
162
|
+
click.echo(
|
|
163
|
+
f"⚠ Skipping message handler queue {queue_name} due to error: {e}"
|
|
164
|
+
)
|
|
157
165
|
continue
|
|
158
166
|
|
|
159
167
|
scheduled_action = ScheduledAction.get_scheduled_action(
|
|
@@ -173,7 +181,9 @@ async def declare_worker_infrastructure(
|
|
|
173
181
|
f"✓ Declared scheduled action queue: {queue_name} (routing key: {routing_key})"
|
|
174
182
|
)
|
|
175
183
|
except Exception as e:
|
|
176
|
-
click.echo(
|
|
184
|
+
click.echo(
|
|
185
|
+
f"⚠ Skipping scheduled action queue {queue_name} due to error: {e}"
|
|
186
|
+
)
|
|
177
187
|
continue
|
|
178
188
|
|
|
179
189
|
await channel.close()
|
|
@@ -3,7 +3,7 @@ jararaca/__main__.py,sha256=-O3vsB5lHdqNFjUtoELDF81IYFtR-DSiiFMzRaiSsv4,67
|
|
|
3
3
|
jararaca/broker_backend/__init__.py,sha256=GzEIuHR1xzgCJD4FE3harNjoaYzxHMHoEL0_clUaC-k,3528
|
|
4
4
|
jararaca/broker_backend/mapper.py,sha256=vTsi7sWpNvlga1PWPFg0rCJ5joJ0cdzykkIc2Tuvenc,696
|
|
5
5
|
jararaca/broker_backend/redis_broker_backend.py,sha256=a7DHchy3NAiD71Ix8SwmQOUnniu7uup-Woa4ON_4J7I,5786
|
|
6
|
-
jararaca/cli.py,sha256=
|
|
6
|
+
jararaca/cli.py,sha256=1mFBAWE_eYNc7PpRBe9cHciU6MEJrjjuRCTQZBxYx2U,19901
|
|
7
7
|
jararaca/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
jararaca/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
jararaca/core/providers.py,sha256=wktH84FK7c1s2wNq-fudf1uMfi3CQBR0neU2czJ_L0U,434
|
|
@@ -66,8 +66,8 @@ jararaca/tools/app_config/interceptor.py,sha256=HV8h4AxqUc_ACs5do4BSVlyxlRXzx7Hq
|
|
|
66
66
|
jararaca/tools/typescript/interface_parser.py,sha256=35xbOrZDQDyTXdMrVZQ8nnFw79f28lJuLYNHAspIqi8,30492
|
|
67
67
|
jararaca/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
68
68
|
jararaca/utils/rabbitmq_utils.py,sha256=ytdAFUyv-OBkaVnxezuJaJoLrmN7giZgtKeet_IsMBs,10918
|
|
69
|
-
jararaca-0.3.
|
|
70
|
-
jararaca-0.3.
|
|
71
|
-
jararaca-0.3.
|
|
72
|
-
jararaca-0.3.
|
|
73
|
-
jararaca-0.3.
|
|
69
|
+
jararaca-0.3.11a14.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
70
|
+
jararaca-0.3.11a14.dist-info/METADATA,sha256=QctSa-5oHXPeay_yQplmGs8d_kwMjQS_yLmQrmk4cp4,4998
|
|
71
|
+
jararaca-0.3.11a14.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
72
|
+
jararaca-0.3.11a14.dist-info/entry_points.txt,sha256=WIh3aIvz8LwUJZIDfs4EeH3VoFyCGEk7cWJurW38q0I,45
|
|
73
|
+
jararaca-0.3.11a14.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|