You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🧪 Confirm Tests ensure that the audit entries are being created for ALL models
🧪 ⏩ Add model test case to inherited that ensures the base class methods clean, clean_fields etc are called ◀️ i.e. ticket base clean does not call super().clean() which was not detected
❗ Confirm that the roles endpoint can accept module.permission strings if not fix this regression and write tests
planning document for release.
Working Plan
Currently there are a lot of changes occurring that require they be done in a specific order. This working plan is the coordination of that work.
-🥇 Priority is to get the refactored ticketing system production ready.
This will be done in the following stages:
Goals
Order of Work / Tasks
Core Models1
Models Dependent upon new models
Entity Models - Refactor Manufacturers/Users/Groups/Teams #704
pre-reqs for all entity models:
✔ New Model - Entity #706
✔️ Migrate teams to be Roles (RBAC) #551
Employee Entity
Users need to be linked to entity
User must have
entityas field so it can be added to User fields that use entityMigrate Auth to new User Model
get_user_model()#755Add/Refactor new ticket and comment models
Enable Ticket Project Task
Intent is that since this model is new it will be enabled first for usage to confirm that the base class, UI and logic works as intended.
Migration to new Tickets - Migrate Tickets to new models #746
Links / References
Nil
Tasks
🧪 Confirm Tests ensure that the audit entries are being created for ALL models
🧪 ⏩ Add model test case to inherited that ensures the base class methods clean, clean_fields etc are called◀️
i.e. ticket base clean does not call
super().clean()which was not detected❗ Confirm that the roles endpoint can accept
module.permissionstrings if not fix this regression and write testsNo it wont. needs to be implemented.
module.permissionformat #1160 Update permission serializer to accept permissions in either id ormodule.permission(also waiting on Migrate playbook teams -> roles ansible_collection_centurion#47)Metadata URL Testing #1177
🏁 Roadmap
Completed
Emplyee model - https://github.com/nofusscomputing/centurion_erp/milestone/37Manufacturer Migration - https://github.com/nofusscomputing/centurion_erp/milestone/39Ticket Feature Preperation - https://github.com/nofusscomputing/centurion_erp/milestone/43Meta model - Ticketsauto-magic model that allows linking to a ticketTicket Slash commandsTicket Action CommentsTicket Feature Preperation extended - https://github.com/nofusscomputing/centurion_erp/milestone/40Ticket Action Comment by Type - https://github.com/nofusscomputing/centurion_erp/milestone/45Complete then enable Project Task tickets - https://github.com/nofusscomputing/centurion_erp/milestone/47
Ticket Model Migration - https://github.com/nofusscomputing/centurion_erp/milestone/46
IT Asset Refactor - https://github.com/nofusscomputing/centurion_erp/milestone/30
♾️ In the future
Basic Accounting - https://github.com/nofusscomputing/centurion_erp/milestone/38
Git Repositories - https://github.com/nofusscomputing/centurion_erp/milestone/41
Ensure Config Management usable - https://github.com/nofusscomputing/centurion_erp/milestone/42
Outstanding Bugs
Organization manager cant view organization #425
Missing UI Feature, ITAM - Software #653
Missing UI Feature, ITAM - Devices #654
Missing UI Feature, ITAM - Operating System #655
Current Permissions model prevents admin panel access #1107
✔️ Docker cron job fetch feature flag is running every minute #1184
When a user is authenticated, they cant access feature-flag endpoint. #1185
Outstanding Backlog
This section contains items from the backlog that are considered priority
Integration Tests #152
Milestones completion #337
Unit test API HTTP/OPTIONS endpoint #394
🧪 fix skipped tests #395
DB queries >2K per view #471
🧪 Wrong serializer is used for CRUD return #477
Rename Organizations to Tenant #505
🧪 Add Model Git repository #515
1️⃣ Refactor Ticketing Models #564
New Model - Software Packages #636
Deployment Statistics #676
Organization and Permission Mixin test case refactor #698
Refactor All Tests to use PyTest not unittest #729
Meta Models #758
7️⃣ History - Meta Model #759
Model inheritance cleanup #767
Remaining model Tests #876
3️⃣ Add remaining model tests - devops.GitGroup #882
3️⃣ Add remaining model tests - accounting.AssetBase #887
3️⃣ Add remaining model tests - itam.ITAMAssetBase #888
Unit Tests Completion of api.CommonViewSet #898
7️⃣ Add Viewset Functional test suite for ALL ViewSets #984
refactor Metadata test suit to pytest #1058
1️⃣ 🧪 Enable Role permissions to be updated in
module.permissionformat #1160Pragmatically track depreciated objects #1170
Ansible Collection work
Footnotes
Blocked By: Unit Tests Completion of api.CommonViewSet #898 ↩ ↩2