Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/add freshdesk properties #3576

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

Conversation

ahdamin
Copy link
Contributor

@ahdamin ahdamin commented Aug 15, 2024

Description

Added

  • Ticket properties:
  1. Type
  2. Tags: data analysis
  3. custom field: environment

ahdamin and others added 8 commits August 6, 2024 13:34
### Added
Freshdesk Variables
* instantiate freshdesk client

* create ticket with freshdesk client

* add frehdesk client

* add freshdesk to fixtures

* refactor tests for Freshdesk

* remove redundant type hint

* change decorators to context managers

* fix mock setup

* add type hints

* fix freshdesk ticket submission

* rename FreshDesk client variable

* rename ticket client variable

* update ticket handling integration

* refactor integration with ticket handler

* refactor models for attachments and responses

* refactor for Freshdesk integration

* refactor attachment hanlding for Freshdesk

* reformat

* inject Freshdesk client dependency

* use OrdersAPI instance

* initialize ticket handler and OrdersAPI

* reformat

* rename Freshdesk client variable

* add error handling and logging

* refactor error handling

* remove commentsx

* remove api variable

* remove logging at the info level

* replace osticket with freshdesk

* update ticket mock creation

* use https protocol

* remove _url method

* remove comments

* correct a typo

* use file attachment method from utils

* move out attachment processing

* add attachment handling

* check attributes values

* return single attachment

* fix temp attachment method

* remove attachment model

---------

Co-authored-by: AhmedAmin-ki <[email protected]>
Co-authored-by: Vincent Janvid <[email protected]>
@ahdamin ahdamin changed the title Feat/add freshdesk properties feat/add freshdesk properties Aug 16, 2024
@ahdamin ahdamin marked this pull request as ready for review August 20, 2024 09:53
@ahdamin ahdamin requested a review from a team as a code owner August 20, 2024 09:53
@ahdamin
Copy link
Contributor Author

ahdamin commented Aug 20, 2024

Moved multipart handling to TicketCreate model

Copy link

@ahdamin ahdamin requested a review from Vince-janv August 20, 2024 12:24
Base automatically changed from dev-freshdesk to master September 3, 2024 12:04
An error occurred while trying to automatically change base from dev-freshdesk to master September 3, 2024 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants