Commit c713cf0
authored
Feature/update libs to avoid security issues (#49)
* Update cryptography and urllib3 versions in requirements.txt
The project dependencies cryptography and urllib3 have been updated to more recent versions in the requirements.txt file. Cryptography has been updated from 3.4.8 to 42.0.5 while urllib3 has been updated from 1.26.7 to 2.2.1.
* Update cryptography and urllib3 versions in requirements
Updated the cryptography from version 42.0.5 to version 3.4.8 and urllib3 from 2.2.1 to 1.26.18 in the requirements file. This will ensure compatibility with the latest libraries while maintaining the application's functionality.
* Downgrade protobuf package
Protobuf package version has been downgraded from 3.20.3 to 3.18.0 in the requirements.txt file. This change maintains compatibility with other dependencies that are yet to support the newer version.
* Refactor codebase for agrirouter integration
The codebase has been heavily refactored to introduce the "agrirouter" namespace. Among other changes, the original 'src' module is now within 'agrirouter'. All corresponding root-level paths, import paths, and descriptor full names have been updated to reflect this change, ensuring that the module hierarchy is correct.
* Refactor import statements in test_send_and_receive_chunked_messages_from_the_feed
The import statements were reorganized in the file 'test_send_and_receive_chunked_messages_from_the_feed.py'. The sequence of imports was changed and multi-line import statements were aligned for better readability and code formatting standards.
* typeReorder imports in mqtt tests
The imports in the mqtt test script have been restructured for better readability and maintenance. The imports related to 'enums', 'parameters.service' and 'request.request_pb2' have been modified. It does not affect the functionality of the test cases or the script, but enhances the structure.
* Update imports in type_url.py
The import order and placement in type_url.py has been corrected to improve code readability and organization. Along with this, import statements for TimeLog and ISO11783_TaskData from efdi_pb2 and TypeUrlNotFound from exceptions have been moved to the top.
* Update import order in cloud.py
Adjusted the import order in cloud.py to improve readability and code consistency. `TechnicalMessageType` has been moved to precede the import from `cloud_virtualized_app_registration_pb2`. No functional changes have been made.1 parent 34e7518 commit c713cf0
152 files changed
Lines changed: 429 additions & 428 deletions
File tree
- src
- agrirouter
- api
- auth
- environments
- generated
- cloud_provider_integration
- commons
- messaging
- request
- payload
- account
- efdi
- endpoint
- feed
- gps
- response
- payload
- account
- endpoint
- feed
- settings
- messaging
- clients
- parameters
- services
- http
- onboarding
- revoking
- utils
- utils
- tests/agrirouter
- common
- data
- content
- onboarding_responses
- Http/CommunicationUnit/PEM
- Mqtt/CommunicationUnit
- Messages
- PEM
- fixtures
- internal
- auth
- environments
- messaging
- onboarding
- revoking
- service
- messaging
- mqtt
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
302 | | - | |
303 | | - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments