Merged
Conversation
…e glucose, server resolution)
Contributor
Preview Container ImagesPublished for commit
This comment is updated on each push to this PR. |
|
|
||
| _logger.LogInformation( | ||
| "Setup: created first owner {SubjectId} ({Username}) for tenant {TenantId}", | ||
| subjectId, request.Username.Trim(), tenant!.Id); |
|
|
||
| _logger.LogInformation( | ||
| "Setup OIDC: created first owner {SubjectId} ({Username}) for tenant {TenantId}", | ||
| subjectId, request.Username.Trim(), tenant!.Id); |
| { | ||
| if (!string.IsNullOrEmpty(error)) | ||
| { | ||
| _logger.LogWarning("Setup OIDC provider returned error: {Error} - {Description}", error, error_description); |
| { | ||
| if (!string.IsNullOrEmpty(error)) | ||
| { | ||
| _logger.LogWarning("Setup OIDC provider returned error: {Error} - {Description}", error, error_description); |
Comment on lines
+456
to
+463
| Response.Cookies.Append("IsAuthenticated", "true", new CookieOptions | ||
| { | ||
| HttpOnly = false, | ||
| Secure = _oidcOptions.Cookie.Secure, | ||
| SameSite = cookieSameSite, | ||
| Path = "/", | ||
| MaxAge = TimeSpan.FromDays(7), | ||
| }); |
|
|
||
| _logger.LogDebug( | ||
| "Upserting coach mark {MarkKey} to status {Status} for subject {SubjectId}", | ||
| markKey, |
| _logger.LogDebug( | ||
| "Upserting coach mark {MarkKey} to status {Status} for subject {SubjectId}", | ||
| markKey, | ||
| status, |
| _logger.LogError( | ||
| ex, | ||
| "Error upserting coach mark {MarkKey} for subject", | ||
| markKey |
Comment on lines
+78
to
+81
| var request = new HttpRequestMessage(HttpMethod.Post, $"{authBaseUrl}{EversenseConstants.Endpoints.Token}") | ||
| { | ||
| Content = formContent | ||
| }; |
| var result = await ExecuteWithRetryAsync( | ||
| async () => | ||
| { | ||
| var request = new HttpRequestMessage(HttpMethod.Get, url); |
| // Assert | ||
| ctx.Response.StatusCode.Should().Be(503); | ||
| ctx.Response.Body.Seek(0, SeekOrigin.Begin); | ||
| var body = await new StreamReader(ctx.Response.Body).ReadToEndAsync(); |
|
|
||
| context.Response.StatusCode.Should().Be(503); | ||
| context.Response.Body.Seek(0, SeekOrigin.Begin); | ||
| var body = await new StreamReader(context.Response.Body).ReadToEndAsync(); |
Comment on lines
+239
to
+243
| catch (Exception ex) | ||
| { | ||
| _logger.LogWarning(ex, "Setup owner passkey registration failed"); | ||
| return Problem(detail: "Passkey registration failed during setup", statusCode: 400, title: "Registration Failed"); | ||
| } |
Comment on lines
+60
to
+64
| catch (Exception ex) | ||
| { | ||
| _logger.LogWarning(ex, "Error converting Eversense patient datum"); | ||
| return null; | ||
| } |
Comment on lines
+148
to
+153
| catch (Exception ex) | ||
| { | ||
| _logger.LogError(ex, "[{ConnectorSource}] Error during Eversense sync", ConnectorSource); | ||
| result.Success = false; | ||
| result.Errors.Add($"Sync error: {ex.Message}"); | ||
| } |
| Username = "test@example.com", | ||
| Password = "test-password", | ||
| }), | ||
| new HttpClient(), |
| return Task.FromResult(kvp.Value); | ||
| } | ||
|
|
||
| return Task.FromResult(new HttpResponseMessage(HttpStatusCode.NotFound)); |
…nector # Conflicts: # nocturne.sln # src/Connectors/Nocturne.Connectors.Core/Models/ConnectSource.cs # src/Core/Nocturne.Core.Constants/DataSources.cs # src/Core/Nocturne.Core.Constants/ServiceNames.cs
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AuthTokenProviderBaseGlucoseTrendenum (from LoopKit/LoopWorkspace#266)New files
Modified files
ConnectSource.cs— addedEversenseenum valueDataSources.cs— addedEversenseConnectorconstant +IsConnector()updateServiceNames.cs— addedEversenseConnectorconstantConnectorPropertyKey.cs— addedPatientUsernamekeyTest plan
IConnectorInstallerin Aspire