1
0
mirror of synced 2025-12-21 11:01:41 -05:00
Commit Graph

49 Commits

Author SHA1 Message Date
Parker Mossman
5da184895f Add release_stage and release_date to ActorDefinition table (#10051)
* tombstone added to schema dump

* read/write actor_definition.tombstone in config persistence

* add tombstone field when loading from yaml seed persistence

* add tombstone to normalized_tables_schema.txt

* add test to ensure tombstone defaults to false

* add release_date and release_stage to actor_definition
- migration to add columns
- update json schema to add new fields
- update API schema to include new fields in definition reads
- update tests

* rename definition creation methods to include custom

* add format:date for releaseDate, and define shared releaseStage enum

* handle null releaseDate
2022-02-04 13:43:19 -08:00
Parker Mossman
01f4675a59 Add AttemptFailureSummary to API response (#10022)
* add attempt failure info to api yml

* populate failureSummary in JobConverter

* tests and formatting

* add Partial Success to glossary section of docs

* failure summary naming/enum tweaks

* tweak enum values and add retryable boolean instead of transient failureType
2022-02-04 11:52:24 -08:00
Tim Roes
8f2259587f Allow updating workspace names (#9686)
* Allow updating workspace names

* Add additional unit test

* Fix code styling

* Update slug as well

* Update indentations

* Pull name update into separate endpoint
2022-01-31 09:34:41 +01:00
Tim Roes
360e43800f Mark web backend APIs as non-public (#9813) 2022-01-27 09:37:19 +01:00
Harshith Mullapudi
0dfbfdc2e3 feat: added api to jobs handler to get required debug info (#9703) 2022-01-25 10:30:36 +05:30
Parker Mossman
a0079534fd Add totalStats and streamStats in Attempts API response (#9583)
* expose new stat fields in Attempts api response

* remove extranneous import
2022-01-20 14:03:30 -08:00
Jared Rhizor
b475aa9a69 decrease cost of health check (#9288) 2022-01-04 10:07:24 -08:00
Jared Rhizor
0f96b80b8d regenerate docs (#9166)
* don't interfere with generated api doc formatting

* update docs
2021-12-28 13:10:13 -08:00
Parker Mossman
9dfd0daf0a Add API endpoint and handlers to delete SourceDefinitions and DestinationDefinitions (#8826)
* add optional tombstone field to StandardSourceDefinition and update repository methods to use it

add new ConfigRepository unit tests to cover includeTombstone logic

whitespace nits

remove accidental import

let autoformat decide whitespace

set tombstone false when creating a SourceDefinition

set tombstone in a couple missed places

remove includeTombstone param from get repository methods

check for tombstone sourceDefinition in ConfigDumpImporter

add tombstone to DestinationDefinition as well

add sourceDefinition delete endpoint, handler, and tests. also fix up some variable names (source -> sourceDefinition) because of confusion and conflicts

add api endpoint to delete destination definitions

filter via stream instead of if-continue

fix comment formatting

* gradle format
2021-12-20 14:40:46 -08:00
Benoit Moriceau
f447183ada Bmoric/add endpoint to give feedback (#8005)
Add an endpoint that specify that the feedback have been given after the first sync
2021-11-19 10:51:58 -08:00
Benoit Moriceau
0d51742e27 Bmoric/complete first sync (#7832)
After a sync is completed, we tag all the workspace with related to this sync as having a first sync completed.

This will then be forwarded to the UI in another PR.

This is part of #5884
2021-11-17 16:12:30 -08:00
Jenny Brown
d6c684b3e4 Enhance API for use by cloud to provide per-connector billing info (#7893)
* Enhance API for use by cloud to provide per-connector billing information

* Add listAllConnectionsForWorkspace to include deleted

* Config for list all connections

* Merged master, and formatting

* Formatting

* Name change per PR suggestion

* Name change per PR suggestion

* Formatting again
2021-11-16 12:15:15 -06:00
Christophe Duong
fa040da084 Implement protocol change for OAuth outputs (#7917)
* Change OAuth API

* Change protocol for new OAuthConfigSpecification

* Refactor OAuth classes and tests

* Remove webbackend source/destination creation

* Change from webback to normal API

* Implement new protocol change with OAuth specs

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>

* format

* format

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
2021-11-15 14:36:50 +01:00
Christophe Duong
cdb476ecad Add auth config to oauth api (#7798)
* Change OAuth API

* Change protocol for new OAuth Spec (#7827)

* Add examples

* Add protocol object to api too

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
2021-11-15 12:56:48 +01:00
George Claireaux
d660661b64 add google sheets oauth flow to server + fix auth rootObject type in protocol (#7131)
* adding google sheets oauth flow to server

* fix oauth type in protocol yaml

* bump sheets version in definitions

* added GDrive scope

* update sheets to master changes

* update protocol incl. cdk

* protocol typing for oauth rootobject

* format
2021-10-21 18:28:50 +01:00
Mario Molina
ac2d3073a2 🎉 New search API endpoints for connections, sources, and destinations (#6656)
* Add API endpoints for connections, sources, and destinations

* Updating tests

* Tests for source and destination handlers

* Reformat code

* Update airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/ConnectionMatcher.java

Co-authored-by: LiRen Tu <tuliren@gmail.com>

* Adding tests

* Format code

Co-authored-by: LiRen Tu <tuliren@gmail.com>
2021-10-08 19:11:15 -07:00
Sherif A. Nada
89dccf3897 Modify oauthSpecification to allow working with oneOfs (#6456) 2021-09-27 18:00:36 +02:00
Mario Molina
98b1900ced 🎉 New API endpoint to search connections (#4813)
* New search endpoint for web backend

* Unit tests

* Remove recreate endpoints

* Format
2021-09-23 01:34:58 -03:00
Jared Rhizor
35c5bcd94a add displaySetupWizard as an api option (#6331) 2021-09-21 07:45:59 -07:00
Christophe Duong
e14b03d4b5 FB Marketing Oauth flow implementation (#6018)
* Refactor google oauth

* Implement Facebook Marketing flow
2021-09-20 13:38:45 +02:00
Christophe Duong
13e8be565d Fix OAuth Summary strings (#6143) 2021-09-17 09:51:59 +02:00
Sherif A. Nada
8dcaf25bda return auth spec in the API when getting definition specification (#6121) 2021-09-16 07:39:15 -07:00
Christophe Duong
da34befeea Implement Google Analytics & Google Ads OAuth Flow (#5911)
Co-authored-by: Sherif Nada <snadalive@gmail.com>
2021-09-13 08:37:53 -07:00
Sherif A. Nada
fc159d8a30 add instancewide variables setter endpoints (#5940)
Co-authored-by: Christophe Duong <christophe.duong@gmail.com>
2021-09-09 14:02:06 -07:00
Christophe Duong
edcd83dd1a Add a config for instance wide oauth parameters (#5761)
* Add a config for instance wide oauth parameters

* Remove recreate endpoints and add tests

* Inject oauth params in discover/check/reset too

* Inject masked OAuth params for UI Validation (#5865)

Co-authored-by: Sherif Nada <snadalive@gmail.com>
2021-09-09 10:36:21 +02:00
Prasanna Ram Venkatachalam
1ff177deed 🎉 add ability to send success notifications on webhook (#5517) 2021-09-07 11:35:07 -07:00
Christophe Duong
9643f3de61 Start airbyte-oauth module (#5812) 2021-09-06 10:44:06 +02:00
Christophe Duong
0d7cdcb474 Add API endpoint to get oauth request/consent (#5699)
Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
2021-08-31 15:21:38 -07:00
Christophe Duong
314a7471b1 Lightweight export/import of configurations scoped by workspace Id (#5598)
* Scope export/import by workspace id
2021-08-30 11:00:21 +02:00
LiRen Tu
37c53db4bb Integrate database with Flyway and jOOQ (#5543)
* Implement database migrator

* Add unit tests

* Add RUN_FLYWAY_MIGRATION variable

* Run flyway migration in server

* Add db migration info api

* Add db migration migrate api

* Add unit test

* Remove base airbyte migration

* Implement migration dev helper

* Dry and format code

* Fix url

* Use camel case

* Add db migration page

* Add button to run migration

* Update migration table

* Fix resource warning

* Update readme

* Revert package-lock changes

* Update readme

* Address simple frontend review comments

* Add java migration template (not completed yet)

* Add method to generate migration file

* Set up jooq code generation

* Check in generated code

* Move generated code to build directory

* Exclude db dev center methods in gradle

* Update airbyte-db/README.md

Co-authored-by: Davin Chia <davinchia@gmail.com>

* Mark getMigrator as private

Co-authored-by: Davin Chia <davinchia@gmail.com>

* Address review comments

* Format code

* Fix format output column name

* Remove config persistence builder

* Remove dumpSchemaToFile method

* Run baseline in server

* Rename info to list

Co-authored-by: Charles <giardina.charles@gmail.com>

* Rename executeDbMigrationInfo to listMigrations

Co-authored-by: Charles <giardina.charles@gmail.com>

* Rename RUN_FLYWAY_MIGRATION

* Clean up migration apis

* Remove redundant version comparison

* Refactor db migrator

* Add migration file location parameter back

This is necessary because other databases may exist in a different module and follow different patterns.

* Fix build

* Generate jooq code in gradle

* Remove frontend changes

* Remove testing migration

Co-authored-by: Davin Chia <davinchia@gmail.com>
Co-authored-by: Charles <giardina.charles@gmail.com>
2021-08-25 04:34:19 -07:00
Charles
871c2f21ba 🐛 Handle workspace id for operations in web backend (#5040) 2021-07-28 08:44:04 -07:00
Charles
1353c82080 upgrade openapi plugin to 5.2.0 (#5039) 2021-07-28 08:40:26 -07:00
Charles
066fb54372 scope operations by workspace & Bump version: 0.27.5-alpha → 0.28.0-alpha (#4845) 2021-07-23 11:46:20 -07:00
Davin Chia
a59e5f6d48 🐛 Fix some api-spec errors. (#4742) 2021-07-15 13:08:30 +08:00
Mario Molina
5c7f886aa4 🎉 API: Add an endpoint to list workspaces (#4530) 2021-07-05 12:17:40 -07:00
Christophe Duong
8b6093ce61 Configure kube pod resources for workers/syncs (#4381)
* Configure kube pod resources for workers/syncs
2021-07-01 12:25:14 +02:00
Jenny Brown
ea7002ec33 Add paged results to Job History retrieval (#4323)
* Add paged results to job history retrieval.

* Make job histories come back in a sort order controlled by the sql query

* Increased default job history to show, to make better defaults for UI before paging

* Code review cleanup, constants.

* Update airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/DefaultJobPersistence.java

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>

* Update airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/DefaultJobPersistence.java

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>

* Use a Pagination object for pagesize and offset

* NPE fix when pagination is not sent with the request and it falls back to defaults

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
2021-06-28 12:53:23 -05:00
Jenny Brown
b3c65050a2 Standardize error structure in json responses. (#4170)
* Standardize error structure in json responses. Use named types for raising exceptions instead of http status codes peppered throughout the code.

* Whitespace fix

* Rename fix

* Consistent naming for things related to KnownException, for traceability.

* For input field validation errors, list the affected fields as separate json objects. Also uses cleaner helpers for exception mappers.

* Whitespace

* Rename to clarify exception class hierarchy

* Wrap not found responses in a schema and adjusted mapper to match

* Include issue id in comments.
2021-06-22 17:42:48 -05:00
Artem Astapenko
75f6cb5d1f Jamakase/add normalization select dropdown (#4129)
* Add select namespace dropdown

* Rename frequency to schedule. Add normalization support

* Update styling for namespace

* remove waitFor for events

* Add special variables notification

Co-authored-by: Christophe Duong <christophe.duong@gmail.com>

* Set namespaceFormat to  by default

* Add proper links

* Rename withOperations to operations field

Co-authored-by: Christophe Duong <christophe.duong@gmail.com>
2021-06-17 18:54:50 +07:00
Artem Astapenko
d06c9b735e Jamakase/add normalization and transformation block (#3921)
* Add normalization block

* Add transformation block

* Add operations resource

* Move transformation form to separate component

* Rename operations field on backend. Improve transformations usage

* Mock listOperations operation in unit test

* Make basic a default normalization

* Add errors for forms

* Select basic normalization by default

* Add support to optionally display normalization

* Add supportsDbt and supportsNormalization destination fields

* add useInitialValues hook

* Reinit form on change

Co-authored-by: Christophe Duong <christophe.duong@gmail.com>

* Fix onChange to onSelect renaming

Co-authored-by: Christophe Duong <christophe.duong@gmail.com>
2021-06-12 04:14:42 +07:00
Christophe Duong
7c26305865 Add supportsDBT and supportsNormalization to API objects (#4031)
* Add supportsDBT and supportsNormalization to API objects
2021-06-11 10:11:42 +02:00
Jared Rhizor
36488ef282 fix network boundary error / format (#4011) 2021-06-09 16:17:24 -07:00
Christophe Duong
3c763d9bfd Add namespaceDefinitionType to standardSync (#3813)
* Add NamespaceDefinition

* Add namespaceFormat to standardSync (#3815)
2021-06-04 10:59:30 +02:00
Christophe Duong
368a7ce4ef Webackend Connection API routes should return Webbackend objects (#3806) 2021-06-02 12:33:50 +02:00
Christophe Duong
e239afa637 Tweak webbackend API to handle operations with connections (#3585) 2021-05-27 15:04:13 +02:00
Charles
aa6afb7282 Checkpointing: Worker use destination (instead of source) for state (#3290)
* Migrate BufferedStreamConsumer users (e.g. all JDBC destinations, MeiliSearch) (#3473)

* Add checkpointing test cases in Acceptance Tests (#3473)

* Add testing for emitting state in Destination Standard Test (#3546)

* Migrate BQ to support checkpointing (#3546)

* Migrate copy destinations support checkpointing (#3547)

* Checkpointing: Migrate CSV and JSON destinations (#3551)
2021-05-25 16:47:40 -07:00
Christophe Duong
083aebcbcb Workflow to handle operations (custom transformation) (#3379)
* Keep normalization backward compatible with old settings from destination

* Bumpversion normalization image
2021-05-17 18:08:27 +02:00
Christophe Duong
80125fe8a3 Add support for Operations to Sync/Connections API (#3244)
* Add Operations (for normalization and custom DBT) to API

* Add Operations to StandardSync backend configuration objects (#3325)
2021-05-12 10:49:53 +02:00
Abhi Vaidyanatha
e378d40236 Documentation Reorganization (#3124)
* First reorganization pass.

* Stop auto-generating api docs html file.

* Update spelling

* Final cleanup.

* Final changes_REAL_actual_2_thisone

* fix path for generating api docs

Co-authored-by: Abhi Vaidyanatha <abhivaidyanatha@Abhis-MacBook-Pro.local>
Co-authored-by: Davin Chia <davinchia@gmail.com>
Co-authored-by: jrhizor <me@jaredrhizor.com>
2021-04-29 15:18:52 -07:00