Skip to content

Commit

Permalink
remove mentions of Edge Server
Browse files Browse the repository at this point in the history
  • Loading branch information
MongoCaleb committed Sep 18, 2024
1 parent f8544c3 commit fa5a6e6
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 35 deletions.
4 changes: 2 additions & 2 deletions examples/dart/test/app_services_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ void main() {
test('Change BaseUrl', () async {
// :snippet-start: change-base-url
// Specify a custom baseUrl to connect to.
// In this case, an Edge Server instance running on the device.
final appConfig = AppConfiguration(edgeServerAppId,
// In this case, an custom server instance running on the device.
final appConfig = AppConfiguration(customServerAppId,
baseUrl: Uri.parse('http://localhost:80'));

var app = App(appConfig);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Specify a custom baseUrl to connect to.
// In this case, an Edge Server instance running on the device.
final appConfig = AppConfiguration(edgeServerAppId,
// In this case, an custom server instance running on the device.
final appConfig = AppConfiguration(customServerAppId,
baseUrl: Uri.parse('http://localhost:80'));

var app = App(appConfig);
Expand Down
4 changes: 2 additions & 2 deletions source/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ Welcome to the Atlas Device SDK Docs
.. introduction::

Atlas Device SDK is a suite of app development tools optimized for
data access and persistence on mobile and edge devices. Use the SDKs to
build data-driven mobile, edge, web, desktop, and IoT apps.
data access and persistence on mobile devices. Use the SDKs to
build data-driven mobile, web, desktop, and IoT apps.

.. button:: Get started with a tutorial
:uri: https://mongodb.com/docs/atlas/app-services/get-started/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ connect to a different server:

- Your App Services App uses :ref:`local deployment <local-deployment>`, and
you want to connect directly to a local ``baseURL`` in your region.
- You want to connect to an :ref:`Edge Server instance <edge-server-connect-from-client>`.

You can specify a ``baseURL`` in the
:dotnet-sdk:`AppConfiguration <reference/Realms.Sync.AppConfiguration.html#Realms_Sync_AppConfiguration_BaseUri>`.
Expand All @@ -76,8 +75,7 @@ Connect to a Different Server During Runtime
.. versionadded:: 12.1.0

In some cases, you might want to change the ``baseURL`` while the app is
running. For example, you might want to roam between Edge Servers, or
move from an App Services connection to an Edge Server connection. To change
running. To change
the ``baseURL`` during runtime, call the
:dotnet-sdk:`app.UpdateBaseUriAsync() <reference/Realms.Sync.App.html#Realms_Sync_App_UpdateBaseUriAsync_System_Uri_>`
method:
Expand Down
8 changes: 3 additions & 5 deletions source/sdk/flutter/app-services/connect-to-app.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,8 @@ By default, Atlas Device SDK connects to Atlas using the global ``baseUrl``
of ``https://services.cloud.mongodb.com``. In some cases, you may want to
connect to a different server:

- Your App Services App uses local deployment, and you want to connect directly to a local ``baseUrl`` in your region. For more information, refer to the :ref:`<local-deployment>` App Services documentation.
- You want to connect to an Edge Server instance. For more information, refer to
the :ref:`edge-server-connect-from-client` App Services documentation.
- Your App Services App uses local deployment, and you want to connect directly to a local ``baseUrl`` in your region.
For more information, refer to the :ref:`<local-deployment>` App Services documentation.

You can specify a ``baseUrl`` in the
:flutter-sdk:`AppConfiguration <realm/AppConfiguration-class.html>`:
Expand All @@ -145,8 +144,7 @@ Connect to a Different Server During Runtime
``updateBaseUrl`` accepts ``null`` value

In some cases, you might want to change the ``baseUrl`` while the app is
running. For example, you might want to roam between Edge Servers or
move from an App Services connection to an Edge Server connection.
running.

To change the ``baseUrl`` during runtime, call the experimental
:flutter-sdk:`app.updateBaseUrl <realm/App/updateBaseUrl.html>` method. You can
Expand Down
15 changes: 3 additions & 12 deletions source/sdk/kotlin/app-services/connect-to-app-services-backend.txt
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,8 @@ By default, Atlas Device SDK connects to Atlas using the global ``baseUrl``
of ``https://services.cloud.mongodb.com``. In some cases, you may want to
connect to a different server:

- Your App Services App uses local deployment, and you want to connect directly to a local ``baseUrl`` in your region. For more information, refer to the :ref:`<local-deployment>` App Services documentation.
- You want to connect to an Edge Server instance. For more information, refer to
the :ref:`edge-server-connect-from-client` App Services documentation.
- Your App Services App uses local deployment, and you want to connect directly to a local ``baseUrl`` in your region.
For more information, refer to the :ref:`<local-deployment>` App Services documentation.

You can specify a ``baseUrl`` in the
`AppConfiguration <{+kotlin-sync-prefix+}io.realm.kotlin.mongodb/-app-configuration/index.html>`__:
Expand All @@ -286,8 +285,7 @@ Connect to a Different Server During Runtime
.. versionadded:: 1.16.0

In some cases, you might want to change the ``baseUrl`` while the app is
running. For example, you might want to roam between Edge Servers or
move from an App Services connection to an Edge Server connection.
running.

To change the ``baseUrl`` during runtime, call the experimental
`app.updateBaseUrl <{+kotlin-sync-prefix+}io.realm.kotlin.mongodb/-app/index.html#2007791704%2FFunctions%2F380376748>`__ method. You can
Expand All @@ -296,13 +294,6 @@ pass ``null`` to reset the ``baseUrl`` to the default value.
.. literalinclude:: /examples/generated/kotlin/AppClientTest.snippet.change-base-url.kt
:language: kotlin

This API is experimental and requires the `@ExperimentalEdgeServerApi
<{+kotlin-sync-prefix+}io.realm.kotlin.mongodb.annotations/-experimental-edge-server-api/index.html>`__
annotation:

.. literalinclude:: /examples/generated/kotlin/AppClientTest.snippet.experimental-opt-in.kt
:language: kotlin

If you change the ``baseUrl`` *after* you have logged in a user and
have opened a synced database, the app must perform a client reset. For more
information, refer to :ref:`kotlin-client-reset`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ connect to a different server:

- Your App Services App uses :ref:`local deployment <local-deployment>`, and
you want to connect directly to a local ``baseURL`` in your region.
- You want to connect to an :ref:`Edge Server instance <edge-server-connect-from-client>`.

You can specify a ``baseURL`` in the
:js-sdk:`AppConfiguration <types/Realm.AppConfiguration.html>`:
Expand All @@ -176,8 +175,7 @@ Connect to a Different Server During Runtime
.. versionadded:: 12.8.0

In some cases, you might want to change the ``baseURL`` while the app is
running. For example, you might want to roam between Edge Servers, or
move from an App Services connection to an Edge Server connection.
running.

To change the ``baseURL`` during runtime, call the ``app.updateBaseUrl()``
method. Note that the string value can't end in a trailing slash.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ connect to a different server:

- Your App Services App uses :ref:`local deployment <local-deployment>`, and
you want to connect directly to a local ``baseURL`` in your region.
- You want to connect to an :ref:`Edge Server instance <edge-server-connect-from-client>`.

You can specify a ``baseURL`` as a prop for :ref:`AppProvider <react-native-app-provider>`.
All :js-sdk:`AppConfiguration <types/Realm.AppConfiguration.html>` keys can be
Expand All @@ -118,8 +117,7 @@ Connect to a Different Server During Runtime
.. versionchanged:: ``realm@12.8.0``

In some cases, you might want to change the ``baseURL`` while the app is
running. For example, you might want to roam between Edge Servers, or
move from an App Services connection to an Edge Server connection.
running.

Currently, this feature is implemented as an experimental module that requires
specific TypeScript configuration. The required configuration can be difficult
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ connect to a different server:

- Your App Services App uses :ref:`local deployment <local-deployment>`, and
you want to connect directly to a local ``baseURL`` in your region.
- You want to connect to an :ref:`Edge Server instance <edge-server-connect-from-client>`.

You can specify a ``baseURL`` in the
:swift-sdk:`AppConfiguration <Extensions/AppConfiguration.html>`:
Expand All @@ -129,8 +128,7 @@ Connect to a Different Server During Runtime
.. versionadded:: 10.50.0

In some cases, you might want to change the ``baseURL`` while the app is
running. For example, you might want to roam between Edge Servers, or
move from an App Services connection to an Edge Server connection. To change
running. To change
the ``baseURL`` during runtime, call the ``app.updateBaseUrl(to: )`` method:

.. literalinclude:: /examples/generated/code/start/RealmApp.snippet.change-base-url.swift
Expand Down

0 comments on commit fa5a6e6

Please sign in to comment.