ci_test.yaml.example 2.04 KB
Newer Older
1 2 3
# gitignore ignores files.yaml in this folder
# however a config file for tests in CI is required
# so this example file in fact is the CI test file
4
views:
5 6 7
    links:
        - config/ci_views.yaml.example
    obj:
8
        -
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
            alias: "View 0"
            data: "test/postgres/fixtures/view0.json"
            origin: true
            dimensions:
                - "dim:0"
                - "dim:7"
            metrics:
                - "met:0"
                - "met:1"
                - "met:2"
                - "met:10"
metrics:
    links:
        - config/ci_metrics.yaml.example
        - config/ci_metrics_1.yaml.example
    obj:
Rafael Dias's avatar
Rafael Dias committed
25
        -
26
            name: "met:0"
Rafael Dias's avatar
Rafael Dias committed
27
            dataType: "integer"
28 29
            aggregation: "sum"
            description: "No meaning, just used for test"
Rafael Dias's avatar
Rafael Dias committed
30
        -
31 32 33 34 35 36 37 38
            name: "met:1"
            dataType: "integer"
            aggregation: "avg"
            description: "No meaning, just used for test"
dimensions:
    links:
        - config/ci_dimensions.yaml.example
    obj:
Rafael Dias's avatar
Rafael Dias committed
39
        -
40 41 42
            name: "dim:0"
            dataType: "date"
            description: "A dimension of Blendb. Has 5 possible values."
Rafael Dias's avatar
Rafael Dias committed
43
        -
44
            name: "dim:1"
Rafael Dias's avatar
Rafael Dias committed
45
            dataType: "date"
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
            description: "A dimension of Blendb. Has 5 possible values."
enumTypes:
    links:
     - config/ci_enumtypes.yaml.example
    obj:
        -
            name: "enumtype:0"
            values:
            - "male"
            - "female"
            - "binary"
            - "undecided"
sources:
    links:
        - config/ci_sources.yaml.example
    obj:
        -
            name: "source_0"
            description: "source with 3 entries"
            fields:
            -
               name: "fields:0"
               description: "first entry"
               dataType: "string"
            -
                name: "fields:1"
                description: "second entry"
                dataType: "string"
            -
                name: "fields:2"
                description: "third entry"
                dataType: "string"
78