-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clients] - Refactor classes not to use pydantic (#3985)
* [clients] - Check health on both xsiam/xsoar-saas * fix client tests * changelog * validate health of xsoar6 too * align env vars + raise unhealthy exceptions * update changelog * fix existing tests * some fixes * pydantic to normal objects * config * add _str__ to xsoar-clients * implement is_server_type * refactor get_client_from_server_type * update get_from_server_type * ServerAbout class * fix most of tests * if no auth_id - do not validate * add tests * remove build num property * refactor get_server_type * logs improvments * logs * test_get_xsoar_on_prem_client_from_server_type_with_auth_id test * update __str__ and fix some bugs * warning if /about is not retrievable * changelog * fix tests
- Loading branch information
Showing
7 changed files
with
653 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
changes: | ||
- description: Added support to check the health status when initialing a client for xsoar-on-prem/xsoar-saas by default, will throw exception if server is not healthy. | ||
type: feature | ||
pr_number: 3985 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.