diff options
author | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2023-02-03 11:46:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-02-03 11:46:04 +0000 |
commit | 00fb69a0dcfb8dfa4f5b540046ee1453f45bcf37 (patch) | |
tree | a94ad8b430b832f192e30d7dd1e1e02b3a758a71 /src/onaptests/configuration | |
parent | 54b66f2da9ee9d9aafc07c3f78bd7d6b755e1d17 (diff) | |
parent | 698fb766ab97734f0e6b72405a333bec657a47a4 (diff) |
Merge "[CPS] Create basic_cps test"
Diffstat (limited to 'src/onaptests/configuration')
-rw-r--r-- | src/onaptests/configuration/basic_cps_settings.py | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/onaptests/configuration/basic_cps_settings.py b/src/onaptests/configuration/basic_cps_settings.py new file mode 100644 index 0000000..bea9646 --- /dev/null +++ b/src/onaptests/configuration/basic_cps_settings.py @@ -0,0 +1,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" |