Commit Graph

269 Commits

Author SHA1 Message Date
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
Michael Kaufman
a85cb0fe4b feat(microservices): Kafka controller await client consumers connect 2020-10-31 17:39:00 -04:00
Kamil Myśliwiec
511625c35e refactor(core): align code changes to the rest of the codebase 2020-10-30 14:49:07 +01:00
alex
bc38c70e31 feat(microservices): Add grpc metadata to server responce
example of usage:

import { Metadata } from 'grpc';

@GrpcMethod('Service', 'Method')
public method(request: any, metadata: Metadata, call: any): any {
   // 1. nothing to do with request that is empty in this case
   // 2. may something with metadata from client if needed
   // 3. send metadata with responce........
   const srvMetadata = new Metadata();

   srvMetadata.add('Set-Cookie', 'yummy_cookie=choco');

   call.sendMetadata(srvMetadata);

   return 'Hello World!!!';
}
2020-07-29 12:06:42 +03:00
alex
b766c7451d feat(microservices): Add grpc metadata to server responce
example of usage:

import { Metadata } from 'grpc';

@GrpcMethod('Service', 'Method')
public method(request: any, metadata: Metadata, sendMetadata: any): any {
   // 1. nothing to do with request that is empty in this case
   // 2. may something with metadata from client if needed
   // 3. send metadata with responce........
   const srvMetadata = new Metadata();

   srvMetadata.add('Set-Cookie', 'yummy_cookie=choco');

   sendMetadata(srvMetadata);

   return 'Hello World!!!';
}
2020-07-24 10:58:44 +03:00
Gustavo Perdomo
a66a1836b8 feat: move from grpc to @grpc/grpc-js
build: update package dependencies

fix: use bindAsync in server-grpc

test(): server gprc port already listen error

test(): remove surplus commit

feat: fix packages

# Conflicts:
#	package-lock.json
#	package.json
#	sample/04-grpc/package-lock.json
#	sample/04-grpc/package.json
2020-07-02 11:22:53 -04:00
amorites
d03830e998 feat(microservices): ClientsModule.registerAsync 2020-06-18 21:18:38 +08:00
danielscw
a5bcb21388 test(microservice): update integration test for multi-package grpc 2020-03-29 15:46:11 +08:00
Kamil Myśliwiec
0e5b402a6f refactor(): update to the latest version of prettier 2020-03-22 12:10:49 +01:00
Kamil Myśliwiec
de8fad4e00 fix(): remove package.json files from integration dirs 2020-03-11 22:43:53 +01:00
Kamil Myśliwiec
d3e14195e2 fix(): resolve merge conflicts 2020-03-11 22:41:53 +01:00
Renovate Bot
54642ce983 fix(deps): update nest monorepo to v6.11.11 2020-03-03 12:16:22 +00:00
Kamil Myśliwiec
9248ff602f fix(): fix import issues, remove integration package locks 2020-03-03 10:32:50 +01:00
Renovate Bot
38cac359a3 fix(deps): update nest monorepo to v6.11.10 2020-03-03 08:33:39 +00:00
Kamil Myśliwiec
0d2c064591 fix(): resolve merge conflicts 2020-03-02 18:09:53 +01:00
Renovate Bot
767fec35b9 fix(deps): update nest monorepo to v6.11.9 2020-03-02 16:57:33 +00:00
Kamil Myśliwiec
5d2de5fd9a fix(): integration tests cleanup, update deps versions 2020-03-02 13:46:26 +01:00
Renovate Bot
e42c1903dc fix(deps): update nest monorepo to v6.11.8 2020-02-20 13:43:58 +00:00
Kamil Myśliwiec
bd585139c5 fix(microservices): use slash as separator in mqtt, add tests 2020-02-20 14:25:58 +01:00
Kamil Myśliwiec
65cd9dbfcb fix(): minor fixes and improvements 2020-02-20 13:27:23 +01:00