Skip to content

Commit

Permalink
Add APPLICATION_ID to env
Browse files Browse the repository at this point in the history
Balance up a few inconsistencies across env files.
  • Loading branch information
steventux committed Nov 14, 2024
1 parent 00526e9 commit 4a48f84
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .env.e2e
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
AZURITE_CONNECTION_STRING="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;"
APPLICATION_ID=""
BLOB_CONTAINER_NAME=pilot-data
CONTACT_TELEPHONE_NUMBER=0123456789
NOTIFY_API_KEY=""
NOTIFY_API_KID=""
NOTIFY_API_URL=https://sandbox.api.service.nhs.uk
NOTIFY_FUNCTION_URL=http://localhost:7072/api/notify/message/send
OAUTH2_API_KEY=""
OAUTH2_API_KID=""
OAUTH2_TOKEN_URL=""
PRIVATE_KEY=""
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# See https://github.com/Azure/Azurite?tab=readme-ov-file#connection-strings
AZURITE_CONNECTION_STRING=""
APPLICATION_ID=""
BLOB_CONTAINER_NAME=pilot-data
CONTACT_TELEPHONE_NUMBER=""
NOTIFY_API_URL=""
NOTIFY_FUNCTION_URL=""
OAUTH2_API_KEY=""
OAUTH2_API_KID=""
OAUTH2_TOKEN_URL=""
PRIVATE_KEY_PATH=""
PRIVATE_KEY=""
2 changes: 2 additions & 0 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@ services:
environment:
- AzureWebJobsStorage=UseDevelopmentStorage=true
- ASPNETCORE_URLS=http://*:7073
- APPLICATION_ID=${APPLICATION_ID}
- OAUTH2_API_KEY=${OAUTH2_API_KEY}
5 changes: 4 additions & 1 deletion src/functions/status_callback/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ ENV AzureWebJobsScriptRoot=/home/site/wwwroot \
AzureFunctionsJobHost__Logging__Console__IsEnabled=true \
AzureWebJobsFeatureFlags=EnableWorkerIndexing \
AzureWebJobsStorage=UseDevelopmentStorage=true \
FUNCTIONS_WORKER_RUNTIME=python
FUNCTIONS_WORKER_RUNTIME=python \
APPLICATION_ID=${APPLICATION_ID} \
OAUTH2_API_KEY=${OAUTH2_API_KEY}



COPY requirements.txt /
Expand Down

0 comments on commit 4a48f84

Please sign in to comment.