1
0
mirror of synced 2026-01-06 06:04:16 -05:00
Commit Graph

223 Commits

Author SHA1 Message Date
Matheus Vinicius de Paula
e4335b1d17 Making single port 8000 default and update NetworkErrorBoundary (#3656)
* Making single port 8000 default and update NetworkErrorBoundary.tsx response code 502

* add .env files

* Updating instructions in docs/deploying-airbyte/*
2021-06-09 16:14:12 -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
masonwheeler
8ff3e14bac Adding icons to existing connectors
Fixes issue #2122 

Added icon data
Added icon filenames to connector description yaml files
Added plumbing to transfer and load data properly
Updated tests
2021-04-20 17:32:37 -06:00
Christophe Duong
03fdd65319 Job Failure Notification (#2706)
* Add webhook to workspace for notifications when sync fail
* API to test notifications webhook (#2809)
2021-04-09 21:56:22 +02:00
Christophe Duong
54b055dae6 Add webhook to workspace for notifications when sync fail (#2703)
* Add webhook to workspace for notifications when sync fail

* Add a no-op migration as a placeholder
2021-04-08 19:38:32 +02:00
Davin Chia
58062faccb Discover Schema sets Namespace field. (#2767)
This PR is step 5 of this tech spec - https://docs.google.com/document/d/1qFk4YqnwxE4MCGeJ9M2scGOYej6JnDy9A0zbICP_zjI/edit.

The first of (at least) 2 PRs to implement this on the source side. I made some headway before deciding to break the changes into one PR implementing this for discover schema job, and another PR implementing this for read. The combined PR would have been too big otherwise.

Also refactor MoreResources as the test method was attempting to write to the location classes where loaded out from - the issue is we cannot guarantee where the class is loaded from can be written to. Changing this to write to a random folder in the temp directory.
2021-04-07 11:53:03 +08:00
Christophe Duong
6c6ea54bb8 Add SupportedDestinationSyncModes to destination specs objects (#2668)
* Add SupportedDestinationSyncModes to destination specs objects

* Bumpversions of destination connectors
2021-03-31 15:20:01 +02:00
Charles
fa854a51f8 add email to workspaces/get (#2672) 2021-03-30 22:28:21 -07:00
Christophe Duong
8a29584125 ☝🏼Destinations supports destination sync mode (#2460)
* Handle destination sync mode in destinations

* Source & Destination sync modes are required (#2500)

* Provide Migration script making sure it is always defined for previous sync configs
2021-03-26 20:23:48 +01:00
Davin Chia
5ab0883660 🎉 Surface latest sync status for connections. (#2405)
Add the latestSyncJobStatus field to the WbConnectionRead struct. Take the chance to rename the lastSync field to latestSyncJobCreatedAt to better reflect what the field captures. lastSync was confusing as I expect it to return the Id/object of the last sync and not the last sync's timestamp.

We keep the current expectation when setting status - the same job that sets the timestamp field is used to set the status field.

We surface the job's status as is. This gives the UI flexibility on displaying the various statuses.
Since the 'latest' sync job is determined by the JobHistoryHandler, I buffed up the job history handler test cases to make sure we do always return the latest sync job.
2021-03-25 13:41:02 +08:00
Sherif Nada
77b72dcf5b Revert "Revert "Merge branch 'master' of github.com:airbytehq/airbyte""
This reverts commit de66bf010d.
2021-03-23 15:12:01 -07:00
Sherif Nada
de66bf010d Revert "Merge branch 'master' of github.com:airbytehq/airbyte"
This reverts commit a3a27f2fa2, reversing
changes made to 5917feee28.
2021-03-23 15:09:44 -07:00
Jared Rhizor
ecf73c941a add cancellation api endpoint (#2530)
* cancel api

* fix tests

* fix builder

* fix bug
2021-03-22 17:47:08 -07:00
Charles
a928e6e299 for synchronous jobs, remove dependency on scheduler and "job" infrastructure (#2385) 2021-03-18 14:08:18 -07:00
Davin Chia
556d0a6239 Point API documentation link to nicer UI source. (#2455)
What:
Swagger UI has bad-UI and extensibility. It's not intuitive and often displays information badly (especially for more complicated structs), which leads to initial API confusion.

How:
Switch over to use Rapidoc. This is our new api docs!

Created the airbyte-public-api-docs bucket and uploaded our new html docs. Set up a CloudFront distribution to enable HTTPS.

A copy of our html docs is checked in in this PR. As you can see, this is a minimal file that relies on a React component published by Rapidoc. It is pointed to the api docs in our master branch and will automatically update itself; do not expect us to need to touch this api file unless we want to make display changes.

I consolidated all files involving api documentation into the docs/api folder for simplicity. I also moved the generated html file to the generated-api-html folder within the api folder to make it clear it was generated. Finally, added a README to document our set up.

Benefits:

UI is much cleaner.
We control the html source file, which means it'll be easier for us to make changes in the future.
2021-03-15 13:24:58 +08:00
Samuel Gordalina
73044ac290 Add create & delete workspaces to API (#2325) 2021-03-11 15:49:37 -08:00
Christophe Duong
b1e911e255 Back-end support destination sync modes #2370 (#2375)
* Add new fields for destination_sync_modes
2021-03-10 20:01:12 +01:00
Davin Chia
cb002141e2 Issue 1983: Expose latest connector version. (#2323)
Expose the latest connector version to users for better connector UX experience. The airbyte webapp currently displays the docker tag. Users can specify a custom tag to use within using the same cell. However, users do not know what the latest connector image tag is without manually checking the Airbyte github or change log. These changes will provide an endpoint for the webapp to retrieve the relevant information.

The main change is adding a list_latest endpoint to the SourceDefinition and DestinationDefinition resources. Some minor refactors here and there for code readability and maintenance. Note, we use Github as a source of truth for the latest master list.

See this google document to better understand the thought behind this: https://docs.google.com/document/d/1CeqSw9ooWDZP0yvVSmi28DgIHrlW97Tlbm9lIDSzipQ/edit
2021-03-10 11:06:42 +08:00
Christophe Duong
e3cbb4e8ba Rename defaultNamespace to prefix and make it optional (#2350) 2021-03-08 20:08:34 +01:00
Christophe Duong
20dec48385 ☝🏼Add new namespaceDefault field in connection page to destination stream name (as a prefix to the table name) (#2298)
Introducing a new Mapper class to transform the stream name between source and destination 

Co-authored-by: Artem Astapenko <3767150+Jamakase@users.noreply.github.com>
Co-authored-by: Charles <giardina.charles@gmail.com>
2021-03-05 12:54:55 +01:00
Jared Rhizor
dfe1451aba add cli (#1922)
* add cli

* clean up

* generate

* fix dependency

* add go so we can install restish in build

* final fix to build

* rest of final fix to build
2021-02-19 14:56:13 -08:00
Christophe Duong
f216f0b795 Refactor Catalog API (#1934) 2021-02-15 13:40:54 -08:00
Charles
eb94fc3f1c Fix issue where check connection always fails on configuration update (#1851) 2021-01-27 09:36:59 -08:00
Charles
a4e5ca97a0 allow jobs/list to return jobs of multiple types (#1722) 2021-01-25 14:36:34 -08:00
Charles
e77b18c80a Update rules for when discover_schema returns http error codes (#1821)
* Previously if the job failed at all the API would return a 4XX or 500. This prevented the UI from being able to display logs from the failed job.

* Instead, if the underlying job fails the API will still return a 200. The schema field will be empty however and the consumer must check the jobInfo.status field to determine if the job succeeded or not.

* Will still return 422 on invalid inputs.
2021-01-25 11:17:32 -08:00
Jared Rhizor
710b83fcd0 remove sensitive data from logs (#1799)
* add correct but failing tests for desensitizing logs

* make sure rest of scheduler contents are written to a file

* log server requests to file

* working

* working

* clean up

* only filter out connectionConfiguratoin instead of classes
2021-01-25 10:28:33 -08:00
Charles
5c4c347be0 Clean up external API (#1777)
* remove syncMode from connections (sync mode is already controlled at the stream level, this is just an artifact of the original design.)

* make supportedSyncModes required in the API. (functionally it was already never null because of how we did conversions. it still can be empty.)
2021-01-22 09:33:09 -08:00
Charles
8cb37fed88 standardize casing in external api (#1779) 2021-01-22 09:04:46 -08:00
Christophe Duong
5755cf2313 Check Airbyte Version between Server/DB/import files (#1741) 2021-01-22 10:03:37 +01:00
Charles
0a383795ee Update WorkspaceRead struct (#1694)
* Remove onboardingComplete flag (no longer used).

* Add news, anonymousDataCollection, and securityUpdates to the read struct so that we can continue to do PUT instead of PATCH when updating workspaces. workspaces/update was prevously only called once at when Airbyte was started up, but with import / export it can now be called more frequently.
2021-01-18 09:11:35 -08:00
Jared Rhizor
3b08ace20c add api endpoint to download server and scheduler logs (#1641)
* add api endpoint to download server and scheduler logs

* fmt

* respond to pr comments

* fix test

* oops
2021-01-14 11:00:30 -08:00
Jared Rhizor
d728fabd0c remove debug endpoint (#1626) 2021-01-12 17:26:15 -08:00
Jared Rhizor
1cc2c33b91 support manual schema changes in api (#1589)
* add scaffolding

* add backend api handling

* add other fields for merging

* keep defaults separate

* add good unit tests and fix bug

* remove sout

* add tests for discovery combination and fix lack of field selection propagation

* address some pr comments

* address some more pr comments

* remove wait for completion

* use first field

* fmt

* fix tests that expected sync sync jobs

* fmt
2021-01-12 14:03:06 -08:00
Charles
d16ce672bc hotfix: make displaySetupWizard optional (#1617)
* make displaySetupWizard optional

* make onboardingComplete optional
2021-01-12 09:13:06 -08:00
Charles
f51e1a9cb5 displaySetupWizard to workspace (#1608) 2021-01-11 17:27:58 -08:00
Christophe Duong
fe1fa17fbb Hook-up MigrationHandler API (#1587) 2021-01-11 14:15:06 +01:00
Artem Astapenko
26241aa294 Add logs for check connection and connection schema view (#1451)
* Change api calls for source create in UI

* Change api calls for destination create in UI

* Change api calls for source and destination update in UI

* Update api calls for source and destination check connection

* Fix connector data

* Add failed logs to create source view

* Add failed logs to update source and destination view

* Add failed logs to create destination view

* Create util function for error responce

* Add failed logs to create source and destination in onboarding

* Add failed logs to connection schema view

* Change 'incomplete' status message to 'retrying' message

* Trim the spaces before and after the text fields in JSON configs

* Fix status

* Remove unused webBackend methods
2020-12-29 02:26:06 +07:00
Charles
49e746d23a add check connection and discover without having to create source and destination (#1358) 2020-12-17 18:53:14 -08:00
Charles
c0b4784cd1 Reset Data in Destination Job (#1226)
* first crack at reset data

* add JobResetDestinationConfig

* add to acceptance tests

* clean

* fix copy

* add test for empty object
2020-12-16 09:58:16 -08:00
Charles
8e4cbbe922 add api docs to docs (#1301) 2020-12-11 18:29:59 -08:00
Charles
98cbc33388 Add Attempts to API (#1155) 2020-12-09 15:22:49 -08:00
Charles
b3463a52f0 Add Attempts to Job Persistence (#1151) 2020-12-03 12:55:40 -08:00
Charles
cda619697e add cleaned names to api interface (#1138) 2020-11-30 21:30:16 -08:00
Charles
f703fea08e add health check endpoint to config api (#1135) 2020-11-30 21:28:11 -08:00