summaryrefslogtreecommitdiffstats
path: root/src/test/resources/config/jtosca-validation-issue-configuration.yaml
blob: 1378ca78043e3d73290425715d6842e32dcc9464 (plain)
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
# jTosca validation issues
#by error code, type the validation issue to be CRITICAL/WARNING
# since Conformance level considered to this type. for example:
#JE001:
#      - type: WARNING,
#        sinceCsarConformanceLevel: 3.0
#      - type: WARNING,
#        sinceCsarConformanceLevel: 5.0
validationIssues:
    # TypeMismatchError
    JE001:
        - issueType: WARNING
          sinceCsarConformanceLevel: 3.0
        - issueType: CRITICAL
          sinceCsarConformanceLevel: 4.0
        - issueType: WARNING
          sinceCsarConformanceLevel: 5.0
    # MissingType
    JE002:
        - issueType: WARNING
          sinceCsarConformanceLevel: 3.0
    #MissingRequiredFieldError
    JE003:
        - issueType: CRITICAL
          sinceCsarConformanceLevel: 4.0
    #MissingRequiredFieldError2
    JE004:
        - issueType: WARNING
          sinceCsarConformanceLevel: 2.0
    #InvalidGroupTargetException
    JE005:
        - issueType: WARNING
          sinceCsarConformanceLevel: 3.0
    #Schema definition of \"%s\" has \"status\" attribute with an invalid value
    JE006:
        - issueType: WARNING
          sinceCsarConformanceLevel: 3.0
        - issueType: CRITICAL
          sinceCsarConformanceLevel: 4.0
        - issueType: WARNING
          sinceCsarConformanceLevel: 5.0
    #The unit \"%s\" is not valid
    JE007:
        - issueType: WARNING
          sinceCsarConformanceLevel: 3.0
    #ValidationError
    JE008:
        - issueType: WARNING
          sinceCsarConformanceLevel: 3.0
    #ValueError: Expected max 2 arguments for function \"get_input\" but received \"%s\"",args.size())
    JE009:
        - issueType: WARNING
          sinceCsarConformanceLevel: 3.0
    #MissingRequiredFieldError3
    JE010:
        - issueType: WARNING
          sinceCsarConformanceLevel: 3.0