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

26 Commits

Author SHA1 Message Date
Davin Chia
7788594e22 Start publishing proper artifacts. (#13484)
## What
Finale of https://github.com/airbytehq/airbyte/pull/13122.

We've renamed all directories in previous PRs. Here we remove the fat jar configuration and add publishing to all subprojects.

Explanation for what is happening:

Identically named subprojects have the following issues:
* publishing as is leads to classpath confusion when the jars with the same names are placed in the Java distribution. This leads to NoClassDefFound errors on runtime.
* deconflicting the jar names without changing directory names leads to dependency errors as the OSS jar pom files are generated using project dependencies (suggesting a dependency a sibling subproject in the same repo) that use subprojects group and name as a reference. This means the generated jars look for Jars that do not exists (as their names have been changed) and cannot compile.
* the workaround to changing a subproject's name involves resetting the subproject's name in the settings.gradle and depending on the new name in each build.gradle. This increases configuration burden and decreases the ease of reading, since one will have to check the settings.gradle to know what the right subproject name is. See https://github.com/gradle/gradle/issues/847 for more info.
* given that Gradle itself doesn't have support for identically named subprojects (see the linked issue), the simplest solution is to not allow duplicated directories. I've only renamed conflicting directories here to keep things simple. I will create a follow up issues to enforce non-identical subproject names in our builds.

## How
* Remove fat jar configuration.
* Add publishing to all subprojects.
2022-06-06 17:15:25 +08:00
Davin Chia
eb99f47746 Fat Jar: Rename Dir Part 2 (#13478)
## What
Part 2 of https://github.com/airbytehq/airbyte/pull/13122.

Follow up to #13476 .

Explanation for what is happening:

Identically named subprojects have the following issues:

* publishing as is leads to classpath confusion when the jars with the same names are placed in the Java distribution. This leads to NoClassDefFound errors on runtime.
* deconflicting the jar names without changing directory names leads to dependency errors as the OSS jar pom files are generated using project dependencies (suggesting a dependency a sibling subproject in the same repo) that use subprojects group and name as a reference. This means the generated jars look for Jars that do not exists (as their names have been changed) and cannot compile.
* the workaround to changing a subproject's name involves resetting the subproject's name in the settings.gradle and depending on the new name in each build.gradle. This increases configuration burden and decreases the ease of reading, since one will have to check the settings.gradle to know what the right subproject name is. See https://github.com/gradle/gradle/issues/847 for more info.
* given that Gradle itself doesn't have support for identically named subprojects (see the linked issue), the simplest solution is to not allow duplicated directories. I've only renamed conflicting directories here to keep things simple. I will create a follow up issues to enforce non-identical subproject names in our builds.

* Rename airbyte-config:models to airbyte-config:config-models.
* Rename airbyte-config:persistence to airbyte-config:config-persistence.
2022-06-06 02:21:54 +08:00
Alexandre Girard
3894134d11 Bump year in license short to 2022 (#13191)
* Bump to 2022

* format
2022-05-25 17:56:49 -07:00
Malik Diarra
613315b201 Add warning log when using an uninitialized tracking client (#12945) 2022-05-18 01:27:46 -07:00
Charles
c1c8675366 Add readmes to all modules (#8893) 2022-03-13 14:45:36 -07:00
Christophe Duong
dbddd7b3c5 Add metadata to segment tracking (#8872)
* Add metadata to segment tracking

* Add sync start time

* Fix test and format code
2022-01-14 13:37:52 +01:00
Davin Chia
7f6d12a7da Davinchia/tracking client refactor (#7595)
* Add doc string to tracking interface.

* Add doc string with minor refactor.

* Update airbyte-analytics/src/main/java/io/airbyte/analytics/SegmentTrackingClient.java

* Format javadoc. Add user_id trait.

* Better formatting javadocs.

* Turn on spotless.

* Format before checking again.

* Clean this up.
2021-11-11 00:21:33 +08:00
Charles
f35ec5002d handle npe in test cases for tracking (#7546) 2021-11-01 16:22:38 -07:00
Charles
6ff2fc7429 Expose version as AirbyteVersion instead of String in Configs iface (#7369) 2021-10-26 15:56:19 -07:00
Charles
ba44f700b9 add final for params, local variables, and fields (#7084) 2021-10-15 16:41:04 -07:00
Michel Tricot
1773e41e47 Shorten our headers + adds contributors file (#6478) 2021-09-27 10:45:50 -07:00
Charles
33f5e27f93 allow injecting deployment mode via env variable (#5252) 2021-08-06 18:14:18 -07:00
Charles
1f58fb7c5d deprecate DEFAULT_WORKSPACE_ID (#5009) 2021-07-28 16:59:38 -07:00
Charles
67dd8a353c add deployments to tracking model (#4837) 2021-07-23 17:22:23 -07:00
Charles
c2ab746325 fix build (#4865) 2021-07-20 09:53:56 -07:00
Charles
4bd50153ea refactor import / export endpoints to use the same code path as auto migration (#4797) 2021-07-20 09:23:10 -07:00
Christophe Duong
c44943b250 track connectors versions (#2624) 2021-03-26 21:08:10 +01:00
Charles
7069a94a29 fix tracking tests (#2422) 2021-03-11 16:05:12 -08:00
Samuel Gordalina
73044ac290 Add create & delete workspaces to API (#2325) 2021-03-11 15:49:37 -08:00
Christophe Duong
6c3378ce8d Track new connection: (#2260)
* Track new connection:  Log users who created a connection in Orbit, when not anonymized #2163
2021-03-05 14:50:38 +01:00
Charles
fa349e15a7 alias customer id upon import of configuration data (#1791) 2021-02-23 10:50:58 -08:00
Michel Tricot
ce42c35386 [hotfix] Fix bad import for Strings (#1289) 2020-12-10 19:25:55 -08:00
Michel Tricot
b53256aa89 Allow systematic exclusion of tracked identity (#1274) 2020-12-10 19:20:27 -08:00
Charles
d56da58bad add airbyte version to tracking (#1073) 2020-11-25 13:48:22 -08:00
Christophe Duong
0fac6a99b0 Move JsonSchemaValidator into its own module airbyte-json-validation (#234) (#647) 2020-10-20 22:45:31 +02:00
Michel Tricot
e3737a2c06 Introducing Airbyte (#348) 2020-09-18 20:41:09 -07:00