Skip to content

Commit b3c0f0f

Browse files
paddybyersclaude
andcommitted
Update sandbox provisioning URLs to nonprod hostname
Replace deprecated sandbox-rest.ably.io with sandbox.realtime.ably-nonprod.net in all UTS test spec provisioning blocks and documentation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent df587d7 commit b3c0f0f

28 files changed

Lines changed: 72 additions & 72 deletions

uts/docs/integration-testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,15 @@ Every integration test file includes the standard sandbox provisioning:
137137

138138
```pseudo
139139
BEFORE ALL TESTS:
140-
response = POST https://sandbox-rest.ably.io/apps
140+
response = POST https://sandbox.realtime.ably-nonprod.net/apps
141141
WITH body from ably-common/test-resources/test-app-setup.json
142142
143143
app_config = parse_json(response.body)
144144
api_key = app_config.keys[0].key_str
145145
app_id = app_config.app_id
146146
147147
AFTER ALL TESTS:
148-
DELETE https://sandbox-rest.ably.io/apps/{app_id}
148+
DELETE https://sandbox.realtime.ably-nonprod.net/apps/{app_id}
149149
WITH Authorization: Basic {api_key}
150150
```
151151

uts/docs/writing-test-specs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ Tests that [behaviour] when the proxy injects [fault].
342342

343343
```pseudo
344344
session = create_proxy_session(
345-
target: TargetConfig(realtimeHost: "sandbox-realtime.ably.io", restHost: "sandbox-rest.ably.io"),
345+
target: TargetConfig(realtimeHost: "sandbox.realtime.ably-nonprod.net", restHost: "sandbox.realtime.ably-nonprod.net"),
346346
port: allocated_port,
347347
rules: [{
348348
"match": { ... },

uts/realtime/integration/auth.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ Tests use JWTs generated using a third-party JWT library, signed with the app ke
1111

1212
## Sandbox Setup
1313

14-
Tests run against the Ably Sandbox at `https://sandbox-rest.ably.io`.
14+
Tests run against the Ably Sandbox at `https://sandbox.realtime.ably-nonprod.net`.
1515

1616
### App Provisioning
1717

1818
```pseudo
1919
BEFORE ALL TESTS:
20-
response = POST https://sandbox-rest.ably.io/apps
20+
response = POST https://sandbox.realtime.ably-nonprod.net/apps
2121
WITH body from ably-common/test-resources/test-app-setup.json
2222
2323
app_config = parse_json(response.body)
2424
api_key = app_config.keys[0].key_str
2525
app_id = app_config.app_id
2626
2727
AFTER ALL TESTS:
28-
DELETE https://sandbox-rest.ably.io/apps/{app_id}
28+
DELETE https://sandbox.realtime.ably-nonprod.net/apps/{app_id}
2929
WITH Authorization: Basic {api_key}
3030
```
3131

uts/realtime/integration/channel_history_test.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ Integration test against Ably Sandbox endpoint
77

88
## Sandbox Setup
99

10-
Tests run against the Ably Sandbox at `https://sandbox-rest.ably.io`.
10+
Tests run against the Ably Sandbox at `https://sandbox.realtime.ably-nonprod.net`.
1111

1212
### App Provisioning
1313

1414
```pseudo
1515
BEFORE ALL TESTS:
16-
response = POST https://sandbox-rest.ably.io/apps
16+
response = POST https://sandbox.realtime.ably-nonprod.net/apps
1717
WITH body from ably-common/test-resources/test-app-setup.json
1818
1919
app_config = parse_json(response.body)
2020
api_key = app_config.keys[0].key_str
2121
app_id = app_config.app_id
2222
2323
AFTER ALL TESTS:
24-
DELETE https://sandbox-rest.ably.io/apps/{app_id}
24+
DELETE https://sandbox.realtime.ably-nonprod.net/apps/{app_id}
2525
WITH Authorization: Basic {api_key}
2626
```
2727

uts/realtime/integration/connection_lifecycle_test.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ Integration test against Ably Sandbox endpoint
77

88
## Sandbox Setup
99

10-
Tests run against the Ably Sandbox at `https://sandbox-rest.ably.io`.
10+
Tests run against the Ably Sandbox at `https://sandbox.realtime.ably-nonprod.net`.
1111

1212
### App Provisioning
1313

1414
```pseudo
1515
BEFORE ALL TESTS:
1616
# Provision test app
17-
response = POST https://sandbox-rest.ably.io/apps
17+
response = POST https://sandbox.realtime.ably-nonprod.net/apps
1818
WITH body from ably-common/test-resources/test-app-setup.json
1919
2020
app_config = parse_json(response.body)
@@ -23,7 +23,7 @@ BEFORE ALL TESTS:
2323
2424
AFTER ALL TESTS:
2525
# Clean up test app
26-
DELETE https://sandbox-rest.ably.io/apps/{app_id}
26+
DELETE https://sandbox.realtime.ably-nonprod.net/apps/{app_id}
2727
WITH Authorization: Basic {api_key}
2828
```
2929

