Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Name


Definition

 Capabilities

1

Class AssociationAlreadyDefinedException

Exception thrown when the user tries to create an association that already exists.


  • AssociationAlreadyDefinedException

2

Class ChildAlreadyDefinedException


Exception thrown when a new child object is attempted to be created under a parent which already has a child with that type and name.

  • ChildAlreadyDefinedException

3Class GroupAlreadyDefinedExceptionAn attempt was made to create a Group with non-unique namespace and name.
  • GroupAlreadyDefinedException
4

Class GroupNotAccessibleException


An exception thrown when the requested group is not accessible to current user.
  • GroupNotAccessibleException

5Class GroupNotFoundException

An exception thrown when a group requested from DPS method does not exist.


  • GroupNotFoundException




Existing SPI in CPS POC


Data SPI


Name


Definition

 Capabilities

1

Interface DataPersistencyService

 


Responsible for accessing and manipulating data using the chosen database solution


  • storeJsonStructure

Store the JSON structure in the database.

  • getJsonById

Get the JSON structure from the database using the entity identifier.

  • deleteJsonById

Delete the JSON structure from the database using the entity identifier.

Model SPI


Name


Definition

 Capabilities

1

Interface ModelPersistencyService


Responsible for accessing and manipulating module data using the chosen database solution


  • storeModule

Store the module from a yang model in the database.