-
Notifications
You must be signed in to change notification settings - Fork 1
/
.meshrc.yaml
79 lines (79 loc) · 2.41 KB
/
.meshrc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
serve:
hostname: ${GATEWAY_HOSTNAME}
port: ${GATEWAY_PORT}
sources:
- name: CourseService
handler:
graphql:
endpoint: "{env.COURSE_SERVICE_URL}"
operationHeaders:
CurrentUser: "{context.currentUserJson}"
- name: ContentService
handler:
graphql:
endpoint: "{env.CONTENT_SERVICE_URL}"
operationHeaders:
CurrentUser: "{context.currentUserJson}"
- name: MediaService
handler:
graphql:
endpoint: "{env.MEDIA_SERVICE_URL}"
operationHeaders:
CurrentUser: "{context.currentUserJson}"
- name: FlashcardService
handler:
graphql:
endpoint: "{env.FLASHCARD_SERVICE_URL}"
operationHeaders:
CurrentUser: "{context.currentUserJson}"
- name: RewardService
handler:
graphql:
endpoint: "{env.REWARD_SERVICE_URL}"
operationHeaders:
CurrentUser: "{context.currentUserJson}"
- name: UserService
handler:
graphql:
endpoint: "{env.USER_SERVICE_URL}"
operationHeaders:
CurrentUser: "{context.currentUserJson}"
- name: QuizService
handler:
graphql:
endpoint: "{env.QUIZ_SERVICE_URL}"
operationHeaders:
CurrentUser: "{context.currentUserJson}"
- name: SkilllevelService
handler:
graphql:
endpoint: "{env.SKILLLEVEL_SERVICE_URL}"
operationHeaders:
CurrentUser: "{context.currentUserJson}"
- name: DocprocaiService
handler:
graphql:
endpoint: "{env.DOCPROCAI_SERVICE_URL}"
operationHeaders:
CurrentUser: "{context.currentUserJson}"
additionalTypeDefs:
- "./additionalTypeDefs/content.graphqls"
- "./additionalTypeDefs/course.graphqls"
- "./additionalTypeDefs/rewards.graphqls"
- "./additionalTypeDefs/skill_level.graphqls"
- "./additionalTypeDefs/user.graphqls"
- "./additionalTypeDefs/flashcard.graphqls"
- "./additionalTypeDefs/quiz.graphqls"
- "./additionalTypeDefs/media.graphqls"
additionalResolvers:
- "./additionalResolvers/content.ts"
- "./additionalResolvers/course.ts"
- "./additionalResolvers/flashcard.ts"
- "./additionalResolvers/quiz.ts"
additionalEnvelopPlugins: "./envelopPlugins"
transforms:
- filterSchema:
mode: bare
filters:
- Mutation.!_internal* # filter out all mutations that start with _internal
- Query.!_internal* # filter out all queries that start with _internal