Skip to content

Fix ldap check#158

Closed
usmannsiddiqui wants to merge 36 commits into
mainfrom
fix-ldap-check
Closed

Fix ldap check#158
usmannsiddiqui wants to merge 36 commits into
mainfrom
fix-ldap-check

Conversation

@usmannsiddiqui
Copy link
Copy Markdown
Contributor

Strip BOM from uploaded CSV to handle Excel exports and fixed error message typo: 'Usernames' -> 'Username'
added these credentials: Add CENTRAL_LDAP_HOST and CENTRAL_LDAP_PORT to .envrc.example.

   - Fill in all test cases using WebMock to stub HTTP responses
   - Fix RSpec.describe class name and capitalization
   - Fix auth header from Bearer token to X-API-KEY
Adds CommitteeData::EtdaImporter with import_all and import_for_faculty
methods. Iterates over all faculty, calls the ETDA API client, and
creates committee records. Error handling and tests still in progress.
   - Add CommitteeData::EtdaImporter.new.import_all call to integrate method
   - Pass faculty object directly to import_for_faculty instead of access_id
   - Move import_for_faculty to private and fix access_id references
…nstead of a hash

- Rename job to 'Committee Integration'
- Use send(:name) in spec to test private method
- Fix stage_of_completion: 'In Progress' -> 'In Process' to match
  Activity Insight's valid dropdown values; add 'Withdrew' support
- Add role_other_explanation and type_other_explanation DB columns
  for when role/type maps to 'Other' in Activity Insight
- Improve map_type_of_work to use role context and handle more
  degree types (undergraduate, postdoc, honors)
- Emit <ROLE_OTHER> and <TYPE_OTHER> XML tags when explanations present
- Update all related specs
- Strip BOM from uploaded CSV to handle Excel exports
- Fix error message typo: 'Usernames' -> 'Username'
- Add CENTRAL_LDAP_HOST and CENTRAL_LDAP_PORT to .envrc.example
Copy link
Copy Markdown

@jlandiseigsti Jesse LE (jlandiseigsti) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes for the commit "Fix LDAP Check CSV parsing for Excel-exported files", which is the focus of the pull request, look good. However, this PR has lots of other commits that are duplicated by PR #152. You don't want the same commits or code changes in multiple PRs, and you don't want code changes in a PR that aren't related to the purpose of the PR.

After you get the changes Alex requested in PR 152 resolved and merged in, we'll return to this PR. At that point, there should only be one commit, and two files changed...much easier to review.

@ajkiessl Alex Kiessling (ajkiessl) changed the base branch from main to etda-post-receiver March 31, 2026 20:25
@jvitorbarros15 Joao Vitor Barros da Silva (jvitorbarros15) changed the base branch from etda-post-receiver to main April 9, 2026 16:00
@ajkiessl Alex Kiessling (ajkiessl) deleted the fix-ldap-check branch April 30, 2026 14:16
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.

5 participants