...
# | Description | Details | Decisions |
---|---|---|---|
1 | Should the java interface take in objects(like REST interface) or a few individual fields in a signature? | ||
2 | Will we re-validate the existing data vs the model on model update? |
CPS provides the following interfaces:
Interface Name | Interface Definition | Interface Capabilities | Consumed Models |
---|---|---|---|
Model Interface | Behavior interface that represents cps modules. | Create a module set Merge a module set Read all modules Validate modules Update a module set Create a module set and validate it against a module reference (using a separate SPI) | Yang models that are broken into fragments. |
Data Interface | Behavior interface that represents CPS data. | Create a (root) node. Delete a dataspace Create a dataspace Create an anchor Read an anchor of a particular node Read an anchor in a namespace and dataspace Read all anchors for one dataspace Delete an anchor for a namespace in a dataspace Associate an anchor to a module set Associate an dataspace to a anchor Read all dataspaces Create a node Associate an a node to a anchor | |
Query Interface | Provides the capability to query CPS data.Associate an a node to a anchor | Read the parent of a node that matches an xpath expression Read all nodes under an anchor point Read the anchor of a node Read all nodes that match a schema node identifier |
...