Skip to content

Commit

Permalink
PAPP-33712 - remove unused stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mctonderski-splunk committed Jul 23, 2024
1 parent a53c979 commit 26e353a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions jira_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import time
from builtins import str
from datetime import datetime
from urllib.parse import urlparse, urlunparse

import dateutil
import phantom.app as phantom
Expand Down Expand Up @@ -492,19 +491,6 @@ def _list_projects(self, param):

return action_result.set_status(phantom.APP_SUCCESS)

def _get_base_url_from_url_path(self, url):
parsed_url = urlparse(url)
return f"{parsed_url.scheme}://{parsed_url.netloc}/"

def _update_base_url_in_url_path(self, url, new_base):
parsed_url = urlparse(url)
new_parsed_base = urlparse(new_base)
return urlunparse((
new_parsed_base.scheme, new_parsed_base.netloc,
parsed_url.path, parsed_url.params,
parsed_url.query, parsed_url.fragment
))

def _get_custom_fields_for_issue(self, issue_id, action_result):
if self.get_config().get("verify_server_cert"):
return phantom.APP_SUCCESS, None, None
Expand Down

0 comments on commit 26e353a

Please sign in to comment.