1
0
mirror of synced 2025-12-30 12:04:43 -05:00
Files
airbyte/airbyte-api
Lake Mossman e8084c0189 Repair temporal state when performing manual actions (#12289)
* Repair temporal state when performing manual actions

* refactor temporal client and fix tests

* add unreachable workflow exception

* format

* test repeated deletion

* add acceptance tests for automatic workflow repair

* rename and DRY up manual operation methods in SchedulerHandler

* refactor temporal client to batch signal and start requests together in repair case

* add comment

* remove main method

* fix job id fetching

* only overwrite workflowState if reset flags are true on input

* fix test

* fix cancel endpoint

* Clean job state before creating new jobs in connection manager workflow (#12589)

* first working iteration of cleaning job state on first workflow run

* second iteration, with tests

* undo local testing changes

* move method

* add comment explaining placement of clean job state logic

* change connection_workflow failure origin value to platform

* remove cast from new query

* create static var for non terminal job statuses

* change failure origin value to airbyte_platform

* tweak external message wording

* remove unused variable

* reword external message

* fix merge conflict

* remove log lines

* move cleaning job state to beginning of workflow

* do not clean job state if there is already a job id for this workflow, and add test

* see if sleeping fixes test on CI

* add repeated test annotation to protect from flakiness

* fail jobs before creating new ones to protect from quarantined state

* update external message for cleaning job state error
2022-05-12 17:43:19 -07:00
..
2022-03-13 14:45:36 -07:00

airbyte-api

Defines the OpenApi configuration for the Airbyte Configuration API. It also is responsible for generating the following from the API spec:

  • Java API client
  • Java API server - this generated code is used in airbyte-server to allow us to implement the Configuration API in a type safe way. See ConfigurationApi.java in airbyte-server
  • API docs

Key Files

  • src/openapi/config.yaml - Defines the config API interface using OpenApi3
  • AirbyteApiClient.java - wraps all api clients so that they can be dependency injected together
  • PatchedLogsApi.java - fixes generated code for log api.