Skip to content

Support for Method level @RateLimiting annoation #250 #310

Support for Method level @RateLimiting annoation #250

Support for Method level @RateLimiting annoation #250 #310

Triggered via push March 11, 2024 18:48
Status Failure
Total duration 1m 24s
Artifacts

maven.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
MethodRateLimitTest.assert_no_rate_limit_with_skip_condition_matches: examples/general-tests/src/main/java/com/giffing/bucket4j/spring/boot/starter/general/tests/filter/method/MethodRateLimitTest.java#L1
Failed to load ApplicationContext for [WebMergedContextConfiguration@4608876e testClass = com.giffing.bucket4j.spring.boot.starter.general.tests.filter.method.MethodRateLimitTest, locations = [], classes = [com.giffing.bucket4j.spring.boot.starter.general.tests.filter.method.MethodTestApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["debug=true", "bucket4j.methods[0].name=default", "bucket4j.methods[0].cache-name=buckets", "bucket4j.methods[0].rate-limit.bandwidths[0].capacity=5", "bucket4j.methods[0].rate-limit.bandwidths[0].time=10", "bucket4j.methods[0].rate-limit.bandwidths[0].unit=seconds", "bucket4j.methods[0].rate-limit.bandwidths[0].refill-speed=greedy", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@7e19ebf0, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@68f4865, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@5a5338df, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@4e423aa2, org.springframework.boot.test.context.SpringBootTestAnnotation@404e24d4], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
MethodRateLimitTest.assert_rate_limit_with_fallback_method: examples/general-tests/src/main/java/com/giffing/bucket4j/spring/boot/starter/general/tests/filter/method/MethodRateLimitTest.java#L1
ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@4608876e testClass = com.giffing.bucket4j.spring.boot.starter.general.tests.filter.method.MethodRateLimitTest, locations = [], classes = [com.giffing.bucket4j.spring.boot.starter.general.tests.filter.method.MethodTestApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["debug=true", "bucket4j.methods[0].name=default", "bucket4j.methods[0].cache-name=buckets", "bucket4j.methods[0].rate-limit.bandwidths[0].capacity=5", "bucket4j.methods[0].rate-limit.bandwidths[0].time=10", "bucket4j.methods[0].rate-limit.bandwidths[0].unit=seconds", "bucket4j.methods[0].rate-limit.bandwidths[0].refill-speed=greedy", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@7e19ebf0, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@68f4865, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@5a5338df, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@4e423aa2, org.springframework.boot.test.context.SpringBootTestAnnotation@404e24d4], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
MethodRateLimitTest.assert_rate_limit_with_cache_key: examples/general-tests/src/main/java/com/giffing/bucket4j/spring/boot/starter/general/tests/filter/method/MethodRateLimitTest.java#L1
ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@4608876e testClass = com.giffing.bucket4j.spring.boot.starter.general.tests.filter.method.MethodRateLimitTest, locations = [], classes = [com.giffing.bucket4j.spring.boot.starter.general.tests.filter.method.MethodTestApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["debug=true", "bucket4j.methods[0].name=default", "bucket4j.methods[0].cache-name=buckets", "bucket4j.methods[0].rate-limit.bandwidths[0].capacity=5", "bucket4j.methods[0].rate-limit.bandwidths[0].time=10", "bucket4j.methods[0].rate-limit.bandwidths[0].unit=seconds", "bucket4j.methods[0].rate-limit.bandwidths[0].refill-speed=greedy", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@7e19ebf0, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@68f4865, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@5a5338df, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@4e423aa2, org.springframework.boot.test.context.SpringBootTestAnnotation@404e24d4], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
MethodRateLimitTest.assert_no_rate_limit_with_execute_condition_does_not_match: examples/general-tests/src/main/java/com/giffing/bucket4j/spring/boot/starter/general/tests/filter/method/MethodRateLimitTest.java#L1
ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@4608876e testClass = com.giffing.bucket4j.spring.boot.starter.general.tests.filter.method.MethodRateLimitTest, locations = [], classes = [com.giffing.bucket4j.spring.boot.starter.general.tests.filter.method.MethodTestApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["debug=true", "bucket4j.methods[0].name=default", "bucket4j.methods[0].cache-name=buckets", "bucket4j.methods[0].rate-limit.bandwidths[0].capacity=5", "bucket4j.methods[0].rate-limit.bandwidths[0].time=10", "bucket4j.methods[0].rate-limit.bandwidths[0].unit=seconds", "bucket4j.methods[0].rate-limit.bandwidths[0].refill-speed=greedy", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@7e19ebf0, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@68f4865, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@5a5338df, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@4e423aa2, org.springframework.boot.test.context.SpringBootTestAnnotation@404e24d4], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
MethodRateLimitTest.assert_rate_limit_with_skip_condition_does_not_match: examples/general-tests/src/main/java/com/giffing/bucket4j/spring/boot/starter/general/tests/filter/method/MethodRateLimitTest.java#L1
ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@4608876e testClass = com.giffing.bucket4j.spring.boot.starter.general.tests.filter.method.MethodRateLimitTest, locations = [], classes = [com.giffing.bucket4j.spring.boot.starter.general.tests.filter.method.MethodTestApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["debug=true", "bucket4j.methods[0].name=default", "bucket4j.methods[0].cache-name=buckets", "bucket4j.methods[0].rate-limit.bandwidths[0].capacity=5", "bucket4j.methods[0].rate-limit.bandwidths[0].time=10", "bucket4j.methods[0].rate-limit.bandwidths[0].unit=seconds", "bucket4j.methods[0].rate-limit.bandwidths[0].refill-speed=greedy", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@7e19ebf0, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@68f4865, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@5a5338df, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@4e423aa2, org.springframework.boot.test.context.SpringBootTestAnnotation@404e24d4], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
MethodRateLimitTest.assert_rate_limit_with_execute_condition_matches: examples/general-tests/src/main/java/com/giffing/bucket4j/spring/boot/starter/general/tests/filter/method/MethodRateLimitTest.java#L1
ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@4608876e testClass = com.giffing.bucket4j.spring.boot.starter.general.tests.filter.method.MethodRateLimitTest, locations = [], classes = [com.giffing.bucket4j.spring.boot.starter.general.tests.filter.method.MethodTestApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["debug=true", "bucket4j.methods[0].name=default", "bucket4j.methods[0].cache-name=buckets", "bucket4j.methods[0].rate-limit.bandwidths[0].capacity=5", "bucket4j.methods[0].rate-limit.bandwidths[0].time=10", "bucket4j.methods[0].rate-limit.bandwidths[0].unit=seconds", "bucket4j.methods[0].rate-limit.bandwidths[0].refill-speed=greedy", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@7e19ebf0, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@68f4865, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@5a5338df, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@4e423aa2, org.springframework.boot.test.context.SpringBootTestAnnotation@404e24d4], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-java@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/