wazuh / qa-system-framework

GNU General Public License v2.0
1 stars 3 forks source link

Add Wazuh API modules #25

Closed jmv74211 closed 1 year ago

jmv74211 commented 1 year ago
Related issue
#24

This PR adds new Wazuh API modules to handle custom requests and responses to the Wazuh API.

In addition, a new directory structure has been created to indicate a possible template or organization of the different Wazuh components that may be developed over time.

The added modules are as follows:

── src
│   └── wazuh_qa_framework
│       └── wazuh_components
│           ├── api
│           │   ├── wazuh_api.py
│           │   ├── wazuh_api_request.py
│           │   └── wazuh_api_response.py
│           ├── database
│           │   └── __init__.py
│           ├── indexer
│           │   └── __init__.py
│           ├── service
│           │   └── __init__.py
│           └── simulators
│               └── __init__.py

Note: In this case, a Wazuh component is added, which cannot be unit tested so the corresponding tests have not been attached. It would be necessary to create integration tests for the repository and test these components.