i tried to set up apollo router on my local ubuntu to see how the consept of federation works and to understand if it is a good solution for production
I dont want to use the cloud solution, only local
is this the expected way to work with the router
after going over the docs and the tutorials i have done the following and looking for aprovel that what i have done is ok (maybe i am missing something or doing it wrong)
create two services (service A, service B ) subgraphs (using apollo node lib)
clone the router from git
get the schima out of the service A
rover subgraph introspect http://localhost:4001 > accounts-schema.graphql
get the schima out of the service B
rover subgraph introspect http://localhost:4002 > color-schema.graphql
compose the supergraph using rover as the input for the router/apollogw
rover supergraph compose --config ./supergraph-config.yaml
create a router_unix.yaml config file
./router --config router_unix.yaml --supergraph supergraph.graphql --hot-reload
looks like it is working for a very basic querry