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

#95 | Implement the process of searching Assignment by location #159

Merged
merged 20 commits into from
Sep 5, 2023

Commits on Aug 25, 2023

  1. Configuration menu
    Copy the full SHA
    b2bd463 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    19a15fb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dd185de View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2023

  1. Update search endpoint with service and update assignment response ma…

    …pper
    
    I added assignmentSearchService and assignmentToAssignmentResponseMapper to AssignmentController.
    I updated assignment search endpoint. It does not search assignment but gets by coordinates to test for now.
    I added mappings for latitude and longitude fields.
    ibrahimdenizz committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    e3188c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3380894 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bcafb2f View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. Fix coordinate parameters issue.

    The longitude wil be x-axis and latitude will be y-axis.
    ibrahimdenizz committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    4c2d8a1 View commit details
    Browse the repository at this point in the history
  2. Add control that checks whether user is ready.

    I added isReady method to UserEntity class. isReady checks is active and ready.
    I added user status control searchAssignment method of AssignmentSearchService. This control checks whether user's support status is ready and user's status is active.
    I added AysAssignmentUserNotReadyException exception to throw when the above control fails.
    ibrahimdenizz committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    ae01d15 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Add assignment availability control and reserve assignment feature

    I added active status control to search assignment query.
    I added reserve method to AssignmentEntity class.
    I implemented findNearestAvailableAssignment and reserve method of AssigmentEntity.
    ibrahimdenizz committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    d803fc7 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. Configuration menu
    Copy the full SHA
    3d56b56 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e86c632 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    17e0181 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Merge branch 'main' into feature/95/user-assignment-search

    # Conflicts:
    #	src/main/java/com/ays/assignment/controller/AssignmentController.java
    #	src/main/java/com/ays/assignment/repository/AssignmentRepository.java
    #	src/test/java/com/ays/assignment/controller/AssignmentControllerTest.java
    #	src/test/java/com/ays/assignment/controller/AssignmentSystemTest.java
    ibrahimdenizz committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    bbeb172 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2023

  1. Configuration menu
    Copy the full SHA
    f09fd1c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f31cb60 View commit details
    Browse the repository at this point in the history
  3. Add fourth user has supportStatus READY for system tests

    I Added fourth user has supportStatus READY in second database changes (`2-ays-dml.xml`).
    Then, I added fourth user token to use assignment search system test
    ibrahimdenizz committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    2cd8a8c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f0ad047 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f969be3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    48f068a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cc00bd2 View commit details
    Browse the repository at this point in the history