Commit Graph

288 Commits

Author SHA1 Message Date
Jake Son
56b0c57729 test: add microservice generic type explicitly 2023-03-11 09:45:21 +09:00
Kamil Myśliwiec
95e8394b32 test: add inspector e2e tests, add deterministic uuid registry 2022-11-29 09:56:19 +01:00
Kamil Myśliwiec
5b42ab71af test: add paths mapping and watch mode for unit tests 2022-11-09 11:46:08 +01:00
Micael Levi L. Cavalcante
bc80ef6055 style: fix formatting on everything 2022-08-21 14:23:19 -04:00
gil
1cebb6dbb5 fix(microservice): grpc-client serialize error
closes #10104
2022-08-14 00:05:37 +03:00
Kamil Myśliwiec
2b10ff60c6 chore(): resolve conflicts 2022-05-31 11:47:17 +02:00
Tony133
c9e619e74a test(integration): rename app module in test e2e 2022-05-24 21:28:34 +02:00
Kamil Myśliwiec
40e2755c82 feat(microservices): migrate redis transporter to internally use ioredis package 2022-05-17 13:33:21 +02:00
Kamil Myśliwiec
af0e4001ff fix(microservices): multiple rmq client urls issue #9364 2022-04-01 16:51:46 +02:00
Kamil Myśliwiec
43a4770b74 chore(): remove merge conflicts 2022-03-01 13:56:03 +01:00
Kamil Myśliwiec
8ce0cf1bc9 chore(): resolve conflicts, minor changes 2022-03-01 13:55:07 +01:00
Kamil Myśliwiec
722b651228 test(microservices): bump timeouts for mqtt integration tests 2022-02-18 16:58:46 +01:00
Kamil Myśliwiec
e4098e6c39 test(microservices): update broken mqtt integration test (record builder) 2022-02-14 12:42:58 +01:00
Tom Chauveau
23170cf1c8 fix(microservices): generate service method in lower and uppercase
RPC methods in protobuf are commonly declare in PascalCase, but they were generated lowercase
by ClientGrpcProxy.getService method.
Protobuf and gRPC have tools to generate interface and message in Typescript directly from
protobuf. It's a powerful feature that's helping to maintain only one source of truth.
But with that lowercase method generation, developers were forced to define their own interface
which can be painful to maintain.
This commit fix that issue by generating methods both in lowercase and in uppercase.

