References
- Error rendering macro 'jira' : Unable to locate Jira server for this macro. It may be due to Application Link configuration.
- CPS-799 Spike: Define states and state handling for CM handle
Tasks
NCMP should be able to handle a large (10,000s!) batch of registrations at once. To make this possible we need to
Task | |
---|---|
1 | Create 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 State, LockReason 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 changesets |
4 | Test/demo using CPS-Core
|
Yang Revision Proposal
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.