Skip to content

Commit

Permalink
upgrade fastapi and uvicorn in ocean core
Browse files Browse the repository at this point in the history
  • Loading branch information
talsabagport committed Oct 30, 2024
1 parent 877a94f commit 69c1524
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 23 deletions.
15 changes: 0 additions & 15 deletions integrations/jira/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,6 @@ async def on_resync_issues(kind: str) -> ASYNC_GENERATOR_RESYNC_TYPE:

@ocean.router.post("/webhook")
async def handle_webhook_request(data: dict[str, Any]) -> dict[str, Any]:
# client = JiraClient(
# ocean.integration_config["jira_host"],
# ocean.integration_config["atlassian_user_email"],
# ocean.integration_config["atlassian_user_token"],
# )
# logger.info(f'Received webhook event of type: {data.get("webhookEvent")}')
# if "project" in data:
# logger.info(f'Received webhook event for project: {data["project"]["key"]}')
# project = await client.get_single_project(data["project"]["key"])
# await ocean.register_raw(ObjectKind.PROJECT, [project])
# elif "issue" in data:
# logger.info(f'Received webhook event for issue: {data["issue"]["key"]}')
# issue = await client.get_single_issue(data["issue"]["key"])
# await ocean.register_raw(ObjectKind.ISSUE, [issue])
# logger.info("Webhook event processed")
return {"ok": True}


Expand Down
12 changes: 6 additions & 6 deletions integrations/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 integrations/jira/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[tool.poetry]
name = "jira"
version = "0.1.89-dev046"
version = "0.1.89-dev047"
description = "Integration to bring information from Jira into Port"
authors = ["Mor Paz <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
port_ocean = {version = "0.12.2-dev18", extras = ["cli"]}
port_ocean = {version = "0.12.2-dev19", extras = ["cli"]}
httpx = "^0.27.0"
psutil = "^6.1.0"

Expand Down

0 comments on commit 69c1524

Please sign in to comment.