-
Notifications
You must be signed in to change notification settings - Fork 142
Feature/UNR-2132 additional endpoint support patch 4.20 #1531
Feature/UNR-2132 additional endpoint support patch 4.20 #1531
Conversation
.NET upgraded to 4.6.1 to link to new Platform SDK
.NET upgraded to 4.6.1 to link to new Platform SDK
…m:spatialos/UnrealGDK into feature/UNR-2132-china-support-patch-4-20
Corresponding JIRA ticket: https://improbableio.atlassian.net/browse/UNR-2132 |
There exist instances in our code base and documentation where the assumed regions are I advise an audit (crtl - f) of these. |
SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs
Show resolved
Hide resolved
SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs
Outdated
Show resolved
Hide resolved
...ialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.csproj
Outdated
Show resolved
Hide resolved
SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs
Outdated
Show resolved
Hide resolved
...ialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.csproj
Outdated
Show resolved
Hide resolved
Co-Authored-By: Oliver Balaam <oliverbalaam@improbable.io>
…m:spatialos/UnrealGDK into feature/UNR-2132-china-support-patch-4-20
…Launcher/DeploymentLauncher.cs Co-Authored-By: Michael Samiec <michaelsamiec@improbable.io>
…Launcher/DeploymentLauncher.cs Co-Authored-By: Michael Samiec <michaelsamiec@improbable.io>
SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs
Show resolved
Hide resolved
…Launcher/DeploymentLauncher.cs Co-Authored-By: Michael Samiec <michaelsamiec@improbable.io>
…m:spatialos/UnrealGDK into feature/UNR-2132-china-support-patch-4-20
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.
thanks for the audit and the CHANGELOG update, this now lgtm
Adding endpoint settings to LocalDeploymentManager
…m:spatialos/UnrealGDK into feature/UNR-2132-china-support-patch-4-20
Added some more info China flags
Tabs->spaces Co-Authored-By: improbable-valentyn <32096431+improbable-valentyn@users.noreply.github.com>
SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs
Outdated
Show resolved
Hide resolved
SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs
Outdated
Show resolved
Hide resolved
+ Changed tabs->spaces + Sorted DeploymentManager includes
…ted DeploymentManager includes
* Adding API endpoints for China. .NET upgraded to 4.6.1 to link to new Platform SDK * Adding API endpoints for China. .NET upgraded to 4.6.1 to link to new Platform SDK * Added release note * Update CHANGELOG.md Co-Authored-By: Oliver Balaam <oliverbalaam@improbable.io> * FIxes from review * Update SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs Co-Authored-By: Michael Samiec <michaelsamiec@improbable.io> * Update SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs Co-Authored-By: Michael Samiec <michaelsamiec@improbable.io> * Update SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs Co-Authored-By: Michael Samiec <michaelsamiec@improbable.io> * Updating spatial version * Modifying Setup.bat to respect china endpoints Adding endpoint settings to LocalDeploymentManager * Changing china flag to capital * Fixed URL based on the console * Update Setup.bat Fixing whitespace * Apply suggestions from code review + Formatting suggestions Co-Authored-By: improbable-valentyn <32096431+improbable-valentyn@users.noreply.github.com> Co-Authored-By: Joshua Huburn <31517089+joshuahuburn@users.noreply.github.com> * Update DeploymentLauncher.cs Whitespace fix * Some items from the review * Changed comparison to case-insensitive and using --china to supply argument instead * Adding --China to shell script also * Update CHANGELOG.md Added some more info China flags * Apply suggestions from code review Tabs->spaces Co-Authored-By: improbable-valentyn <32096431+improbable-valentyn@users.noreply.github.com> * + Command-line args changed to lowercase + Changed tabs->spaces + Sorted DeploymentManager includes * + Command-line args changed to lowercase + Changed tabs->spaces + Sorted DeploymentManager includes * Fix spaces * Fixed formatting * Updated spot version
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.
Looks good!
@@ -22,6 +23,9 @@ internal class DeploymentLauncher | |||
|
|||
private const string CoordinatorWorkerName = "SimulatedPlayerCoordinator"; | |||
|
|||
private const string CHINA_ENDPOINT_URL = "platform-cn-production.api.spatialoschina.com"; |
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'm not 100% sure this is the right endpoint, didi @Helcaraxan confirm this was the one?
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.
This should have been platform.api.spatialoschina.com
. The production environment does not appears in the URL.
* Feature/UNR-2132 additional endpoint support patch 4.20 (#1531) * Adding API endpoints for China. .NET upgraded to 4.6.1 to link to new Platform SDK * Adding API endpoints for China. .NET upgraded to 4.6.1 to link to new Platform SDK * Added release note * Update CHANGELOG.md Co-Authored-By: Oliver Balaam <oliverbalaam@improbable.io> * FIxes from review * Update SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs Co-Authored-By: Michael Samiec <michaelsamiec@improbable.io> * Update SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs Co-Authored-By: Michael Samiec <michaelsamiec@improbable.io> * Update SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs Co-Authored-By: Michael Samiec <michaelsamiec@improbable.io> * Updating spatial version * Modifying Setup.bat to respect china endpoints Adding endpoint settings to LocalDeploymentManager * Changing china flag to capital * Fixed URL based on the console * Update Setup.bat Fixing whitespace * Apply suggestions from code review + Formatting suggestions Co-Authored-By: improbable-valentyn <32096431+improbable-valentyn@users.noreply.github.com> Co-Authored-By: Joshua Huburn <31517089+joshuahuburn@users.noreply.github.com> * Update DeploymentLauncher.cs Whitespace fix * Some items from the review * Changed comparison to case-insensitive and using --china to supply argument instead * Adding --China to shell script also * Update CHANGELOG.md Added some more info China flags * Apply suggestions from code review Tabs->spaces Co-Authored-By: improbable-valentyn <32096431+improbable-valentyn@users.noreply.github.com> * + Command-line args changed to lowercase + Changed tabs->spaces + Sorted DeploymentManager includes * + Command-line args changed to lowercase + Changed tabs->spaces + Sorted DeploymentManager includes * Fix spaces * Fixed formatting * Updated spot version * Update worker SDK ports (#1549) * Feature/update platform endpoint (#1553) * Update worker SDK ports * Updating platform endpoint * Update CHANGELOG.md (#1560) * Fix the third StopDeployments argument (#1563) * Fix the third StopDeployments argument * Update SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs * Update Version and VersionName in SpatialGDK.uplugin (#1562) * Update Version and VersionName in SpatialGDK.uplugin * Update SpatialGDK.uplugin
…rotection * Feature/UNR-2132 additional endpoint support patch 4.20 (spatialos#1531) * Adding API endpoints for China. .NET upgraded to 4.6.1 to link to new Platform SDK * Adding API endpoints for China. .NET upgraded to 4.6.1 to link to new Platform SDK * Added release note * Update CHANGELOG.md Co-Authored-By: Oliver Balaam <oliverbalaam@improbable.io> * FIxes from review * Update SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs Co-Authored-By: Michael Samiec <michaelsamiec@improbable.io> * Update SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs Co-Authored-By: Michael Samiec <michaelsamiec@improbable.io> * Update SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs Co-Authored-By: Michael Samiec <michaelsamiec@improbable.io> * Updating spatial version * Modifying Setup.bat to respect china endpoints Adding endpoint settings to LocalDeploymentManager * Changing china flag to capital * Fixed URL based on the console * Update Setup.bat Fixing whitespace * Apply suggestions from code review + Formatting suggestions Co-Authored-By: improbable-valentyn <32096431+improbable-valentyn@users.noreply.github.com> Co-Authored-By: Joshua Huburn <31517089+joshuahuburn@users.noreply.github.com> * Update DeploymentLauncher.cs Whitespace fix * Some items from the review * Changed comparison to case-insensitive and using --china to supply argument instead * Adding --China to shell script also * Update CHANGELOG.md Added some more info China flags * Apply suggestions from code review Tabs->spaces Co-Authored-By: improbable-valentyn <32096431+improbable-valentyn@users.noreply.github.com> * + Command-line args changed to lowercase + Changed tabs->spaces + Sorted DeploymentManager includes * + Command-line args changed to lowercase + Changed tabs->spaces + Sorted DeploymentManager includes * Fix spaces * Fixed formatting * Updated spot version * Update worker SDK ports (spatialos#1549) * Feature/update platform endpoint (spatialos#1553) * Update worker SDK ports * Updating platform endpoint * Update CHANGELOG.md (spatialos#1560) * Fix the third StopDeployments argument (spatialos#1563) * Fix the third StopDeployments argument * Update SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs * Update Version and VersionName in SpatialGDK.uplugin (spatialos#1562) * Update Version and VersionName in SpatialGDK.uplugin * Update SpatialGDK.uplugin # Conflicts: # CHANGELOG.md
…rotection * Feature/UNR-2132 additional endpoint support patch 4.20 (spatialos#1531) * Adding API endpoints for China. .NET upgraded to 4.6.1 to link to new Platform SDK * Adding API endpoints for China. .NET upgraded to 4.6.1 to link to new Platform SDK * Added release note * Update CHANGELOG.md Co-Authored-By: Oliver Balaam <oliverbalaam@improbable.io> * FIxes from review * Update SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs Co-Authored-By: Michael Samiec <michaelsamiec@improbable.io> * Update SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs Co-Authored-By: Michael Samiec <michaelsamiec@improbable.io> * Update SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs Co-Authored-By: Michael Samiec <michaelsamiec@improbable.io> * Updating spatial version * Modifying Setup.bat to respect china endpoints Adding endpoint settings to LocalDeploymentManager * Changing china flag to capital * Fixed URL based on the console * Update Setup.bat Fixing whitespace * Apply suggestions from code review + Formatting suggestions Co-Authored-By: improbable-valentyn <32096431+improbable-valentyn@users.noreply.github.com> Co-Authored-By: Joshua Huburn <31517089+joshuahuburn@users.noreply.github.com> * Update DeploymentLauncher.cs Whitespace fix * Some items from the review * Changed comparison to case-insensitive and using --china to supply argument instead * Adding --China to shell script also * Update CHANGELOG.md Added some more info China flags * Apply suggestions from code review Tabs->spaces Co-Authored-By: improbable-valentyn <32096431+improbable-valentyn@users.noreply.github.com> * + Command-line args changed to lowercase + Changed tabs->spaces + Sorted DeploymentManager includes * + Command-line args changed to lowercase + Changed tabs->spaces + Sorted DeploymentManager includes * Fix spaces * Fixed formatting * Updated spot version * Update worker SDK ports (spatialos#1549) * Feature/update platform endpoint (spatialos#1553) * Update worker SDK ports * Updating platform endpoint * Update CHANGELOG.md (spatialos#1560) * Fix the third StopDeployments argument (spatialos#1563) * Fix the third StopDeployments argument * Update SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/DeploymentLauncher/DeploymentLauncher.cs * Update Version and VersionName in SpatialGDK.uplugin (spatialos#1562) * Update Version and VersionName in SpatialGDK.uplugin * Update SpatialGDK.uplugin
Contributions: We are not currently taking public contributions - see our contributions policy. However, we are accepting issues and we do want your feedback.
Description
Adding support for CN endpoint
Release note
Tests
N/A
STRONGLY SUGGESTED: How can this be verified by QA?
Launch a deployment in CN region
Documentation
Not needed
Primary reviewers
@joshuahuburn