uts/realtime/integration/delta_decoding_test.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,23 @@ order compared to `VD2a`.
2828

2929
## Sandbox Setup
3030

31-
Tests run against the Ably Sandbox at `https://sandbox-rest.ably.io`.
31+
Tests run against the Ably Sandbox at `https://sandbox.realtime.ably-nonprod.net`.
3232

3333
**Note:** `useBinaryProtocol: false` is required if the SDK does not implement msgpack.
3434

3535
### App Provisioning
3636

3737
```pseudo
3838
BEFORE ALL TESTS:
39-
response = POST https://sandbox-rest.ably.io/apps
39+
response = POST https://sandbox.realtime.ably-nonprod.net/apps
4040
WITH body from ably-common/test-resources/test-app-setup.json
4141
4242
app_config = parse_json(response.body)
4343
api_key = app_config.keys[0].key_str
4444
app_id = app_config.app_id
4545
4646
AFTER ALL TESTS:
47-
DELETE https://sandbox-rest.ably.io/apps/{app_id}
47+
DELETE https://sandbox.realtime.ably-nonprod.net/apps/{app_id}
4848
WITH Authorization: Basic {api_key}
4949
```
5050

uts/realtime/integration/helpers/proxy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ interface ProxySession:
6666
close()
6767
6868
function create_proxy_session(
69-
endpoint: String, # e.g. "nonprod:sandbox" → resolves to sandbox-realtime.ably.io / sandbox-rest.ably.io
69+
endpoint: String, # e.g. "nonprod:sandbox" → resolves to sandbox.realtime.ably-nonprod.net
7070
port: Int,
7171
rules?: List<Rule>,
7272
timeoutMs?: Int # Session auto-cleanup timeout (default 30000)

uts/realtime/integration/mutable_messages_test.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@ integration tests (`rest/integration/mutable_messages.md`) by verifying:
1919

2020
## Sandbox Setup
2121

22-
Tests run against the Ably Sandbox at `https://sandbox-rest.ably.io`.
22+
Tests run against the Ably Sandbox at `https://sandbox.realtime.ably-nonprod.net`.
2323

2424
**Note:** `useBinaryProtocol: false` is required if the SDK does not implement msgpack.
2525

2626
### App Provisioning
2727

2828
```pseudo
2929
BEFORE ALL TESTS:
30-
response = POST https://sandbox-rest.ably.io/apps
30+
response = POST https://sandbox.realtime.ably-nonprod.net/apps
3131
WITH body from ably-common/test-resources/test-app-setup.json
3232
3333
app_config = parse_json(response.body)
3434
api_key = app_config.keys[0].key_str
3535
app_id = app_config.app_id
3636
3737
AFTER ALL TESTS:
38-
DELETE https://sandbox-rest.ably.io/apps/{app_id}
38+
DELETE https://sandbox.realtime.ably-nonprod.net/apps/{app_id}
3939
WITH Authorization: Basic {api_key}
4040
```
4141

uts/realtime/integration/presence_lifecycle_test.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,23 @@ broadcasts presence events, delivers SYNC data, and maintains presence state.
1616

1717
## Sandbox Setup
1818

19-
Tests run against the Ably Sandbox at `https://sandbox-rest.ably.io`.
19+
Tests run against the Ably Sandbox at `https://sandbox.realtime.ably-nonprod.net`.
2020

2121
**Note:** `useBinaryProtocol: false` is required if the SDK does not implement msgpack.
2222

2323
### App Provisioning
2424

2525
```pseudo
2626
BEFORE ALL TESTS:
27-
response = POST https://sandbox-rest.ably.io/apps
27+
response = POST https://sandbox.realtime.ably-nonprod.net/apps
2828
WITH body from ably-common/test-resources/test-app-setup.json
2929
3030
app_config = parse_json(response.body)
3131
api_key = app_config.keys[0].key_str
3232
app_id = app_config.app_id
3333
3434
AFTER ALL TESTS:
35-
DELETE https://sandbox-rest.ably.io/apps/{app_id}
35+
DELETE https://sandbox.realtime.ably-nonprod.net/apps/{app_id}
3636
WITH Authorization: Basic {api_key}
3737
```
3838

uts/realtime/integration/proxy/auth_reauth.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Corresponding unit tests:
1818
```pseudo
1919
BEFORE ALL TESTS:
2020
# Provision test app
21-
response = POST https://sandbox-rest.ably.io/apps
21+
response = POST https://sandbox.realtime.ably-nonprod.net/apps
2222
WITH body from ably-common/test-resources/test-app-setup.json
2323
2424
app_config = parse_json(response.body)
@@ -27,7 +27,7 @@ BEFORE ALL TESTS:
2727
2828
AFTER ALL TESTS:
2929
# Clean up test app
30-
DELETE https://sandbox-rest.ably.io/apps/{app_id}
30+
DELETE https://sandbox.realtime.ably-nonprod.net/apps/{app_id}
3131
WITH Authorization: Basic {api_key}
3232
```
3333

0 commit comments

Comments
 (0)