<style>
.reveal {
font-size: 27px;
}
mark {
background-color: rgba(50, 168, 82, .5) !important;
}
</style>
<!-- .slide: data-background="https://bizy.ch/images/photo-1620837953336-8274c0623a3c.jpg" -->
# Séance IT Mars 2022
- Améliorations 2021
- Travaux en cours
- Vision 2022
© Trianon & Mobilière
---
<!-- .slide: data-background="https://images.squarespace-cdn.com/content/v1/56f080c79f726691e3555605/1567658097291-576EE14ODSSE4QZA1ESK/SiN.jpg" -->
---
<!-- .slide: data-background="https://bizy.ch/images/depl.png" -->
---
<!-- .slide: data-background="https://images.unsplash.com/photo-1562188409-a79c4077fbb8" -->
<span style="font-size:5em">3546
pull-requests</span>
---
<!-- .slide: data-background="https://kiki-pneus.ch/assets/images/git.jpg" -->
<span style="font-size:5em; color: orange">14'608
commits</span>
---
| Jour | Commits | Moyenne |
| ---- | ----- | --------|
| Lundi | 2560 | 49.08 |
| Mardi | 2996 | 57.44 |
| Mercredi | 3306 | 63.40 |
| Jeudi | 2785 | 53.40 |
| Vendredi | 2719 | 51.13 |
| Samedi | 76 | 1.45 |
| Dimanche | 166 | 3.18 |
---
<!-- .slide: data-background="https://bizy.ch/images/photo-1595113316349-9fa4eb24f884.jpg" -->
```vega
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "A simple bar chart with embedded data.",
"data": {
"values": [
{"Heure": 0, "Commits": 49},
{"Heure": 1, "Commits": 30},
{"Heure": 2, "Commits": 18},
{"Heure": 3, "Commits": 11},
{"Heure": 4, "Commits": 78},
{"Heure": 5, "Commits": 147},
{"Heure": 6, "Commits": 577},
{"Heure": 7, "Commits": 957},
{"Heure": 8, "Commits": 1335},
{"Heure": 9, "Commits": 1467},
{"Heure": 10, "Commits": 1184},
{"Heure": 11, "Commits": 965},
{"Heure": 12, "Commits": 1230},
{"Heure": 13, "Commits": 1456},
{"Heure": 14, "Commits": 1519},
{"Heure": 15, "Commits": 1286},
{"Heure": 16, "Commits": 918},
{"Heure": 17, "Commits": 484},
{"Heure": 18, "Commits": 255},
{"Heure": 19, "Commits": 157},
{"Heure": 20, "Commits": 176},
{"Heure": 21, "Commits": 168},
{"Heure": 22, "Commits": 81},
{"Heure": 23, "Commits": 60}
]
},
"mark": "bar",
"encoding": {
"x": {"field": "Heure", "type": "nominal", "axis": {"labelAngle": 0}},
"y": {"field": "Commits", "type": "quantitative"}
}
}
```
---
<!-- .slide: data-background="https://bizy.ch/images/boileau.png" -->
---
<!-- .slide: data-background="https://bizy.ch/images/boileau.png" -->
<span style="font-size:5em;color: pink">1519
commits</span>
---
<!-- .slide: data-background="https://memesboy.com/wp-content/uploads/2018/12/Baby-Meme-Yes-09.jpg" -->
---
# 🔙 Octopus Deploy
- Release lifecycle
- DEV
- QA
- PROD
- Gestion des environnements
- Trianon
- Mobi
- Benefits
- Sécurisation des "secrets"
- Simplifacation du processus du build
---
# 🔙 Octopus Deploy

---
# 🔙 Camunda
- Gestion des tâches
- Processus "right request"
- Mutations
- Affiliation
- ...

