Skip to content

RDK-57502 - [RDKE] Migrate Operation Support Log Upload Related Scripts To C Implementation#70

Open
Abhinavpv28 wants to merge 12 commits intodevelopfrom
feature/build_error
Open

RDK-57502 - [RDKE] Migrate Operation Support Log Upload Related Scripts To C Implementation#70
Abhinavpv28 wants to merge 12 commits intodevelopfrom
feature/build_error

Conversation

@Abhinavpv28
Copy link
Contributor

Reason for change: Resolve build error , on disabing rekcertselector flag
Test Procedure: Focused Regression
Risks: Low
Signed-off-by: Abhinav P V Abhinav_Valappil@comcast.com

@Abhinavpv28 Abhinavpv28 requested a review from a team as a code owner January 20, 2026 11:42
Copilot AI review requested due to automatic review settings January 20, 2026 11:42
@Abhinavpv28
Copy link
Contributor Author

Copy link
Contributor

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 fixes a build error that occurs when the rdkcertselector flag is disabled. The issue was caused by incorrect placement of conditional compilation directives in mtls_upload.c.

Changes:

  • Corrected the placement of #endif directive in mtls_upload.c to properly close the #ifdef LIBRDKCERTSELECTOR block
  • Updated Makefile.am to use library-specific LDFLAGS instead of global AM_LDFLAGS for linking RdkCertSelector

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
uploadutils/mtls_upload.c Fixed conditional compilation structure by moving #endif from end of file to line 213, ensuring performS3PutWithCert is available even when LIBRDKCERTSELECTOR is disabled
uploadutils/Makefile.am Changed from global AM_LDFLAGS to library-specific libuploadutil_la_LDFLAGS for RdkCertSelector linker flags

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 20, 2026 11:51
Copy link
Contributor

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

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


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@satya200 satya200 left a comment

Choose a reason for hiding this comment

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

With this change the upload functionality is got removed. Please make sure upload functionality should work when certselecter flag is disable and the code should continue with non mils path.

Copilot AI review requested due to automatic review settings January 20, 2026 14:57
Copy link
Contributor

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

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


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 20, 2026 15:54
Copy link
Contributor

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 224 to 225
int result = performS3PutUpload(s3_url, src_file, sec);
if (result == 0) {
Copy link

Copilot AI Jan 20, 2026

Choose a reason for hiding this comment

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

There are trailing whitespaces on these lines. The empty line 224 contains spaces, and line 225 has trailing spaces after the semicolon. These should be removed to maintain code cleanliness.

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings January 20, 2026 15:59
Copy link
Contributor

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

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


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Abhinavpv28
Copy link
Contributor Author

Abhinavpv28 commented Jan 20, 2026

With this change the upload functionality is got removed. Please make sure upload functionality should work when certselecter flag is disable and the code should continue with non mils path.

mTLS is the default and certselector is expected to be enabled, which aligns with what other components like rdm, rfc are following right now.
@naveenkumarhanasi can you share your input

@nhanasi
Copy link
Contributor

nhanasi commented Jan 20, 2026

yes we have the cert selector in rdkcentral also as per security team so it can be used

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.

3 participants