Versions Compared

Key

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

...

  • Dataspaces
  • Schema-Sets
  • Anchors
  • CM-handles
  • CM-Handle Properties.

Open Issues

#Questions/Open IssuesNotes/Decisions
1What kind of naming validation should be in place?

According to this ONAP Documentation it should be alphanumeric with underscores(_) VNF and PNF Modeling Requirements - Resource IDs

2

Should CM-Handle ID's be more strict, or carry the same amount of strictness as anchor names. Due to the fact that we create a corresponding anchor for every CM-Handle it cannot be less strict.

As part of this commit, we can modify the code so anchor creation will happen for the cm handle registration. So if it fails the validation at this point, the CM-Handle will not be registered.
3

Should validation also be applied to Get/Query API's as opposed to just creation of the functions above?

...

 

Not recommended as this will add little value, at a high cost

...

4Should dashes be included?A lot of dummy data and tests within CPS use dashes as part of their Network Function ID's. If we decide to not use dashes, we should also change these.

Implementation Proposals

At CPS's service layer within the the Java API:

...