Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FA-441 - Added projects stream to Phabricator + cleanup #114

Merged
merged 5 commits into from
Oct 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions destinations/faros-destination/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "faros-destination",
"version": "0.1.22",
"version": "0.1.23",
"private": true,
"description": "Faros Destination for Airbyte",
"keywords": [
Expand Down Expand Up @@ -30,7 +30,7 @@
"watch": "tsc -b -w src test"
},
"dependencies": {
"faros-airbyte-cdk": "^0.1.22",
"faros-airbyte-cdk": "^0.1.23",
"faros-feeds-sdk": "^0.8.30",
"jsonata": "^1.8.5",
"object-sizeof": "^1.6.1",
Expand Down
4 changes: 3 additions & 1 deletion destinations/faros-destination/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,9 @@ class FarosDestination extends AirbyteDestination {
processRecord();
} catch (e: any) {
stats.recordsErrored++;
this.logger.error(`Error processing input: ${e.message ?? e}`);
this.logger.error(
`Error processing input: ${e.message ?? JSON.stringify(e)}`
);
if (this.invalidRecordStrategy === InvalidRecordStrategy.FAIL) {
throw e;
}
Expand Down
2 changes: 1 addition & 1 deletion faros-airbyte-cdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "faros-airbyte-cdk",
"version": "0.1.22",
"version": "0.1.23",
"description": "Airbyte Connector Development Kit (CDK) for JavaScript/TypeScript",
"keywords": [
"airbyte",
Expand Down
2 changes: 1 addition & 1 deletion faros-airbyte-cdk/src/destinations/destination-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class AirbyteDestinationRunner {
} catch (e: any) {
this.logger.error(
`Encountered an error while writing to destination: ${
e.message ?? e
e.message ?? JSON.stringify(e)
}`
);
throw e;
Expand Down
2 changes: 1 addition & 1 deletion faros-airbyte-cdk/src/sources/source-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export abstract class AirbyteSourceBase extends AirbyteSource {
} catch (e: any) {
this.logger.error(
`Encountered an error while reading stream ${this.name}: ${
e.message ?? e
e.message ?? JSON.stringify(e)
}`
);
throw e;
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.22",
"version": "0.1.23",
"packages": [
"faros-airbyte-cdk",
"destinations/**",
Expand Down
25 changes: 7 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sources/example-source/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example-source",
"version": "0.1.22",
"version": "0.1.23",
"description": "Example Airbyte source",
"keywords": [
"airbyte",
Expand Down Expand Up @@ -31,7 +31,7 @@
"dependencies": {
"axios": "^0.21.4",
"commander": "^8.2.0",
"faros-airbyte-cdk": "^0.1.22",
"faros-airbyte-cdk": "^0.1.23",
"verror": "^1.10.0"
},
"jest": {
Expand Down
4 changes: 2 additions & 2 deletions sources/jenkins-source/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jenkins-source",
"version": "0.1.22",
"version": "0.1.23",
"description": "Jenkins Airbyte source",
"keywords": [
"airbyte",
Expand Down Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"axios": "^0.21.4",
"faros-airbyte-cdk": "^0.1.22",
"faros-airbyte-cdk": "^0.1.23",
"jenkins": "^0.28.1",
"typescript-memoize": "^1.0.1",
"verror": "^1.10.0"
Expand Down
7 changes: 3 additions & 4 deletions sources/phabricator-source/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phabricator-source",
"version": "0.1.22",
"version": "0.1.23",
"description": "Phabricator Airbyte source",
"keywords": [
"airbyte",
Expand Down Expand Up @@ -30,11 +30,10 @@
"watch": "tsc -b -w src test"
},
"dependencies": {
"async-lock": "^1.3.0",
"axios": "^0.21.4",
"commander": "^8.2.0",
"condoit": "^2.0.11",
"faros-airbyte-cdk": "^0.1.22",
"condoit": "^2.1.0",
"faros-airbyte-cdk": "^0.1.23",
"moment": "^2.29.1",
"verror": "^1.10.0"
},
Expand Down
10 changes: 7 additions & 3 deletions sources/phabricator-source/resources/schemas/commits.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@
"properties": {
"projectPHIDs": {
"type": "array",
"items": {}
"items": {
"type": "string"
}
}
},
"required": [
Expand Down Expand Up @@ -309,7 +311,9 @@
"properties": {
"projectPHIDs": {
"type": "array",
"items": {}
"items": {
"type": "string"
}
}
},
"required": [
Expand Down Expand Up @@ -1243,4 +1247,4 @@
"attachments",
"repository"
]
}
}
Loading