chore(track): add type mappings for kafka events #1221
Test results ✅
✅ test/TEST-de.codecentric.habitcentric.track.ApplicationConfigurationTest.xml
2 tests were completed in 2s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.codecentric.habitcentric.track.ApplicationConfigurationTest | 2✅ | 2s |
✅ de.codecentric.habitcentric.track.ApplicationConfigurationTest
✅ shouldUseInsecureJwtDecoder()
✅ shouldUseFixedLocaleUs()
✅ test/TEST-de.codecentric.habitcentric.track.auth.AuthErrorExceptionTest.xml
4 tests were completed in 77ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.codecentric.habitcentric.track.auth.AuthErrorExceptionTest | 4✅ | 77ms |
✅ de.codecentric.habitcentric.track.auth.AuthErrorExceptionTest
✅ withErrorAndCauseAndTemplateProperties()
✅ withError()
✅ withErrorAndTemplateProperties()
✅ withErrorAndCause()
✅ test/TEST-de.codecentric.habitcentric.track.auth.InsecureJwtDecoderTest.xml
4 tests were completed in 173ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.codecentric.habitcentric.track.auth.InsecureJwtDecoderTest | 4✅ | 173ms |
✅ de.codecentric.habitcentric.track.auth.InsecureJwtDecoderTest
✅ decode_whenInvalidSignatureToken_thenSuccess()
✅ decode_whenMalformedPayloadToken_thenJwtException()
✅ decode_whenValidToken_thenSuccess()
✅ decode_whenMalformedHeaderToken_thenJwtException()
✅ test/TEST-de.codecentric.habitcentric.track.auth.UserIdArgumentResolverTest.xml
5 tests were completed in 625ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.codecentric.habitcentric.track.auth.UserIdArgumentResolverTest | 5✅ | 625ms |
✅ de.codecentric.habitcentric.track.auth.UserIdArgumentResolverTest
✅ shouldNotSupportParametersWithoutUserIdAnnotation()
✅ shouldThrowAnExceptionWhenTheAuthorizationHeaderIsMissing()
✅ shouldSupportParametersWithUserIdAnnotation()
✅ shouldExtractUserIdFromJwtToken()
✅ shouldThrowAnExceptionWhenTheAuthorizationHeaderIsBasicAuth()
✅ test/TEST-de.codecentric.habitcentric.track.error.ApiErrorExceptionHandlerTest.xml
5 tests were completed in 67ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.codecentric.habitcentric.track.error.ApiErrorExceptionHandlerTest | 5✅ | 67ms |
✅ de.codecentric.habitcentric.track.error.ApiErrorExceptionHandlerTest
✅ handleShouldMapApiExceptionsWithCauseAndTemplateProperties()
✅ toResponseErrorShouldMapApiErrorsWithoutDetail()
✅ toResponseErrorShouldMapApiErrors()
✅ handleShouldMapApiExceptions()
✅ toResponseErrorShouldMapApiErrorsWithPlaceholders()
✅ test/TEST-de.codecentric.habitcentric.track.error.ApiErrorExceptionTest.xml
4 tests were completed in 6ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.codecentric.habitcentric.track.error.ApiErrorExceptionTest | 4✅ | 6ms |
✅ de.codecentric.habitcentric.track.error.ApiErrorExceptionTest
✅ withErrorAndCauseAndTemplateProperties()
✅ withError()
✅ withErrorAndTemplateProperties()
✅ withErrorAndCause()
✅ test/TEST-de.codecentric.habitcentric.track.error.ApiErrorResponseTest.xml
1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.codecentric.habitcentric.track.error.ApiErrorResponseTest | 1✅ | 1ms |
✅ de.codecentric.habitcentric.track.error.ApiErrorResponseTest
✅ errorOccurrencesCanBeIdentifiedByAnUniqueId()
✅ test/TEST-de.codecentric.habitcentric.track.error.ApiErrorTest.xml
8 tests were completed in 140ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.codecentric.habitcentric.track.error.ApiErrorTest | 8✅ | 140ms |
✅ de.codecentric.habitcentric.track.error.ApiErrorTest
✅ statusCodeShouldBeValid()
✅ titleShouldNotBeBlank()
✅ detailCanBeAnEmptyOptional()
✅ detailShouldNotBeNull()
✅ codeShouldBeUnique()
✅ getDetailCanReplaceTemplateProperties()
✅ titleShouldNotHavePlaceholders()
✅ codeShouldNotBeBlank()
✅ test/TEST-de.codecentric.habitcentric.track.habit.HabitTrackingControllerTest.xml
1 tests were completed in 24ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.codecentric.habitcentric.track.habit.HabitTrackingControllerTest | 1✅ | 24ms |
✅ de.codecentric.habitcentric.track.habit.HabitTrackingControllerTest
✅ shouldExtractDatesFromTrackRecords()
✅ test/TEST-de.codecentric.habitcentric.track.habit.HabitTrackingControllerWebMvcTest.xml
3 tests were completed in 312ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.codecentric.habitcentric.track.habit.HabitTrackingControllerWebMvcTest | 3✅ | 312ms |
✅ de.codecentric.habitcentric.track.habit.HabitTrackingControllerWebMvcTest
✅ shouldReturnEmptyArrayWhenTrackRecordsAreNotFound()
✅ shouldFilterOutDuplicateTrackRecords()
✅ shouldReturnTrackRecords()
✅ test/TEST-de.codecentric.habitcentric.track.habit.HabitTrackingErrorExceptionTest.xml
2 tests were completed in 1ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.codecentric.habitcentric.track.habit.HabitTrackingErrorExceptionTest | 2✅ | 1ms |
✅ de.codecentric.habitcentric.track.habit.HabitTrackingErrorExceptionTest
✅ withErrorAndCauseAndTemplateProperties()
✅ withErrorAndTemplateProperties()
✅ test/TEST-de.codecentric.habitcentric.track.habit.jwt.HabitTrackingControllerJwtWebMvcTest.xml
3 tests were completed in 35ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.codecentric.habitcentric.track.habit.jwt.HabitTrackingControllerJwtWebMvcTest | 3✅ | 35ms |
✅ de.codecentric.habitcentric.track.habit.jwt.HabitTrackingControllerJwtWebMvcTest
✅ shouldReturnEmptyArrayWhenTrackRecordsAreNotFound()
✅ shouldFilterOutDuplicateTrackRecords()
✅ shouldReturnTrackRecords()
✅ test/TEST-de.codecentric.habitcentric.track.habit.validation.ConstraintViolationExceptionHandlerTest.xml
1 tests were completed in 53ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.codecentric.habitcentric.track.habit.validation.ConstraintViolationExceptionHandlerTest | 1✅ | 53ms |
✅ de.codecentric.habitcentric.track.habit.validation.ConstraintViolationExceptionHandlerTest
✅ canHandleConstraintViolationExceptions()