From 24f800765c859974d2576eed2e9d3d29dcad375a Mon Sep 17 00:00:00 2001 From: "Monroe, Josh" Date: Fri, 14 Feb 2020 08:56:57 -0600 Subject: [PATCH] - Adding the China region --- _bootstrap.php | 12 +++++++----- app.json | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/_bootstrap.php b/_bootstrap.php index d837fd7..43eb1f3 100644 --- a/_bootstrap.php +++ b/_bootstrap.php @@ -31,17 +31,19 @@ } // get regional url prefix -$prefix = 'test-'; +$prefix = 'mtf.'; if (strcasecmp($region, "ASIA_PACIFIC") == 0) { - $prefix = 'ap-'; + $prefix = 'ap.'; } else if (strcasecmp($region, "EUROPE") == 0) { - $prefix = 'eu-'; + $prefix = 'eu.'; } else if (strcasecmp($region, "NORTH_AMERICA") == 0) { - $prefix = 'na-'; + $prefix = 'na.'; } else if (strcasecmp($region, "INDIA") == 0) { $prefix = 'in.'; +} else if (strcasecmp($region, "CHINA") == 0) { + $prefix = 'cn.'; } else if (strcasecmp($region, "MTF") == 0) { - $prefix = 'test-'; + $prefix = 'mtf.'; } else if (strcasecmp($region, "QA01") == 0) { $prefix = 'qa01.'; } else { diff --git a/app.json b/app.json index 6395d9d..2679573 100644 --- a/app.json +++ b/app.json @@ -14,7 +14,7 @@ }, "GATEWAY_REGION": { "required": true, - "description": "The Gateway region to target (options: ASIA_PACIFIC, EUROPE, NORTH_AMERICA, INDIA, MTF)", + "description": "The Gateway region to target (options: ASIA_PACIFIC, EUROPE, NORTH_AMERICA, INDIA, CHINA, MTF)", "value": "MTF" }, "GATEWAY_API_VERSION": {