Commit Graph

214 Commits

Author SHA1 Message Date
Jon
c252717bb7 chore(api): mark ALL ViewSet Unit Test Suites to skip
Viewset tests being refactored

ref: #893 #876 #895
2025-07-26 08:22:39 +09:30
Jon
8191785134 test(devops): Adjust functional model test to use fixture kwargs
ref: #883 #882
2025-07-24 15:37:38 +09:30
Jon
de87364b9c refactor(tests): Unskip tests that'll work now due to model inheritance change
ref: #871 #771 #395 #859
2025-07-20 12:34:15 +09:30
Jon
303cc31f6a test(devops): skip Model History entry test as it should be done as part of serializer and viewset
ref: #856 #781
2025-07-07 20:55:22 +09:30
Jon
97f99abe2c chore: ensure api post items for tests is the correct type
ref: #856
2025-07-07 18:51:59 +09:30
Jon
eeaf3ab5fc test(devops): update no_org_serializer test so it works for model SoftwareEnableFeatureFlag
ref: #855 #812
2025-07-07 00:16:17 +09:30
Jon
45abdc2e00 feat: When attempting to create and objetc must be unique and alrready exists, dont return error return existing object
ref: #855
2025-07-06 22:20:54 +09:30
Jon
6af615f918 test(devops): SoftwareEnableFeatureFlagging model does not use global org, so dont test global org return
ref: #849
2025-07-04 13:26:13 +09:30
Jon
b2383a2236 refactor(devops): remove ViewSet get_queryset function
not required as the model is set to the actual model

