Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre generate all URNs #276

Merged
merged 5 commits into from
Oct 5, 2023
Merged

Pre generate all URNs #276

merged 5 commits into from
Oct 5, 2023

Conversation

fumimowdan
Copy link
Contributor

Description

Pre generate all URNs

@fumimowdan fumimowdan marked this pull request as draft September 27, 2023 14:00
This will serve to render a urn and hold the current state of
available urns ready to be used.
This service will create all the available urns per application route.
They will be randomized, unique and the next available urn to be taken
will retreived with the Urn.next method.

Once all the urn are exhausted this method will raise an error and the
format of the URN will need updating ie increase the size of the
suffix set.  Urn::MAX_SUFFIX
This task is going to be used to ensure that when start the
application service the URNs are ready to be picked.
* startup.sh

* submitform service

* factories
@fumimowdan fumimowdan force-pushed the fix/urn-uniqueness-frontload branch from efce905 to 2a714a2 Compare October 2, 2023 16:04
@fumimowdan fumimowdan marked this pull request as ready for review October 2, 2023 16:05
@fumimowdan
Copy link
Contributor Author

Fix URN

@fumimowdan fumimowdan added the deploy Deploy review app label Oct 2, 2023
@github-actions github-actions bot temporarily deployed to review-276 October 2, 2023 16:09 Destroyed
@fumimowdan fumimowdan merged commit 55205ea into main Oct 5, 2023
10 checks passed
@fumimowdan fumimowdan deleted the fix/urn-uniqueness-frontload branch October 5, 2023 14:10
fumimowdan added a commit that referenced this pull request Oct 9, 2023
In favour of a pseudo random urn generator that is not reliant of the
database.
This change will simplies the codebase
fumimowdan added a commit that referenced this pull request Oct 12, 2023
In favour of a pseudo random urn generator that is not reliant of the
database.
This change will simplies the codebase
fumimowdan added a commit that referenced this pull request Oct 18, 2023
In favour of a pseudo random urn generator that is not reliant of the
database.
This change will simplies the codebase
fumimowdan added a commit that referenced this pull request Oct 18, 2023
In favour of a pseudo random urn generator that is not reliant of the
database.
This change will simplies the codebase
@fumimowdan fumimowdan mentioned this pull request Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy Deploy review app
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants