Skip to content

Commit

Permalink
removed remaining cosmos references from code
Browse files Browse the repository at this point in the history
  • Loading branch information
LarryOG committed Sep 8, 2023
1 parent a5cc9cf commit f03f4f4
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 375 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ public static async Task<IReadOnlyCollection<Course>> MapCourses(SqlMapper.GridR
.GroupBy(r => r.CourseRunId)
.ToDictionary(g => g.Key, g => g.Select(r => r.RegionId).AsEnumerable());

// N.B. We need to normalize HTML-encoded data here. The legacy projects HTML-encoded everything before
// persisting it in Cosmos. We want to move the HTML encoding to the edge, where it should be done.
// The existing data synced from Cosmos has a DataIsHtmlEncoded column set to true; read that here and
// decode the relevant fields if it's set.


return courses.Select(MapCourse).ToArray();

Expand Down

This file was deleted.

44 changes: 0 additions & 44 deletions src/Dfc.CourseDirectory.Functions/RemoveZombieCoursesFromSql.cs

This file was deleted.

1 change: 0 additions & 1 deletion src/Dfc.CourseDirectory.Functions/local.settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"IsEncrypted": false,
"Values": {
"AzureWebJobs.SyncUkrlpChanges.Disabled": "true",
"AzureWebJobs.RealTimeSyncCosmosUkrlpToSql.Disabled": "true",
"AzureWebJobs.ImportLarsData.Disabled": "true",
"AzureWebJobs.RefreshFindACourseIndex.Disabled": "true",
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
Expand Down
Loading

0 comments on commit f03f4f4

Please sign in to comment.