Skip to content

Commit 7397ae2

Browse files
committed
updated more validations and tests
1 parent 0f23492 commit 7397ae2

File tree

17 files changed

+66
-66
lines changed

17 files changed

+66
-66
lines changed

validator/src/main/resources/expected-data-template/dotnet/eks/linux/client-call-metric.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
value: {{serviceName}}
88
-
99
name: Operation
10-
value: GET /client-call
10+
value: GET client-call
1111
-
1212
name: Environment
1313
value: eks:{{platformInfo}}/{{appNamespace}}
@@ -97,7 +97,7 @@
9797
value: {{serviceName}}
9898
-
9999
name: Operation
100-
value: GET /client-call
100+
value: GET client-call
101101
-
102102
name: Environment
103103
value: eks:{{platformInfo}}/{{appNamespace}}
@@ -187,7 +187,7 @@
187187
value: {{serviceName}}
188188
-
189189
name: Operation
190-
value: GET /client-call
190+
value: GET client-call
191191
-
192192
name: Environment
193193
value: eks:{{platformInfo}}/{{appNamespace}}

validator/src/main/resources/expected-data-template/dotnet/k8s/client-call-metric.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
value: {{serviceName}}
88
-
99
name: Operation
10-
value: GET /client-call
10+
value: GET client-call
1111
-
1212
name: Environment
1313
value: k8s:{{platformInfo}}/{{appNamespace}}
@@ -97,7 +97,7 @@
9797
value: {{serviceName}}
9898
-
9999
name: Operation
100-
value: GET /client-call
100+
value: GET client-call
101101
-
102102
name: Environment
103103
value: k8s:{{platformInfo}}/{{appNamespace}}
@@ -187,7 +187,7 @@
187187
value: {{serviceName}}
188188
-
189189
name: Operation
190-
value: GET /client-call
190+
value: GET client-call
191191
-
192192
name: Environment
193193
value: k8s:{{platformInfo}}/{{appNamespace}}

validator/src/main/resources/validations/dotnet/ec2/asg/log-validation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
-
22
validationType: "cw-log"
3-
httpPath: "/outgoing-http-call"
3+
httpPath: "outgoing-http-call"
44
httpMethod: "get"
55
callingType: "http"
66
expectedLogStructureTemplate: "DOTNET_EC2_ASG_OUTGOING_HTTP_CALL_LOG"
77
-
88
validationType: "cw-log"
9-
httpPath: "/aws-sdk-call"
9+
httpPath: "aws-sdk-call"
1010
httpMethod: "get"
1111
callingType: "http-with-query"
1212
expectedLogStructureTemplate: "DOTNET_EC2_ASG_AWS_SDK_CALL_LOG"
1313
-
1414
validationType: "cw-log"
15-
httpPath: "/remote-service"
15+
httpPath: "remote-service"
1616
httpMethod: "get"
1717
callingType: "http-with-query"
1818
expectedLogStructureTemplate: "DOTNET_EC2_ASG_REMOTE_SERVICE_LOG"
1919
-
2020
validationType: "cw-log"
21-
httpPath: "/client-call"
21+
httpPath: "client-call"
2222
httpMethod: "get"
2323
callingType: "http"
2424
expectedLogStructureTemplate: "DOTNET_EC2_ASG_CLIENT_CALL_LOG"

