Versions Compared

Key

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

...

OverviewApproachModuleTicket
Extend authority source file schema to store local files
  1. Extend authoritySourceFile schema to contain HRID information.
  2. Implement AuthoritySourceFileHridManager
    - Validation (if source = 'local' then codes.size = 1) else throw exception
mod-inventory-storage2 sp
Implement sequence number generation mechanism for authority local files
  1. Extend AuthoritySourceFileHridManager to work with sequences
    - Create sequence for authority local file after validation
    - Drop sequence for authority local file after deletion
  2. Extend AuthorityService createAuthority()
    - Retrieve from repository localFile 'local' file by sourceFileId
    - Retrieve next value from localFile sequence 
    - Format next value to NaturalId(HRID) format
    - Set NaturalId for Authority  Authority   
mod-inventory-storage5 sp

...