aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/configuration/basic_cps_settings.py
blob: bea96462b1c332641c2b31af4ee712d5df374f13 (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
from .settings import *

import json
from pathlib import Path

from onaptests.utils.resources import get_resource_location

CLEANUP_FLAG = True

ANCHOR_DATA = json.dumps({
    "bookstore": {
      "bookstore-name": "Chapters",
      "categories": [
        {
          "code": 1,
          "name": "SciFi",
          "books": [
              {
                "title": "2001: A Space Odyssey",
                "price": 5
              },
              {
                "title": "Dune",
                "price": 5
              }
          ]
        },
        {
          "code": 2,
          "name": "Kids",
          "books": [
              {
                "title": "Matilda"
              }
            ]
        }
      ]
    }
  })
ANCHOR_NAME = "basic-cps-test-anchor"
DATASPACE_NAME = "basic-cps-test-dataspace"
SCHEMA_SET_NAME = "basic-cps-test-schema-set"
SCHEMA_SET_FILE = Path(get_resource_location("templates/artifacts/cps/bookstore.yang"))

SERVICE_NAME = "Basic CPS test"
SERVICE_COMPONENTS = "CPS"