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

LocalUnit: Create, Update, Revert, Latest changes Apis #2336

Merged
merged 6 commits into from
Dec 10, 2024

Conversation

susilnem
Copy link
Member

@susilnem susilnem commented Dec 9, 2024

Addresses

Changes

  • Filter the local unit for deprecated local units
  • Change logic for create, update.
  • Add revert and latest-changes apis
  • Add deprecated reason enums in global enum field
  • Add test cases

Checklist

Things that should succeed before merging.

  • Updated/ran unit tests
  • Updated CHANGELOG.md

Release

If there is a version update, make sure to tag the repository with the latest version.

@susilnem susilnem changed the base branch from develop to project/localunit December 9, 2024 08:03
@susilnem susilnem requested review from thenav56 and Rup-Narayan-Rajbanshi and removed request for thenav56 December 9, 2024 12:29
local_units/models.py Show resolved Hide resolved
local_units/utils.py Outdated Show resolved Hide resolved
local_units/views.py Outdated Show resolved Hide resolved
local_units/views.py Outdated Show resolved Hide resolved
local_units/views.py Outdated Show resolved Hide resolved
local_units/views.py Outdated Show resolved Hide resolved
local_units/test_views.py Outdated Show resolved Hide resolved
local_units/test_views.py Show resolved Hide resolved
local_units/views.py Show resolved Hide resolved
local_units/views.py Outdated Show resolved Hide resolved
local_units/views.py Outdated Show resolved Hide resolved
local_units/views.py Outdated Show resolved Hide resolved
local_units/views.py Outdated Show resolved Hide resolved
@susilnem susilnem force-pushed the feature/localunit-apis branch 2 times, most recently from 49a6a0f to 238bd03 Compare December 10, 2024 09:12
@thenav56 thenav56 marked this pull request as ready for review December 10, 2024 09:14
@thenav56 thenav56 merged commit bd94884 into project/localunit Dec 10, 2024
3 checks passed
@thenav56 thenav56 deleted the feature/localunit-apis branch December 10, 2024 09:21
susilnem added a commit that referenced this pull request Dec 16, 2024
* Add Create,Update,Validate Apis logics

* Add changes in apis and add new migration file

* Add local units enums to global enums

* Add test cases for local units apis

* Add latest changes api for local units
- validate the location
- Revert API
- add test cases

* Update logics on latest-change-request api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants