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

PIA-1845: Add Dedicated IP native endpoint #45

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

kp-said-rehouni
Copy link
Collaborator

@kp-said-rehouni kp-said-rehouni commented Jun 20, 2024

Summary
This PR migrates the renew dedicated IP and get dedicated ip servers to Swift native.
It also adds unit tests for the use cases.

@kp-said-rehouni kp-said-rehouni force-pushed the PIA-1845_integrate_dedicatedip_endpoints branch 3 times, most recently from 8d210f3 to e54ef61 Compare June 20, 2024 21:41
Copy link
Collaborator

@kp-laura-sempere kp-laura-sempere left a comment

Choose a reason for hiding this comment

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

Great job , Said!

I just posted a question about one of the use cases, but they PR looks very good 👍

}

extension SignupInformationDataCoverter: JSONToStringCoverterType {}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice 👍

}

private func makeConfiguration(dipTokens: [String]) -> RenewDedicatedIPRequestConfiguration {
var configuration = RenewDedicatedIPRequestConfiguration()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just a question: if this is the GetDedicatedIPsUseCase, why do we execute the request with the RenewDedicatedIPRequestConfiguration?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch! Will update it. Thank you!

@@ -32,7 +32,7 @@ extension Client {
public var accountProvider: AccountProvider = AccountFactory.makeDefaultAccountProvider()

/// Provides methods for handling the available VPN servers.
public var serverProvider: ServerProvider = DefaultServerProvider()
public var serverProvider: ServerProvider = ServerProviderFactory.makeDefaultServerProvider()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Very cool!

@kp-said-rehouni kp-said-rehouni force-pushed the PIA-1845_integrate_dedicatedip_endpoints branch 8 times, most recently from 5c65b83 to b0ff627 Compare July 4, 2024 14:35
@kp-said-rehouni kp-said-rehouni force-pushed the PIA-1845_integrate_dedicatedip_endpoints branch from b0ff627 to 574f6b4 Compare July 4, 2024 15:28
@kp-said-rehouni kp-said-rehouni marked this pull request as ready for review July 4, 2024 15:29
Copy link
Collaborator

@kp-laura-sempere kp-laura-sempere left a comment

Choose a reason for hiding this comment

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

Great job @kp-said-rehouni! 🚀

@kp-laura-sempere kp-laura-sempere merged commit a4a4164 into master Jul 4, 2024
1 check passed
@kp-laura-sempere kp-laura-sempere deleted the PIA-1845_integrate_dedicatedip_endpoints branch July 4, 2024 17:02
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.

None yet

2 participants