-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
APP-4245 - [Inputs] Added support for secure Redis (SSL and User/Pass)
- Loading branch information
1 parent
2c12735
commit e05fd64
Showing
12 changed files
with
83 additions
and
120 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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"""TcEx Framework Module""" | ||
__license__ = 'Apache-2.0' | ||
__version__ = '4.0.2' | ||
__version__ = '4.0.3' |
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
Submodule key_value_store
updated
3 files
+68 −11 | key_value_store.py | |
+1 −16 | redis_client.py | |
+66 −0 | redis_client_ssl.py |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
"""TcEx Framework Module""" | ||
# third-party | ||
from pydantic import BaseModel, Field | ||
|
||
|
||
class CertModel(BaseModel): | ||
"""Input Service Model | ||
Supported runtimeLevel: | ||
* ApiService | ||
* Playbook | ||
* Organization | ||
* TriggerService | ||
* WebhookTriggerService | ||
""" | ||
|
||
# @bcs - for service App these should be required, for any other App type making them | ||
# required would force a min server version of 7.4 | ||
tc_svc_broker_cacert_file: str | None = Field( | ||
None, | ||
description='The Broker SSL CA (full chain) certificate.', | ||
inclusion_reason='runtimeLevel', | ||
) | ||
tc_svc_broker_cert_file: str | None = Field( | ||
None, | ||
description='The Broker SSL Server certificate.', | ||
inclusion_reason='runtimeLevel', | ||
) | ||
tc_svc_broker_jks_file: str | None = Field( | ||
'Unused', | ||
description='Input for Java Apps.', | ||
inclusion_reason='runtimeLevel', | ||
) | ||
tc_svc_broker_jks_pwd: str | None = Field( | ||
'Unused', | ||
description='Input for Java Apps.', | ||
inclusion_reason='runtimeLevel', | ||
) | ||
tc_svc_broker_key_file: str | None = Field( | ||
None, | ||
description='The Broker SSL Key (full chain) certificate.', | ||
inclusion_reason='runtimeLevel', | ||
) |
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
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
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