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

✨Source Asana: Add new stream Portfolio Memberships #31110

Merged
merged 12 commits into from
Nov 6, 2023
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-asana/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ RUN pip install .
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.5.0
LABEL io.airbyte.version=0.6.0
LABEL io.airbyte.name=airbyte/source-asana
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ acceptance_tests:
bypass_reason: "This stream is not available on our current account, it requires a business/enterprise account"
- name: portfolios
bypass_reason: "This stream is not available on our current account, it requires a business/enterprise account"
- name: portfolios_memberships
bypass_reason: "This stream is not available on our current account, it requires a business/enterprise account"
full_refresh:
# tests:
# - config_path: "secrets/config.json"
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-asana/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: d0243522-dccf-4978-8ba0-37ed47a0bdbf
dockerImageTag: 0.5.0
dockerImageTag: 0.6.0
dockerRepository: airbyte/source-asana
documentationUrl: https://docs.airbyte.com/integrations/sources/asana
githubIssueLabel: source-asana
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Portfolio Memberships Schema",
"additionalProperties": true,
"type": ["object", "null"],
"properties": {
"gid": {
"type": ["string", "null"]
},
"resource_type": {
"type": ["string", "null"]
},
"portfolio": {
"type": ["object", "null"],
"properties": {
"gid": {
"type": ["string", "null"]
},
"resource_type": {
"type": ["string", "null"]
},
"name": {
"type": ["string", "null"]
}
}
},
"user": {
"type": ["object", "null"],
"properties": {
"gid": {
"type": ["string", "null"]
},
"resource_type": {
"type": ["string", "null"]
},
"name": {
"type": ["string", "null"]
}
}
}
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
OrganizationExports,
Portfolios,
PortfoliosCompact,
PortfoliosMemberships,
Projects,
Sections,
SectionsCompact,
Expand Down Expand Up @@ -69,6 +70,7 @@ def streams(self, config: Mapping[str, Any]) -> List[Stream]:
Events(**args),
PortfoliosCompact(**args),
Portfolios(**args),
PortfoliosMemberships(**args),
Projects(**args),
SectionsCompact(**args),
Sections(**args),
Expand Down
Loading
Loading