ref: #849 #809
2025-07-04 08:41:40 +09:30
Jon
73a704d5e3 fix(devops): git repository is sub-model ViewSet must inherit from SubModel
ref: #848 #809 #810 #811
2025-07-04 08:40:36 +09:30
Jon
5d56837f1e refactor(devops): Updated Unit model test ssuite for SoftwareEnabledFeatureFlag model
ref:#817 closes #812
2025-07-04 08:40:33 +09:30
Jon
dabf663651 refactor(devops): Migration for updating model inheritance for SoftwareEnabledFeatureFlag model
ref:#817 #812
2025-07-04 08:40:33 +09:30
Jon
1841023896 refactor(devops): Update url route basename for SoftwareEnabledFeatureFlag model
ref:#817 #812
2025-07-04 08:40:32 +09:30
Jon
d48c19a8ed feat(devops): Switch SoftwareEnabledFeatureFlag model to inherit from CenturionModel
ref: #817 #812
2025-07-04 08:40:32 +09:30
Jon
f44fb28b8d chore: correct pytest model marks
ref: #813
2025-07-04 08:40:32 +09:30
Jon
dbf67f7737 fix(devops): Ensure mandatory fields are writeable for model GitRepository
ref: #813 #515
2025-07-04 08:40:32 +09:30
Jon
da865fd5a8 refactor(tests): make all parameterized_ vars properties
ref: #813
2025-07-04 08:40:32 +09:30
Jon
446ea7c910 chore(core): correct test for get_url_kwargs for meta abstract model
ref: #813 #793
2025-07-04 08:40:32 +09:30
Jon
c5823152ca feat(devops): Update checkin model fixture so it creates the feature flag
ref: #813 #808
2025-07-04 08:40:32 +09:30
Jon
b17fcf0eac feat(devops): Add methods get_url and get_url_kwargs to CheckIn model
ref: #813 #808
2025-07-04 08:40:32 +09:30
Jon
82d1e9995f test(devops): Add GitLabRepository Unit Model test suite
ref: #813 #811
2025-07-04 08:40:32 +09:30
Jon
7378b103e1 test(devops): Add GitHubRepository Unit Model test suite
ref: #807 #515 #810
2025-07-04 08:40:32 +09:30
Jon
07b6a2f4e2 test(devops): Add GitRepository Unit Model test suite
ref: #807 #515 #809
2025-07-04 08:40:32 +09:30
Jon
b4daa61b36 feat(devops): Update URL route basename
ref: #807 #515 #809 #810 #811
2025-07-04 08:40:32 +09:30
Jon
0e5b5db7b9 feat(devops): Migrations for switching GitLabRepository model to inherit from CenturionModel
ref: #807 #515 #811
2025-07-04 08:40:32 +09:30
Jon
0daf4a5316 feat(devops): Migrations for switching GitRepository model to inherit from CenturionModel
ref: #807 #515 #810
2025-07-04 08:40:32 +09:30
Jon
74420f13cc feat(devops): Migrations for switching GitRepository model to inherit from CenturionModel
ref: #807 #515 #809
2025-07-04 08:40:32 +09:30
Jon
192c768f9a feat(devops): Serializers for GitRepository models notes and history
ref: #807 #515 #809
2025-07-04 08:40:32 +09:30
Jon
f6dc4ff512 feat(devops): Serializers for GitHubGitRepository models notes and history
ref: #807 #515 #810
2025-07-04 08:40:32 +09:30
Jon
ec1457f3f8 feat(devops): Serializers for GitLabGitRepository models notes and history
ref: #807 #515 #809
2025-07-04 08:40:32 +09:30
Jon
2ffb93a630 feat(devops): Switch GitLabGitRepository model to inherit from CenturionModel
ref: #807 #515 #809
2025-07-04 08:40:32 +09:30
Jon
4a484c31a2 feat(devops): Switch GitHubGitRepository model to inherit from CenturionModel
ref: #807 #515 #810
2025-07-04 08:40:32 +09:30
Jon
87c5768945 feat(devops): Switch GitRepository model to inherit from CenturionModel
ref: #807 #515 #809
2025-07-04 08:40:32 +09:30
Jon
6b54eebbd2 feat(devops): Update Checkin model url route basename
ref: #807 closes #808
2025-07-04 08:40:32 +09:30
Jon
9a250c988d feat(devops): Add app_namespace Checkin model
ref: #807 #808
2025-07-04 08:40:32 +09:30
Jon
d2d46e7efd test(devops): Add Checkin Unit Model test suite
ref: #807 #676 #808
2025-07-04 08:40:32 +09:30
Jon
d43a1bc213 feat(devops): Migrations for switching Checkin model to inherit from CenturionModel
ref: #807 #676 #808
2025-07-04 08:40:32 +09:30
Jon
53726e3eba feat(devops): Switch Checkin model to inherit from CenturionModel
ref: #807 #676 #808
2025-07-04 08:40:32 +09:30
Jon
dff529ba5e test(devops): correct GitGroup Unit model test suite
ref: #807 closes #781
2025-07-04 08:40:31 +09:30
Jon
0d149edee5 test(devops): correct FeatureFlag Unit model test suite
ref: #807 closes #782
2025-07-04 08:40:31 +09:30
Jon
5bdabe0793 chore(devops): disable pre CenturionModel inheritance tests
ref: #804 #782
2025-07-04 08:40:30 +09:30
Jon
7691ad5b0b feat(core): If user context not supplied, dont create audithistory for model
this allows tests and direct creation via code if required.

ref: #789 #759
2025-07-04 08:40:28 +09:30
Jon
82bfacbab3 chore: disable api field notess and history tests
tests being re-written

ref: #788 #759 #768
2025-07-04 08:40:28 +09:30
Jon
728db3f740 chore: Add premeta notes and history models to init so they can be migrated
ref: #788 #759 #768
2025-07-04 08:40:28 +09:30
Jon
24c960dc86 chore(devops): Remove pre-meta notes code
ref: #788 #768
2025-07-04 08:40:28 +09:30
Jon
507182983b chore(devops): Remove GitGroup old notes URL route
ref: #783 #781
2025-07-04 08:40:26 +09:30
Jon
0a413a6581 chore(devops): Remove GitGroup old notes serializer
ref: #783 #781
2025-07-04 08:40:26 +09:30
Jon
c476f2a12c chore(devops): Remove GitGroup old notes viewset
ref: #783 #781
2025-07-04 08:40:26 +09:30
Jon
0f3da21aa4 chore(devops): Add FeatureFlag old history and notes models to init so they exist
ref: #783 #782
2025-07-04 08:40:26 +09:30
Jon
d5b465ea0e chore(devops): Add GitGroup old history and notes models to init so they exist
ref: #783 #781
2025-07-04 08:40:26 +09:30