-
Notifications
You must be signed in to change notification settings - Fork 3
Develop #21
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
Conversation
This file contains hidden or 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
…vironments module
Implement onboarding
Move files to common agrirouter directory
* Create LICENSE * Add dependencies to setup * Add assets * Add README * Add tests directory * Ignore build dir
* Implement get_connection_criteria, get_sensor_alternate_id, get_authentication methods for BaseOnboardingResonse * Implement messaging/dto parameters * Create protobuf classes for messages * Implement certification for messaging * Create AbstractClient, HttpMessagingClient, MqttMessagingClient * Add prtobuf library to requirements * Create MessageHeaderParameters, MessagePayloadParameters * Add paho-mqtt to requirements * Fix MqttMessagingClient * Create cloud_virtualized_app_registration_pb2.py protobuf file * Create utils * Fix imports in protobuf generated files * Implement encoding messages * Implement decoding messages * Implement mqtt client * Implement MQttMessagingService. Refactor HttpMessagingService * Refactor messaging/parameters * Decoded Message * Create TypeUrlNotFoundError * Create TypeUrl service * Refactor messaging/decode * Fix generated/cload_virtualized_add_registration * Create TechnicalMessageType enum * Rename function encode to encode_messge * Implement MessagingServiceParameters * Implement MEssagingServices classes * Add AR Public Keys to handle signature verification * Refactor auth * Implement QueryMessagesService, QueryHeaderService * Implement OutboxService * Implement CloudOnboardService, CloudOffboardService * Fix SoftwareOnboardingHeader.sign() method * Fix imports * Create examples file * Add unit tests (#6) * Move main classes to agrirouter/__init__.py * Update examples.txt * Fix examples.txt * Fix examples.txt * Fix SoftwareOnboardingHeader * Fix onboarding * Implement messaging certification * Fix onboarding headers signing * Refactor onboarding request body * Refactor onboarding parameters * Refactor onboarding client * Fix requests certification in messaging * Refactor messaging certification
* add test_signature.py * add wrong variables * change with black * add TestAuthorization * add new asserts * add new asserts * add test_dto.py * delete assert isinstance * change with black * delete assert isinstance * add tests
# Conflicts: # agrirouter/auth/dto.py # agrirouter/auth/response.py # agrirouter/messaging/clients/mqtt.py # agrirouter/messaging/services/commons.py # agrirouter/onboarding/response.py # example_script.py
# Conflicts: # agrirouter/auth/auth.py # agrirouter/auth/response.py # agrirouter/messaging/certification.py # agrirouter/messaging/clients/http.py # agrirouter/messaging/clients/mqtt.py # agrirouter/messaging/decode.py # agrirouter/messaging/encode.py # agrirouter/messaging/enums.py # agrirouter/messaging/exceptions.py # agrirouter/messaging/messages.py # agrirouter/messaging/parameters/dto.py # agrirouter/messaging/parameters/service.py # agrirouter/messaging/request.py # agrirouter/messaging/result.py # agrirouter/messaging/services/cloud.py # agrirouter/messaging/services/commons.py # agrirouter/messaging/services/http/outbox.py # agrirouter/messaging/services/messaging.py # agrirouter/onboarding/exceptions.py # agrirouter/onboarding/headers.py # agrirouter/onboarding/onboarding.py # agrirouter/onboarding/parameters.py # agrirouter/onboarding/request.py # agrirouter/onboarding/request_body.py # agrirouter/onboarding/response.py # agrirouter/onboarding/signature.py # agrirouter/revoking/parameters.py # agrirouter/revoking/request.py # agrirouter/revoking/request_body.py # agrirouter/revoking/revoking.py # agrirouter/utils/type_url.py # agrirouter/utils/utc_time_util.py # agrirouter/utils/uuid_util.py # examples.txt # tests/auth_test/test_response.py # tests/constants.py # tests/enviroments_test/test_environmental_services.py # tests/messaging_test/test_request.py # tests/onboarding_test/test_headers.py
# Conflicts: # agrirouter/auth/response.py
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.