Skip to content

Commit

Permalink
Source Jira: Added updates to include issue components and fixes to R…
Browse files Browse the repository at this point in the history
…EADME files (#15135)

* solve readme conflict

* updated jira sources with open PR details

* correct additionalProperties test discover

Co-authored-by: marcosmarxm <marcosmarxm@gmail.com>
  • Loading branch information
swentling87 and marcosmarxm committed Aug 9, 2022
1 parent 9e691d8 commit 123705c
Show file tree
Hide file tree
Showing 53 changed files with 94 additions and 152 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@
- name: Jira
sourceDefinitionId: 68e63de2-bb83-4c7e-93fa-a8a9051e3993
dockerRepository: airbyte/source-jira
dockerImageTag: 0.2.20
dockerImageTag: 0.2.21
documentationUrl: https://docs.airbyte.io/integrations/sources/jira
icon: jira.svg
sourceType: api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4059,7 +4059,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-jira:0.2.20"
- dockerImage: "airbyte/source-jira:0.2.21"
spec:
documentationUrl: "https://docs.airbyte.io/integrations/sources/jira"
connectionSpecification:
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-jira/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.2.20
LABEL io.airbyte.version=0.2.21
LABEL io.airbyte.name=airbyte/source-jira
4 changes: 2 additions & 2 deletions airbyte-integrations/connectors/source-jira/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ For information about how to use this connector within Airbyte, see [the documen
### Prerequisites
**To iterate on this connector, make sure to complete this prerequisites section.**

#### Minimum Python version required `= 3.7.0`
#### Minimum Python version required `= 3.9.0`

#### Build & Activate Virtual Environment and install dependencies
From this connector directory, create a virtual environment:
Expand Down Expand Up @@ -80,7 +80,7 @@ Then run any of the connector commands as follows:
docker run --rm airbyte/source-jira:dev spec
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-jira:dev check --config /secrets/config.json
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-jira:dev discover --config /secrets/config.json
docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-jira:dev read --config secrets/config.json --catalog integration_tests/configured_catalog.json
docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-jira:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json
```

#### Acceptance Tests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"api_token": "<api_token>",
"domain": "<your_domain.atlassian.net>",
"email": "<email>"
"email": "<email>",
"projects": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,6 @@
}
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "An audit record."
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,11 @@
},
"urls": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uri",
"readOnly": true
},
"additionalProperties": true,
"description": "The list of avatar icon URLs.",
"readOnly": true
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "List of system avatars."
}
Original file line number Diff line number Diff line change
Expand Up @@ -1378,10 +1378,7 @@
},
"roles": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uri"
},
"additionalProperties": true,
"description": "The name and self URL for each role defined in the project. For more information, see [Create project role](#api-rest-api-3-role-post)."
},
"avatarUrls": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"description": "This field is not shown in schema / swagger, but exists in records and we use it as cursor fiekd."
}
},
"additionalProperties": {}
"additionalProperties": true
},
"projectId": {
"type": "string",
Expand All @@ -60,5 +60,5 @@
"readOnly": true
}
},
"additionalProperties": false
"additionalProperties": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -1386,11 +1386,7 @@
},
"roles": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uri",
"readOnly": true
},
"additionalProperties": true,
"description": "The name and self URL for each role defined in the project. For more information, see [Create project role](#api-rest-api-3-role-post).",
"readOnly": true
},
Expand Down Expand Up @@ -1540,9 +1536,7 @@
},
"properties": {
"type": "object",
"additionalProperties": {
"readOnly": true
},
"additionalProperties": true,
"description": "Map of project properties",
"readOnly": true
},
Expand Down Expand Up @@ -2303,6 +2297,6 @@
}
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "Details of a share permission for the filter."
}
Original file line number Diff line number Diff line change
Expand Up @@ -1674,11 +1674,7 @@
},
"roles": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uri",
"readOnly": true
},
"additionalProperties": true,
"description": "The name and self URL for each role defined in the project. For more information, see [Create project role](#api-rest-api-3-role-post).",
"readOnly": true
},
Expand Down Expand Up @@ -1828,9 +1824,7 @@
},
"properties": {
"type": "object",
"additionalProperties": {
"readOnly": true
},
"additionalProperties": true,
"description": "Map of project properties",
"readOnly": true
},
Expand Down Expand Up @@ -2862,6 +2856,6 @@
}
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "Details of a filter."
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"description": "The ID of the group, if available, which uniquely identifies the group across all Atlassian products. For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*."
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "The list of groups found in a search, including header text (Showing X of Y matching groups) and total of matched groups."
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"description": "The value of the property. Required on create and update."
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "An entity property, for more information see [Entity properties](https://developer.atlassian.com/cloud/jira/platform/jira-entity-properties/)."
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"description": "Whether the context apply to all issue types."
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "The details of a custom field context."
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"description": "Whether the option is disabled."
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "Details of the custom field options for a context."
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"properties": {
"type": "object",
"additionalProperties": {},
"additionalProperties": true,
"description": "The properties of the object, as arbitrary key-value pairs. These properties can be searched using JQL, if the extractions (see [Issue Field Option Property Index](https://developer.atlassian.com/cloud/jira/platform/modules/issue-field-option-property-index/)) are defined in the descriptor for the issue field module."
},
"config": {
Expand Down Expand Up @@ -85,6 +85,6 @@
}
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "Details of the options for a select list issue field."
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"description": "Whether the field configuration is the default."
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "Details of a field configuration."
}
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,7 @@
},
"configuration": {
"type": "object",
"additionalProperties": {
"readOnly": true
},
"additionalProperties": true,
"description": "If the field is a custom field, the configuration of the field.",
"readOnly": true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"readOnly": true
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "A list of issue link type beans."
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"description": "The issue navigator column value."
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "Details of an issue navigator column item."
}
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,7 @@
},
"configuration": {
"type": "object",
"additionalProperties": {
"readOnly": true
},
"additionalProperties": true,
"description": "If the field is a custom field, the configuration of the field.",
"readOnly": true
}
Expand Down Expand Up @@ -696,6 +694,6 @@
}
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "Details about a notification scheme."
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"description": "The value of the property. Required on create and update."
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "An entity property, for more information see [Entity properties](https://developer.atlassian.com/cloud/jira/platform/jira-entity-properties/)."
}
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@
}
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "Details of an issue remote link."
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"description": "The name of the issue resolution."
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "Details of an issue resolution."
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@
}
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "List of security schemes."
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"description": "The value of the property. Required on create and update."
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "An entity property, for more information see [Entity properties](https://developer.atlassian.com/cloud/jira/platform/jira-entity-properties/)."
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"description": "Whether the issue type scheme is the default."
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "Details of an issue type scheme."
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"description": "The description of the issue type screen scheme."
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "Details of an issue type screen scheme."
}
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,6 @@
}
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "Details about an issue type."
}
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,6 @@
}
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "The details of votes on an issue."
}
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@
}
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "The details of watchers on an issue."
}
Loading

0 comments on commit 123705c

Please sign in to comment.