Skip to content

Commit

Permalink
Merge branch 'master' into marcos/test-pr-10244
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosmarxm committed Feb 24, 2022
2 parents 95e97ac + 25dc35d commit d088a8a
Show file tree
Hide file tree
Showing 28 changed files with 477 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.35.36-alpha
current_version = 0.35.37-alpha
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-[a-z]+)?
Expand Down
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


### SHARED ###
VERSION=0.35.36-alpha
VERSION=0.35.37-alpha

# When using the airbyte-db via default docker image
CONFIG_ROOT=/data
Expand Down
4 changes: 2 additions & 2 deletions airbyte-bootloader/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ ENV APPLICATION airbyte-bootloader

WORKDIR /app

ADD bin/${APPLICATION}-0.35.36-alpha.tar /app
ADD bin/${APPLICATION}-0.35.37-alpha.tar /app

ENTRYPOINT ["/bin/bash", "-c", "${APPLICATION}-0.35.36-alpha/bin/${APPLICATION}"]
ENTRYPOINT ["/bin/bash", "-c", "${APPLICATION}-0.35.37-alpha/bin/${APPLICATION}"]
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
- name: Chargebee
sourceDefinitionId: 686473f1-76d9-4994-9cc7-9b13da46147c
dockerRepository: airbyte/source-chargebee
dockerImageTag: 0.1.8
dockerImageTag: 0.1.9
documentationUrl: https://docs.airbyte.io/integrations/sources/chargebee
icon: chargebee.svg
sourceType: api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-chargebee:0.1.8"
- dockerImage: "airbyte/source-chargebee:0.1.9"
spec:
documentationUrl: "https://apidocs.chargebee.com/docs/api"
connectionSpecification:
Expand Down
6 changes: 3 additions & 3 deletions airbyte-container-orchestrator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ RUN echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] htt
RUN apt-get update && apt-get install -y kubectl

ENV APPLICATION airbyte-container-orchestrator
ENV AIRBYTE_ENTRYPOINT "/app/${APPLICATION}-0.35.36-alpha/bin/${APPLICATION}"
ENV AIRBYTE_ENTRYPOINT "/app/${APPLICATION}-0.35.37-alpha/bin/${APPLICATION}"

WORKDIR /app

# Move orchestrator app
ADD bin/${APPLICATION}-0.35.36-alpha.tar /app
ADD bin/${APPLICATION}-0.35.37-alpha.tar /app

