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

Planning Document: version 1.4 #345

Closed
33 of 44 tasks
jon-nfc opened this issue Oct 11, 2024 · 0 comments · Fixed by #344
Closed
33 of 44 tasks

Planning Document: version 1.4 #345

jon-nfc opened this issue Oct 11, 2024 · 0 comments · Fixed by #344
Assignees
Labels
type::epic Issue Type is Epic User Story

Comments

@jon-nfc
Copy link
Member

jon-nfc commented Oct 11, 2024

Version 1.3 intent is the full redesign of the API in preperation for moving the UI to use the react freamwork.

Details

basic restructure of files will be as follows:

  • Serializers will now go in each modules directory under path serializers/

  • ViewSet to be used and will be placed in each module directory under path viewsets/

  • unit tests to only cover non-functional tests

  • test that check/confirm functionality are to be setup as functional tests


API v2 Endpoint Creation MR Checklist

- [ ] :new: Serializer Created _ path: `<module name>/serializers`_

    - [ ] :heavy_check_mark:  Validations from form included in serializer
    - [ ] :heavy_check_mark:  Validations from view included in serializer
    - [ ] :heavy_check_mark: All related fields using its base serializer

    - [ ] :ballot_box_with_check: Related Serializers that Don't exist are created

- [ ] :new: ViewSet Created _ path: `<module name>/viewsets`_

    - [ ] :heavy_check_mark: ViewSet added to `api/urls.py`
    - [ ] :heavy_check_mark: ViewSet added to Module `viewsets/index.py`

- :test_tube: Tests

    - [ ] :test_tube: ViewSet Permission tests _`test_<model name>_permission_viewset.py`_

    - [ ] :test_tube: API Fields rendering tests _`test_<model name>_api_v2.py`_

    - [ ] :test_tube: Serializer validation tests - _`test_<model name>_serializer.py`_

        _each validation conducted is checked to ensure it works_


Links

Requirements for Milestone

The following items must be met for this release to occur.

Milestone Non-Critical Tasks

The tasks within this section are not crucial to the release of this milestone. As such they mey be moved to the next milestone.

@jon-nfc jon-nfc added the type::specification Design specification label Oct 11, 2024
@jon-nfc jon-nfc added this to the v1.3 - UI / API Refactor milestone Oct 11, 2024
@jon-nfc jon-nfc self-assigned this Oct 11, 2024
@jon-nfc jon-nfc moved this to In progress in Centurion ERP Oct 11, 2024
@jon-nfc jon-nfc moved this from In progress to Planning in Centurion ERP Oct 11, 2024
@jon-nfc jon-nfc moved this from Planning to In progress in Centurion ERP Oct 11, 2024
@jon-nfc jon-nfc linked a pull request Oct 11, 2024 that will close this issue
8 tasks
jon-nfc added a commit that referenced this issue Oct 12, 2024
jon-nfc added a commit that referenced this issue Oct 12, 2024
jon-nfc added a commit that referenced this issue Oct 12, 2024
jon-nfc added a commit that referenced this issue Oct 12, 2024
jon-nfc added a commit that referenced this issue Oct 12, 2024
jon-nfc added a commit that referenced this issue Oct 12, 2024
adds required items to HTTP/Options request

ref:  #345 #346
jon-nfc added a commit that referenced this issue Oct 12, 2024
jon-nfc added a commit that referenced this issue Nov 27, 2024
jon-nfc added a commit that referenced this issue Nov 27, 2024
jon-nfc added a commit that referenced this issue Nov 27, 2024
jon-nfc added a commit that referenced this issue Nov 27, 2024
…ation, attribute verbose_name is defined and not empty

as team extends group, filtering of group fields is required so they are not checked when testing

ref:  #248 #345 #346
jon-nfc added a commit that referenced this issue Nov 27, 2024
API v2 endpint is /itam/device/x on path .config or .rendered_config

ref: #248 #345 #382
@github-project-automation github-project-automation bot moved this from In progress to Done in Centurion ERP Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::epic Issue Type is Epic User Story
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant