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

add identity validation, del Campaigns APIs #275

Merged
merged 2 commits into from
Sep 30, 2022
Merged

Conversation

jho44
Copy link
Contributor

@jho44 jho44 commented Aug 24, 2022

ticket

Added Identity Validation API and tests
Regen SDK
Deleted Campaign APIs

Comment on lines 56 to 58
apiClient.setBasePath(BASE_PATH);
basicAuth.setUsername(LOB_API_KEY);
return apiClient;
Copy link
Contributor

Choose a reason for hiding this comment

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

@jho44 What is the purpose of all the extra code here? It seems like both use these lines.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

One of the functions uses the TEST KEY for integration tests while the other (previously undefined) uses the LIVE KEY for integration tests. I was following precedent with older SDK tests. But in hindsight, it would've been DRYer to pass "live" or "test" as a parameter to one function that chooses between the keys based on the parameter. Should I do that instead? I'll need to edit all other files that use the getConfigForIntegration function.

Copy link
Contributor

Choose a reason for hiding this comment

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

@jho44 Nope it's ok it must be the weird layout in GH, it looked like they were doing the exact same thing. This is fine the way it is. Thanks!

@BennyKitchell BennyKitchell requested a review from a team as a code owner September 30, 2022 18:29
@BennyKitchell BennyKitchell merged commit 25d3cea into main Sep 30, 2022
@BennyKitchell BennyKitchell deleted the identityValidation branch September 30, 2022 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants