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
uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
If you want to see the expected changes but not actually apply them, you can run:
171
+
172
+
```
173
+
gwa pg --dry-run sample.yaml
174
+
```
175
+
178
176
## 5. Verify routes
179
177
180
178
In our test environment, the hosts that you defined in the routes get altered; to see the actual hosts, log into the <ahref="https://gwa-qwzrwc-test.pathfinder.gov.bc.ca/int"target="_blank">API Services Portal</a> and view the hosts under `Services`.
@@ -188,24 +186,34 @@ ab -n 20 -c 2 https://${NAME}-api-gov-bc-ca.test.189768.xyz/headers
188
186
189
187
## 6. View metrics
190
188
191
-
Go to <ahref="https://grafana-qwzrwc-test.pathfinder.gov.bc.ca/"target="_blank">Grafana</a> to view metrics for your configured services.
189
+
The following metrics can be viewed in real-time for the Services that you configure on the Gateway:
190
+
191
+
* Request Rate : Requests / Second (by Service/Route, by HTTP Status)
192
+
* Latency : Standard deviations measured for latency inside Kong and on the Upstream Service (by Service/Route)
* Total Requests : In 5 minute windows (by Consumer, by User Agent, by Service, by HTTP Status)
192
195
196
+
All metrics can be viewed by an arbitrary time window - defaults to `Last 24 Hours`.
197
+
198
+
Go to <ahref="https://grafana-qwzrwc-test.pathfinder.gov.bc.ca/"target="_blank">Grafana</a> to view metrics for your configured services.
193
199
194
200
## 7. Grant access to others
195
201
196
-
The `acl` command is an all-inclusive membership list, so the `--users` should have the full list of members. Any user that is a member but not in the `--users` list will be removed from the namespace.
202
+
The `acl` command provides a way to update the access for the namespace. It expects an all-inclusive membership list, so the `--users` should have the full list of members. Any user that is a member but not in the `--users` list will be removed from the namespace.
197
203
198
-
For administrative privileges (such as managing Service Accounts), add the usernames to the `--managers` argument.
204
+
For elevated privileges (such as managing Service Accounts), add the usernames to the `--managers` argument.
The result will show the ACL changes. The Add/Delete counts represent the membership changes of registered users. The Missing count represents the users that will automatically be added to the namespace once they have logged into the `APS Services Portal`.
211
+
204
212
## 8. Add to your CI/CD Pipeline
205
213
206
214
Update your CI/CD pipelines to run the `gwa-cli` to keep your services updated on the gateway.
207
215
208
-
### Github Actions
216
+
### Github Actions Example
209
217
210
218
In the repository that you maintain your CI/CD Pipeline configuration, use the Service Account details from `Step 2` to set up two `Secrets`:
0 commit comments