aws-solutions / clickstream-analytics-on-aws

Build clickstream analytics on AWS for your mobile and web applications
https://aws.amazon.com/solutions/implementations/clickstream-analytics-on-aws/
Apache License 2.0
71 stars 22 forks source link

fix: retry failed when stackTemplateVersion is null #1571

Closed tyyzqmf closed 3 months ago

tyyzqmf commented 3 months ago

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Summary

(describe what this merge request does)

Implementation highlights

(describe how the merge request does for feature changes, share the RFC link if it has)

Test checklist

Is it a breaking change

Miscellaneous

github-actions[bot] commented 3 months ago

Etl common library's test coverage

Overall Project 93.55% :green_apple:

There is no coverage information present for the Files changed

github-actions[bot] commented 3 months ago

Streaming ingestion flink application's test coverage

Overall Project 93.82% :green_apple:

There is no coverage information present for the Files changed

github-actions[bot] commented 3 months ago

Data Pipeline spark application's test coverage

Overall Project 98.15% :green_apple:

There is no coverage information present for the Files changed

github-actions[bot] commented 3 months ago

Code Coverage

Package Line Rate Branch Rate Health
src 100% 88%
src.analytics 100% 100%
src.analytics.lambdas 92% 88%
src.analytics.lambdas.clear-expired-events-workflow 100% 100%
src.analytics.lambdas.custom-resource 96% 87%
src.analytics.lambdas.load-data-workflow 99% 90%
src.analytics.lambdas.refresh-materialized-views-workflow 96% 88%
src.analytics.lambdas.scan-metadata-workflow 97% 88%
src.analytics.lambdas.sql-execution-sfn 93% 60%
src.analytics.lambdas.user-segments-workflow 96% 79%
src.analytics.private 100% 92%
src.analytics.private.athena 100% 100%
src.analytics.private.segments 100% 100%
src.base-lib.src 100% 100%
src.base-lib.src.auth 89% 65%
src.base-lib.src.common 97% 82%
src.base-lib.src.constant 100% 100%
src.base-lib.src.model 100% 100%
src.common 98% 80%
src.common.lambda 97% 86%
src.control-plane 99% 71%
src.control-plane.auth 93% 12%
src.control-plane.backend 100% 84%
src.control-plane.backend.lambda.api 97% 33%
src.control-plane.backend.lambda.api.common 92% 79%
src.control-plane.backend.lambda.api.middle-ware 90% 83%
src.control-plane.backend.lambda.api.model 95% 52%
src.control-plane.backend.lambda.api.router 98% 97%
src.control-plane.backend.lambda.api.service 86% 68%
src.control-plane.backend.lambda.api.service.quicksight 93% 82%
src.control-plane.backend.lambda.api.service.segments 95% 74%
src.control-plane.backend.lambda.api.store.aws 87% 57%
src.control-plane.backend.lambda.api.store.dynamodb 90% 77%
src.control-plane.backend.lambda.api.test.api 99% 83%
src.control-plane.backend.lambda.api.test.api.segments 100% 100%
src.control-plane.backend.lambda.batch-insert-ddb 94% 86%
src.control-plane.backend.lambda.listen-stack-status 81% 49%
src.control-plane.backend.lambda.listen-state-status 91% 50%
src.control-plane.backend.lambda.sfn-action 88% 50%
src.control-plane.backend.lambda.sfn-workflow 74% 68%
src.control-plane.backend.layer.lambda-web-adapter 98% 40%
src.control-plane.private 100% 100%
src.data-pipeline 100% 100%
src.data-pipeline.lambda.copy-assets 97% 90%
src.data-pipeline.lambda.emr-job-state-listener 97% 92%
src.data-pipeline.lambda.emr-job-submitter 94% 76%
src.data-pipeline.lambda.emr-serverless-app 96% 86%
src.data-pipeline.lambda.init-app-config 100% 82%
src.data-pipeline.lambda.partition-syncer 98% 89%
src.data-pipeline.tables 100% 100%
src.data-pipeline.utils 100% 97%
src.ingestion-server.common-resources 100% 71%
src.ingestion-server.custom-resource 100% 100%
src.ingestion-server.custom-resource.delete-ecs-cluster 98% 90%
src.ingestion-server.custom-resource.update-alb-rules 90% 74%
src.ingestion-server.kafka-s3-connector 100% 100%
src.ingestion-server.kafka-s3-connector.custom-resource.kafka-s3-sink-connector 96% 82%
src.ingestion-server.kinesis-data-stream 100% 100%
src.ingestion-server.kinesis-data-stream.kinesis-to-s3-lambda 100% 100%
src.ingestion-server.kinesis-data-stream.private 100% 100%
src.ingestion-server.server 98% 89%
src.ingestion-server.server-v2 100% 95%
src.ingestion-server.server-v2.private 99% 84%
src.ingestion-server.server.private 100% 90%
src.metrics 100% 100%
src.metrics.custom-resource.add-sns-subscription 95% 86%
src.metrics.custom-resource.get-interval 99% 97%
src.metrics.custom-resource.put-dashboard 97% 84%
src.metrics.custom-resource.set-metrics-widgets 98% 93%
src.private 96% 73%
src.reporting 100% 82%
src.reporting.lambda.custom-resource.quicksight 94% 81%
src.reporting.private 90% 54%
src.streaming-ingestion 100% 100%
src.streaming-ingestion.lambdas.custom-resource 86% 63%
src.streaming-ingestion.private 99% 89%
src.streaming-ingestion.redshift 100% 100%
test 96% 83%
test.common 93% 100%
test.control-plane 97% 64%
test.ingestion-server.server 97% 88%
Summary 96% (79422 / 82824) 74% (6806 / 9149)

Minimum allowed line rate is 60%

aws-solution-clickstream-analytics commented 3 months ago

SonarQube Quality Gate Result

Metric Status Value Error Threshold
Reliability rating :white_check_mark: OK 1 > 1
Security rating :white_check_mark: OK 1 > 1
Sqale rating :white_check_mark: OK 1 > 1
Coverage :white_check_mark: OK 83.60 < 80
Duplicated lines density :white_check_mark: OK 8.60 > 30
Blocker violations :white_check_mark: OK 0 > 0
Bugs :white_check_mark: OK 0 > 0
Code smells :white_check_mark: OK 10 > 40
Critical violations :white_check_mark: OK 0 > 0
Major violations :white_check_mark: OK 0 > 0
Vulnerabilities :white_check_mark: OK 0 > 0

View on SonarQube

updated: 8/20/2024, 06:47:02 (UTC+0)
aws-solution-clickstream-analytics commented 3 months ago

SonarQube Code Analytics

Quality Gate passed

passed

Additional information

The following metrics might not affect the Quality Gate status but improving them will improve your project code quality.

Issues

bug 0 Bugs

vulnerability 0 Vulnerabilities

code_smell 0 Code Smells

Coverage and Duplications

No data Coverage

No data Duplication