Skip to content

Commit

Permalink
✨Source Asana: Add new stream Portfolio Memberships (#31110)
Browse files Browse the repository at this point in the history
Co-authored-by: Sajarin <sajarindider@gmail.com>
  • Loading branch information
btkcodedev and sajarin committed Nov 6, 2023
1 parent 6583dc5 commit b799678
Show file tree
Hide file tree
Showing 8 changed files with 85 additions and 297 deletions.
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

0 comments on commit b799678

Please sign in to comment.