Deployment · License (MIT) · Contributing
An environment for collaboratively creating ASN numbers to be used in the Paperless-NGX based document management system at WüSpace e. V.
Screenshot of the Web UI. Application Logo.- REQ-1: The system must be able to generate unique ASN numbers.
- REQ-2: The system must be able to be used by multiple users at the same time.
- REQ-3: The system must allow reserving a range of ASNs for manual assignment (e.g., for pre-printed barcodes).
- REQ-4: The system must be able to be configured to use a specific prefix for the ASN numbers.
- REQ-5: The system must be easy to deploy and maintain.
Note
The exact format of the ASN is configurable through environment variables. See ASN_FORMAT_EXAMPLES.md for a list of examples with different configurations.
WUE - 100 - 001
(1) - (2) - (3)
(1) Prefix specified in configuration (WUE).
(2) Numeric Namespace, whereas
- 100-599 is reserved for automatic generation, and
- 600-999 is reserved for user defined namespaces.
The user defined namespace can be used for pre-printed ASN barcodes and the like.
(3) Counter, starting from 001, incrementing with each new ASN in the namespace.
For this example, we'll define
Note that the minimum and maximum overall namespace values
Furthermore, let
- Configurability through environment variables
- Log generated ASNs to the file system
- Connection to a database
- REST API
- Visual Web Interface
- CLI
- Bump counter to avoid collissions after restoring backups (where ASNs could have been generated after the time of the backup)
- Analyze time between ASNs, providing the possibility to specify a duration and a maximum collision probability for the bump (e.g. 1 hour, 0.1%), which calculates the bump counter accordingly
- Documentation
- Publish on JSR
- Publish on Docker Hub
- Publish on GitHub Container Registry
- UI for quickly searching for ASNs in a DMS