Versions Compared

Key

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

References

Jira
serverONAP Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-1439

Specification Performance Requirements

De-Register API Performance

1394

Assumptions<optional>

<optional, assumptions are like decision made up front ie. everyone agrees on the answer but they are important to mention>

#

Assumption

Notes

1

We have an event and schema


2

Using existing NCMP-Admin dataspace


3

New anchor AVC-subscriptions


Issues & Decisions

#

Issue

Notes 

Solution 

Decision

1
Deleting fragment children with grandchildren or only grand childs or list elements

org.onap.cps.spi.impl.CpsDataPersistenceServiceImpl#deleteDataNode

  • Remove use of "objectA.removeIf(x -> conditions);" as it's Time complexity is O(n) that went wrost as data nodes increases.
  • Used hashcode to remove child fragment based on it's xpath
      • @EqualsAndHashCode.Include
        private String xpath;
2Deleting parent or other casesReplace "fragmentRepository.delete(parentFragmentEntity);" by native query where object contains 1-1, 1-many and 1-1 relationship
Is data owned by NCMP or CPS-core? 



  • Data owned by DME but NCMP persists data using CPS-Core. model owned by NCMP dictated by DME
2Does NCMP manage predicates (filters) or does the device?
  • NCMP does not store predicates.
  • When we get a create subscription event, does NCMP need to forward it on to somewhere else (Contact kieran mccarthy) this is out of scope, non blocking for item
3

How many subscriptions are there? 


Contact kieran mccarthy

<Note. use green for closed issues, yellow for important ones if needed>

Any Other Header

< we do not want to dictate the remainder of an analysis it will depend on the type of user story at hand>

Any Other Header

Etc