Commit Graph

121 Commits

Author SHA1 Message Date
Jon
089f8beef2 test(config_management): API Metadata checks for config group software
ref: #410 #412 #415
2024-12-04 23:17:00 +09:30
Jon
d5771401c8 test(config_management): API Metadata checks for config groups
ref: #410 #412 #415
2024-12-04 23:16:50 +09:30
Jon
dd3c8e51d2 test(config_management): Ensure items returned are from users orgs only for API v2 endpoints
ref: #248 #359 #397
2024-11-28 02:58:44 +09:30
Jon
ad54494df0 test: Add ViewSet Returned Serializer Checks to a majority of models
more to come

ref: #15 #248 #392 #393
2024-11-28 02:22:29 +09:30
Jon
f1780cca7a feat(config_management): add hosts to new UI
ref: #248 #390 nofusscomputing/centurion_erp_ui#29
2024-11-28 02:22:28 +09:30
Jon
aebd0f3580 refactor: ensure filed organization is required
ref: #248 #390 #366
2024-11-28 02:22:28 +09:30
Jon
3afc63d8fc refactor(config_management): config_group ref to use full model name
ref: #248 #390 #366
2024-11-28 02:22:28 +09:30
Jon
5f7b6ef9eb refactor: update serializers to use model get_url function
ref: #248 #390 #366
2024-11-28 02:22:28 +09:30
Jon
05f03efc64 refactor: Add function get_url to tenancy models
ref: #248 #366 #391 nofusscomputing/centurion_erp_ui#29
2024-11-28 02:22:27 +09:30
Jon
e0168640cf feat(config_management): Add field child group count to table fields for groups
ref: #248 #385 #388 nofusscomputing/centurion_erp_ui#23
2024-11-28 02:22:27 +09:30
Jon
5899bb17ca fix(config_management): show parent groups only on index
ref: #248 #385 #388 nofusscomputing/centurion_erp_ui#23
2024-11-28 02:22:26 +09:30
Jon
f345dd366c feat(api): Add a Common Model serializer to be inherited by all model serializers
ref: #248 #385 #388 nofusscomputing/centurion_erp_ui#26
2024-11-28 02:22:26 +09:30
Jon
cd0bcf6731 chore(api): Correct DRF Swagger Docs errors
ref: #248 #361 #383
2024-11-28 02:22:25 +09:30
Jon
f695f14e14 test(functional): Move functional test cases to relevant functional test dir
ref: #15 #375 #382
2024-11-28 02:22:25 +09:30
Jon
c415d53708 fix(core): When an item that may be linked to a ticket is deleted, remove the ticket link
ref: #15 #248 #336 #376 #381
2024-11-28 02:22:25 +09:30
Jon
31af109742 test(config_management): Group Ticket URL API field checks
ref: #15 #248 #365
2024-11-28 02:22:20 +09:30
Jon
d4aa3e673f fix(config_management): Correct ticket url in group serializer
ref: #248 #365
2024-11-28 02:22:20 +09:30
Jon
76320251a1 test(core): Config Group Linked Tickets API field checks
ref: #15 #248 #365
2024-11-28 02:22:19 +09:30
Jon
564bae99b1 feat(core): Add Item Ticket API v2 endpoint
added for cluster, config group, device, service, software and operating system.