validator/src/main/resources/validations/dotnet/ec2/asg/metric-validation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
-
22
validationType: "cw-metric"
3-
httpPath: "/outgoing-http-call"
3+
httpPath: "outgoing-http-call"
44
httpMethod: "get"
55
callingType: "http"
66
expectedMetricTemplate: "DOTNET_EC2_ASG_OUTGOING_HTTP_CALL_METRIC"
77
-
88
validationType: "cw-metric"
9-
httpPath: "/aws-sdk-call"
9+
httpPath: "aws-sdk-call"
1010
httpMethod: "get"
1111
callingType: "http-with-query"
1212
expectedMetricTemplate: "DOTNET_EC2_ASG_AWS_SDK_CALL_METRIC"
1313
-
1414
validationType: "cw-metric"
15-
httpPath: "/remote-service"
15+
httpPath: "remote-service"
1616
httpMethod: "get"
1717
callingType: "http-with-query"
1818
expectedMetricTemplate: "DOTNET_EC2_ASG_REMOTE_SERVICE_METRIC"
1919
-
2020
validationType: "cw-metric"
21-
httpPath: "/client-call"
21+
httpPath: "client-call"
2222
httpMethod: "get"
2323
callingType: "http"
2424
expectedMetricTemplate: "DOTNET_EC2_ASG_CLIENT_CALL_METRIC"
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
-
22
validationType: "trace"
3-
httpPath: "/outgoing-http-call"
3+
httpPath: "outgoing-http-call"
44
httpMethod: "get"
55
callingType: "http"
66
expectedTraceTemplate: "DOTNET_EC2_ASG_OUTGOING_HTTP_CALL_TRACE"
77
-
88
validationType: "trace"
9-
httpPath: "/aws-sdk-call"
9+
httpPath: "aws-sdk-call"
1010
httpMethod: "get"
1111
callingType: "http-with-query"
1212
expectedTraceTemplate: "DOTNET_EC2_ASG_AWS_SDK_CALL_TRACE"
1313
-
1414
validationType: "trace"
15-
httpPath: "/remote-service"
15+
httpPath: "remote-service"
1616
httpMethod: "get"
1717
callingType: "http-with-query"
1818
expectedTraceTemplate: "DOTNET_EC2_ASG_REMOTE_SERVICE_TRACE"
1919
-
2020
validationType: "trace"
21-
httpPath: "/client-call"
21+
httpPath: "client-call"
2222
httpMethod: "get"
2323
callingType: "http"
2424
expectedTraceTemplate: "DOTNET_EC2_ASG_CLIENT_CALL_TRACE"

validator/src/main/resources/validations/dotnet/ec2/default/log-validation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
-
22
validationType: "cw-log"
3-
httpPath: "/outgoing-http-call"
3+
httpPath: "outgoing-http-call"
44
httpMethod: "get"
55
callingType: "http"
66
expectedLogStructureTemplate: "DOTNET_EC2_DEFAULT_OUTGOING_HTTP_CALL_LOG"
77
-
88
validationType: "cw-log"
9-
httpPath: "/aws-sdk-call"
9+
httpPath: "aws-sdk-call"
1010
httpMethod: "get"
1111
callingType: "http-with-query"
1212
expectedLogStructureTemplate: "DOTNET_EC2_DEFAULT_AWS_SDK_CALL_LOG"
1313
-
1414
validationType: "cw-log"
15-
httpPath: "/remote-service"
15+
httpPath: "remote-service"
1616
httpMethod: "get"
1717
callingType: "http-with-query"
1818
expectedLogStructureTemplate: "DOTNET_EC2_DEFAULT_REMOTE_SERVICE_LOG"
1919
-
2020
validationType: "cw-log"
21-
httpPath: "/client-call"
21+
httpPath: "client-call"
2222
httpMethod: "get"
2323
callingType: "http"
2424
expectedLogStructureTemplate: "DOTNET_EC2_DEFAULT_CLIENT_CALL_LOG"

