You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Register more instrumentation providers such as Entity Framework Core, HttpClient, etc.
106
+
});
107
+
```
108
+
109
+
> **Tip: Using Environment Variables**
110
+
>
111
+
> Alternatively, you can also set the required values using environment variables.
112
+
113
+
This configuration enables your subgraph to interact with the BananaCakePop services, including telemetry and instrumentation.
114
+
115
+
### Step 3: Create a Subgraph Configuration File
116
+
117
+
Each subgraph requires a specific configuration file named `subgraph-config.json`. This file should be placed in the root directory of the subgraph project, next to the `.csproj` file.
118
+
119
+
Here’s an example of what the `subgraph-config.json` file should look like:
This file is required for the topology to recognize and display your subgraph correctly.
134
+
135
+
### Step 4: Pack your subgraph and compose your Gateway
136
+
137
+
After configuring your subgraph you have to `pack` your subgraph and `compose` your gateway.
138
+
This process links your subgraph with the gateway, ensuring a cohesive GraphQL architecture.
139
+
70
140
## Integration into your CI/CD pipeline
71
141
The deployment of a subgraph is a multi step process. To integrate BananaCakePop into this process you need to install Barista, the BananaCakePop CLI. You can find more information about Barista in the [Barista Documentation](/docs/barista/v1).
0 commit comments