Skip to content

[WIP] Fix resturn types br - #150

Open
rohitthakur2590 wants to merge 23 commits into
develfrom
fix_resturn_types_br
Open

rohitthakur2590 wants to merge 23 commits into
develfrom
fix_resturn_types_br

Conversation

@rohitthakur2590

Copy link
Copy Markdown
Collaborator

Description

  • What is being changed?
  • Why is this change needed?
  • How does this change address the issue?

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Test update
  • Refactoring (no functional changes)
  • Development environment change
  • Configuration change

Self-Review Checklist

  • I have performed a self-review of my code
  • I have added relevant comments to complex code sections
  • I have updated documentation where needed
  • I have considered the security impact of these changes
  • I have considered performance implications
  • I have thought about error handling and edge cases
  • I have tested the changes in my local environment

Testing Instructions

Prerequisites

Steps to Test

Expected Results

Additional Context

Required Actions

  • Requires documentation updates
  • Requires downstream repository changes
  • Requires infrastructure/deployment changes
  • Requires coordination with other teams
  • Blocked by PR/MR: #XXX

Screenshots/Logs

rohitthakur2590 and others added 9 commits January 15, 2026 12:25
* ANSTRAT-1640: ansible.platform base foundation phase1 POC

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix ansible-lint

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

---------

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* implement platform http connection plugin

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* remove files

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

---------

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* update with benchmark

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* add benchmark playbooks

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

---------

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* removed redudancy

* fix integration tc

* fix lint

* fix integration tc

* removed hardcoding

* added unit tc

* restore integration tc

* add unit tc

* added more unit tc to test Implement DynamicClassLoader and version selection

* fix lint

* fix lint

* fix sanity

* update operations

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* Track extensions/molecule for tox integration tests

* Add pytest integration test for molecule scenarios

* update tests

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update tests

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update tests

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update tests

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity and lint issues

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity and lint issues

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity and lint issues

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity and lint issues

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix sanity and lint issues

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* add unit test workflow

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* add unit test workflow

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update unit workflow

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update workflows

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

---------

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
Co-authored-by: Nikhil Bhasin <nikhilbhasin7@gmail.com>
* add team module implementation

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update CI workflow

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update user plugin

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update user plugin

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix tests app

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix tests app

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix tests app

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix test for user_org_map_auth

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix user_test

* fix_team_ca

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix http and feature flag

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* ci-fix

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* ci-fix

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* ci-fix

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* ci-fix

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* ci-fix

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* ci-fix

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix lint issues

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update actions plugins and models

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update actions plugins and models

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update actions plugins and models

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix lint

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix lint

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix lint

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* lint tools fix

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* disbale usermol

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

---------

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* Update Documentation

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix tests

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix tests

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix lint

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix lint

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix rua and rta modules

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update workflow with  molecule test path

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update url

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update url

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

---------

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* fix user_module_tests

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix user_module_tests

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update docs and examples

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update docs and examples

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* update docs and examples

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix route

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix route

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix route

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix route

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix cleanup

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* fix cleanup

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

---------

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
@rohitthakur2590 rohitthakur2590 changed the title Fix resturn types br [WIP] Fix resturn types br Mar 26, 2026
# Create a hash of credentials to include in socket path
# This ensures different credentials = different socket path = different manager
cred_string = f"{gateway_config.username or ''}:{gateway_config.password or ''}:{gateway_config.oauth_token or ''}"
cred_hash = hashlib.sha256(cred_string.encode('utf-8')).hexdigest()[:8]

Check failure

Code scanning / CodeQL

Use of a broken or weak cryptographic hashing algorithm on sensitive data High

Sensitive data (password) is used in a hashing algorithm (SHA256) that is insecure for password hashing, since it is not a computationally expensive hash function.
Sensitive data (password) is used in a hashing algorithm (SHA256) that is insecure for password hashing, since it is not a computationally expensive hash function.

Copilot Autofix

AI 6 months ago

Copilot could not generate an autofix suggestion

Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.

else:
cred_string = "none"

credential_hash = hashlib.sha256(cred_string.encode('utf-8')).hexdigest()[:16]

Check failure

Code scanning / CodeQL

Use of a broken or weak cryptographic hashing algorithm on sensitive data High

Sensitive data (password) is used in a hashing algorithm (SHA256) that is insecure for password hashing, since it is not a computationally expensive hash function.
Sensitive data (password) is used in a hashing algorithm (SHA256) that is insecure for password hashing, since it is not a computationally expensive hash function.
Sensitive data (password) is used in a hashing algorithm (SHA256) that is insecure for password hashing, since it is not a computationally expensive hash function.
Sensitive data (password) is used in a hashing algorithm (SHA256) that is insecure for password hashing, since it is not a computationally expensive hash function.
Sensitive data (password) is used in a hashing algorithm (SHA256) that is insecure for password hashing, since it is not a computationally expensive hash function.
Sensitive data (password) is used in a hashing algorithm (SHA256) that is insecure for password hashing, since it is not a computationally expensive hash function.
Sensitive data (password) is used in a hashing algorithm (SHA256) that is insecure for password hashing, since it is not a computationally expensive hash function.
Sensitive data (password) is used in a hashing algorithm (SHA256) that is insecure for password hashing, since it is not a computationally expensive hash function.

Copilot Autofix

AI 6 months ago

Copilot could not generate an autofix suggestion

Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
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