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

PCLOUDS-3509 Added aiohttp implementation #463

Conversation

szymon-nagel-dt
Copy link
Collaborator

PCLOUDS-3509 Added aiohttp implementation

ssl_context = ssl.create_default_context()
if not config.require_valid_certificate():
ssl_context.check_hostname = False
ssl_context.verify_mode = ssl.CERT_NONE

Check failure

Code scanning / SonarCloud

Server certificates should be verified during SSL/TLS connections High

Enable server certificate validation on this SSL/TLS connection. See more on SonarCloud
from lib.logs.logs_processor import LogProcessingJob
from lib.logs.client_base import DynatraceClientBase

ssl_context = ssl.create_default_context()

Check failure

Code scanning / SonarCloud

Server hostnames should be verified during SSL/TLS connections High

Enable server hostname verification on this SSL/TLS connection. See more on SonarCloud
…erf-improvements' into PCLOUDS-3509-replace-http-client-with-async-supporting-one-aiohttp
Copy link

sonarcloud bot commented Jan 8, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

async def perform_pull(
worker_state: WorkerState,
sfm_queue: Queue,
gcp_aio_client: GCPClient,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aio

@szymon-nagel-dt szymon-nagel-dt merged commit c6ae3a3 into PCLOUDS-2800-GCP-Log-Forwarder-perf-improvements Jan 8, 2024
3 of 5 checks passed
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.

None yet

2 participants