validator/src/main/resources/validations/dotnet/ec2/default/metric-validation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
-
22
validationType: "cw-metric"
3-
httpPath: "/outgoing-http-call"
3+
httpPath: "outgoing-http-call"
44
httpMethod: "get"
55
callingType: "http"
66
expectedMetricTemplate: "DOTNET_EC2_DEFAULT_OUTGOING_HTTP_CALL_METRIC"
77
-
88
validationType: "cw-metric"
9-
httpPath: "/aws-sdk-call"
9+
httpPath: "aws-sdk-call"
1010
httpMethod: "get"
1111
callingType: "http-with-query"
1212
expectedMetricTemplate: "DOTNET_EC2_DEFAULT_AWS_SDK_CALL_METRIC"
1313
-
1414
validationType: "cw-metric"
15-
httpPath: "/remote-service"
15+
httpPath: "remote-service"
1616
httpMethod: "get"
1717
callingType: "http-with-query"
1818
expectedMetricTemplate: "DOTNET_EC2_DEFAULT_REMOTE_SERVICE_METRIC"
1919
-
2020
validationType: "cw-metric"
21-
httpPath: "/client-call"
21+
httpPath: "client-call"
2222
httpMethod: "get"
2323
callingType: "http"
2424
expectedMetricTemplate: "DOTNET_EC2_DEFAULT_CLIENT_CALL_METRIC"
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
-
22
validationType: "trace"
3-
httpPath: "/outgoing-http-call"
3+
httpPath: "outgoing-http-call"
44
httpMethod: "get"
55
callingType: "http"
66
expectedTraceTemplate: "DOTNET_EC2_DEFAULT_OUTGOING_HTTP_CALL_TRACE"
77
-
88
validationType: "trace"
9-
httpPath: "/aws-sdk-call"
9+
httpPath: "aws-sdk-call"
1010
httpMethod: "get"
1111
callingType: "http-with-query"
1212
expectedTraceTemplate: "DOTNET_EC2_DEFAULT_AWS_SDK_CALL_TRACE"
1313
-
1414
validationType: "trace"
15-
httpPath: "/remote-service"
15+
httpPath: "remote-service"
1616
httpMethod: "get"
1717
callingType: "http-with-query"
1818
expectedTraceTemplate: "DOTNET_EC2_DEFAULT_REMOTE_SERVICE_TRACE"
1919
-
2020
validationType: "trace"
21-
httpPath: "/client-call"
21+
httpPath: "client-call"
2222
httpMethod: "get"
2323
callingType: "http"
2424
expectedTraceTemplate: "DOTNET_EC2_DEFAULT_CLIENT_CALL_TRACE"

validator/src/main/resources/validations/dotnet/ec2/windows/log-validation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
-
22
validationType: "cw-log"
3-
httpPath: "/outgoing-http-call"
3+
httpPath: "outgoing-http-call"
44
httpMethod: "get"
55
callingType: "http"
66
expectedLogStructureTemplate: "DOTNET_EC2_WINDOWS_DEFAULT_OUTGOING_HTTP_CALL_LOG"
77
-
88
validationType: "cw-log"
9-
httpPath: "/aws-sdk-call"
9+
httpPath: "aws-sdk-call"
1010
httpMethod: "get"
1111
callingType: "http-with-query"
1212
expectedLogStructureTemplate: "DOTNET_EC2_WINDOWS_DEFAULT_AWS_SDK_CALL_LOG"
1313
-
1414
validationType: "cw-log"
15-
httpPath: "/remote-service"
15+
httpPath: "remote-service"
1616
httpMethod: "get"
1717
callingType: "http-with-query"
1818
expectedLogStructureTemplate: "DOTNET_EC2_WINDOWS_DEFAULT_REMOTE_SERVICE_LOG"
1919
-
2020
validationType: "cw-log"
21-
httpPath: "/client-call"
21+
httpPath: "client-call"
2222
httpMethod: "get"
2323
callingType: "http"
2424
expectedLogStructureTemplate: "DOTNET_EC2_WINDOWS_DEFAULT_CLIENT_CALL_LOG"

validator/src/main/resources/validations/dotnet/ec2/windows/metric-validation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
-
22
validationType: "cw-metric"
3-
httpPath: "/outgoing-http-call"
3+
httpPath: "outgoing-http-call"
44
httpMethod: "get"
55
callingType: "http"
66
expectedMetricTemplate: "DOTNET_EC2_WINDOWS_DEFAULT_OUTGOING_HTTP_CALL_METRIC"
77
-
88
validationType: "cw-metric"
9-
httpPath: "/aws-sdk-call"
9+
httpPath: "aws-sdk-call"
1010
httpMethod: "get"
1111
callingType: "http-with-query"
1212
expectedMetricTemplate: "DOTNET_EC2_WINDOWS_DEFAULT_AWS_SDK_CALL_METRIC"
1313
-
1414
validationType: "cw-metric"
15-
httpPath: "/remote-service"
15+
httpPath: "remote-service"
1616
httpMethod: "get"
1717
callingType: "http-with-query"
1818
expectedMetricTemplate: "DOTNET_EC2_WINDOWS_DEFAULT_REMOTE_SERVICE_METRIC"
1919
-
2020
validationType: "cw-metric"
21-
httpPath: "/client-call"
21+
httpPath: "client-call"
2222
httpMethod: "get"
2323
callingType: "http"
2424
expectedMetricTemplate: "DOTNET_EC2_WINDOWS_DEFAULT_CLIENT_CALL_METRIC"

0 commit comments

Comments
 (0)