Skip to content

Commit

Permalink
source-jira: ensure inline schemas, updated cdk, poetry (where possib…
Browse files Browse the repository at this point in the history
…le) (#36646)
  • Loading branch information
bleonard committed Apr 24, 2024
1 parent 1c187e9 commit 2e0e259
Show file tree
Hide file tree
Showing 71 changed files with 1,604 additions and 1,363 deletions.
7 changes: 5 additions & 2 deletions airbyte-integrations/connectors/source-jira/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 68e63de2-bb83-4c7e-93fa-a8a9051e3993
dockerImageTag: 1.2.0
dockerImageTag: 1.2.2
dockerRepository: airbyte/source-jira
documentationUrl: https://docs.airbyte.com/integrations/sources/jira
githubIssueLabel: source-jira
Expand All @@ -31,7 +31,10 @@ data:
releases:
breakingChanges:
1.0.0:
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."
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."
upgradeDeadline: "2024-01-25"
scopedImpact:
- scopeType: stream
Expand Down
36 changes: 18 additions & 18 deletions airbyte-integrations/connectors/source-jira/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions airbyte-integrations/connectors/source-jira/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
version = "1.2.0"
version = "1.2.2"
name = "source-jira"
description = "Source implementation for Jira."
authors = [ "Airbyte <contact@airbyte.io>",]
Expand All @@ -17,7 +17,7 @@ include = "source_jira"

[tool.poetry.dependencies]
python = "^3.9,<3.12"
airbyte-cdk = "^0"
airbyte-cdk = "0.80.0"

[tool.poetry.scripts]
source-jira = "source_jira.run:run"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,68 +3,85 @@
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "The key of the application role."
"description": "The key identifier of the application role.",
"type": "string"
},
"groups": {
"description": "The groups associated with the application role.",
"uniqueItems": true,
"type": "array",
"description": "The groups associated with the application role.",
"items": { "type": "string" }
"items": {
"type": "string"
}
},
"name": {
"type": "string",
"description": "The display name of the application role."
"description": "The display name of the application role.",
"type": "string"
},
"defaultGroups": {
"description": "The groups that are granted default access for this application role.",
"uniqueItems": true,
"type": "array",
"description": "The groups that are granted default access for this application role.",
"items": { "type": "string" }
"items": {
"type": "string"
}
},
"selectedByDefault": {
"type": "boolean",
"description": "Determines whether this application role should be selected by default on user creation."
"description": "Determines if this application role should be selected by default on user creation.",
"type": "boolean"
},
"defined": {
"description": "Deprecated.",
"type": "boolean"
},
"defined": { "type": "boolean", "description": "Deprecated." },
"numberOfSeats": {
"type": "integer",
"description": "The maximum count of users on your license."
"description": "The maximum count of users allowed on the license.",
"type": "integer"
},
"remainingSeats": {
"type": "integer",
"description": "The count of users remaining on your license."
"description": "The count of remaining user seats on the license.",
"type": "integer"
},
"userCount": {
"type": "integer",
"description": "The number of users counting against your license."
"description": "The total count of users that are counted against the license limit.",
"type": "integer"
},
"userCountDescription": {
"type": "string",
"description": "The [type of users](https://confluence.atlassian.com/x/lRW3Ng) being counted against your license."
"description": "Describes the type of users being counted against your license. For more information, refer to the provided link.",
"type": "string"
},
"hasUnlimitedSeats": {
"description": "Indicates if the application role has unlimited user seats.",
"type": "boolean"
},
"hasUnlimitedSeats": { "type": "boolean" },
"platform": {
"type": "boolean",
"description": "Indicates if the application role belongs to Jira platform (`jira-core`)."
"description": "Indicates if the application role belongs to Jira platform (`jira-core`).",
"type": "boolean"
},
"groupDetails": {
"description": "Details about the groups associated with the application role.",
"type": ["null", "array"],
"description": "Group Details",
"items": { "type": ["null", "object"] }
"items": {
"type": ["null", "object"]
}
},
"defaultGroupsDetails": {
"description": "Details of default groups assigned to application roles.",
"type": ["null", "array"],
"items": {
"description": "Information about a specific default group.",
"type": ["null", "object"],
"properties": {
"groupId": {
"description": "The unique identifier of the group.",
"type": ["null", "string"]
},
"name": {
"description": "The name of the group.",
"type": ["null", "string"]
},
"self": {
"description": "The URL for accessing the group details.",
"type": ["null", "string"]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,131 +3,132 @@
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "The ID of the audit record.",
"type": "integer",
"readOnly": true
},
"summary": {
"type": "string",
"description": "The summary of the audit record.",
"type": "string",
"readOnly": true
},
"remoteAddress": {
"type": "string",
"description": "The URL of the computer where the creation of the audit record was initiated.",
"type": "string",
"readOnly": true
},
"authorKey": {
"type": "string",
"description": "Deprecated, use `authorAccountId` instead. The key of the user who created the audit record.",
"type": "string",
"readOnly": true
},
"created": {
"type": "string",
"description": "The date and time on which the audit record was created.",
"type": "string",
"format": "date-time",
"readOnly": true
},
"category": {
"type": "string",
"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).",
"type": "string",
"readOnly": true
},
"eventSource": {
"type": "string",
"description": "The event the audit record originated from.",
"type": "string",
"readOnly": true
},
"description": {
"type": "string",
"description": "The description of the audit record.",
"type": "string",
"readOnly": true
},
"objectItem": {
"description": "Represents an object within a Jira audit record.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ID of the associated record.",
"type": "string",
"readOnly": true
},
"name": {
"type": "string",
"description": "The name of the associated record.",
"type": "string",
"readOnly": true
},
"typeName": {
"type": "string",
"description": "The type of the associated record.",
"type": "string",
"readOnly": true
},
"parentId": {
"type": "string",
"description": "The ID of the associated parent record.",
"type": "string",
"readOnly": true
},
"parentName": {
"type": "string",
"description": "The name of the associated parent record.",
"type": "string",
"readOnly": true
}
}
},
"changedValues": {
"type": "array",
"description": "The list of values changed in the record event.",
"type": "array",
"readOnly": true,
"items": {
"type": "object",
"properties": {
"fieldName": {
"type": "string",
"description": "The name of the field changed.",
"type": "string",
"readOnly": true
},
"changedFrom": {
"type": "string",
"description": "The value of the field before the change.",
"type": "string",
"readOnly": true
},
"changedTo": {
"type": "string",
"description": "The value of the field after the change.",
"type": "string",
"readOnly": true
}
}
}
},
"associatedItems": {
"type": "array",
"description": "The list of items associated with the changed record.",
"type": "array",
"readOnly": true,
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ID of the associated record.",
"type": "string",
"readOnly": true
},
"name": {
"type": "string",
"description": "The name of the associated record.",
"type": "string",
"readOnly": true
},
"typeName": {
"type": "string",
"description": "The type of the associated record.",
"type": "string",
"readOnly": true
},
"parentId": {
"type": "string",
"description": "The ID of the associated parent record.",
"type": "string",
"readOnly": true
},
"parentName": {
"type": "string",
"description": "The name of the associated parent record.",
"type": "string",
"readOnly": true
}
}
Expand Down
Loading

0 comments on commit 2e0e259

Please sign in to comment.