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

RUMM-1397 Update Endpoints #523

Merged
merged 2 commits into from
Jun 21, 2021
Merged

Conversation

xgouchet
Copy link
Member

What and why?

Update the endpoints available in the SDK and mark previous ones as deprecated.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)
  • Make sure each commit and the PR mention the Issue number or JIRA reference

@xgouchet xgouchet requested review from a team as code owners June 21, 2021 12:54
Copy link
Contributor

@buranmert buranmert left a comment

Choose a reason for hiding this comment

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

lgtm but i left a question regarding DDRUMEndpoint

public static func eu1() -> DDEndpoint { .init(sdkEndpoint: .eu1) }

@objc
public static func us1_fed() -> DDEndpoint { .init(sdkEndpoint: .us1_fed) }
Copy link
Contributor

Choose a reason for hiding this comment

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

we have DDLogsEndpoint / DDTracesEndpoint but we don't have DDRUMEndpoint, did we forget it or should we deprecate DDLogsEndpoint / DDTracesEndpoint as well?

Copy link
Member

Choose a reason for hiding this comment

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

Both set(logsEndpoint: DDLogsEndpoint) and public func set(tracessEndpoint: DDLogsEndpoint) were deprecated when introducing common func set(endpoint: DDEndpoint). Enum cases were not deprecated, but they could be.

@xgouchet xgouchet force-pushed the xgouchet/RUMM-1397/update_endpoint branch from dd73253 to 1041d07 Compare June 21, 2021 13:22
@xgouchet xgouchet force-pushed the xgouchet/RUMM-1397/update_endpoint branch from 1041d07 to 4ff0cd8 Compare June 21, 2021 13:32
Copy link
Member

@ncreated ncreated left a comment

Choose a reason for hiding this comment

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

LG 👍

@xgouchet xgouchet merged commit 696b394 into master Jun 21, 2021
@xgouchet xgouchet deleted the xgouchet/RUMM-1397/update_endpoint branch June 21, 2021 14:18
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.

3 participants