Solves #9047

Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-01-29 01:15:49 +01:00
Kamil Myśliwiec
d3b627fa00 fix(microservices): rmq should merge both disconnect and connect failed events 2022-01-12 10:23:29 +01:00
Micael Levi (lab)
fd720e899d refactor: remove deprecated apis from 3rd-party deps
Replacie old and deprecated APIs from `rxjs`, `body-parser`
and NodeJS core (read this guide https://nodejs.org/en/docs/guides/buffer-constructor-deprecation).
Do notice that the later only touches test files, thus doesn't affect
production code.
2021-12-24 20:30:33 -04:00
zmj
4621fad49b refactor(): replace indexOf with includes 2021-12-14 20:45:31 +08:00
caucik
e7f1f10423 refactor: update integration imports to reference top level index.ts 2021-11-16 02:47:26 +01:00
Kamil Myśliwiec
62978f887f test(microservices): add e2e tests for record builders 2021-10-01 11:31:56 +02:00
wt
472b545880 test(microservices): add e2e test for #8109
add e2e test for #8109

associate #8109
2021-09-29 13:42:09 +08:00
Kamil Myśliwiec
9d0551ff25 style(): run prettier 2021-08-16 09:30:29 +02:00
Kamil Myśliwiec
3a2cbc087e test(): skip kafka tests 2021-05-17 14:56:54 +02:00
Kamil Myśliwiec
18f66e8299 fix(): fix rxjs breaking changes 2021-05-17 14:04:31 +02:00
Kamil Myśliwiec
00e9421a3b feat(): update to the latest rxjs (wip) 2021-05-14 16:16:34 +02:00
Kamil Myśliwiec
6043520084 chore(): resolve conflicts 2021-05-14 15:36:22 +02:00
Kamil Myśliwiec
cf362d369b feat(microservices): support nats v2 2021-03-16 14:11:48 +01:00
Kamil Myśliwiec
fcf57a64ed test(): skip flaky kafka integration test 2021-02-12 14:58:03 +01:00
Kamil Myśliwiec
08ace7d630 test(): attempt to fix flaky kafka test 2021-02-12 13:36:17 +01:00
Kamil Myśliwiec
8ad9f0ad23 test(): add retries to kafka integration test (no leader error) 2021-02-11 21:18:05 +01:00
Kamil Myśliwiec
b711019660 feat(microservices): support multiple event subscribers 2021-02-05 15:15:32 +01:00
Kamil Myśliwiec
29ca9e195f chore(): resolve merge conflicts 2021-02-04 14:52:47 +01:00
Kamil Myśliwiec
0ba2658ab4 fix(microservices): auto close clients on app shutdown 2021-02-03 10:20:24 +01:00
Kamil Myśliwiec
20cbe3f4a5 chore(): resolve conflicts 2021-02-01 16:11:37 +01:00
Kamil Myśliwiec
8180e5905c Merge branch 'feat/microservice-deserialize-error' of https://github.com/jmcdo29/nest into jmcdo29-feat/microservice-deserialize-error 2021-02-01 13:46:55 +01:00
Kamil Myśliwiec
cb37ecb570 test(): remove deprecated methods usage, bump kafka timeout 2021-01-29 13:34:37 +01:00
Kamil Myśliwiec
134905018b test(): fix grpc invalid import 2021-01-29 11:42:09 +01:00
Kamil Myśliwiec
036a9fb107 chore(): resolve merge conflicts 2021-01-27 12:22:08 +01:00
Maciej Sikorski
ec9727093d feat: allow to config cors async
Bump version of the fastify-cors.
Add CorsOptionsDelegate interface.
Add CorsOptionsDelegate as an acceptable type
for every enableCors usage.

Closes nestjs/nest#6118
2021-01-25 22:46:11 +01:00
Kamil Myśliwiec
a0ded7ad68 test(e2e): fix e2e tests 2020-12-08 17:21:13 +01:00
Kamil Myśliwiec
fb3db3f6bf chore(): minor tweaks, align to the rest of the codebase 2020-12-08 13:34:10 +01:00
Michael Kaufman
0f80068198 feat(microservices): Increase timeout for kafka tests 2020-11-21 20:33:37 -05:00
Michael Kaufman
32b19c7c37 feat(microservices): Uses kafkajs package for tests 2020-11-21 15:13:26 -05:00
Michael Kaufman
404a916129 feat(microservices): Fixes dependencies 2020-11-21 14:38:49 -05:00
Michael Kaufman
68ad994f2d feat(microservices): Updates external kafka interface 2020-11-21 13:40:17 -05:00
Michael Kaufman
25ca219254 feat(microservices): Completed tests for concurrency 2020-11-21 12:50:25 -05:00
Jay McDoniel
525ef91307 feat(microservice): adds tests for custom client proxy 2020-11-17 08:59:45 -08:00
Michael Kaufman
9449d612aa feat(microservices): Removes assignment store injects client 2020-11-03 09:12:36 -05:00
Michael Kaufman
15473e4251 feat(microservices): Fixes changes to kafka client 2020-11-02 18:49:55 -05:00
Michael Kaufman
ffd602ffd5 Merge remote-tracking branch 'Nest/master' into 2984-kafka-reply-partitions 2020-11-02 18:14:55 -05:00
Michael Kaufman
badae7b4e7 feat(microservices): Implement Kafka Nestjs reply partition assigner 2020-11-02 17:55:49 -05:00