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 dataResidencyRegion option for sending to portal #1704

Merged
merged 28 commits into from
Aug 23, 2023

Conversation

MikhailSuendukov
Copy link
Contributor

@MikhailSuendukov MikhailSuendukov commented Aug 10, 2023

  • Has CHANGELOG.md been updated?
  • Are tests passing locally?
  • Are the files formatted correctly?
  • Did you add unit tests?
  • Did you test your change with either the sample apps that are included in the repository or with a blank app that uses your change?
  • Did you check UI tests on the sample app? They are not executed on CI.

Description

Add new API that allow to specify the data residency region for the current device.

Related PRs or issues

AB#102463

*
* @param dataResidencyRegion residency region code.
*/
public static void setDataResidencyRegion(@Nullable String dataResidencyRegion) {
Copy link
Contributor

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)

Copy link
Contributor Author

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

MikhailSuendukov and others added 21 commits August 14, 2023 18:23
…' 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
@DmitriyKirakosyan DmitriyKirakosyan merged commit 46e6bf2 into develop Aug 23, 2023
8 checks passed
@DmitriyKirakosyan DmitriyKirakosyan deleted the add-data-residency-region-option branch August 23, 2023 08:44
@AnatolyPristensky AnatolyPristensky mentioned this pull request Sep 15, 2023
@EatonZ
Copy link

EatonZ commented Feb 5, 2024

@DmitriyKirakosyan @MikhailSuendukov Hi, is there any documentation for this new setting? In particular, what is the list of supported regions that can be set?

@MikhailSuendukov
Copy link
Contributor Author

Hi @EatonZ dataResidencyRegion is WIP feature, at this moment, available only for internal use. There is no public documentation available at the moment.

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