-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated controller and startup code.
- Loading branch information
1 parent
b524c47
commit bf4d1dd
Showing
5 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,3 +65,4 @@ public void Put(Guid id, [FromBody] PortsOfEntry value) | |
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,4 +61,4 @@ public void Put (Guid id, [FromBody] RepresentativeData value) { | |
this.dataContext.SaveChanges(); | ||
} | ||
} | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
Start/COVIDScreeningApi/COVIDScreeningApi/Properties/serviceDependencies.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"dependencies": { | ||
"cosmosdb1": { | ||
"type": "cosmosdb", | ||
"connectionId": "CosmosDbConnectionString" | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
Start/COVIDScreeningApi/COVIDScreeningApi/Properties/serviceDependencies.local.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"dependencies": { | ||
"cosmosdb1": { | ||
"resourceId": "/subscriptions/[parameters('subscriptionId')]/resourceGroups/[parameters('resourceGroup')]/providers/Microsoft.DocumentDB/databaseAccounts/covid-screening-data", | ||
"type": "cosmosdb.azure", | ||
"connectionId": "CosmosDbConnectionString", | ||
"secretStore": "LocalSecretsFile" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,3 +79,4 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env) | |
} | ||
} | ||
} | ||
|