-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuniqueMinedAndConfirmedRules_MicroProfile.json
124 lines (124 loc) · 4.78 KB
/
uniqueMinedAndConfirmedRules_MicroProfile.json
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[
{
"id": 1,
"antecedent": [
"Field --(annotatedWith)--> Annotation_org.eclipse.microprofile.config.inject.ConfigProperty"
],
"consequent": [
"Field --(annotatedWith)--> Annotation_javax.inject.Inject"
],
"ifViolated": "NullPointerException (which leads to Internal Server Error 500)"
},
{
"id": 2,
"antecedent": [
"Class --(annotatedWith)--> Annotation_org.eclipse.microprofile.rest.client.inject.RegisterRestClient"
],
"consequent": [
"(Method || Class) --(annotatedWith)--> Annotation_javax.ws.rs.Path"
],
"ifViolated": "Faulty behavior without explicit error (HTTP 404 Not Found)"
},
{
"id": 3,
"antecedent": [
"Method --(annotatedWith)--> Annotation_org.eclipse.microprofile.reactive.messaging.Incoming"
],
"consequent": [
"(Class --(annotatedWith)--> Annotation_javax.enterprise.context.ApplicationScoped) || (Class --(definedIn)--> server.xml)"
],
"ifViolated": "Faulty behavior without explicit error (empty list instead of list with objects)"
},
{
"id": 4,
"antecedent": [
"Method --(annotatedWith)--> Annotation_org.eclipse.microprofile.reactive.messaging.Outgoing"
],
"consequent": [
"(Class --(annotatedWith)--> Annotation_javax.enterprise.context.ApplicationScoped) || (Class --(definedIn)--> server.xml)"
],
"ifViolated": "Faulty behavior without explicit error (empty list instead of list with objects)"
},
{
"id": 5,
"antecedent": [
"Field --(annotatedWith)--> Annotation_org.eclipse.microprofile.metrics.annotation.RegistryType",
"Annotation_org.eclipse.microprofile.metrics.annotation.RegistryType --(hasParam)--> Param_type:org.eclipse.microprofile.metrics.MetricRegistry.Type",
"Field --(annotatedWith)--> Annotation_javax.inject.Inject"
],
"consequent": [
"Field --(hasType)--> org.eclipse.microprofile.metrics.MetricRegistry"
],
"ifViolated": "unknown"
},
{
"id": 6,
"antecedent": [
"Field --(annotatedWith)--> Annotation_org.eclipse.microprofile.jwt.Claim"
],
"consequent": [
"Field --(annotatedWith)--> Annotation_javax.inject.Inject"
],
"ifViolated": "NullPointerException (which leads to Internal Server Error 500)"
},
{
"id": 7,
"antecedent": [
"Method --(annotatedWith)--> Annotation_org.eclipse.microprofile.graphql.Query"
],
"consequent": [
"Class --(annotatedWith)--> Annotation_org.eclipse.microprofile.graphql.GraphQLApi"
],
"ifViolated": "Faulty behavior without explicit error (GraphQL interface on `/graphql` is not accessible, 404)"
},
{
"id": 8,
"antecedent": [
"Method --(annotatedWith)--> Annotation_org.eclipse.microprofile.graphql.Mutation"
],
"consequent": [
"Class --(annotatedWith)--> Annotation_org.eclipse.microprofile.graphql.GraphQLApi"
],
"ifViolated": "Faulty behavior without explicit error (GraphQL interface on `/graphql` is not accessible, 404"
},
{
"id": 9,
"antecedent": [
"Field --(annotatedWith)--> Annotation_org.eclipse.microprofile.rest.client.inject.RestClient"
],
"consequent": [
"Field --(annotatedWith)--> Annotation_javax.inject.Inject"
],
"ifViolated": "Faulty behavior without explicit error (HTTP 404 Not Found)"
},
{
"id": 10,
"antecedent": [
"Class --(annotatedWith)--> Annotation_org.eclipse.microprofile.health.Health"
],
"consequent": [
"Class --(implements)--> Interface_org.eclipse.microprofile.health.HealthCheck"
],
"ifViolated": "Faulty behavior without explicit error (missing liveness feature/metric, 404)"
},
{
"id": 11,
"antecedent": [
"Class --(annotatedWith)--> Annotation_org.eclipse.microprofile.health.Liveness"
],
"consequent": [
"Class --(implements)--> Interface_org.eclipse.microprofile.health.HealthCheck"
],
"ifViolated": "Faulty behavior without explicit error (missing liveness feature/metric, 404)"
},
{
"id": 12,
"antecedent": [
"Class --(annotatedWith)--> Annotation_org.eclipse.microprofile.health.Readiness"
],
"consequent": [
"Class --(implements)--> Interface_org.eclipse.microprofile.health.HealthCheck"
],
"ifViolated": "Faulty behavior without explicit error (missing liveness feature/metric, 404)"
}
]