From 36ae2840f739d3072a9c82d2415078095299a66b Mon Sep 17 00:00:00 2001 From: Marcos Marx Date: Mon, 30 Aug 2021 20:41:35 -0300 Subject: [PATCH 1/2] column name + ci tests --- .../destination/oracle/OracleDestination.java | 6 +++--- .../destination/oracle/OracleIntegrationTest.java | 9 ++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/airbyte-integrations/connectors/destination-oracle/src/main/java/io/airbyte/integrations/destination/oracle/OracleDestination.java b/airbyte-integrations/connectors/destination-oracle/src/main/java/io/airbyte/integrations/destination/oracle/OracleDestination.java index 834383f6435cb..da822bbb56624 100644 --- a/airbyte-integrations/connectors/destination-oracle/src/main/java/io/airbyte/integrations/destination/oracle/OracleDestination.java +++ b/airbyte-integrations/connectors/destination-oracle/src/main/java/io/airbyte/integrations/destination/oracle/OracleDestination.java @@ -40,9 +40,9 @@ public class OracleDestination extends AbstractJdbcDestination implements Destin public static final String DRIVER_CLASS = "oracle.jdbc.OracleDriver"; - public static final String COLUMN_NAME_AB_ID = JavaBaseConstants.COLUMN_NAME_AB_ID.substring(1).toUpperCase(); - public static final String COLUMN_NAME_DATA = JavaBaseConstants.COLUMN_NAME_DATA.substring(1).toUpperCase(); - public static final String COLUMN_NAME_EMITTED_AT = JavaBaseConstants.COLUMN_NAME_EMITTED_AT.substring(1).toUpperCase(); + public static final String COLUMN_NAME_AB_ID = "\"" + JavaBaseConstants.COLUMN_NAME_AB_ID.toUpperCase() + "\""; + public static final String COLUMN_NAME_DATA = "\"" + JavaBaseConstants.COLUMN_NAME_DATA.toUpperCase() + "\""; + public static final String COLUMN_NAME_EMITTED_AT = "\"" + JavaBaseConstants.COLUMN_NAME_EMITTED_AT.toUpperCase() + "\""; public OracleDestination() { super(DRIVER_CLASS, new OracleNameTransformer(), new OracleOperations("users")); diff --git a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/OracleIntegrationTest.java b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/OracleIntegrationTest.java index b3febcef5a3ec..5cb20df3ecd05 100644 --- a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/OracleIntegrationTest.java +++ b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/OracleIntegrationTest.java @@ -69,7 +69,7 @@ protected JsonNode getConfig() { protected List retrieveRecords(TestDestinationEnv env, String streamName, String namespace, JsonNode streamSchema) throws Exception { return retrieveRecordsFromTable(namingResolver.getRawTableName(streamName), namespace) .stream() - .map(r -> Jsons.deserialize(r.get(OracleDestination.COLUMN_NAME_DATA).asText())) + .map(r -> Jsons.deserialize(r.get(OracleDestination.COLUMN_NAME_DATA.replace("\"", "")).asText())) .collect(Collectors.toList()); } @@ -111,8 +111,8 @@ protected List resolveIdentifier(String identifier) { } private List retrieveRecordsFromTable(String tableName, String schemaName) throws SQLException { - List result = getDatabase().query(ctx -> ctx - .fetch(String.format("SELECT * FROM %s.%s ORDER BY %s ASC", schemaName, tableName, OracleDestination.COLUMN_NAME_EMITTED_AT)) + List result = getDatabase().query(ctx -> + ctx.fetch(String.format("SELECT * FROM %s.%s ORDER BY %s ASC", schemaName, tableName, OracleDestination.COLUMN_NAME_EMITTED_AT)) .stream() .collect(Collectors.toList())); return result @@ -165,11 +165,10 @@ protected void tearDown(TestDestinationEnv testEnv) { final Database database = getDatabase(); var tables = getAllTables(database); - tables.removeAll(allTables); try { for (String table : tables) { database.query(ctx -> { - ctx.execute("drop table " + table); + ctx.execute(String.format("drop table %s", table)); return null; }); } From b6f6c515dcb112b16766405f684b1f48c747b7a6 Mon Sep 17 00:00:00 2001 From: Marcos Marx Date: Mon, 30 Aug 2021 20:53:50 -0300 Subject: [PATCH 2/2] bump version --- .../3986776d-2319-4de9-8af8-db14c0996e72.json | 2 +- .../seed/destination_definitions.yaml | 2 +- .../connectors/destination-oracle/Dockerfile | 2 +- .../oracle/OracleIntegrationTest.java | 10 +- .../integration_tests/invalid_config.json | 2 +- .../integration_tests/sample_config.json | 2 +- .../integration_tests/sample_state.json | 2 +- .../source_trello/schemas/actions.json | 460 ++------- .../source_trello/schemas/boards.json | 390 ++------ .../source_trello/schemas/cards.json | 366 ++------ .../source_trello/schemas/checklists.json | 870 ++++-------------- .../source_trello/schemas/lists.json | 40 +- .../source_trello/schemas/users.json | 23 +- .../source-trello/source_trello/spec.json | 2 +- .../unit_tests/test_control_rate_limit.py | 22 +- docs/integrations/destinations/oracle.md | 1 + 16 files changed, 459 insertions(+), 1737 deletions(-) diff --git a/airbyte-config/init/src/main/resources/config/STANDARD_DESTINATION_DEFINITION/3986776d-2319-4de9-8af8-db14c0996e72.json b/airbyte-config/init/src/main/resources/config/STANDARD_DESTINATION_DEFINITION/3986776d-2319-4de9-8af8-db14c0996e72.json index 08c18e2d62e41..f989cea25365a 100644 --- a/airbyte-config/init/src/main/resources/config/STANDARD_DESTINATION_DEFINITION/3986776d-2319-4de9-8af8-db14c0996e72.json +++ b/airbyte-config/init/src/main/resources/config/STANDARD_DESTINATION_DEFINITION/3986776d-2319-4de9-8af8-db14c0996e72.json @@ -2,6 +2,6 @@ "destinationDefinitionId": "3986776d-2319-4de9-8af8-db14c0996e72", "name": "Oracle (Alpha)", "dockerRepository": "airbyte/destination-oracle", - "dockerImageTag": "0.1.6", + "dockerImageTag": "0.1.7", "documentationUrl": "https://docs.airbyte.io/integrations/destinations/oracle" } diff --git a/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml b/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml index 7bb143ad6db79..2aa5b33d0a6ac 100644 --- a/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml @@ -68,7 +68,7 @@ - destinationDefinitionId: 3986776d-2319-4de9-8af8-db14c0996e72 name: Oracle (Alpha) dockerRepository: airbyte/destination-oracle - dockerImageTag: 0.1.6 + dockerImageTag: 0.1.7 documentationUrl: https://docs.airbyte.io/integrations/destinations/oracle - destinationDefinitionId: 9f760101-60ae-462f-9ee6-b7a9dafd454d name: Kafka diff --git a/airbyte-integrations/connectors/destination-oracle/Dockerfile b/airbyte-integrations/connectors/destination-oracle/Dockerfile index 315029cfba782..4a42b71c7c3fc 100644 --- a/airbyte-integrations/connectors/destination-oracle/Dockerfile +++ b/airbyte-integrations/connectors/destination-oracle/Dockerfile @@ -8,5 +8,5 @@ COPY build/distributions/${APPLICATION}*.tar ${APPLICATION}.tar RUN tar xf ${APPLICATION}.tar --strip-components=1 -LABEL io.airbyte.version=0.1.6 +LABEL io.airbyte.version=0.1.7 LABEL io.airbyte.name=airbyte/destination-oracle diff --git a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/OracleIntegrationTest.java b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/OracleIntegrationTest.java index 5cb20df3ecd05..81fea7b33fa53 100644 --- a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/OracleIntegrationTest.java +++ b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/OracleIntegrationTest.java @@ -111,10 +111,10 @@ protected List resolveIdentifier(String identifier) { } private List retrieveRecordsFromTable(String tableName, String schemaName) throws SQLException { - List result = getDatabase().query(ctx -> - ctx.fetch(String.format("SELECT * FROM %s.%s ORDER BY %s ASC", schemaName, tableName, OracleDestination.COLUMN_NAME_EMITTED_AT)) - .stream() - .collect(Collectors.toList())); + List result = getDatabase() + .query(ctx -> ctx.fetch(String.format("SELECT * FROM %s.%s ORDER BY %s ASC", schemaName, tableName, OracleDestination.COLUMN_NAME_EMITTED_AT)) + .stream() + .collect(Collectors.toList())); return result .stream() .map(r -> r.formatJSON(JSON_FORMAT)) @@ -168,7 +168,7 @@ protected void tearDown(TestDestinationEnv testEnv) { try { for (String table : tables) { database.query(ctx -> { - ctx.execute(String.format("drop table %s", table)); + ctx.execute("drop table " + table); return null; }); } diff --git a/airbyte-integrations/connectors/source-trello/integration_tests/invalid_config.json b/airbyte-integrations/connectors/source-trello/integration_tests/invalid_config.json index d569da096386f..dfc9b8cf6260b 100644 --- a/airbyte-integrations/connectors/source-trello/integration_tests/invalid_config.json +++ b/airbyte-integrations/connectors/source-trello/integration_tests/invalid_config.json @@ -2,4 +2,4 @@ "token": "invalid_token", "key": "invalid_key", "start_date": "3021-02-11T08:35:49.540Z" -} \ No newline at end of file +} diff --git a/airbyte-integrations/connectors/source-trello/integration_tests/sample_config.json b/airbyte-integrations/connectors/source-trello/integration_tests/sample_config.json index 9bce462e3b58e..4bbb228a4e330 100644 --- a/airbyte-integrations/connectors/source-trello/integration_tests/sample_config.json +++ b/airbyte-integrations/connectors/source-trello/integration_tests/sample_config.json @@ -2,4 +2,4 @@ "token": "token", "key": "key", "start_date": "2021-02-11T08:35:49.540Z" -} \ No newline at end of file +} diff --git a/airbyte-integrations/connectors/source-trello/integration_tests/sample_state.json b/airbyte-integrations/connectors/source-trello/integration_tests/sample_state.json index 89e62c63bde3b..d3a1df5e26b4f 100644 --- a/airbyte-integrations/connectors/source-trello/integration_tests/sample_state.json +++ b/airbyte-integrations/connectors/source-trello/integration_tests/sample_state.json @@ -2,4 +2,4 @@ "actions": { "date": "2021-08-18T08:35:49.540Z" } -} \ No newline at end of file +} diff --git a/airbyte-integrations/connectors/source-trello/source_trello/schemas/actions.json b/airbyte-integrations/connectors/source-trello/source_trello/schemas/actions.json index abfd5245cb55a..0c70c01026542 100644 --- a/airbyte-integrations/connectors/source-trello/source_trello/schemas/actions.json +++ b/airbyte-integrations/connectors/source-trello/source_trello/schemas/actions.json @@ -1,584 +1,308 @@ { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idMemberCreator": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "data": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "card": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idShort": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "shortLink": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "pos": { - "type": [ - "null", - "number" - ] + "type": ["null", "number"] }, "desc": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "closed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "idList": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idMembers": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } }, "list": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "pos": { - "type": [ - "null", - "number" - ] + "type": ["null", "number"] }, "closed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] } } }, "board": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "shortLink": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "prefs": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "background": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } } }, "old": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "pos": { - "type": [ - "null", - "number" - ] + "type": ["null", "number"] }, "desc": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "closed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "idList": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "prefs": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "background": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "idMembers": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } }, "listBefore": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "listAfter": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "memberType": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idMemberAdded": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "cardSource": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idShort": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "shortLink": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "idMemberInviter": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "method": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idMember": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "member": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "deactivated": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "text": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "organization": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } } }, "type": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "date": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "memberCreator": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "username": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "activityBlocked": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "avatarHash": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "avatarUrl": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "fullName": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idMemberReferrer": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "initials": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "nonPublicAvailable": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] } } }, "member": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "username": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "activityBlocked": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "avatarHash": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "avatarUrl": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "fullName": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idMemberReferrer": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "initials": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "nonPublicAvailable": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] } } }, "limits": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "reactions": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "perAction": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "status": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "disableAt": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "warnAt": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] } } }, "uniquePerAction": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "status": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "disableAt": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "warnAt": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] } } } diff --git a/airbyte-integrations/connectors/source-trello/source_trello/schemas/boards.json b/airbyte-integrations/connectors/source-trello/source_trello/schemas/boards.json index 76544da8645e5..b6f16072c0014 100644 --- a/airbyte-integrations/connectors/source-trello/source_trello/schemas/boards.json +++ b/airbyte-integrations/connectors/source-trello/source_trello/schemas/boards.json @@ -1,80 +1,41 @@ { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "desc": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "descData": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "closed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "idOrganization": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idEnterprise": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "limits": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "attachments": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "perBoard": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "status": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "disableAt": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "warnAt": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] } } } @@ -83,405 +44,210 @@ } }, "pinned": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "shortLink": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "dateLastActivity": { - "type": [ - "null", - "string" - ], + "type": ["null", "string"], "format": "date-time" }, "datePluginDisable": { - "type": [ - "null", - "string" - ], + "type": ["null", "string"], "format": "date-time" }, "creationMethod": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "ixUpdate": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "enterpriseOwned": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "idBoardSource": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "id": { "type": "string" }, "starred": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "url": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "powerUps": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } }, "premiumFeatures": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } }, "idTags": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } }, "prefs": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "permissionLevel": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "hideVotes": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "voting": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "comments": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "invitations": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "selfJoin": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "cardCovers": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "isTemplate": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "cardAging": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "calendarFeedEnabled": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "background": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "backgroundImage": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "backgroundImageScaled": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "width": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "height": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "url": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } }, "backgroundTile": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "backgroundBrightness": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "backgroundBottomColor": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "backgroundTopColor": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "canBePublic": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "canBeEnterprise": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "canBeOrg": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "canBePrivate": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "canInvite": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] } } }, "subscribed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "labelNames": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "green": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "yellow": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "orange": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "red": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "purple": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "blue": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "sky": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "lime": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "pink": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "black": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "dateLastView": { - "type": [ - "null", - "string" - ], + "type": ["null", "string"], "format": "date-time" }, "shortUrl": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "templateGallery": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "memberships": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idMember": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "memberType": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "unconfirmed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "deactivated": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] } } } diff --git a/airbyte-integrations/connectors/source-trello/source_trello/schemas/cards.json b/airbyte-integrations/connectors/source-trello/source_trello/schemas/cards.json index aca81db049ef6..34940a04f6d7e 100644 --- a/airbyte-integrations/connectors/source-trello/source_trello/schemas/cards.json +++ b/airbyte-integrations/connectors/source-trello/source_trello/schemas/cards.json @@ -1,97 +1,49 @@ { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "start": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "customFieldItems": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idValue": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idCustomField": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idModel": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "modelType": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "value": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "checked": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "date": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "number": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "text": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "option": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } @@ -99,302 +51,159 @@ } }, "idMembersVoted": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } }, "checkItemStates": { - "type": [ - "null", - "array" - ], - "items": { - } + "type": ["null", "array"], + "items": {} }, "closed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "dateLastActivity": { - "type": [ - "null", - "string" - ], + "type": ["null", "string"], "format": "date-time" }, "desc": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "descData": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "emoji": { - "type": [ - "null", - "object" - ], - "properties": { - } + "type": ["null", "object"], + "properties": {} } } }, "dueReminder": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idBoard": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idList": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idShort": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "idAttachmentCover": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "manualCoverAttachment": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "pos": { - "type": [ - "null", - "number" - ] + "type": ["null", "number"] }, "shortLink": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "isTemplate": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "badges": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "attachmentsByType": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "trello": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "board": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "card": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] } } } } }, "location": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "votes": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "viewingMemberVoted": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "subscribed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "fogbugz": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "checkItems": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "checkItemsChecked": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "checkItemsEarliestDue": { - "type": [ - "null", - "string" - ], + "type": ["null", "string"], "format": "date-time" }, "comments": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "attachments": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "description": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "due": { - "type": [ - "null", - "string" - ], + "type": ["null", "string"], "format": "date-time" }, "dueComplete": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] } } }, "dueComplete": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "due": { - "type": [ - "null", - "string" - ], + "type": ["null", "string"], "format": "date-time" }, "shortUrl": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "subscribed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "url": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "cover": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "idAttachment": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "color": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idUploadedBackground": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "size": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "brightness": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, @@ -414,60 +223,33 @@ ] }, "idMembers": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } }, "idLabels": { "type": "array", "items": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } }, "labels": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idBoard": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "color": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } diff --git a/airbyte-integrations/connectors/source-trello/source_trello/schemas/checklists.json b/airbyte-integrations/connectors/source-trello/source_trello/schemas/checklists.json index 1b6952392db0e..5bdb8f79dd118 100644 --- a/airbyte-integrations/connectors/source-trello/source_trello/schemas/checklists.json +++ b/airbyte-integrations/connectors/source-trello/source_trello/schemas/checklists.json @@ -1,388 +1,205 @@ { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idMemberCreator": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "data": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "old": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "closed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "prefs": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "selfJoin": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "permissionLevel": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "dueComplete": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "due": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "card": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "closed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idShort": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "shortLink": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "dueComplete": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "due": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "board": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "shortLink": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "prefs": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "selfJoin": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "permissionLevel": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } } }, "list": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "checklist": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "organization": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "creationMethod": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "type": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "date": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "memberCreator": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "username": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "activityBlocked": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "avatarHash": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "avatarUrl": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "fullName": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idMemberReferrer": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "initials": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "nonPublicAvailable": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] } } }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "desc": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "descData": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "closed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "idOrganization": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idEnterprise": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "limits": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "checkItems": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "perChecklist": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "status": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "disableAt": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "warnAt": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] } } } @@ -391,697 +208,358 @@ } }, "pinned": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "shortLink": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "dateLastActivity": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "datePluginDisable": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "creationMethod": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "ixUpdate": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "enterpriseOwned": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "idBoardSource": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "starred": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "url": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "prefs": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "permissionLevel": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "hideVotes": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "voting": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "comments": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "invitations": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "selfJoin": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "cardCovers": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "isTemplate": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "cardAging": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "calendarFeedEnabled": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "background": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "backgroundImage": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "backgroundImageScaled": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "width": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "height": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "url": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } }, "backgroundTile": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "backgroundBrightness": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "backgroundColor": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "backgroundBottomColor": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "backgroundTopColor": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "canBePublic": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "canBeEnterprise": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "canBeOrg": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "canBePrivate": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "canInvite": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] } } }, "subscribed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "labelNames": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "green": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "yellow": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "orange": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "red": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "purple": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "blue": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "sky": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "lime": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "pink": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "black": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "dateLastView": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "shortUrl": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "templateGallery": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "memberships": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idMember": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "memberType": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "unconfirmed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "deactivated": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] } } } }, "checkItemStates": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "dueReminder": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idBoard": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idList": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idShort": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "idAttachmentCover": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "manualCoverAttachment": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "pos": { - "type": [ - "null", - "number" - ] + "type": ["null", "number"] }, "isTemplate": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "badges": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "attachmentsByType": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "trello": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "board": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "card": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] } } } } }, "location": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "votes": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "viewingMemberVoted": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "subscribed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "fogbugz": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "checkItems": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "checkItemsChecked": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "checkItemsEarliestDue": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "comments": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "attachments": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "description": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "due": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "dueComplete": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] } } }, "dueComplete": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "due": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idChecklists": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } }, "cover": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "idAttachment": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "color": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idUploadedBackground": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "size": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "brightness": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } }, "username": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "fullName": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "softLimit": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idCard": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "checkItems": { - "type": [ - "null", - "array" - ], + "type": ["null", "array"], "items": { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "idChecklist": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "state": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "idMember": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "nameData": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "type": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "pos": { - "type": [ - "null", - "number" - ] + "type": ["null", "number"] }, "creationMethod": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "due": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } diff --git a/airbyte-integrations/connectors/source-trello/source_trello/schemas/lists.json b/airbyte-integrations/connectors/source-trello/source_trello/schemas/lists.json index 8318b790cc107..8631032015df7 100644 --- a/airbyte-integrations/connectors/source-trello/source_trello/schemas/lists.json +++ b/airbyte-integrations/connectors/source-trello/source_trello/schemas/lists.json @@ -1,50 +1,26 @@ { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "name": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "closed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "pos": { - "type": [ - "null", - "number" - ] + "type": ["null", "number"] }, "softLimit": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "idBoard": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "subscribed": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] } } } diff --git a/airbyte-integrations/connectors/source-trello/source_trello/schemas/users.json b/airbyte-integrations/connectors/source-trello/source_trello/schemas/users.json index 98399e545e866..d4ee68478dec7 100644 --- a/airbyte-integrations/connectors/source-trello/source_trello/schemas/users.json +++ b/airbyte-integrations/connectors/source-trello/source_trello/schemas/users.json @@ -1,30 +1,17 @@ { - "type": [ - "null", - "object" - ], + "type": ["null", "object"], "properties": { "id": { - "type": [ - "string" - ] + "type": ["string"] }, "boardId": { - "type": [ - "string" - ] + "type": ["string"] }, "username": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "fullName": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } diff --git a/airbyte-integrations/connectors/source-trello/source_trello/spec.json b/airbyte-integrations/connectors/source-trello/source_trello/spec.json index b7294052e258f..6a0857943cead 100644 --- a/airbyte-integrations/connectors/source-trello/source_trello/spec.json +++ b/airbyte-integrations/connectors/source-trello/source_trello/spec.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/airbyte-integrations/connectors/source-trello/unit_tests/test_control_rate_limit.py b/airbyte-integrations/connectors/source-trello/unit_tests/test_control_rate_limit.py index 71607e73e18f5..10a6f14a8248f 100644 --- a/airbyte-integrations/connectors/source-trello/unit_tests/test_control_rate_limit.py +++ b/airbyte-integrations/connectors/source-trello/unit_tests/test_control_rate_limit.py @@ -31,8 +31,10 @@ TEST_DATA_FIELD = "some_data_field" TEST_RATE_LIMIT_THRESHOLD = 0.1 -TEST_HEADERS_NAME = [("x-rate-limit-api-key-remaining", "x-rate-limit-api-key-max"), - ("x-rate-limit-api-token-remaining", "x-rate-limit-api-token-max")] +TEST_HEADERS_NAME = [ + ("x-rate-limit-api-key-remaining", "x-rate-limit-api-key-max"), + ("x-rate-limit-api-token-remaining", "x-rate-limit-api-token-max"), +] def control_request_rate_limit_decorator(threshold: float = 0.05, limit_headers=None): @@ -47,15 +49,20 @@ def decorator(func): @wraps(func) def wrapper_control_request_rate_limit(*args, **kwargs): sleep_time = 0 - free_load = float('inf') + free_load = float("inf") # find the Response inside args list for arg in args: response = arg if type(arg) is requests.models.Response else None # Get the rate_limits from response - rate_limits = [ - (response.headers.get(rate_remaining_limit_header), response.headers.get(rate_max_limit_header)) - for rate_remaining_limit_header, rate_max_limit_header in limit_headers] if response else None + rate_limits = ( + [ + (response.headers.get(rate_remaining_limit_header), response.headers.get(rate_max_limit_header)) + for rate_remaining_limit_header, rate_max_limit_header in limit_headers + ] + if response + else None + ) # define current load from rate_limits if rate_limits: @@ -91,7 +98,8 @@ def test_with_load(requests_mock): "x-rate-limit-api-token-max": "300", "x-rate-limit-api-token-remaining": "10", "x-rate-limit-api-key-max": "300", - "x-rate-limit-api-key-remaining": "100"} + "x-rate-limit-api-key-remaining": "100", + } requests_mock.get("https://test.trello.com/", headers=test_response_header) test_response = requests.get("https://test.trello.com/") diff --git a/docs/integrations/destinations/oracle.md b/docs/integrations/destinations/oracle.md index 1e9e0a37da9fd..73962896c5d4f 100644 --- a/docs/integrations/destinations/oracle.md +++ b/docs/integrations/destinations/oracle.md @@ -62,6 +62,7 @@ You should now have all the requirements needed to configure Oracle as a destina ## Changelog | Version | Date | Pull Request | Subject | | :--- | :--- | :--- | :--- | +| 0.1.7 | 2021-08-30 | [#5746](https://github.com/airbytehq/airbyte/pull/5746) | Use default column name for raw tables | | 0.1.6 | 2021-08-23 | [#5542](https://github.com/airbytehq/airbyte/pull/5542) | Remove support for Oracle 11g to allow normalization | | 0.1.5 | 2021-08-10 | [#5307](https://github.com/airbytehq/airbyte/pull/5307) | 🐛 Destination Oracle: Fix destination check for users without dba role | | 0.1.4 | 2021-07-30 | [#5125](https://github.com/airbytehq/airbyte/pull/5125) | Enable `additionalPropertities` in spec.json |