@ddd-ts-kit/rabbitmq 0.27.0 → 0.83.1

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.
package/README.fr.md CHANGED
@@ -1,5 +1,5 @@
1
1
  [English](README.md) · **Français**
2
- <!-- translation-of: README.md sha256:e7ab91d746cae3cf -->
2
+ <!-- translation-of: README.md sha256:1f7d369470f657a0 -->
3
3
 
4
4
  # @ddd-ts-kit/rabbitmq
5
5
 
@@ -369,7 +369,9 @@ ces *packages* le font, et esquisse SQS/SNS, qui n'est pas construit.
369
369
 
370
370
  ## Tests
371
371
 
372
- Les suites ont besoin d'un vrai *broker* et sont ignorées sans `DDD_TS_KIT_TEST_AMQP_URL` :
372
+ Le codec de l'enveloppe, les réglages et leurs valeurs par défaut, la description de la
373
+ topologie et les codes d'échec sont couverts sans *broker*, par les tests unitaires. Les autres
374
+ suites ont besoin d'un vrai *broker* et sont ignorées sans `DDD_TS_KIT_TEST_AMQP_URL` :
373
375
 
374
376
  ```
375
377
  docker run -d --rm --name ddd-ts-kit-test-rabbitmq -e RABBITMQ_DEFAULT_USER=kit -e RABBITMQ_DEFAULT_PASS=kit -p 127.0.0.1:5672:5672 rabbitmq:4-management-alpine
@@ -377,6 +379,9 @@ DDD_TS_KIT_TEST_AMQP_URL=amqp://kit:kit@127.0.0.1:5672 npx vitest run packages/r
377
379
  docker rm -f ddd-ts-kit-test-rabbitmq
378
380
  ```
379
381
 
382
+ Le *job* d'intégration de la CI les exécute sur chaque *pull request* qui atteint ce *package*,
383
+ contre RabbitMQ 4.3.6 que démarre `pipeline/github/scripts/start-rabbitmq.sh`, son image épinglée par *digest*.
384
+
380
385
  Elles exécutent la suite de contrat sur des files quorum et sur des files classiques, puis les
381
386
  comportements de ce fournisseur, une suite par comportement (`publishing`, `consuming`,
382
387
  `correlation`, `retries`, `dead-letters`, `topology`, `connection-loss` à travers un relais TCP
package/README.md CHANGED
@@ -354,7 +354,9 @@ and outlines SQS/SNS, which is not built.
354
354
 
355
355
  ## Testing
356
356
 
357
- The suites need a real broker and are skipped without `DDD_TS_KIT_TEST_AMQP_URL`:
357
+ The codec of the envelope, the settings and their defaults, the topology description and the
358
+ failure codes are covered without a broker, in the unit run. The other suites need a real
359
+ broker and are skipped without `DDD_TS_KIT_TEST_AMQP_URL`:
358
360
 
359
361
  ```
360
362
  docker run -d --rm --name ddd-ts-kit-test-rabbitmq -e RABBITMQ_DEFAULT_USER=kit -e RABBITMQ_DEFAULT_PASS=kit -p 127.0.0.1:5672:5672 rabbitmq:4-management-alpine
@@ -362,6 +364,9 @@ DDD_TS_KIT_TEST_AMQP_URL=amqp://kit:kit@127.0.0.1:5672 npx vitest run packages/r
362
364
  docker rm -f ddd-ts-kit-test-rabbitmq
363
365
  ```
364
366
 
367
+ The integration job of the CI runs them on every pull request that reaches this package,
368
+ against RabbitMQ 4.3.6 that `pipeline/github/scripts/start-rabbitmq.sh` starts, its image pinned by digest.
369
+
365
370
  They run the contract suite on quorum and on classic queues, then the behaviours of this
366
371
  provider, one suite per behaviour (`publishing`, `consuming`, `correlation`, `retries`,
367
372
  `dead-letters`, `topology`, `connection-loss` through a TCP relay the test cuts, `closing`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddd-ts-kit/rabbitmq",
3
- "version": "0.27.0",
3
+ "version": "0.83.1",
4
4
  "description": "RabbitMQ provider for integration events: confirmed publishing for the outbox relay, durable queue per consumer, manual acknowledgement, bounded retries and dead-lettering.",
5
5
  "keywords": [
6
6
  "ddd",
@@ -38,14 +38,14 @@
38
38
  "dist"
39
39
  ],
40
40
  "dependencies": {
41
- "@ddd-ts-kit/kernel": "0.27.0",
42
- "@ddd-ts-kit/events": "0.27.0"
41
+ "@ddd-ts-kit/kernel": "0.83.1",
42
+ "@ddd-ts-kit/events": "0.83.1"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "amqplib": ">=0.10.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "amqplib": "latest",
49
- "@ddd-ts-kit/testing": "0.27.0"
49
+ "@ddd-ts-kit/testing": "0.83.1"
50
50
  }
51
51
  }