• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-client-gateway / 8751903130

19 Apr 2024 10:08AM UTC coverage: 92.677% (-0.4%) from 93.051%
8751903130

push

github

web-flow
Add QueuesApi datasource (#1412)

- Adds `amqplib` and `amqp-connection-manager` dependencies (NestJS recommended packages to manage AMQP queues).
- Adds RabbitMQ/AMQP configuration as environment variables.
- Adds a development RabbitMQ server instance to the `docker-compose.yml` file.
- Adds a development RabbitMQ server instance to the `ci.yml` file.
- Adds `QueuesApiModule` along with `QueuesApiService`, which allows subscribing functions to new messages received in a given AMQP queue.
- Adds `QueuesApiModule`, which contains `QueuesApiService` and its interface, `QueueReadiness`, and `QueuesApiShutdownHook`.

1936 of 2333 branches covered (82.98%)

Branch coverage included in aggregate %.

15 of 53 new or added lines in 6 files covered. (28.3%)

1 existing line in 1 file now uncovered.

6860 of 7158 relevant lines covered (95.84%)

308.82 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/domain/interfaces/queue-readiness.interface.ts
NEW
1
export const QueueReadiness = Symbol('IQueueReadiness');
×
2

3
export interface IQueueReadiness {
4
  /**
5
   * Checks if the configured queue consumer is connected.
6
   *
7
   * @returns true if the underlying queue consumer is connected to the AMQP server.
8
   */
9
  isReady(): boolean;
10
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc