Skip to content

Commit

Permalink
Update examples and README to conform to the removal of additional co…
Browse files Browse the repository at this point in the history
…lumns
  • Loading branch information
macmv committed Sep 23, 2022
1 parent b9cc9ff commit 1db6115
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 71 deletions.
5 changes: 3 additions & 2 deletions airbyte-integrations/connectors/source-fauna/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ cd airbyte-integrations/connectors/source-fauna
```

The integration tests require a secret config.json. Ping me on slack to get this file.
Once you have this file, put it in `secrets/config.json`. After that, build the connector:
Once you have this file, put it in `secrets/config.json`. A sample of this file can be
found at `examples/secret_config.json`. Once the file is created, build the connector:
```
docker build . -t airbyte/source-fauna:dev
```
Expand Down Expand Up @@ -97,7 +98,7 @@ From the Airbyte repository root, run:
**If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.io/integrations/sources/fauna)
to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_fauna/spec.yaml` file.
Note that the `secrets` directory is gitignored by default, so there is no danger of accidentally checking in sensitive information.
See `integration_tests/sample_config.json` for a sample config file.
See `examples/secret_config.json` for a sample config file.

**If you are an Airbyte core member**, copy the credentials in Lastpass under the secret name `source fauna test creds`
and place them into `secrets/config.json`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,50 +4,7 @@
"port": 8443,
"scheme": "http",
"collection": {
"name": "foo",
"data_column": true,
"additional_columns": [
{
"name": "a",
"path": ["data", "a"],
"type": "integer",
"required": true
},
{
"name": "nested-value",
"path": ["data", "nested", "value"],
"type": "integer",
"required": false
},
{
"name": "my-ref",
"path": ["data", "my-ref"],
"type": "object",
"required": false
},
{
"name": "string",
"path": ["data", "string"],
"type": "string",
"required": false
},
{
"name": "timestamp",
"path": ["data", "timestamp"],
"airbyte_type": "timestamp_with_timezone",
"type": "string",
"format": "date-time",
"required": false
},
{
"name": "number",
"path": ["data", "number"],
"type": "number",
"required": false
}
],
"page_size": 2,
"index": "ts",
"deletions": {
"deletion_mode": "deleted_field",
"column": "deleted_at"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
"port": 443,
"scheme": "https",
"collection": {
"name": "COLLECTION_NAME",
"page_size": 64,
"data_column": true,
"index": "INDEX_NAME",
"deletions": {
"deletion_mode": "deleted_field",
"column": "deleted_at"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,7 @@
"port": 443,
"scheme": "https",
"collection": {
"name": "sample-data",
"data_column": true,
"additional_columns": [
{
"name": "my_a_col",
"path": ["data", "a"],
"type": "integer",
"required": true
},
{
"name": "nested_column",
"path": ["data", "nested", "value"],
"type": "integer",
"required": false
},
{
"name": "optional_name",
"path": ["data", "name"],
"type": "string",
"required": false
}
],
"page_size": 2,
"index": "ts",
"deletions": { "deletion_mode": "ignore" }
}
}

0 comments on commit 1db6115

Please sign in to comment.