Skip to content

refactor(ConsumerService): Optimize the implementation of getRateLimi…

Codecov / codecov/patch succeeded Nov 27, 2024 in 1s

61.53% of diff hit (target 51.20%)

View this Pull Request on Codecov

61.53% of diff hit (target 51.20%)

Annotations

Check warning on line 41 in apollo-common/src/main/java/com/ctrip/framework/apollo/common/exception/BadRequestException.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

apollo-common/src/main/java/com/ctrip/framework/apollo/common/exception/BadRequestException.java#L41

Added line #L41 was not covered by tests

Check warning on line 87 in apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/entity/ConsumerToken.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/entity/ConsumerToken.java#L87

Added line #L87 was not covered by tests

Check warning on line 96 in apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/filter/ConsumerAuthenticationFilter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/filter/ConsumerAuthenticationFilter.java#L93-L96

Added lines #L93 - L96 were not covered by tests

Check warning on line 117 in apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/filter/ConsumerAuthenticationFilter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/filter/ConsumerAuthenticationFilter.java#L116-L117

Added lines #L116 - L117 were not covered by tests

Check warning on line 128 in apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java#L128

Added line #L128 was not covered by tests

Check warning on line 240 in apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java#L240

Added line #L240 was not covered by tests

Check warning on line 351 in apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java#L351

Added line #L351 was not covered by tests

Check warning on line 356 in apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java#L356

Added line #L356 was not covered by tests

Check warning on line 433 in apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java#L433

Added line #L433 was not covered by tests

Check warning on line 441 in apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java#L441

Added line #L441 was not covered by tests

Check warning on line 86 in apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ConsumerController.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ConsumerController.java#L86

Added line #L86 was not covered by tests

Check warning on line 86 in apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/consumer/ConsumerCreateRequestVO.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/consumer/ConsumerCreateRequestVO.java#L85-L86

Added lines #L85 - L86 were not covered by tests

Check warning on line 111 in apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/consumer/ConsumerInfo.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/consumer/ConsumerInfo.java#L111

Added line #L111 was not covered by tests