Skip to content

Commit

Permalink
fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
MongoCaleb committed Jan 27, 2025
2 parents 9b67338 + bc71cc9 commit 910a930
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/add-netlify-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
id: build_page_links
run: |
new_links=""
base_link='https://deploy-preview-${{ github.event.number }}--app-services.netlify.app'
base_link='https://deploy-preview-${{ github.event.number }}--docs-app-services.netlify.app'
changed_files=${{ steps.changed-files.outputs.all_changed_files }}
files=$(echo $changed_files | tr "," "\n")
for file in $files; do
Expand Down
1 change: 1 addition & 0 deletions snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ toc_landing_pages = [
"/services/twilio",
"/sync",
"/sync/get-started",
"/sync/device-sync-deprecation",
"/hosting",
"/users",
"/values-and-secrets",
Expand Down
16 changes: 9 additions & 7 deletions source/sync/device-sync-deprecation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ Device Sync Deprecation
Migrate to AWS AppSync </sync/migration/awsappsync>
Migrate a React Native Application from Device Sync to PowerSync </sync/migration/reactnativetutorial>

As of September 2024, Device Sync is deprecated for Atlas App Services. Device
Sync will reach end-of-life and be removed on **September 30, 2025**. If you
use Device Sync, you should migrate to alternative solution providers before
Device Sync is removed.
As of September 2024, Device Sync is deprecated for Atlas App Services. Device
Sync will reach end-of-life and be removed on **September 30, 2025**. If you
use Device Sync, you should migrate to one of the alternative solution providers
listed below.

Refer to the :ref:`App Services deprecation page <app-services-deprecation>` for
more deprecation information.
Expand Down Expand Up @@ -64,8 +64,10 @@ AWS AppSync
AWS AppSync creates serverless Pub/Sub APIs to simplify development through a
single endpoint to securely query, update, or publish data.

Refer to the `AWS AppSync documentation <https://aws.amazon.com/appsync/>`__ to
learn more.
For more information on migration, refer to the following:

- :ref:`Migrate to AWS AppSync <aws_appsync>`
- `AWS AppSync documentation <https://aws.amazon.com/appsync/>`__

HiveMQ
~~~~~~
Expand Down Expand Up @@ -96,7 +98,7 @@ Parse is an open source backend server with APIs you can use to easily connect
to MongoDB Atlas as the backing database. They also provide client guides for
many development platforms.

- `Parse documentation <https://parseplatform.org>`__
For more information, refer to the `Parse documentation <https://parseplatform.org>`__.

Custom Solution
~~~~~~~~~~~~~~~
Expand Down
16 changes: 8 additions & 8 deletions source/sync/migration/awsappsync.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ The following diagram shows the typical Device Sync architecture:
.. image:: /images/migration/device_sync_architecture.png
:alt: A diagram showing a typical Device Sync architecture.

In this architecture, your app uses the Realm APIs to communicate directly with
Atlas App Services, which handles data storage, synchronization, and conflict
resolution.
In this architecture, your app uses the Atlas Device Sync APIs to communicate
directly with Atlas App Services, which handles data storage, synchronization,
and conflict resolution.

The data flow is:

Expand All @@ -47,7 +47,7 @@ The data flow is:
- Device Sync APIs send changes to Atlas App Services.
- Atlas App Services performs any necessary conflict resolution, stores the changes
in Atlas, and syncs the changes to the other devices.
- Device Sync APIs updates the data in each device’s local realm.
- Device Sync APIs update the data in each device’s local realm.

AWS AppServices
~~~~~~~~~~~~~~~
Expand All @@ -60,11 +60,11 @@ following changes to your architecture:
- Use AWS Event Bridge to listen for event triggers from Atlas
- Add a Database Trigger to Atlas

You will also change 2 parts of your client code:
You also need to change the following in your client code:

- Because AppSync uses GraphQL, you will use the AWS AppSync API to communicate
with it AppSync
- The local data store also changes from a Realm database to the default
- Because AppSync uses GraphQL, you need to use AWS AppSync APIs to access
GraphQL endpoints from your application.
- Change the local datastore from a Realm database to the default
datastore on the device (typically SQLite), or another one of your choice.

The following diagram shows a typical example of the new architecture:
Expand Down

0 comments on commit 910a930

Please sign in to comment.