summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorpaweldenst <pawel.denst@external.t-mobile.pl>2022-12-19 08:38:11 +0000
committerpaweldenst <pawel.denst@external.t-mobile.pl>2023-01-24 09:42:05 +0000
commit2af8eed99a00371db238c1021fbe110df59fd476 (patch)
treee1d90b7b270a37da7920be8a43cce2f18da3f36c /samples
parent3a6c1f7f293956d6b0cff1593ca248b19e63334f (diff)
Create CPS anchor nodes using ODP
Added required anchor-name and dataspace-name for schema Issue-ID: INT-2179 Signed-off-by: paweldenst <pawel.denst@external.t-mobile.pl> Change-Id: I98d3b25a724af16adf4943bcd832054ed43c69f0
Diffstat (limited to 'samples')
-rw-r--r--samples/cps.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/samples/cps.yaml b/samples/cps.yaml
index 4c06fa6..68a612d 100644
--- a/samples/cps.yaml
+++ b/samples/cps.yaml
@@ -20,3 +20,8 @@ resources:
anchor-name: test-odp-anchor
schema-set-name: test-odp-schemaset
dataspace-name: test-odp-dataspace
+ cps-anchor-nodes:
+ - cps-anchor-node:
+ anchor-name: test-odp-anchor
+ dataspace-name: test-odp-dataspace
+ node-data: '{"shops": {"bookstore": {"bookstore-name": "Chapters", "categories": [{"code": 1, "name": "SciFi", "books": {"book": [{"title": "2001: A Space Odyssey", "price": 5}, {"title": "Dune", "price": 5}]}}, {"code": 2, "name": "Kids", "books": {"book": [{"title": "Matilda"}]}}]}}}'