ref: #248 #365
2024-11-28 02:22:18 +09:30
Jon
da5d19cbcb fix: Dont attempt to access request within serializers when no context is present
ref: #248 #365 #366
2024-11-28 02:22:17 +09:30
Jon
d57d4ad96a feat(config_management): Add url function to Config Groups model
ref: #248 #365 #366
2024-11-28 02:22:17 +09:30
Jon
268e3294a2 feat(api): Setup API to be correctly versioned
ref: #248 #365
2024-11-28 02:22:16 +09:30
Jon
873dc71c08 test: enure correct type checks for url
ref: #15 #248 #354
2024-11-28 02:22:08 +09:30
Jon
9f81c49119 test: Adjust tests to cater for action choices now being an integer
ref: #15 #46 #248 #354
2024-11-28 02:22:06 +09:30
Jon
4a2ad114d7 test(config_management): Config Groups Note API ViewSet permission checks
ref: #15 #49 #248 #354
2024-11-28 02:22:06 +09:30
Jon
c7d4f2b496 feat(config_management): Add Notes API v2 endpoint
ref: #248 #354
2024-11-28 02:22:06 +09:30
Jon
b9b2142cc1 fix(config_management): ensure validation uses software.id for config group software serializer
ref: #248 #353
2024-11-28 02:22:06 +09:30
Jon
f019791fa4 test(config_management): Config Groups Software API ViewSet permission checks
ref: #15 #248 #353
2024-11-28 02:22:05 +09:30
Jon
99313d7a8d feat(config_management): Add config groups to config api endpoint
ref: #248 #353
2024-11-28 02:22:05 +09:30
Jon
114272471e test(config_management): Config Groups Software Serializer Validation checks
ref: #15 #248 #353
2024-11-28 02:22:05 +09:30
Jon
7d3576a879 feat(config_management): Add Device Base Serializer
ref: #248 #353
2024-11-28 02:22:05 +09:30
Jon
5ab7ce05bc feat(itam): Add Software Version Base Serializer
ref: #248 #348
2024-11-28 02:22:05 +09:30
Jon
99550e7ab3 feat(itam): Add Software Base Serializer
ref: #248 #348
2024-11-28 02:22:05 +09:30
Jon
bd11d82107 test(config_management): Config Groups Software Serializer Validation checks
ref: #15 #248 #353
2024-11-28 02:22:05 +09:30
Jon
3482b7dd0a feat(config_management): Add Config Group Software API v2 endpoint
ref: #248 #348
2024-11-28 02:22:05 +09:30
Jon
cb6f15b933 refactor(config_management): Adjust rendered config str -> dict
ref: #248 #353
2024-11-28 02:22:05 +09:30
Jon
976a5f0706 refactor(itam): Software Action field changed char -> integer
ref: #248 #353
2024-11-28 02:22:05 +09:30
Jon
7d35db030c refactor(itam): rename dir viewset -> viewsets
ref: #248 #353
2024-11-28 02:22:05 +09:30
Jon
0c9a9f5ae1 refactor(config_management): move config_group_hosts to related table
ref: #353
2024-11-28 02:22:05 +09:30
Jon
a0ac0e4839 refactor: update model fields
ref: #353
2024-11-28 02:22:04 +09:30
Jon
fae48f2c5a fix(config_management): Config Groups Serializer Validation checks
ref: #15 #248 #353
2024-11-28 02:22:04 +09:30
Jon
518142492f test(config_management): Config Groups Serializer Validation checks
ref: #15 #248 #353
2024-11-28 02:22:04 +09:30
Jon
cc6770278f test(config_management): Config Groups API ViewSet permission checks
ref: #15 #248 #353
2024-11-28 02:22:04 +09:30
Jon
8b091e3c79 test(assistance): Config Group API field checks
ref: #15 #248 #353
2024-11-28 02:22:04 +09:30
Jon
10704457b0 feat(config_management): Add Config Group API v2 endpoint
ref: #248 #348
2024-11-28 02:22:04 +09:30
Jon
5b9ed1db2c refactor(config_management): update serializer dir name
ref: #248
2024-11-28 02:22:04 +09:30
Jon
32d5008f63 fix: Ensure all Model fields are created with attributes help_text and verbose_name
ref:  #248 #346
2024-11-28 02:20:42 +09:30
Jon
8121879165 feat(access): Add attribute table_fields to Config Group Software model
ref:  #248 #345 #346
2024-11-28 02:19:21 +09:30
Jon
066d8b903a feat(access): Add attribute page_layout to Config Group Software model
ref:  #248 #345 #346
2024-11-28 02:19:21 +09:30
Jon
11fd7f8c6c fix(access): Add missing attribute Meta.verbos_name to Config Group Software model
ref:  #248 #345 #346
2024-11-28 02:19:21 +09:30