Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ test/resources/appid.txt
firebase-admin-*.tgz

docgen/markdown/

# Dataconnect integration test artifacts should not be checked in
test/integration/dataconnect/dataconnect/.dataconnect
16 changes: 16 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,22 @@ to ensure that exported user records contain the password hashes of the user acc
3. Click **ADD ANOTHER ROLE** and choose **Firebase Authentication Admin**.
4. Click **SAVE**.

9. Setup your project for Firebase Data Connect integration tests:
1. Set up Data Connect in the Firebase Console:
1. Go to the Firebase Console, and select **Data Connect** from the **Build** menu.
2. Click on **Get Started**. You can skip any Gemini generation.
3. Select **Create a new Cloud SQL instance**.
4. Set your **Location** to `us-west2`
5. Set your **Cloud SQL instance ID** to `my-instance`
6. Set your **Database name** to `my-database`
7. Set your **Service ID** to `my-service`
8. Click **Submit**. This operation may take up to 10 minutes to complete - you may
continue setting up while this completes.
2. Run the following command from the root of the Node Admin SDK repo:
```bash
$ firebase deploy --only dataconnect:my-service:my-connector --config ./test/integration/dataconnect/firebase.json --project <PROJECT_ID>
```
1. If you're asked if you'd like to execute changes, select `Execute all`.

Finally, to run the integration test suite:

Expand Down
2 changes: 1 addition & 1 deletion src/data-connect/data-connect-api-client-internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import * as utils from '../utils/index';
import * as validator from '../utils/validator';
import { ConnectorConfig, ExecuteGraphqlResponse, GraphqlOptions } from './data-connect-api';

const API_VERSION = 'v1alpha';
const API_VERSION = 'v1';

/** The Firebase Data Connect backend base URL format. */
const FIREBASE_DATA_CONNECT_BASE_URL_FORMAT =
Expand Down
Loading