Fix TypeScript compilation errors
- Add searchReference to ApplicationListItem type - Fix result variable in toApplicationDetails function - Add query helper functions for req.query parameter handling - Fix req.query.* type errors in routes (applications, cache, classifications, objects) - Fix CompletenessCategoryConfig missing id property - Fix number | null type errors in dataService - Add utils/queryHelpers.ts for reusable query parameter helpers
This commit is contained in:
@@ -83,8 +83,11 @@ Deze connection geeft Azure DevOps toegang tot je ACR.
|
||||
- Klik **"Next"**
|
||||
|
||||
6. **Configureer connection**
|
||||
- **Authentication type**: Kies **"Service Principal"** ⭐ (aanbevolen)
|
||||
- Dit is de standaard en meest betrouwbare optie
|
||||
- Azure DevOps maakt automatisch een Service Principal aan
|
||||
- **Azure subscription**: Selecteer je Azure subscription
|
||||
- **Azure container registry**: Selecteer je ACR uit de dropdown (bijv. `zuyderlandcmdbacr`)
|
||||
- **Azure container registry**: Selecteer je ACR uit de dropdown (bijv. `zdlas`)
|
||||
- **Service connection name**: `zuyderland-cmdb-acr-connection`
|
||||
- ⚠️ **Belangrijk**: Deze naam moet overeenkomen met `dockerRegistryServiceConnection` in `azure-pipelines.yml`!
|
||||
- **Description**: Optioneel (bijv. "ACR for CMDB GUI production")
|
||||
@@ -92,13 +95,45 @@ Deze connection geeft Azure DevOps toegang tot je ACR.
|
||||
7. **Save**
|
||||
- Klik **"Save"** (of **"Verify and save"**)
|
||||
- Azure DevOps test automatisch de connection
|
||||
- Azure DevOps maakt automatisch een Service Principal aan met de juiste permissions
|
||||
|
||||
**💡 Waarom Service Principal?**
|
||||
- ✅ Werkt perfect met Azure DevOps Services (cloud)
|
||||
- ✅ Eenvoudig - Azure DevOps doet alles automatisch
|
||||
- ✅ Betrouwbaar - Meest ondersteunde optie
|
||||
- ✅ Veilig - Credentials worden veilig beheerd
|
||||
|
||||
📚 Zie `docs/AZURE-SERVICE-CONNECTION-AUTH.md` voor details over alle authentication types.
|
||||
|
||||
**✅ Service connection is aangemaakt!**
|
||||
|
||||
**Troubleshooting:**
|
||||
- Als je ACR niet ziet in de dropdown, check of je de juiste subscription hebt geselecteerd
|
||||
- **"Loading Registries..." blijft hangen?**
|
||||
- ✅ Refresh de pagina (F5)
|
||||
- ✅ Check of je de juiste subscription hebt geselecteerd
|
||||
- ✅ Wacht 10-30 seconden (kan even duren)
|
||||
- ✅ **Workaround**: Gebruik "Others" optie (zie hieronder)
|
||||
- Als verificatie faalt, check of je toegang hebt tot de ACR in Azure Portal
|
||||
|
||||
**🔧 Workaround: Als dropdown niet werkt, gebruik "Others" optie:**
|
||||
|
||||
1. Kies **"Docker Registry"** → **"Others"** (in plaats van "Azure Container Registry")
|
||||
2. Vul handmatig in:
|
||||
- **Docker Registry**: `zdlas.azurecr.io`
|
||||
- **Docker ID**: (haal op met `az acr credential show --name zdlas`)
|
||||
- **Docker Password**: (haal op met `az acr credential show --name zdlas`)
|
||||
3. **Service connection name**: `zuyderland-cmdb-acr-connection`
|
||||
4. Save
|
||||
|
||||
**Haal credentials op:**
|
||||
```bash
|
||||
az login
|
||||
az acr credential show --name zdlas
|
||||
# Gebruik "username" en "passwords[0].value"
|
||||
```
|
||||
|
||||
📚 Zie `docs/AZURE-SERVICE-CONNECTION-TROUBLESHOOTING.md` voor uitgebreide troubleshooting.
|
||||
|
||||
---
|
||||
|
||||
## 🎯 Stap 4: Pipeline Aanmaken en Run
|
||||
|
||||
Reference in New Issue
Block a user