pedagogico: novo servico + Boletim (notas/anexos) (pedagogico:1.0 + bff:1.22 + frontend-spa:1.39)
This commit is contained in:
@@ -64,6 +64,7 @@ spec:
|
||||
- { path: /api/documentos, pathType: Prefix, backend: { service: { name: servico-documentos, port: { number: 80 } } } }
|
||||
- { path: /api/administrativo, pathType: Prefix, backend: { service: { name: servico-administrativo, port: { number: 80 } } } }
|
||||
- { path: /api/assistencia-social, pathType: Prefix, backend: { service: { name: servico-assistencia-social, port: { number: 80 } } } }
|
||||
- { path: /api/pedagogico, pathType: Prefix, backend: { service: { name: servico-pedagogico, port: { number: 80 } } } }
|
||||
- { path: /api, pathType: Prefix, backend: { service: { name: backend, port: { number: 80 } } } }
|
||||
- { path: /, pathType: Prefix, backend: { service: { name: frontend-spa, port: { number: 80 } } } }
|
||||
- host: auth-acme.athleticmap.influxdigital.com.br
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
# Bounded context "pedagogico" (boletim / acompanhamento academico, ADR-0002).
|
||||
# Schema proprio "pedagogico"; roteado em /api/pedagogico no ingress.
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: servico-pedagogico
|
||||
namespace: acme-prod
|
||||
labels: { app: servico-pedagogico, athleticmap.io/contexto: pedagogico }
|
||||
spec:
|
||||
replicas: 1
|
||||
selector: { matchLabels: { app: servico-pedagogico } }
|
||||
template:
|
||||
metadata:
|
||||
labels: { app: servico-pedagogico, athleticmap.io/contexto: pedagogico }
|
||||
spec:
|
||||
containers:
|
||||
- name: servico-pedagogico
|
||||
image: docker.io/library/servico-pedagogico:1.0
|
||||
imagePullPolicy: Never
|
||||
ports: [{ containerPort: 8083 }]
|
||||
env:
|
||||
- { name: SPRING_DATASOURCE_URL, value: "jdbc:postgresql://postgres:5432/athleticmap" }
|
||||
- { name: SPRING_DATASOURCE_USERNAME, value: "atm" }
|
||||
- { name: SPRING_DATASOURCE_HIKARI_MAXIMUM_POOL_SIZE, value: "5" }
|
||||
- name: SPRING_DATASOURCE_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef: { name: db-credentials, key: password }
|
||||
- { name: ATM_JWK_SET_URI, value: "http://keycloak:8080/realms/athleticmap/protocol/openid-connect/certs" }
|
||||
- { name: ATM_ISSUER, value: "https://auth-acme.athleticmap.influxdigital.com.br/realms/athleticmap" }
|
||||
- { name: ATM_TENANT, value: "acme" }
|
||||
resources:
|
||||
requests: { cpu: 100m, memory: 300Mi }
|
||||
limits: { cpu: "1", memory: 640Mi }
|
||||
readinessProbe:
|
||||
httpGet: { path: /api/pedagogico/health, port: 8083 }
|
||||
initialDelaySeconds: 25
|
||||
periodSeconds: 10
|
||||
failureThreshold: 30
|
||||
livenessProbe:
|
||||
httpGet: { path: /actuator/health/liveness, port: 8083 }
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 20
|
||||
failureThreshold: 6
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: servico-pedagogico
|
||||
namespace: acme-prod
|
||||
labels: { app: servico-pedagogico }
|
||||
spec:
|
||||
selector: { app: servico-pedagogico }
|
||||
ports: [{ name: http, port: 80, targetPort: 8083 }]
|
||||
@@ -20,7 +20,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: servico-bff
|
||||
image: docker.io/library/servico-bff:1.21
|
||||
image: docker.io/library/servico-bff:1.22
|
||||
imagePullPolicy: Never
|
||||
ports: [{ containerPort: 8083 }]
|
||||
env:
|
||||
@@ -34,6 +34,7 @@ spec:
|
||||
- { name: ATM_DOCUMENTOS_URL, value: "http://servico-documentos" }
|
||||
- { name: ATM_ADMINISTRATIVO_URL, value: "http://servico-administrativo" }
|
||||
- { name: ATM_ASSISTENCIA_SOCIAL_URL, value: "http://servico-assistencia-social" }
|
||||
- { name: ATM_PEDAGOGICO_URL, value: "http://servico-pedagogico" }
|
||||
- { name: ATM_JWK_SET_URI, value: "http://keycloak:8080/realms/athleticmap/protocol/openid-connect/certs" }
|
||||
- { name: ATM_ISSUER, value: "https://auth-acme.athleticmap.influxdigital.com.br/realms/athleticmap" }
|
||||
- { name: ATM_TENANT, value: "acme" }
|
||||
|
||||
@@ -20,7 +20,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: frontend-spa
|
||||
image: docker.io/library/frontend-spa:1.38
|
||||
image: docker.io/library/frontend-spa:1.39
|
||||
imagePullPolicy: Never
|
||||
ports: [{ containerPort: 80 }]
|
||||
env:
|
||||
|
||||
@@ -64,6 +64,7 @@ spec:
|
||||
- { path: /api/documentos, pathType: Prefix, backend: { service: { name: servico-documentos, port: { number: 80 } } } }
|
||||
- { path: /api/administrativo, pathType: Prefix, backend: { service: { name: servico-administrativo, port: { number: 80 } } } }
|
||||
- { path: /api/assistencia-social, pathType: Prefix, backend: { service: { name: servico-assistencia-social, port: { number: 80 } } } }
|
||||
- { path: /api/pedagogico, pathType: Prefix, backend: { service: { name: servico-pedagogico, port: { number: 80 } } } }
|
||||
- { path: /api, pathType: Prefix, backend: { service: { name: backend, port: { number: 80 } } } }
|
||||
- { path: /, pathType: Prefix, backend: { service: { name: frontend-spa, port: { number: 80 } } } }
|
||||
- host: auth-demo.athleticmap.influxdigital.com.br
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
# Bounded context "pedagogico" (boletim / acompanhamento academico, ADR-0002).
|
||||
# Schema proprio "pedagogico"; roteado em /api/pedagogico no ingress.
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: servico-pedagogico
|
||||
namespace: demo-prod
|
||||
labels: { app: servico-pedagogico, athleticmap.io/contexto: pedagogico }
|
||||
spec:
|
||||
replicas: 1
|
||||
selector: { matchLabels: { app: servico-pedagogico } }
|
||||
template:
|
||||
metadata:
|
||||
labels: { app: servico-pedagogico, athleticmap.io/contexto: pedagogico }
|
||||
spec:
|
||||
containers:
|
||||
- name: servico-pedagogico
|
||||
image: docker.io/library/servico-pedagogico:1.0
|
||||
imagePullPolicy: Never
|
||||
ports: [{ containerPort: 8083 }]
|
||||
env:
|
||||
- { name: SPRING_DATASOURCE_URL, value: "jdbc:postgresql://postgres:5432/athleticmap" }
|
||||
- { name: SPRING_DATASOURCE_USERNAME, value: "atm" }
|
||||
- { name: SPRING_DATASOURCE_HIKARI_MAXIMUM_POOL_SIZE, value: "5" }
|
||||
- name: SPRING_DATASOURCE_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef: { name: db-credentials, key: password }
|
||||
- { name: ATM_JWK_SET_URI, value: "http://keycloak:8080/realms/athleticmap/protocol/openid-connect/certs" }
|
||||
- { name: ATM_ISSUER, value: "https://auth-demo.athleticmap.influxdigital.com.br/realms/athleticmap" }
|
||||
- { name: ATM_TENANT, value: "demo" }
|
||||
resources:
|
||||
requests: { cpu: 100m, memory: 300Mi }
|
||||
limits: { cpu: "1", memory: 640Mi }
|
||||
readinessProbe:
|
||||
httpGet: { path: /api/pedagogico/health, port: 8083 }
|
||||
initialDelaySeconds: 25
|
||||
periodSeconds: 10
|
||||
failureThreshold: 30
|
||||
livenessProbe:
|
||||
httpGet: { path: /actuator/health/liveness, port: 8083 }
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 20
|
||||
failureThreshold: 6
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: servico-pedagogico
|
||||
namespace: demo-prod
|
||||
labels: { app: servico-pedagogico }
|
||||
spec:
|
||||
selector: { app: servico-pedagogico }
|
||||
ports: [{ name: http, port: 80, targetPort: 8083 }]
|
||||
@@ -20,7 +20,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: servico-bff
|
||||
image: docker.io/library/servico-bff:1.21
|
||||
image: docker.io/library/servico-bff:1.22
|
||||
imagePullPolicy: Never
|
||||
ports: [{ containerPort: 8083 }]
|
||||
env:
|
||||
@@ -34,6 +34,7 @@ spec:
|
||||
- { name: ATM_DOCUMENTOS_URL, value: "http://servico-documentos" }
|
||||
- { name: ATM_ADMINISTRATIVO_URL, value: "http://servico-administrativo" }
|
||||
- { name: ATM_ASSISTENCIA_SOCIAL_URL, value: "http://servico-assistencia-social" }
|
||||
- { name: ATM_PEDAGOGICO_URL, value: "http://servico-pedagogico" }
|
||||
- { name: ATM_JWK_SET_URI, value: "http://keycloak:8080/realms/athleticmap/protocol/openid-connect/certs" }
|
||||
- { name: ATM_ISSUER, value: "https://auth-demo.athleticmap.influxdigital.com.br/realms/athleticmap" }
|
||||
- { name: ATM_TENANT, value: "demo" }
|
||||
|
||||
@@ -20,7 +20,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: frontend-spa
|
||||
image: docker.io/library/frontend-spa:1.38
|
||||
image: docker.io/library/frontend-spa:1.39
|
||||
imagePullPolicy: Never
|
||||
ports: [{ containerPort: 80 }]
|
||||
env:
|
||||
|
||||
@@ -64,6 +64,7 @@ spec:
|
||||
- { path: /api/documentos, pathType: Prefix, backend: { service: { name: servico-documentos, port: { number: 80 } } } }
|
||||
- { path: /api/administrativo, pathType: Prefix, backend: { service: { name: servico-administrativo, port: { number: 80 } } } }
|
||||
- { path: /api/assistencia-social, pathType: Prefix, backend: { service: { name: servico-assistencia-social, port: { number: 80 } } } }
|
||||
- { path: /api/pedagogico, pathType: Prefix, backend: { service: { name: servico-pedagogico, port: { number: 80 } } } }
|
||||
- { path: /api, pathType: Prefix, backend: { service: { name: backend, port: { number: 80 } } } }
|
||||
- { path: /, pathType: Prefix, backend: { service: { name: frontend-spa, port: { number: 80 } } } }
|
||||
- host: auth-piloto.athleticmap.influxdigital.com.br
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
# Bounded context "pedagogico" (boletim / acompanhamento academico, ADR-0002).
|
||||
# Schema proprio "pedagogico"; roteado em /api/pedagogico no ingress.
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: servico-pedagogico
|
||||
namespace: piloto-prod
|
||||
labels: { app: servico-pedagogico, athleticmap.io/contexto: pedagogico }
|
||||
spec:
|
||||
replicas: 1
|
||||
selector: { matchLabels: { app: servico-pedagogico } }
|
||||
template:
|
||||
metadata:
|
||||
labels: { app: servico-pedagogico, athleticmap.io/contexto: pedagogico }
|
||||
spec:
|
||||
containers:
|
||||
- name: servico-pedagogico
|
||||
image: docker.io/library/servico-pedagogico:1.0
|
||||
imagePullPolicy: Never
|
||||
ports: [{ containerPort: 8083 }]
|
||||
env:
|
||||
- { name: SPRING_DATASOURCE_URL, value: "jdbc:postgresql://postgres:5432/athleticmap" }
|
||||
- { name: SPRING_DATASOURCE_USERNAME, value: "atm" }
|
||||
- { name: SPRING_DATASOURCE_HIKARI_MAXIMUM_POOL_SIZE, value: "5" }
|
||||
- name: SPRING_DATASOURCE_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef: { name: db-credentials, key: password }
|
||||
- { name: ATM_JWK_SET_URI, value: "http://keycloak:8080/realms/athleticmap/protocol/openid-connect/certs" }
|
||||
- { name: ATM_ISSUER, value: "https://auth-piloto.athleticmap.influxdigital.com.br/realms/athleticmap" }
|
||||
- { name: ATM_TENANT, value: "piloto" }
|
||||
resources:
|
||||
requests: { cpu: 100m, memory: 300Mi }
|
||||
limits: { cpu: "1", memory: 640Mi }
|
||||
readinessProbe:
|
||||
httpGet: { path: /api/pedagogico/health, port: 8083 }
|
||||
initialDelaySeconds: 25
|
||||
periodSeconds: 10
|
||||
failureThreshold: 30
|
||||
livenessProbe:
|
||||
httpGet: { path: /actuator/health/liveness, port: 8083 }
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 20
|
||||
failureThreshold: 6
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: servico-pedagogico
|
||||
namespace: piloto-prod
|
||||
labels: { app: servico-pedagogico }
|
||||
spec:
|
||||
selector: { app: servico-pedagogico }
|
||||
ports: [{ name: http, port: 80, targetPort: 8083 }]
|
||||
@@ -20,7 +20,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: servico-bff
|
||||
image: docker.io/library/servico-bff:1.21
|
||||
image: docker.io/library/servico-bff:1.22
|
||||
imagePullPolicy: Never
|
||||
ports: [{ containerPort: 8083 }]
|
||||
env:
|
||||
@@ -34,6 +34,7 @@ spec:
|
||||
- { name: ATM_DOCUMENTOS_URL, value: "http://servico-documentos" }
|
||||
- { name: ATM_ADMINISTRATIVO_URL, value: "http://servico-administrativo" }
|
||||
- { name: ATM_ASSISTENCIA_SOCIAL_URL, value: "http://servico-assistencia-social" }
|
||||
- { name: ATM_PEDAGOGICO_URL, value: "http://servico-pedagogico" }
|
||||
- { name: ATM_JWK_SET_URI, value: "http://keycloak:8080/realms/athleticmap/protocol/openid-connect/certs" }
|
||||
- { name: ATM_ISSUER, value: "https://auth-piloto.athleticmap.influxdigital.com.br/realms/athleticmap" }
|
||||
- { name: ATM_TENANT, value: "piloto" }
|
||||
|
||||
@@ -20,7 +20,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: frontend-spa
|
||||
image: docker.io/library/frontend-spa:1.38
|
||||
image: docker.io/library/frontend-spa:1.39
|
||||
imagePullPolicy: Never
|
||||
ports: [{ containerPort: 80 }]
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user