Versions Compared

Key

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

...


Task
1Create updated DMI Registry Yang Schema (using @yyyy-mm-dd) in changelog/db/changes/data/yang-models/dmi-registry @ 2021-12-13.yang to store Handle State
2

Add StateLockReason and LockReasonDetails as (Yang)Strings to the schema. Any validation or enum-limitations can be handled in the Java code.

3

Consider timestamp modelSyncStartTime for retry and timeout related scenarios as part of same schema update to reduce overhead of Liquibase changesetsSchedule meeting for retry mechanism and necessary variables. Will be removed once model sync is completed. CmHandle state should be changed from advised to locked during sync. Extend the query to look for cmHandle state and modelSyncStartTime would remove need for watchdog. changesets 

4

Test/demo using CPS-Core 

  1. Can create anchor with new schema
  2. Can add and create data 

...


A/C
1

Propose and agree new model with team and stakeholders

2Demo 
  1. Can create anchor using new model
  2. Can add data for new model
  3. Can query data using file based on state
3

Agree new name for dataspace. Replace Admin dataspace?

4

Describe impacts to codebase


Timestamp

modelSyncStartTime will be recorded once model sync attempt is started and will be removed once model sync is completed. CmHandle state should be changed from advised to locked during sync. Extending the query from ncmp to look for cmHandle state and modelSyncStartTime would remove need for watchdog.