-
Notifications
You must be signed in to change notification settings - Fork 44
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
Overhaul core Tracker: extract whitelist #1182
Labels
Code Cleanup / Refactoring
Tidying and Making Neat
Comments
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Jan 15, 2025
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Jan 15, 2025
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Jan 15, 2025
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Jan 15, 2025
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Jan 15, 2025
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Jan 15, 2025
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Jan 15, 2025
Inject the database (persistence) and whitelist manager into the Tracker via the contructor to be able to use the whitelist manager directly in Axum handlers.
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Jan 15, 2025
directly, instead of using it via the Tracker.
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Jan 15, 2025
…cker factory Refactor in progress. The final goal is to inject the whitelist manager directly wherever is needed (for example, test evns) to avoid injecting the whole tracker. Adn to finally remove the whitelist manager from the Tracker (A higer level refator in progress: remove responsabilities fromcore Tracker).
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Jan 15, 2025
josecelano
added a commit
to josecelano/torrust-tracker
that referenced
this issue
Jan 15, 2025
josecelano
added a commit
that referenced
this issue
Jan 15, 2025
57455ca refactor: [#1182] remove whitelist context methods from core tracker (Jose Celano) 882af33 refactor: [#1182] remove duplicate code (Jose Celano) 658d2be refactor: [#1182] inject database and whitelist manager in tracker factory (Jose Celano) 4253d0f refactor: [#1182] use WhitelistManager in API handlers (Jose Celano) 2f1abeb refactor: [#1182] inject database and whitelist in tracker as dep (Jose Celano) cc2bc7b refactor: [#1182] move structs to new mods in whitelist (Jose Celano) 07f53a4 refactor: [#1182] extract strcut DatabaseWhitelist (Jose Celano) ea35ba5 refactor: [#1182] extract struct InMemoryWhitelist (Jose Celano) 39d1620 refactor: [#1182] remove unused methods (Jose Celano) 439493d refactor: [#1182] move extracted service to new mod (Jose Celano) 40eb805 refactor: [1182] extract WhitelistManager (Jose Celano) Pull request description: Refactor: extract `WhitelistManager` ACKs for top commit: josecelano: ACK 57455ca Tree-SHA512: 03fb1b590b8226b96f178b80ce8998955dc70892cba1b9f921138e29cfde5e51df71d3956966338f009b12915b33bbfbb1ff1514c24e8f7868eda402d2918a73
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Parent issue: #1181
The text was updated successfully, but these errors were encountered: