aws-appsync-realtime-client.../AppSyncRealTimeClientIntegr...
Michael Law 0d22315436
feat: pass URLRequest instead of URL to interfaces (#110)
* feat: pass URLRequest instead of URL to interfaces

* return error on missing URL

* fix integration tests

* fix RTConnectionProvider URLRequest should not be updated on connect
2023-01-24 13:41:29 -05:00
..
AppSyncRealTimeClientAsync feat: pass URLRequest instead of URL to interfaces (#110) 2023-01-24 13:41:29 -05:00
Support chore: remove year from file header (#59) 2022-02-02 13:15:05 -05:00
AppSyncRealTimeClientFailureTests.swift feat: pass URLRequest instead of URL to interfaces (#110) 2023-01-24 13:41:29 -05:00
AppSyncRealTimeClientIntegrationTests.swift feat: pass URLRequest instead of URL to interfaces (#110) 2023-01-24 13:41:29 -05:00
AppSyncRealTimeClientTestBase.swift feat: pass URLRequest instead of URL to interfaces (#110) 2023-01-24 13:41:29 -05:00
Info.plist Add Interecptors, ConnectionProviderFactory, and integration test target (#4) 2020-03-09 18:54:56 -07:00
README.md chore: Fix integration tests instructions and add test schema to support files (#21) 2020-07-28 08:59:17 -07:00
StarscreamAdapterTests.swift feat: pass URLRequest instead of URL to interfaces (#110) 2023-01-24 13:41:29 -05:00

README.md

AppSync RealTime GraphQL Service

The following steps demonstrate how to set up a GraphQL endpoint with AppSync. The auth configured will be API key. The set up is used to run the integration tests.

Set-up

  1. amplify-init

  2. amplify add api

    ? Please select from one of the below mentioned services: `GraphQL`
    ? Provide API name: `<APIName>`
    ? Choose the default authorization type for the API `API key`
    ? Enter a description for the API key:
    ? After how many days from now the API key should expire (1-365): `365`
    ? Do you want to configure advanced settings for the GraphQL API `No, I am done`
    ? Do you have an annotated GraphQL schema? `Yes`
    ? Provide your schema file path: `Support/schema.graphql`
    
  3. amplify push

    ? Do you want to generate code for your newly created GraphQL API `No`
    
  4. Copy amplifyconfiguration.json over to this integration test project. This file is already set up to be copied to the HostApp bundle and loaded when the test is run.