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 with Validation:
      - Validation (if source = 'local' then codes.size = 1) else throw exception
      - (if source = 'local' and startNumber = null) set startValue = 1
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
      - Update sequence name for authority local file if prefix was updated
      - Drop sequence for authority local file after deletion
  2. Extend AuthorityService createAuthority()
      - Retrieve from repository 'local' file by sourceFileId
      - Retrieve next value from localFile sequence 
      - Format next value to NaturalId(HRID) format
      - Set NaturalId for Authority   
mod-inventory-storage5 sp

...