blob: e359f65c5463824a586029349cb663e2e83dd9d4 (
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
|
from .settings import * # noqa
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"
|