-
Notifications
You must be signed in to change notification settings - Fork 249
/
sonar-project.properties
100 lines (96 loc) · 7.47 KB
/
sonar-project.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Customize sonar.sources, sonar.exclusions, sonar.coverage.exclusions, sonar.tests and sonar
# unit test coverage reports based on your solutions
# Refer to https://docs.sonarqube.org/latest/project-administration/narrowing-the-focus/
# for details on sources and exclusions. Note also .gitignore
#
sonar.sources=source, deployment
# Focusing sonarqube analysis on non test code first and reducing noise from analysis of test code. Projects
# can customize the exclusions to include analyzing of test code if desired
sonar.exclusions=\
**/coverage/lcov-report/**, \
**/dist/**, \
source/use_cases/**, \
source/tools/**, \
source/**/*.js, \
deployment/**/*.js, \
source/**/test/**
# Sensor SonarJS Coverage [javascript] was not allowing globbing
# for sonar.javascript.lcov.reportPaths such as this
# source/test/coverage-reports/jest/*/lcov.info
# so we have to provide an explicit list of reportPaths
sonar.javascript.lcov.reportPaths= \
source/patterns/@aws-solutions-constructs/aws-alb-fargate/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-alb-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-apigateway-dynamodb/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-apigateway-iot/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-apigateway-kinesisstreams/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-apigateway-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-apigateway-sagemakerendpoint/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-apigateway-sqs/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-cloudfront-apigateway-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-cloudfront-apigateway/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-cloudfront-mediastore/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-cloudfront-s3/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-cognito-apigateway-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-dynamodbstreams-lambda-elasticsearch-kibana/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-dynamodbstreams-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-eventbridge-kinesisfirehose-s3/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-eventbridge-kinesisstreams/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-eventbridge-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-eventbridge-sns/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-eventbridge-sqs/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-eventbridge-stepfunctions/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-fargate-dynamodb/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-fargate-eventbridge/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-fargate-kinesisfirehose/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-fargate-kinesisstreams/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-fargate-opensearch/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-fargate-s3/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-fargate-secretsmanager/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-fargate-sns/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-fargate-sqs/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-fargate-ssmstringparameter/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-fargate-stepfunctions/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-iot-kinesisfirehose-s3/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-iot-kinesisstreams/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-iot-lambda-dynamodb/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-iot-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-iot-s3/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-iot-sqs/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-kinesisfirehose-s3/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-kinesisstreams-kinesisfirehose-s3/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-kinesisstreams-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-dynamodb/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-elasticachememcached/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-elasticsearch-kibana/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-eventbridge/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-kendra/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-kinesisfirehose/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-kinesisstreams/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-opensearch/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-s3/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-secretsmanager/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-sns/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-sqs-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-sqs/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-ssmstringparameter/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-stepfunctions/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-openapigateway-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-route53-alb/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-route53-apigateway/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-s3-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-s3-sns/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-s3-sqs/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-s3-stepfunctions/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-sns-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-sns-sqs/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-sqs-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-wafwebacl-alb/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-wafwebacl-apigateway/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-wafwebacl-appsync/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-wafwebacl-cloudfront/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/core/coverage/lcov.info
# Encoding of the source files
sonar.sourceEncoding=UTF-8