# wait for upstream dependencies to become available before starting server
ENTRYPOINT ["/bin/bash", "-c", "/app/${APPLICATION}-0.35.36-alpha/bin/${APPLICATION}"]
ENTRYPOINT ["/bin/bash", "-c", "/app/${APPLICATION}-0.35.37-alpha/bin/${APPLICATION}"]
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ RUN pip install .

ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.8
LABEL io.airbyte.version=0.1.9
LABEL io.airbyte.name=airbyte/source-chargebee
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,32 @@
"sync_mode": "incremental",
"destination_sync_mode": "append",
"cursor_field": ["occurred_at"]
},
{
"stream": {
"name": "coupon",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["updated_at"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "incremental",
"destination_sync_mode": "append",
"cursor_field": ["updated_at"]
},
{
"stream": {
"name": "transaction",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["updated_at"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "incremental",
"destination_sync_mode": "append",
"cursor_field": ["updated_at"]
}
]
}
Loading

1 comment on commit d088a8a

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SonarQube Report

SonarQube report for Airbyte Connectors Source Google Workspace Admin Reports(#10638)

Measures

Name Value Name Value Name Value
Lines to Cover 164 Coverage 0.0 Duplicated Blocks 0
Security Rating A Reliability Rating A Lines of Code 181
Bugs 0 Vulnerabilities 0 Quality Gate Status OK
Duplicated Lines (%) 0.0 Code Smells 21 Blocker Issues 0
Critical Issues 0 Major Issues 0 Minor Issues 21

Detected Issues

Rule File Description Message
python:mypy_assignment (MINOR) source_google_workspace_admin_reports/api.py:183 Check that assigned value is compatible with target Incompatible types in assignment (expression has type "str", base class "ActivitiesAPI" defined the type as "None") . Code line: application_name = "meet"
python:mypy_attr_defined (MINOR) source_google_workspace_admin_reports/api.py:131 Check that attribute exists Module has no attribute "parse" . Code line: record[self.state_pk] = pendulum.parse(record[self.state_p...
python:mypy_assignment (MINOR) source_google_workspace_admin_reports/api.py:123 Check that assigned value is compatible with target Incompatible default for argument "params" (default has type "None", argument has type "Mapping[str, Any]") . Code line: ...self, getter: Callable, params: Mapping[str, Any] = None) -> Iterator:
python:mypy_arg_type (MINOR) source_google_workspace_admin_reports/api.py:127 Check argument types in calls Argument 2 to "read" of "StreamAPI" has incompatible type "Mapping[str, Any]"; expected "Dict[Any, Any]" . Code line: for record in super().read(getter, params):
python:mypy_attr_defined (MINOR) source_google_workspace_admin_reports/api.py:130 Check that attribute exists Module has no attribute "parse" . Code line: cursor = pendulum.parse(record[self.state_pk])
python:mypy_import (MINOR) source_google_workspace_admin_reports/api.py:15 Require that imported module can be found or has stubs Library stubs not installed for "pytz" (or incompatible with Python 3.7) . Code line: import pytz
python:mypy_no_any_return (MINOR) source_google_workspace_admin_reports/api.py:36 Reject returning value with "Any" type if return type is not "Any" Returning Any from function declared to return "Dict[Any, Any]" . Code line: return account_info
python:mypy_assignment (MINOR) source_google_workspace_admin_reports/api.py:54 Check that assigned value is compatible with target Incompatible default for argument "params" (default has type "None", argument has type "Dict[Any, Any]") . Code line: def get(self, name: str, params: Dict = None) -> Dict:
python:mypy_misc (MINOR) source_google_workspace_admin_reports/api.py:57 Miscellaneous other checks "None" not callable . Code line: response = self._resource().list(**params).execute()
python:mypy_no_any_return (MINOR) source_google_workspace_admin_reports/api.py:58 Reject returning value with "Any" type if return type is not "Any" Returning Any from function declared to return "Dict[Any, Any]" . Code line: return response
python:mypy_assignment (MINOR) source_google_workspace_admin_reports/api.py:77 Check that assigned value is compatible with target Incompatible default for argument "params" (default has type "None", argument has type "Dict[Any, Any]") . Code line: def _api_get(self, resource: str, params: Dict = None):
python:mypy_assignment (MINOR) source_google_workspace_admin_reports/api.py:81 Check that assigned value is compatible with target Incompatible default for argument "fields" (default has type "None", argument has type "Sequence[str]") . Code line: def list(self, fields: Sequence[str] = None) -> Iterator[dict]:
python:mypy_assignment (MINOR) source_google_workspace_admin_reports/api.py:88 Check that assigned value is compatible with target Incompatible default for argument "params" (default has type "None", argument has type "Dict[Any, Any]") . Code line: def read(self, getter: Callable, params: Dict = None) -> Iterator:
python:mypy_assignment (MINOR) source_google_workspace_admin_reports/api.py:161 Check that assigned value is compatible with target Incompatible default for argument "fields" (default has type "None", argument has type "Sequence[str]") . Code line: def list(self, fields: Sequence[str] = None) -> Iterator[dict]:
python:mypy_assignment (MINOR) source_google_workspace_admin_reports/api.py:168 Check that assigned value is compatible with target Incompatible types in assignment (expression has type "str", base class "ActivitiesAPI" defined the type as "None") . Code line: application_name = "admin"
python:mypy_assignment (MINOR) source_google_workspace_admin_reports/api.py:173 Check that assigned value is compatible with target Incompatible types in assignment (expression has type "str", base class "ActivitiesAPI" defined the type as "None") . Code line: application_name = "drive"
python:mypy_assignment (MINOR) source_google_workspace_admin_reports/api.py:178 Check that assigned value is compatible with target Incompatible types in assignment (expression has type "str", base class "ActivitiesAPI" defined the type as "None") . Code line: application_name = "login"
python:mypy_assignment (MINOR) source_google_workspace_admin_reports/api.py:188 Check that assigned value is compatible with target Incompatible types in assignment (expression has type "str", base class "ActivitiesAPI" defined the type as "None") . Code line: application_name = "mobile"
python:mypy_assignment (MINOR) source_google_workspace_admin_reports/api.py:193 Check that assigned value is compatible with target Incompatible types in assignment (expression has type "str", base class "ActivitiesAPI" defined the type as "None") . Code line: application_name = "token"
python:mypy_valid_type (MINOR) source_google_workspace_admin_reports/client.py:38 Check that type (annotation) is valid Function "builtins.callable" is not valid as a type . Code line: def _enumerate_methods(self) -> Mapping[str, callable]:
python:mypy_return_value (MINOR) source_google_workspace_admin_reports/client.py:52 Check that return value is compatible with signature Incompatible return value type (got "Tuple[bool, Optional[str]]", expected "Tuple[bool, str]") . Code line: return alive, error_msg

Coverage (0.0%)

File Coverage File Coverage
source_google_workspace_admin_reports/init.py 0.0 source_google_workspace_admin_reports/api.py 0.0
source_google_workspace_admin_reports/client.py 0.0 source_google_workspace_admin_reports/source.py 0.0
source_google_workspace_admin_reports/utils.py 0.0

Please sign in to comment.