-
Notifications
You must be signed in to change notification settings - Fork 134
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 dataResidencyRegion option for sending to portal #1704
Conversation
sdk/appcenter/src/main/java/com/microsoft/appcenter/ingestion/models/Device.java
Outdated
Show resolved
Hide resolved
* | ||
* @param dataResidencyRegion residency region code. | ||
*/ | ||
public static void setDataResidencyRegion(@Nullable String dataResidencyRegion) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why @nullable here? Do we have any use case of AppCenter.setDataResidencyRegion(null)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I decided to do this because of the requirement that data residency region can contain any string, including null
sdk/appcenter/src/main/java/com/microsoft/appcenter/utils/DeviceInfoHelper.java
Outdated
Show resolved
Hide resolved
sdk/appcenter/src/main/java/com/microsoft/appcenter/utils/DeviceInfoHelper.java
Outdated
Show resolved
Hide resolved
sdk/appcenter/src/main/java/com/microsoft/appcenter/utils/DeviceInfoHelper.java
Outdated
Show resolved
Hide resolved
sdk/appcenter/src/main/java/com/microsoft/appcenter/utils/DeviceInfoHelper.java
Outdated
Show resolved
Hide resolved
…models/Device.java Co-authored-by: Dima <[email protected]>
…ceInfoHelper.java Co-authored-by: Dima <[email protected]>
…ceInfoHelper.java Co-authored-by: Dima <[email protected]>
…ceInfoHelper.java Co-authored-by: Dima <[email protected]>
…ceInfoHelper.java Co-authored-by: Dima <[email protected]>
…' into add-data-residency-region-option # Conflicts: # sdk/appcenter/src/main/java/com/microsoft/appcenter/ingestion/models/Device.java # sdk/appcenter/src/main/java/com/microsoft/appcenter/utils/DeviceInfoHelper.java
sdk/appcenter/src/main/java/com/microsoft/appcenter/ingestion/models/AbstractLog.java
Outdated
Show resolved
Hide resolved
…models/AbstractLog.java Co-authored-by: Dima <[email protected]>
…' into add-data-residency-region-option
@DmitriyKirakosyan @MikhailSuendukov Hi, is there any documentation for this new setting? In particular, what is the list of supported regions that can be set? |
Hi @EatonZ |
CHANGELOG.md
been updated?Description
Add new API that allow to specify the data residency region for the current device.
Related PRs or issues
AB#102463