Skip to content

Rename LexisNexis constant from "lexisnexis" to "lexis_nexis"#6581

Merged
aduth merged 3 commits intomainfrom
aduth-lexis-nexis-vendor-constant
Aug 10, 2022
Merged

Rename LexisNexis constant from "lexisnexis" to "lexis_nexis"#6581
aduth merged 3 commits intomainfrom
aduth-lexis-nexis-vendor-constant

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Jul 12, 2022

Context: #6576 (comment)

Why: So that we're referencing vendor names consistently.

Temporarily merges to #6576.

Requires configuration changes which cannot be made for at least the next couple days (see related Slack discussion).

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM

@aduth aduth force-pushed the aduth-lg-6348-ready-to-verify branch from b385c44 to b5875eb Compare July 13, 2022 14:21
@aduth aduth changed the base branch from aduth-lg-6348-ready-to-verify to main July 13, 2022 14:22
@aduth aduth changed the base branch from main to aduth-lg-6348-ready-to-verify July 13, 2022 14:23
Base automatically changed from aduth-lg-6348-ready-to-verify to main July 14, 2022 12:19
**Why**: So that we're referencing vendor names consistently.

changelog: Internal, Code Quality, Normalize proofing vendor name references
@aduth aduth force-pushed the aduth-lexis-nexis-vendor-constant branch from 9d4cb2e to 873c11e Compare July 28, 2022 21:28
@aduth aduth marked this pull request as ready for review July 29, 2022 13:17
@aduth
Copy link
Contributor Author

aduth commented Jul 29, 2022

Returning to this, it occurs to me that since the LexisNexis vendor name is used in configuration, we would need to change that value to match the new constant. But that also means we'd need to support both for a short time. I'm thinking the way we could handle this is temporarily hard-coding both versions in the relevant switch statement:

when Idp::Constants::Vendors::LEXIS_NEXIS, 'lexisnexis'

(cc for awareness @solipet, since I think you last adjusted these vendor configurations)

@aduth aduth merged commit 182526a into main Aug 10, 2022
@aduth aduth deleted the aduth-lexis-nexis-vendor-constant branch August 10, 2022 12:15
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.

2 participants