1
0
mirror of synced 2026-01-26 22:02:03 -05:00
Commit Graph

30 Commits

Author SHA1 Message Date
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
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
8e4cbbe922 add api docs to docs (#1301) 2020-12-11 18:29:59 -08:00
cgardens
23240fd39a Revert "add api docs (#221)"
This reverts commit 2699008809.
2020-09-10 18:45:42 -07:00
Charles
2699008809 add api docs (#221) 2020-09-10 18:27:35 -07:00