Skip to content

Use Wiremock to simulate the request/response of the MS Graph API - #52

Closed
amitjangra2599 wants to merge 2 commits into
developfrom
12-pull-employee-list-from-office365-to-cache-and-populate-in-auto-complete-host-drop-down
Closed

Use Wiremock to simulate the request/response of the MS Graph API#52
amitjangra2599 wants to merge 2 commits into
developfrom
12-pull-employee-list-from-office365-to-cache-and-populate-in-auto-complete-host-drop-down

Conversation

@amitjangra2599

Copy link
Copy Markdown
Collaborator

Description

Use Wiremock to simulate the request/response of the MS Graph API.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Database change

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

  • Unit Tests
  • Integration Tests
  • Manual Testing (please describe)

Checklist:

  • I have created ADR (Architecture Decision Record) for this change, in case of architecture or tech stack changes.
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes in other branches have been merged
  • I have updated the relevant application properties files (if needed)
  • I have updated any necessary database migrations (if needed)

Screenshots (for UX changes):

Additional Notes:

Please add any additional notes, dependencies, or context that reviewers should know about.

@amitjangra2599

Copy link
Copy Markdown
Collaborator Author

Hi @axymthr, I’ve implemented the WireMock simulation for pulling employees using MS Graph.
Whenever you get a chance, please review it and let me know if you have any feedback or suggestions.

@axymthr

axymthr commented Jul 30, 2025

Copy link
Copy Markdown
Contributor

I'm not clear on the intent of this PR. Are you going to raise several PRs for this feature? All you have here is a test scaffolding and an API call where the response isn't being used.

@amitjangra2599

Copy link
Copy Markdown
Collaborator Author

Hi @akshay-nanda-sneo I have added more work in this PR. Please review and let me know any if you have any feedback or suggestions.

- Integrated sync with Microsoft Graph API to fetch employee data
- Added @scheduled task to run sync every 24 hours
@axymthr
axymthr force-pushed the 12-pull-employee-list-from-office365-to-cache-and-populate-in-auto-complete-host-drop-down branch from afb6408 to 9f1a175 Compare August 6, 2025 16:17
@axymthr axymthr closed this Nov 29, 2025
@axymthr
axymthr deleted the 12-pull-employee-list-from-office365-to-cache-and-populate-in-auto-complete-host-drop-down branch November 29, 2025 10:26
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.

Pull employee list from Office365 to cache and populate in auto complete host drop-down

2 participants