Skip to content

Commit 2e0e259

Browse files
authored
source-jira: ensure inline schemas, updated cdk, poetry (where possible) (#36646)
1 parent 1c187e9 commit 2e0e259

File tree

71 files changed

+1604
-1363
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+1604
-1363
lines changed

airbyte-integrations/connectors/source-jira/metadata.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ data:
1010
connectorSubtype: api
1111
connectorType: source
1212
definitionId: 68e63de2-bb83-4c7e-93fa-a8a9051e3993
13-
dockerImageTag: 1.2.0
13+
dockerImageTag: 1.2.2
1414
dockerRepository: airbyte/source-jira
1515
documentationUrl: https://docs.airbyte.com/integrations/sources/jira
1616
githubIssueLabel: source-jira
@@ -31,7 +31,10 @@ data:
3131
releases:
3232
breakingChanges:
3333
1.0.0:
34-
message: "Stream state will be saved for every board in stream `Boards Issues`. Customers who use stream `Board Issues` in Incremental Sync mode must take action with their connections."
34+
message:
35+
"Stream state will be saved for every board in stream `Boards Issues`.
36+
Customers who use stream `Board Issues` in Incremental Sync mode must take
37+
action with their connections."
3538
upgradeDeadline: "2024-01-25"
3639
scopedImpact:
3740
- scopeType: stream

airbyte-integrations/connectors/source-jira/poetry.lock

+18-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

airbyte-integrations/connectors/source-jira/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
33
build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
6-
version = "1.2.0"
6+
version = "1.2.2"
77
name = "source-jira"
88
description = "Source implementation for Jira."
99
authors = [ "Airbyte <[email protected]>",]
@@ -17,7 +17,7 @@ include = "source_jira"
1717

1818
[tool.poetry.dependencies]
1919
python = "^3.9,<3.12"
20-
airbyte-cdk = "^0"
20+
airbyte-cdk = "0.80.0"
2121

2222
[tool.poetry.scripts]
2323
source-jira = "source_jira.run:run"

airbyte-integrations/connectors/source-jira/source_jira/schemas/application_roles.json

+41-24
Original file line numberDiff line numberDiff line change
@@ -3,68 +3,85 @@
33
"type": "object",
44
"properties": {
55
"key": {
6-
"type": "string",
7-
"description": "The key of the application role."
6+
"description": "The key identifier of the application role.",
7+
"type": "string"
88
},
99
"groups": {
10+
"description": "The groups associated with the application role.",
1011
"uniqueItems": true,
1112
"type": "array",
12-
"description": "The groups associated with the application role.",
13-
"items": { "type": "string" }
13+
"items": {
14+
"type": "string"
15+
}
1416
},
1517
"name": {
16-
"type": "string",
17-
"description": "The display name of the application role."
18+
"description": "The display name of the application role.",
19+
"type": "string"
1820
},
1921
"defaultGroups": {
22+
"description": "The groups that are granted default access for this application role.",
2023
"uniqueItems": true,
2124
"type": "array",
22-
"description": "The groups that are granted default access for this application role.",
23-
"items": { "type": "string" }
25+
"items": {
26+
"type": "string"
27+
}
2428
},
2529
"selectedByDefault": {
26-
"type": "boolean",
27-
"description": "Determines whether this application role should be selected by default on user creation."
30+
"description": "Determines if this application role should be selected by default on user creation.",
31+
"type": "boolean"
32+
},
33+
"defined": {
34+
"description": "Deprecated.",
35+
"type": "boolean"
2836
},
29-
"defined": { "type": "boolean", "description": "Deprecated." },
3037
"numberOfSeats": {
31-
"type": "integer",
32-
"description": "The maximum count of users on your license."
38+
"description": "The maximum count of users allowed on the license.",
39+
"type": "integer"
3340
},
3441
"remainingSeats": {
35-
"type": "integer",
36-
"description": "The count of users remaining on your license."
42+
"description": "The count of remaining user seats on the license.",
43+
"type": "integer"
3744
},
3845
"userCount": {
39-
"type": "integer",
40-
"description": "The number of users counting against your license."
46+
"description": "The total count of users that are counted against the license limit.",
47+
"type": "integer"
4148
},
4249
"userCountDescription": {
43-
"type": "string",
44-
"description": "The [type of users](https://confluence.atlassian.com/x/lRW3Ng) being counted against your license."
50+
"description": "Describes the type of users being counted against your license. For more information, refer to the provided link.",
51+
"type": "string"
52+
},
53+
"hasUnlimitedSeats": {
54+
"description": "Indicates if the application role has unlimited user seats.",
55+
"type": "boolean"
4556
},
46-
"hasUnlimitedSeats": { "type": "boolean" },
4757
"platform": {
48-
"type": "boolean",
49-
"description": "Indicates if the application role belongs to Jira platform (`jira-core`)."
58+
"description": "Indicates if the application role belongs to Jira platform (`jira-core`).",
59+
"type": "boolean"
5060
},
5161
"groupDetails": {
62+
"description": "Details about the groups associated with the application role.",
5263
"type": ["null", "array"],
53-
"description": "Group Details",
54-
"items": { "type": ["null", "object"] }
64+
"items": {
65+
"type": ["null", "object"]
66+
}
5567
},
5668
"defaultGroupsDetails": {
69+
"description": "Details of default groups assigned to application roles.",
5770
"type": ["null", "array"],
5871
"items": {
72+
"description": "Information about a specific default group.",
5973
"type": ["null", "object"],
6074
"properties": {
6175
"groupId": {
76+
"description": "The unique identifier of the group.",
6277
"type": ["null", "string"]
6378
},
6479
"name": {
80+
"description": "The name of the group.",
6581
"type": ["null", "string"]
6682
},
6783
"self": {
84+
"description": "The URL for accessing the group details.",
6885
"type": ["null", "string"]
6986
}
7087
}

airbyte-integrations/connectors/source-jira/source_jira/schemas/audit_records.json

+24-23
Original file line numberDiff line numberDiff line change
@@ -3,131 +3,132 @@
33
"type": "object",
44
"properties": {
55
"id": {
6-
"type": "integer",
76
"description": "The ID of the audit record.",
7+
"type": "integer",
88
"readOnly": true
99
},
1010
"summary": {
11-
"type": "string",
1211
"description": "The summary of the audit record.",
12+
"type": "string",
1313
"readOnly": true
1414
},
1515
"remoteAddress": {
16-
"type": "string",
1716
"description": "The URL of the computer where the creation of the audit record was initiated.",
17+
"type": "string",
1818
"readOnly": true
1919
},
2020
"authorKey": {
21-
"type": "string",
2221
"description": "Deprecated, use `authorAccountId` instead. The key of the user who created the audit record.",
22+
"type": "string",
2323
"readOnly": true
2424
},
2525
"created": {
26-
"type": "string",
2726
"description": "The date and time on which the audit record was created.",
27+
"type": "string",
2828
"format": "date-time",
2929
"readOnly": true
3030
},
3131
"category": {
32-
"type": "string",
3332
"description": "The category of the audit record. For a list of these categories, see the help article [Auditing in Jira applications](https://confluence.atlassian.com/x/noXKM).",
33+
"type": "string",
3434
"readOnly": true
3535
},
3636
"eventSource": {
37-
"type": "string",
3837
"description": "The event the audit record originated from.",
38+
"type": "string",
3939
"readOnly": true
4040
},
4141
"description": {
42-
"type": "string",
4342
"description": "The description of the audit record.",
43+
"type": "string",
4444
"readOnly": true
4545
},
4646
"objectItem": {
47+
"description": "Represents an object within a Jira audit record.",
4748
"type": "object",
4849
"properties": {
4950
"id": {
50-
"type": "string",
5151
"description": "The ID of the associated record.",
52+
"type": "string",
5253
"readOnly": true
5354
},
5455
"name": {
55-
"type": "string",
5656
"description": "The name of the associated record.",
57+
"type": "string",
5758
"readOnly": true
5859
},
5960
"typeName": {
60-
"type": "string",
6161
"description": "The type of the associated record.",
62+
"type": "string",
6263
"readOnly": true
6364
},
6465
"parentId": {
65-
"type": "string",
6666
"description": "The ID of the associated parent record.",
67+
"type": "string",
6768
"readOnly": true
6869
},
6970
"parentName": {
70-
"type": "string",
7171
"description": "The name of the associated parent record.",
72+
"type": "string",
7273
"readOnly": true
7374
}
7475
}
7576
},
7677
"changedValues": {
77-
"type": "array",
7878
"description": "The list of values changed in the record event.",
79+
"type": "array",
7980
"readOnly": true,
8081
"items": {
8182
"type": "object",
8283
"properties": {
8384
"fieldName": {
84-
"type": "string",
8585
"description": "The name of the field changed.",
86+
"type": "string",
8687
"readOnly": true
8788
},
8889
"changedFrom": {
89-
"type": "string",
9090
"description": "The value of the field before the change.",
91+
"type": "string",
9192
"readOnly": true
9293
},
9394
"changedTo": {
94-
"type": "string",
9595
"description": "The value of the field after the change.",
96+
"type": "string",
9697
"readOnly": true
9798
}
9899
}
99100
}
100101
},
101102
"associatedItems": {
102-
"type": "array",
103103
"description": "The list of items associated with the changed record.",
104+
"type": "array",
104105
"readOnly": true,
105106
"items": {
106107
"type": "object",
107108
"properties": {
108109
"id": {
109-
"type": "string",
110110
"description": "The ID of the associated record.",
111+
"type": "string",
111112
"readOnly": true
112113
},
113114
"name": {
114-
"type": "string",
115115
"description": "The name of the associated record.",
116+
"type": "string",
116117
"readOnly": true
117118
},
118119
"typeName": {
119-
"type": "string",
120120
"description": "The type of the associated record.",
121+
"type": "string",
121122
"readOnly": true
122123
},
123124
"parentId": {
124-
"type": "string",
125125
"description": "The ID of the associated parent record.",
126+
"type": "string",
126127
"readOnly": true
127128
},
128129
"parentName": {
129-
"type": "string",
130130
"description": "The name of the associated parent record.",
131+
"type": "string",
131132
"readOnly": true
132133
}
133134
}

0 commit comments

Comments
 (0)