From fffc2d7aaa932aef760bd8b120cbe9103254a575 Mon Sep 17 00:00:00 2001 From: "Michal@MacBook" Date: Thu, 27 Nov 2025 10:23:51 +0100 Subject: [PATCH 1/5] fix uvx instal & version check --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7ca66ad..bcab749 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,7 +2,7 @@ "name": "MicroHack-GitHub", "image": "mcr.microsoft.com/devcontainers/python:3.12-bookworm", "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", - "postCreateCommand": "az version && (curl -LsSf https://astral.sh/uv/install.sh | sh -s -- --yes) && /bin/bash ./.devcontainer/setup_ports.sh", + "postCreateCommand": "az version && (curl -LsSf https://astral.sh/uv/install.sh | sh) && uvx --version && /bin/bash ./.devcontainer/setup_ports.sh", "forwardPorts": [ 3000, 8010, From abfef5c7039b4f0e3df5e670225643a6650c575d Mon Sep 17 00:00:00 2001 From: "Michal@MacBook" Date: Thu, 27 Nov 2025 10:24:00 +0100 Subject: [PATCH 2/5] Add GitHub-MCP server configuration to mcp.json --- .vscode/mcp.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vscode/mcp.json b/.vscode/mcp.json index bd5f8fc..5e6284e 100644 --- a/.vscode/mcp.json +++ b/.vscode/mcp.json @@ -6,6 +6,10 @@ "args": [ "mcp-server-fetch" ] + }, + "GitHub-MCP": { + "url": "https://api.githubcopilot.com/mcp", + "type": "http" } }, "inputs": [] From e8b54a049a609a60ffa68be09ea5d7213320d64f Mon Sep 17 00:00:00 2001 From: "Michal@MacBook" Date: Thu, 27 Nov 2025 10:30:20 +0100 Subject: [PATCH 3/5] Fix APP_NAME formatting in environment configuration files --- backend/accessory-service/.env.example | 2 +- backend/activity-service/.env.example | 2 +- backend/pet-service/.env.example | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/accessory-service/.env.example b/backend/accessory-service/.env.example index 7fce14f..5f31314 100644 --- a/backend/accessory-service/.env.example +++ b/backend/accessory-service/.env.example @@ -10,7 +10,7 @@ COSMOS_CONTAINER_NAME=accessories # COSMOS_EMULATOR_DISABLE_SSL_VERIFY=1 # Application Configuration -APP_NAME=Accessory Service +APP_NAME="Accessory Service" APP_VERSION=1.0.0 DEBUG=True LOG_LEVEL=INFO diff --git a/backend/activity-service/.env.example b/backend/activity-service/.env.example index ef69452..dd789a3 100644 --- a/backend/activity-service/.env.example +++ b/backend/activity-service/.env.example @@ -8,7 +8,7 @@ COSMOS_CONTAINER_NAME=activities # Application Configuration -APP_NAME=Activity Service +APP_NAME="Activity Service" APP_VERSION=1.0.0 DEBUG=True LOG_LEVEL=INFO diff --git a/backend/pet-service/.env.example b/backend/pet-service/.env.example index 610895c..9207165 100644 --- a/backend/pet-service/.env.example +++ b/backend/pet-service/.env.example @@ -12,7 +12,7 @@ COSMOS_CONTAINER_NAME=pets # For HTTPS with self-signed cert, set: # COSMOS_EMULATOR_DISABLE_SSL_VERIFY=true -APP_NAME=Pets Service +APP_NAME="Pets Service" APP_VERSION=1.0.0 DEBUG=True LOG_LEVEL=INFO \ No newline at end of file From 922f69a91c8d840018089c02756f5b489f3cdbd3 Mon Sep 17 00:00:00 2001 From: "Michal@MacBook" Date: Thu, 27 Nov 2025 10:31:42 +0100 Subject: [PATCH 4/5] Update Azure login command to use device code for authentication --- solutions/challenge-08/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solutions/challenge-08/README.md b/solutions/challenge-08/README.md index dc55b2c..4c80ffe 100644 --- a/solutions/challenge-08/README.md +++ b/solutions/challenge-08/README.md @@ -328,7 +328,7 @@ azd version # Login to Azure az login -azd auth login +azd auth login --use-device-code # Set subscription (if you have multiple) az account set --subscription From 2a295c06205f4b0123db99e162603d2d1b2a00f8 Mon Sep 17 00:00:00 2001 From: "Michal@MacBook" Date: Thu, 27 Nov 2025 10:33:01 +0100 Subject: [PATCH 5/5] Remove application testing instructions from Challenge 08 README --- challenges/challenge-08/README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/challenges/challenge-08/README.md b/challenges/challenge-08/README.md index b60b0e7..3a34711 100644 --- a/challenges/challenge-08/README.md +++ b/challenges/challenge-08/README.md @@ -82,9 +82,6 @@ Deploy the PetPal microservices to Azure using Infrastructure as Code (IaC). Thi Example of provisioned services in Azure Portal: ![Azure Portal Container Apps](../../solutions/challenge-08/docs/infra-provisioned.jpg) -3. **Test the Application**: - - Access frontend URL from deployment outputs - - Check Container Apps logs for errors ## Success Criteria