Commit 84c58dd
Federation mvp (#48)
* DOS-1266: intial federation key support
* Allowing transformer to see federation interface entites
* Change the service type
* Change resource set builder to concatenate files to read defaults only once and rename service type to federation subgraph
* Federation entity collection
* federation shared types support
* add method for isFederatedProvider
* rename entities variable to entitiesByTypeName
* entity-type-merging: initial commit
* federation metadata classes
* Support for FieldSet scalar
* intital federation require support
* make exceptions more generic to apply to more directives and fix shared type edge case
* KeyTransformPostmerge integration and adding test
* Verify keys defined in extension are a subset of the base entity
* collecting key directives in FederationMetadata
* removing entity batching
* enrich entity's selection set if keys are not selected
* use base entity keys for representation
* resolve required fields during normal field resolution instead as an entity fetch request
* ensure extension fields are not in base, and refactor exceptions to be in package
* Federation support for type extension
* DOS-1386: merging of value type support
* validate fetches entity response
* Add new constant for response and refactor to use constants
* Add validation for entity fetcher
Co-authored-by: Ashpak Shaikh <[email protected]>
Co-authored-by: kmoore-intuit <[email protected]>
Co-authored-by: Aureus, Carlo <[email protected]>
Co-authored-by: kmoore15 <[email protected]>
Co-authored-by: Shaikh <[email protected]>1 parent b3bffb2 commit 84c58dd
File tree
80 files changed
+4878
-262
lines changed- src
- main
- java/com/intuit/graphql/orchestrator
- batch
- federation
- exceptions
- metadata
- validators
- resolverdirective
- schema
- fold
- transform
- type/conflict/resolver
- stitching
- utils
- xtext
- resources
- test
- groovy/com/intuit/graphql/orchestrator/integration
- federation
- java/com/intuit/graphql/orchestrator
- batch
- federationdirectives
- keydirective
- requiredirective
- federation
- resolverdirective
- schema
- fold
- transform
- utils
- xtext
- resources/top_level/federation
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
80 files changed
+4878
-262
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
| 380 | + | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
34 | | - | |
35 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
36 | 48 | | |
37 | 49 | | |
38 | 50 | | |
39 | 51 | | |
40 | 52 | | |
41 | | - | |
| 53 | + | |
| 54 | + | |
42 | 55 | | |
43 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
44 | 60 | | |
45 | 61 | | |
46 | 62 | | |
| |||
57 | 73 | | |
58 | 74 | | |
59 | 75 | | |
60 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
61 | 82 | | |
62 | 83 | | |
63 | 84 | | |
| |||
69 | 90 | | |
70 | 91 | | |
71 | 92 | | |
72 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
73 | 100 | | |
74 | 101 | | |
75 | 102 | | |
76 | 103 | | |
77 | 104 | | |
78 | 105 | | |
79 | 106 | | |
80 | | - | |
| 107 | + | |
| 108 | + | |
81 | 109 | | |
82 | 110 | | |
83 | 111 | | |
| |||
102 | 130 | | |
103 | 131 | | |
104 | 132 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
118 | 145 | | |
119 | 146 | | |
120 | 147 | | |
| |||
129 | 156 | | |
130 | 157 | | |
131 | 158 | | |
132 | | - | |
133 | 159 | | |
134 | 160 | | |
135 | 161 | | |
| |||
142 | 168 | | |
143 | 169 | | |
144 | 170 | | |
145 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
146 | 187 | | |
147 | 188 | | |
148 | 189 | | |
149 | | - | |
150 | | - | |
| 190 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
Lines changed: 10 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
123 | 122 | | |
124 | 123 | | |
125 | 124 | | |
| |||
142 | 141 | | |
143 | 142 | | |
144 | 143 | | |
145 | | - | |
| 144 | + | |
146 | 145 | | |
147 | 146 | | |
148 | 147 | | |
| |||
266 | 265 | | |
267 | 266 | | |
268 | 267 | | |
269 | | - | |
| 268 | + | |
270 | 269 | | |
271 | 270 | | |
272 | 271 | | |
273 | 272 | | |
274 | 273 | | |
275 | 274 | | |
276 | | - | |
277 | | - | |
| 275 | + | |
| 276 | + | |
278 | 277 | | |
279 | 278 | | |
280 | 279 | | |
| |||
301 | 300 | | |
302 | 301 | | |
303 | 302 | | |
304 | | - | |
| 303 | + | |
305 | 304 | | |
306 | 305 | | |
307 | | - | |
308 | | - | |
| 306 | + | |
309 | 307 | | |
310 | 308 | | |
311 | | - | |
| 309 | + | |
312 | 310 | | |
313 | 311 | | |
314 | 312 | | |
| |||
0 commit comments