Skip to content

Commit b6639d6

Browse files
authored
Merge branch 'main' into feature/request-with-cache-adapter
2 parents 1e178fb + 9f9d461 commit b6639d6

File tree

85 files changed

+1056
-567
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+1056
-567
lines changed

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ DB_PASSWORD=
3333
DB_PORT=
3434

3535
# MONGO
36+
MONGO_ENABLED=true
3637
MONGO_USER=
3738
MONGO_PASSWORD=
3839
MONGO_HOST=
@@ -41,6 +42,8 @@ MONGO_NAME=
4142
MONGO_AUTH_SOURCE=
4243

4344
# RABBIT
45+
RABBIT_ENABLED=
46+
RABBIT_OPTIONS=
4447
RABBIT_USER=
4548
RABBIT_PASSWORD=
4649
RABBIT_HOST=

.gitlab-ci.yml

Lines changed: 0 additions & 123 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,47 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [2.3.0] - 2025-03-19
8+
## [2.4.0] - 2025-05-08
99

1010
### Added
1111

1212
- Adds the `CacheRequestAdapter` wrapper of cache functionalities inside request adapter structure and interfaces
1313

14+
## [2.3.0] - 2025-05-06
1415

16+
### Added
17+
18+
- New `normalize` and `normalizeOptions` utilities for payload normalization in the reprocessing module.
19+
- APM decorators for handlers, enabling instrumentation.
20+
- Functionality to extract RabbitMQ options from the `RABBIT_OPTIONS` environment variable.
21+
22+
### Changed
23+
24+
- Renamed non-standard folder from `utils` to `util`.
25+
- Improved application startup and shutdown process.
26+
- Enhanced MemCached connection process and added connection timeout.
27+
- Updated the `.env.example` file.
28+
- Adjusted when Elastic is started.
29+
- Added protocol adaptation for new RabbitMQ implementations.
30+
- Improved handler processing logic to prevent subsequent handlers from executing prematurely.
31+
- Optimized APM decorators.
32+
33+
### Fixed
34+
35+
- Added normalization before message validation in the reprocessing module.
36+
- Optimized `searchLabels` to prevent maximum call stack overflow.
37+
38+
### Deprecated
39+
40+
- _No deprecations._
41+
42+
### Removed
43+
44+
- _No removals._
45+
46+
### Security
47+
48+
- _No security fixes.
1549

1650
## [2.2.0] - 2025-03-19
1751

TEMPLATE-CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,42 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.3.0] - 2025-05-06
9+
10+
### Added
11+
12+
- New `normalize` and `normalizeOptions` utilities for payload normalization in the reprocessing module.
13+
- APM decorators for handlers, enabling instrumentation.
14+
- Functionality to extract RabbitMQ options from the `RABBIT_OPTIONS` environment variable.
15+
16+
### Changed
17+
18+
- Renamed non-standard folder from `utils` to `util`.
19+
- Improved application startup and shutdown process.
20+
- Enhanced MemCached connection process and added connection timeout.
21+
- Updated the `.env.example` file.
22+
- Adjusted when Elastic is started.
23+
- Added protocol adaptation for new RabbitMQ implementations.
24+
- Improved handler processing logic to prevent subsequent handlers from executing prematurely.
25+
- Optimized APM decorators.
26+
27+
### Fixed
28+
29+
- Added normalization before message validation in the reprocessing module.
30+
- Optimized `searchLabels` to prevent maximum call stack overflow.
31+
32+
### Deprecated
33+
34+
- _No deprecations._
35+
36+
### Removed
37+
38+
- _No removals._
39+
40+
### Security
41+
42+
- _No security fixes.
43+
844
## [2.2.0] - 2025-03-19
945

1046
### Added

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "template-microservice",
3-
"version": "1.0.0",
3+
"version": "2.3.0",
44
"scripts": {
55
"helm:gen": "NODE_NO_WARNINGS=1 node script/helm/index.mjs",
66
"helm:gen:production": "NODE_NO_WARNINGS=1 node script/helm/index.mjs -e production --scan-routes",

src/data/protocols/mq/publish-in-exchange.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ export interface PublishInExchangeService {
44
message: object,
55
routingKey: string,
66
headers?: object
7-
): Promise<void>;
7+
): Promise<boolean>;
88
}
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
export interface PublishInQueueService {
2-
publishInQueue(queue: string, message: object, headers?: object): void;
2+
publishInQueue(
3+
queue: string,
4+
message: object,
5+
headers?: object
6+
): Promise<boolean>;
37
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)