---
<!-- .slide: data-background="https://kiki-pneus.ch/assets/images/Fruechtemuesli_1900.jpg" -->
# 🔙 Muesli
---
# 🔙 WES
- [Nevis Auth](https://www.nevis.net/en/)
- Intégration Mobi
- Authentication
- MFA
- Service to Service
- 👋 Windows authentication
- Thanks @Lars Welthi
---
# 🔙 Mise en service moteurs
- .NET Framework to .NET Standard (.NET 5/6 compatible)
- Séparation moteur CP et Salaire
- Intégration dans T-Pay et T-Pen
- Evolution facilitée
- Nouvelles fonctionalités (process, pre/post processing)
- Réduction de dette
---
# 🔙 Calcul salaire automatique
---
# 🔛 Messaging
---
<!-- .slide: data-background="https://media.makeameme.org/created/work-in-progress-qzqa00.jpg" -->
---

---
# 🔛 Tests
- DoD : Au moins 1 test d'intégration par endpoint
- Formation TDD
- T-Pen : 700+ tests
- T-Pay : 210+ tests
- EBCv3 : 200+ tests
- Fortune : 700+ tests

---
# 🔛 Dynatrace
- [x] Mise en place débuté fin 2021
- [x] Monitoring des logs de Trianon HR
- [x] Statistiques d'utilisation des APIs
- [x] Tracing
- [x] Alertes

---
# 🔛 Dynatrace
- [ ] Workshops avec Dania à Nyon
- Devs
- Data + Système
- [ ] Logs applicatifs
- [ ] Déploiement sur tous les serveurs Trianon
- [ ] Décomissionement Grafana
---
# 🔛 Load-Balancing
- 1 serveur
- T-Pay
- T-Pen
- Fortune
- CashManager
- Etc.
- 💩
- WES = API Gateway
- Plusieurs instances d'un même service sur différents serveurs pour augmenter la disponibilité et améliorer les performances et la stabilité du système.
---
# 🔛 Prototype Affiliation
---
<!-- .slide: data-background="https://blogs.canterbury.ac.uk/studentnews/wp-content/uploads/sites/425/2021/12/shutterstock_2007066887.jpg" -->
---
<!-- .slide: data-background="https://bizy.ch/images/67kvug.jpg" -->
---
# 🔜 GitLab Cloud
- Premier pas vers le cloud avec la Mobi
- Outils améliorés
- Build runners
- Pull-requests
- CI/CD
- Automatisations Mobi
---
# 🔜 Containers
```dockerfile=
# ARG REPO=mcr.microsoft.com/dotnet/sdk
FROM mcr.microsoft.com/dotnet/sdk:6.0
ENV NO_PROXY=localhost,127.0.0.1,.mobicorp.ch,.mobicorp.test,.mobi.ch,192.168.99.100
ENV HTTPS_PROXY=http://dirproxy.mobi.ch:80
ENV HTTP_PROXY=http://dirproxy.mobi.ch:80
COPY cas/*.crt /usr/local/share/ca-certificates/
RUN cat /usr/local/share/ca-certificates/*.crt > /etc/ssl/cert.pem
RUN update-ca-certificates
RUN rm /etc/ssl/cert.pem
```
```mermaid
graph LR
A[TeamCity Server] -->|Start build| B(Linux Agent) -->|dotnet test| C(Docker) -->|setup| D(MSSQL Docker)
```
---
# 🔜 T-Pay SaaS
---
# 🔜 App Mobile EBC v3
---
# 🔙🔛🔜
<span style="font-size:3em">THE TEAM</span>
- 4.5 équipes
- 25-30 développeurs
- 2021
- 4 départs
- 8 arrivées
- 2022
- 3 arrivées
- 1 départ
- 1 senior back-end EBC 01.05
---
<!-- .slide: data-background="https://www.fribourgregion.ch/wp-content/uploads/2021/11/uft-81091-moleson-13-web-1920x1080_3000.jpg" -->
<span style="font-size:5em"><H1>🚀🚀🚀
KEEP IT UP</H1></span>
{"metaMigratedAt":"2023-06-16T20:37:22.444Z","metaMigratedFrom":"YAML","title":"Séance IT Mars 2022","breaks":true,"slideOptions":"{\"theme\":\"moonl\",\"spotlight\":{\"enabled\":true}}","description":"Améliorations 2021","contributors":"[{\"id\":\"2ff8bf3a-d09c-4308-a7a7-64e5fb1c4783\",\"add\":10771,\"del\":4316}]"}