Skip to content

Conversation

MMaiero
Copy link
Member

@MMaiero MMaiero commented Aug 26, 2025

Description

This PR fixes a missing configuration field for 802.1X WiFi authentication by adding the password field definition that was referenced but not properly defined in the network configuration metadata.

Changes Made

  • Added CONFIG_802_1X_PASSWORD enum value to NetworkConfigurationPropertyNames
  • Added corresponding password field definition in NetworkConfigurationServiceCommon
  • Field is properly typed as Tscalar.PASSWORD for secure handling

- Add CONFIG_802_1X_PASSWORD to NetworkConfigurationPropertyNames enum
- Add password field definition to network configuration metadata
- Ensures 802.1X authentication password field is properly exposed in configuration

Signed-off-by: MMaiero <matteo.maiero@eurotech.com>
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds the missing password field definition for 802.1X WiFi authentication that was referenced but not properly defined in the network configuration metadata.

  • Added CONFIG_802_1X_PASSWORD enum value to NetworkConfigurationPropertyNames
  • Added corresponding password field definition in NetworkConfigurationServiceCommon with proper password typing
  • Updated tests to validate the new configuration field and adjusted test counts

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
NetworkConfigurationPropertyNames.java Adds the CONFIG_802_1X_PASSWORD enum constant
NetworkConfigurationServiceCommon.java Implements the password field definition with proper Tscalar.PASSWORD typing
NetworkConfigurationMessagesBundle.properties Adds localization string for the 802.1X password field
NMConfigurationServiceImplTest.java Updates test count expectation to include the new field
NetworkConfigurationServiceCommonTest.java Adds comprehensive test coverage for 802.1X password handling

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@@ -10,6 +10,7 @@
* Contributors:
* Eurotech
*******************************************************************************/
// Content with portions generated by generative AI platform
Copy link
Preview

Copilot AI Aug 26, 2025

Choose a reason for hiding this comment

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

Adding AI generation comments to existing files is not recommended as it doesn't accurately represent the contribution nature. This comment should either be removed or made more specific to only the lines that were actually AI-generated.

Suggested change
// Content with portions generated by generative AI platform

Copilot uses AI. Check for mistakes.

Copy link
Member Author

Choose a reason for hiding this comment

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

Required by Eclipse

@@ -10,6 +10,7 @@
* Contributors:
* Eurotech
*******************************************************************************/
// Content with portions generated by generative AI platform
Copy link
Preview

Copilot AI Aug 26, 2025

Choose a reason for hiding this comment

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

Adding AI generation comments to existing files is not recommended as it doesn't accurately represent the contribution nature. This comment should either be removed or made more specific to only the lines that were actually AI-generated.

Suggested change
// Content with portions generated by generative AI platform

Copilot uses AI. Check for mistakes.

Copy link
Member Author

Choose a reason for hiding this comment

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

Required by Eclipse

Copy link

@pierantoniomerlino pierantoniomerlino merged commit a2c2048 into develop Aug 26, 2025
4 checks passed
@pierantoniomerlino pierantoniomerlino deleted the fix/wifi-802-1x-password-field-definition branch August 26, 2025 15:29
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