Skip to content

Commit a92400f

Browse files
authored
Merge pull request #33 from GetStream/feat/update-dot-com-domain
Feat/update dot com domain
2 parents 01f6ca6 + b884e4e commit a92400f

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ you can download it from [here](https://github.com/GetStream/stream-java/release
5151

5252
Snapshots of the development version are available in [Sonatype](https://oss.sonatype.org/content/repositories/snapshots/io/getstream/client/) snapshots repository.
5353

54+
#### JDK / JVM version requirements
55+
56+
This API Client project requires Java SE 8.
57+
58+
See the [Travis configuration](.travis.yml) for details of how it is built, tested and packaged.
59+
5460
### Full documentation
5561

5662
Documentation for this Java client are available at the [Stream website](https://getstream.io/docs/?language=java).

stream-core/src/main/java/io/getstream/client/config/StreamRegion.java

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@
1010
*/
1111
public enum StreamRegion {
1212

13-
BASE("https://api.getstream.io/api"),
14-
US_EAST("https://us-east-api.getstream.io/api"),
15-
US_WEST("https://us-west-api.getstream.io/api"),
16-
EU_WEST("https://eu-west-api.getstream.io/api"),
17-
AP_NORTH_EAST("https://ap-northeast-api.getstream.io/api"),
18-
AP_SOUTH_EAST("https://ap-southeast-api.getstream.io/api"),
13+
BASE("https://api.stream-io-api.com/api"),
14+
US_EAST("https://us-east-api.stream-io-api.com/api"),
15+
US_WEST("https://us-west-api.stream-io-api.com/api"),
16+
EU_WEST("https://eu-west-api.stream-io-api.com/api"),
17+
AP_NORTH_EAST("https://ap-northeast-api.stream-io-api.com/api"),
18+
AP_SOUTH_EAST("https://ap-southeast-api.stream-io-api.com/api"),
1919
LOCAL_TEST("http://localhost:8089/api"), /* used for testing purpose only */
20-
QA_TEST("http://qa-api.getstream.io/api"), /* used for integration test */
21-
SNI_TEST("https://sni-api.getstream.io/api"); /* used for testing purpose only */
20+
QA_TEST("https://qa-api.stream-io-api.com/api"); /* used for integration test */
2221

2322
protected final static String VERSION = "v1.0";
2423

stream-core/src/test/java/io/getstream/client/config/StreamRegionTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ public class StreamRegionTest {
99

1010
@Test
1111
public void shouldGetEndpoint() {
12-
assertThat(StreamRegion.US_EAST.getEndpoint().toString(), is("https://us-east-api.getstream.io/api/" + StreamRegion.VERSION));
12+
assertThat(StreamRegion.US_EAST.getEndpoint().toString(), is("https://us-east-api.stream-io-api.com/api/" + StreamRegion.VERSION));
1313
}
14-
}
14+
}

0 commit comments

Comments
 (0)