Skip to content

Commit a92e35a

Browse files
chore: studiogateway -> gateway (#17693)
1 parent de8c879 commit a92e35a

File tree

161 files changed

+267
-271
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+267
-271
lines changed

.github/workflows/deploy-runtime-gateway.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
name: Runtime - deploy studio-gateway
1+
name: Runtime - deploy gateway
22

33
on:
44
push:
55
branches:
66
- main
77
paths:
8-
- src/Runtime/StudioGateway/**
9-
- infra/runtime/syncroot/base/studio-gateway.yaml
8+
- src/Runtime/gateway/**
9+
- infra/runtime/syncroot/base/gateway.yaml
1010
- infra/runtime/flux-config/**
11-
- .github/workflows/deploy-runtime-studio-gateway.yaml
11+
- .github/workflows/deploy-runtime-gateway.yaml
1212
workflow_dispatch:
1313
inputs:
1414
rings:
@@ -43,8 +43,8 @@ jobs:
4343
echo "Raw rings input: $rings"
4444
echo "ringsjson=${rings}" >> $GITHUB_OUTPUT
4545
46-
push-studio-gateway-artifact:
47-
name: Push studio-gateway as OCI artifact
46+
push-gateway-artifact:
47+
name: Push gateway as OCI artifact
4848
needs: get-short-sha
4949
runs-on: ubuntu-latest
5050
environment: dev
@@ -56,7 +56,7 @@ jobs:
5656
config-repo: altinncr.azurecr.io/studio-apps/runtime-gateway-repo:${{ needs.get-short-sha.outputs.short-sha }}
5757
defaults:
5858
run:
59-
working-directory: src/Runtime/StudioGateway
59+
working-directory: src/Runtime/gateway
6060
steps:
6161
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
6262

@@ -90,15 +90,15 @@ jobs:
9090
run: docker push ${{ env.IMAGE_REPO }}
9191

9292
- name: patch base with image tag
93-
working-directory: src/Runtime/StudioGateway/infra/kustomize/base
93+
working-directory: src/Runtime/gateway/infra/kustomize/base
9494
run: |
9595
export IMAGE="${{ env.IMAGE_REPO }}"
9696
export IMAGE_TAG="${{ needs.get-short-sha.outputs.short-sha }}"
9797
yq -i '.metadata.annotations["altinn.studio/image"] = env(IMAGE)' deployment.yaml
9898
yq -i '.metadata.annotations["altinn.studio/image-tag"] = env(IMAGE_TAG)' deployment.yaml
9999
100100
- name: push artifact
101-
working-directory: src/Runtime/StudioGateway/infra/kustomize
101+
working-directory: src/Runtime/gateway/infra/kustomize
102102
run: |
103103
flux push artifact oci://${{ env.CONFIG_REPO }} \
104104
--provider=azure \
@@ -109,7 +109,7 @@ jobs:
109109
110110
tag-gateway:
111111
name: Tag gateway
112-
needs: [push-studio-gateway-artifact, construct-rings-array]
112+
needs: [push-gateway-artifact, construct-rings-array]
113113
runs-on: ubuntu-latest
114114
environment: ${{ matrix.environment }}
115115
strategy:
@@ -131,6 +131,6 @@ jobs:
131131

132132
- name: tag artifact
133133
run: |
134-
flux tag artifact oci://${{ needs.push-studio-gateway-artifact.outputs.config-repo }} \
134+
flux tag artifact oci://${{ needs.push-gateway-artifact.outputs.config-repo }} \
135135
--tag ${{ matrix.ring }}
136136

.github/workflows/runtime-gateway-tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
types: [opened, reopened, synchronize, ready_for_review]
66
paths:
7-
- 'src/Runtime/StudioGateway/**'
7+
- 'src/Runtime/gateway/**'
88
- 'src/Runtime/test/fixture/**'
99
- '.github/workflows/runtime-gateway-tests.yaml'
1010
workflow_dispatch:
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
defaults:
1717
run:
18-
working-directory: src/Runtime/StudioGateway/
18+
working-directory: src/Runtime/gateway/
1919
steps:
2020
- name: Checkout code
2121
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup Go
3232
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6
3333
with:
34-
go-version-file: src/Runtime/StudioGateway/go.mod
34+
go-version-file: src/Runtime/gateway/go.mod
3535

3636
- name: Build
3737
run: make build

docs/adr/2026-01-07-monitoring-telemetry-collection-distribution.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Non-OTel collector options not really considered, as DIS and others seem to be s
9595
- Router load-balances by traceID ensuring all spans reach same gateway
9696
- Good, because supports routing to multiple Azure Monitor workspaces (D6, D9)
9797
- Gateway uses routing processor to classify services by service.name
98-
- Control plane services (designer, studio-gateway, operator) → control plane workspace
98+
- Control plane services (designer, gateway, operator) → control plane workspace
9999
- Data plane services (pdf3) → data plane workspace
100100
- Good, because decouples services from monitoring backend through OTLP (D10)
101101
- Services export to OTLP collectors, not directly to Azure Monitor
@@ -178,7 +178,7 @@ flowchart TB
178178
- NetworkPolicy restricts ingress to namespaces with label `altinn.studio/runtime=true`
179179
2. **otel-router** batches and load-balances by traceID to gateway replicas via headless service DNS
180180
3. **otel-gateway** routing processor classifies telemetry by `service.name`:
181-
- Control plane: `designer|studio-gateway|operator` → control plane pipeline
181+
- Control plane: `designer|gateway|operator` → control plane pipeline
182182
- Data plane: `pdf3` → data plane pipeline
183183
4. **Tail sampling** applied per pipeline (errors 100%, slow >1s 100%, probabilistic 10%)
184184
5. **Export** to respective Azure Monitor workspaces:
@@ -206,7 +206,7 @@ processors:
206206
table:
207207
- value: designer
208208
exporters: [control_plane]
209-
- value: studio-gateway
209+
- value: gateway
210210
exporters: [control_plane]
211211
- value: operator
212212
exporters: [control_plane]

infra/runtime/flux-config/flux-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
namespace: flux-system
66
spec:
77
type: generic
8-
address: http://studio-gateway-internal.runtime-gateway.svc.cluster.local/api/v1/flux/webhook
8+
address: http://gateway-internal.runtime-gateway.svc.cluster.local/api/v1/flux/webhook
99
---
1010
apiVersion: notification.toolkit.fluxcd.io/v1beta3
1111
kind: Alert

infra/runtime/grafana-manifests/service-accounts/altinn-studio-gateway-sa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ spec:
77
name: altinn-studio-gateway-sa
88
role: Editor
99
tokens:
10-
- name: studio-gateway
10+
- name: gateway
1111
secretName: external-grafana-altinn-studio-gateway-token

infra/runtime/syncroot/base/studio-gateway.yaml renamed to infra/runtime/syncroot/base/gateway.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ data:
1919
apiVersion: source.toolkit.fluxcd.io/v1
2020
kind: OCIRepository
2121
metadata:
22-
name: studio-gateway-repo
22+
name: gateway-repo
2323
namespace: runtime-gateway
2424
spec:
2525
interval: 5m
@@ -32,7 +32,7 @@ spec:
3232
apiVersion: kustomize.toolkit.fluxcd.io/v1
3333
kind: Kustomization
3434
metadata:
35-
name: studio-gateway
35+
name: gateway
3636
namespace: runtime-gateway
3737
spec:
3838
targetNamespace: runtime-gateway
@@ -45,7 +45,7 @@ spec:
4545
path: ./${ENVIRONMENT}
4646
sourceRef:
4747
kind: OCIRepository
48-
name: studio-gateway-repo
48+
name: gateway-repo
4949
namespace: runtime-gateway
5050
postBuild:
5151
substitute:

infra/runtime/syncroot/base/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ resources:
44
- pdf3.yaml
55
- operator.yaml
66
- pdf.yaml
7-
- studio-gateway.yaml
7+
- gateway.yaml
88
- flux-config.yaml
99
- altinn-charts.yaml
1010
- apps-syncroot.yaml

src/Runtime/StudioGateway/StudioGateway.slnx

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/Runtime/StudioGateway/src/StudioGateway.Contracts/Metrics/AzureUrl.cs

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/Runtime/StudioGateway/tests/StudioGateway.Api.Tests/StudioGateway.Api.Tests.slnx

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)