Versions Compared

Key

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

...

Jira Legacy
serverSystem Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyCPS-1379

Description

PreviouslyCurrently, data was is inserted into the database for persistence testing by using SQL scripts. This led to data which cannot conform to any yang model being used for testing purposes. Therefore we want to insert data by using service layer methods. This includes inserting a yang model and data which conforms to it.

Issues & Decisions

#IssueNotesĀ Decision
1Insert data using Service Layer MethodsValidates data with minimal test performance impact if it works

Primary solution

2Insert data using a cps container with test containersValidates data but can have a bigger performance hit. Also issues relating to which image is used for the image that is spun upPossible secondary solutionĀ 
3Insert data using liquibaseNo data validation but will be hopefully easier to read. Also cannot add more data/reset data during testingNot sure if it's worth it, will be similar to the current implementation unless the data can be inserted in json format somehow

...