forked from awslabs/aws-solutions-constructs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-project.properties
71 lines (67 loc) · 4.96 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
# 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-kinesisstreams-kinesisfirehose-s3/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-apigateway-iot/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-apigateway-sqs/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-apigateway-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-cloudfront-s3/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-sns-sqs/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-s3-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-sqs/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-events-rule-sqs/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-apigateway-kinesisstreams/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/core/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-iot-kinesisfirehose-s3/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-dynamodb-stream-lambda-elasticsearch-kibana/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-cloudfront-apigateway-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-kinesisfirehose-s3/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-s3/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-kinesisfirehose-s3-and-kinesisanalytics/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-apigateway-sagemakerendpoint/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-sns/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-events-rule-sns/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-sqs-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-apigateway-dynamodb/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-dynamodb-stream-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-events-rule-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-elasticsearch-kibana/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-kinesisstreams-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-cloudfront-mediastore/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-events-rule-kinesisstreams/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-sns-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-cognito-apigateway-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-events-rule-step-function/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-iot-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-events-rule-kinesisfirehose-s3/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-sqs-lambda/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-iot-lambda-dynamodb/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-dynamodb/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-s3-step-function/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-cloudfront-apigateway/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-step-function/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-s3-sqs/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/coverage/lcov.info, \
source/patterns/@aws-solutions-constructs/aws-lambda-sagemakerendpoint/coverage/lcov.info \
source/patterns/@aws-solutions-constructs/aws-lambda-ssmstringparameter/coverage/lcov.info \
source/patterns/@aws-solutions-constructs/aws-lambda-secretsmanager/coverage/lcov.info
# Encoding of the source files
sonar.sourceEncoding=UTF-8