Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
4a52055
RDK-58172: integrate dcm-agent uploadstblogs and cleanup logging; upd…
Vismalskumar0 Dec 16, 2025
0d1a04f
RDK-58172: add uploadRRDLogs target and headers to src/Makefile.am
Vismalskumar0 Dec 16, 2025
fcafed3
RDK-58172: add rrd_upload_cleanup prototype to rrd_upload.h
Vismalskumar0 Dec 16, 2025
6087137
RDK-58172: fix rrd_sysinfo.h header guard duplicate/stray endif
Vismalskumar0 Dec 16, 2025
1220481
RDK-58172: use LOG_REMDEBUG instead of LOG_UPLOADRRDLOGS
Vismalskumar0 Dec 16, 2025
4a3b122
RDK-58172: switch includes from rdk_logger.h to rdk_debug.h
Vismalskumar0 Dec 16, 2025
6c2a306
RDK-58172: move rrdCommon.h include into headers (rrd_sysinfo.h, rrd_…
Vismalskumar0 Dec 16, 2025
cba1c38
Add unit tests for RRD upload orchestration
Vismalskumar0 Dec 17, 2025
ef089ca
Update Makefile.am
Vismalskumar0 Dec 17, 2025
3b1484a
Remove uploadRRDLogs program from Makefile
Vismalskumar0 Dec 17, 2025
5d6b33f
Refactor uploadDebugoutput to use upload API
Vismalskumar0 Dec 17, 2025
dd6a551
Refactor upload orchestration into rrd_upload_orchestrate
Vismalskumar0 Dec 17, 2025
1507adf
Update rrd_config.h
Vismalskumar0 Dec 17, 2025
bf5d438
Include common_device_api.h in rrd_sysinfo.h
Vismalskumar0 Dec 17, 2025
94ab12f
Update rrd_upload.c
Vismalskumar0 Dec 17, 2025
61c0e9b
Add uploadstblogs.h include to rrd_upload.h
Vismalskumar0 Dec 17, 2025
928bbe0
Update cov_build.sh
Vismalskumar0 Dec 17, 2025
523e181
Update rrd_upload.h
Vismalskumar0 Dec 17, 2025
3186178
Update cov_build.sh
Vismalskumar0 Dec 18, 2025
769329c
Update cov_build.sh
Vismalskumar0 Dec 22, 2025
9c72440
Update cov_build.sh
Vismalskumar0 Dec 23, 2025
36231e3
Update rrd_archive.c
Vismalskumar0 Dec 23, 2025
47e5ea6
Update Makefile.am
Vismalskumar0 Dec 23, 2025
7d64f60
Update rrd_upload.h
Vismalskumar0 Dec 23, 2025
6d48a2b
Update rrd_upload.h
Vismalskumar0 Dec 23, 2025
23e4dce
Update rrd_upload.h
Vismalskumar0 Dec 23, 2025
543a9ff
Update rrdExecuteScript.h
Vismalskumar0 Dec 26, 2025
3b710da
Update rrdExecuteScript.c
Vismalskumar0 Dec 26, 2025
7229a3d
Update rrdUnitTestRunner.cpp
Vismalskumar0 Dec 26, 2025
7ea68ad
Update rrd_upload.h
Vismalskumar0 Dec 26, 2025
fca0fa4
Update rrd_sysinfo.h
Vismalskumar0 Dec 26, 2025
d58b13b
Update Client_Mock.cpp
Vismalskumar0 Dec 26, 2025
6ac092c
Update Client_Mock.h
Vismalskumar0 Dec 26, 2025
80f20d7
Update test_rrd_upload_orchestrate.cpp
Vismalskumar0 Dec 26, 2025
6bd44fc
Update uploadRRDLogs.c
Vismalskumar0 Dec 26, 2025
5d2b9b4
Update test_rrd_upload_orchestrate.cpp
Vismalskumar0 Dec 26, 2025
322c65d
Update test_rrd_upload_orchestrate.cpp
Vismalskumar0 Dec 26, 2025
93c3da4
Update rrd_sysinfo.c
Vismalskumar0 Dec 26, 2025
8669506
Update Client_Mock.cpp
Vismalskumar0 Dec 26, 2025
4c56ecd
Update Client_Mock.h
Vismalskumar0 Dec 26, 2025
c79fc4c
Update Client_Mock.cpp
Vismalskumar0 Dec 26, 2025
550b390
Update test_rrd_upload_orchestrate.cpp
Vismalskumar0 Dec 26, 2025
0e12518
Update test_rrd_upload_orchestrate.cpp
Vismalskumar0 Dec 26, 2025
e2cb79e
Update test_rrd_upload_orchestrate.cpp
Vismalskumar0 Dec 26, 2025
ad3db4b
Update rrd_archive.c
Vismalskumar0 Dec 26, 2025
4c4bae1
Update Makefile.am
Vismalskumar0 Dec 26, 2025
1015ee0
Update test_rrd_upload_orchestrate.cpp
Vismalskumar0 Dec 26, 2025
87b6918
Update test_rrd_upload_orchestrate.cpp
Vismalskumar0 Dec 26, 2025
f24eea6
Update rrdUnitTestRunner.cpp
Vismalskumar0 Dec 26, 2025
5938e81
Update Makefile.am
Vismalskumar0 Dec 26, 2025
ef2cf89
Update rrdUnitTestRunner.cpp
Vismalskumar0 Dec 26, 2025
9ff47ed
Update rrd_logproc.c
Vismalskumar0 Dec 26, 2025
c1b73c3
Delete src/unittest/test_rrd_upload_orchestrate.cpp
Vismalskumar0 Dec 26, 2025
65dbd9f
Delete src/unittest/test_rrd_logproc.cpp
Vismalskumar0 Dec 26, 2025
805e4da
Delete src/unittest/test_uploadRRDLogs.cpp
Vismalskumar0 Dec 26, 2025
9277846
Delete src/unittest/test_rrd_sysinfo.cpp
Vismalskumar0 Dec 26, 2025
3c0ce72
Delete src/unittest/test_rrd_sysinfo.c
Vismalskumar0 Dec 26, 2025
f3d0a2b
Update rrd_config.c
Vismalskumar0 Dec 26, 2025
894ee7c
Update rrdUnitTestRunner.cpp
Vismalskumar0 Dec 26, 2025
4c1c1cc
Update rrdUnitTestRunner.cpp
Vismalskumar0 Dec 26, 2025
938baf0
Update test_rrd_debug_report_upload.py
Vismalskumar0 Dec 26, 2025
4b8e3ef
Update test_rrd_static_profile_report.py
Vismalskumar0 Dec 26, 2025
48eb657
Update test_rrd_background_cmd_static_profile_report.py
Vismalskumar0 Dec 26, 2025
013a1c4
Update test_rrd_deepsleep_static_report.py
Vismalskumar0 Dec 26, 2025
21b1bd9
Update test_rrd_static_profile_category_report.py
Vismalskumar0 Dec 26, 2025
e5a8f83
Update test_rrd_dynamic_profile_report.py
Vismalskumar0 Dec 26, 2025
09449b1
Update rrdUnitTestRunner.cpp
Vismalskumar0 Dec 28, 2025
89b01e3
Update rrd_upload.c
Vismalskumar0 Dec 28, 2025
80e5fab
Update rrd_upload.c
Vismalskumar0 Dec 28, 2025
be6c5b1
Update rrd_logproc.c
Vismalskumar0 Dec 28, 2025
3b042a9
Update rrd_logproc.c
Vismalskumar0 Dec 28, 2025
48fd2db
Update rrd_archive.c
Vismalskumar0 Dec 28, 2025
4666292
Update rrd_sysinfo.c
Vismalskumar0 Dec 29, 2025
a571684
Update rrd_archive.c
Vismalskumar0 Dec 29, 2025
d16cb93
Update rrd_config.c
Vismalskumar0 Dec 29, 2025
8507289
Add comprehensive functional tests for C API upload orchestration
Vismalskumar0 Dec 29, 2025
6e7b9d1
ivv
Vismalskumar0 Dec 29, 2025
fa7752c
hanhe
Vismalskumar0 Dec 29, 2025
ee42441
Update rrdUnitTestRunner.cpp
Vismalskumar0 Dec 29, 2025
bac5a73
Delete src/unittest/test_rrd_upload_orchestrate.cpp
Vismalskumar0 Dec 29, 2025
8926905
Update rrdUnitTestRunner.cpp
Vismalskumar0 Dec 29, 2025
cf0990f
Delete src/rrd_log.c
Vismalskumar0 Dec 31, 2025
ff3f214
Fix buffer overflows and update filename format
Vismalskumar0 Jan 7, 2026
820dc18
Update lock file path and timeout duration
Vismalskumar0 Jan 7, 2026
1581061
Refactor source validation and handle live logs
Vismalskumar0 Jan 7, 2026
dfa6b67
Refactor log upload handling and cleanup process
Vismalskumar0 Jan 7, 2026
e461a40
Update rrd_upload.h
Vismalskumar0 Jan 7, 2026
4dd0085
Update rrd_upload.c
Vismalskumar0 Jan 7, 2026
bf97341
Update rrd_logproc.c
Vismalskumar0 Jan 7, 2026
f5715ec
Update rrd_logproc.c
Vismalskumar0 Jan 7, 2026
7cfb508
Update uploadRRDLogs.c
Vismalskumar0 Jan 7, 2026
9d5883c
Update rrd_archive.c
Vismalskumar0 Jan 7, 2026
59053e2
Update rrdUnitTestRunner.cpp
Vismalskumar0 Jan 7, 2026
0716d28
Update rrdUnitTestRunner.cpp
Vismalskumar0 Jan 7, 2026
6def1fe
Update rrdUnitTestRunner.cpp
Vismalskumar0 Jan 7, 2026
75501fd
Refactor test configuration file creation
Vismalskumar0 Jan 7, 2026
b874977
Update rrdUnitTestRunner.cpp
Vismalskumar0 Jan 7, 2026
b6c19bd
Update rrdUnitTestRunner.cpp
Vismalskumar0 Jan 7, 2026
e160279
Update rrd_upload.c
Vismalskumar0 Jan 7, 2026
d61fbc9
Refactor live logs moving logic with error handling
Vismalskumar0 Jan 7, 2026
2ec15c3
Null-terminate log_server and http_upload_link
Vismalskumar0 Jan 7, 2026
d6d5083
Update rrdUnitTestRunner.cpp
Vismalskumar0 Jan 7, 2026
f14ccd2
Refactor rrd_logproc_handle_live_logs function
Vismalskumar0 Jan 7, 2026
d4f0fbd
Refactor live logs handling in rrd_logproc
Vismalskumar0 Jan 7, 2026
c75fe7e
Update rrd_logproc.c
Vismalskumar0 Jan 7, 2026
c4d3f1d
Update rrd_logproc.c
Vismalskumar0 Jan 7, 2026
3dc0bad
Update rrdUnitTestRunner.cpp
Vismalskumar0 Jan 7, 2026
9a87317
Update rrd_upload.c
Vismalskumar0 Jan 8, 2026
7cfe3a4
Update helper_functions.py
Vismalskumar0 Jan 9, 2026
fa6fb3e
Update test_rrd_dynamic_profile_report.py
Vismalskumar0 Jan 9, 2026
6cfa0ae
Update test_rrd_c_api_upload.py
Vismalskumar0 Jan 9, 2026
a3e2a74
Update rrdUnitTestRunner.cpp
Vismalskumar0 Jan 9, 2026
451522d
Update test_rrd_c_api_upload.py
Vismalskumar0 Jan 9, 2026
62466f4
Update test_rrd_debug_report_upload.py
Vismalskumar0 Jan 9, 2026
0267b2e
Update test_rrd_dynamic_subcategory_report.py
Vismalskumar0 Jan 9, 2026
f75f718
Update rrd_upload.c
Vismalskumar0 Jan 9, 2026
0ef1602
Update rrd_upload.c
Vismalskumar0 Jan 12, 2026
e180d93
Update rrd_sysinfo.c
Vismalskumar0 Jan 12, 2026
4474230
Update rrdUnitTestRunner.cpp
Vismalskumar0 Jan 12, 2026
bc5d7f0
Update rrdUnitTestRunner.cpp
Vismalskumar0 Jan 12, 2026
ee4e03d
Update uploadRRDLogs.c
Vismalskumar0 Jan 12, 2026
81bc2f5
Update test_rrd_debug_report_upload.py
Vismalskumar0 Jan 12, 2026
79fc8b8
Update rrdUnitTestRunner.cpp
Vismalskumar0 Jan 12, 2026
de794d9
Update test_rrd_debug_report_upload.py
Vismalskumar0 Jan 12, 2026
26f596c
Update test_rrd_debug_report_upload.py
Vismalskumar0 Jan 12, 2026
aa76e52
Update test_rrd_dynamic_subcategory_report.py
Vismalskumar0 Jan 12, 2026
c6fbc04
Update rrd_upload.h
Vismalskumar0 Jan 12, 2026
c4b9b96
Update rrd_upload.c
Vismalskumar0 Jan 12, 2026
d3e2d7f
Update rrd_sysinfo.h
Vismalskumar0 Jan 12, 2026
e09424a
Update rrd_sysinfo.c
Vismalskumar0 Jan 12, 2026
cf7668e
Update rrd_logproc.h
Vismalskumar0 Jan 12, 2026
c23d782
Update test_rrd_c_api_upload.py
Vismalskumar0 Jan 12, 2026
4effc1c
Update rrd_logproc.c
Vismalskumar0 Jan 12, 2026
0554070
Update rrd_archive.c
Vismalskumar0 Jan 12, 2026
b09340c
Update rrd_archive.h
Vismalskumar0 Jan 12, 2026
c078dd2
Update rrd_config.c
Vismalskumar0 Jan 12, 2026
41757fa
Update rrd_config.h
Vismalskumar0 Jan 12, 2026
e4371fd
Update rrd_log.h
Vismalskumar0 Jan 12, 2026
ebdfd1f
Update test_rrd_debug_report_upload.py
Vismalskumar0 Jan 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
32 changes: 32 additions & 0 deletions .github/instructions/implementation.instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
## Implementation Guidelines

- **Project Goal:** Migrate existing scripts to C code.
- **Target Platforms:** Multiple embedded platforms with low memory and low CPU resources.
- **Constraints:** Code must be efficient, lightweight, and platform-neutral to ensure portability across different embedded systems.

## Implementation Strategy
1. **Setup Development Environment**
- Use docker containers for consistent build environments.
- Container image that can be used for functional testing - https://github.com/rdkcentral/docker-device-mgt-service-test/pkgs/container/docker-device-mgt-service-test%2Fnative-platform

2. **Code Development**
- Translate HLD components into modular C code.
- Adhere to coding standards and best practices for embedded systems.
- Implement error handling and logging mechanisms.
- Optimize for memory usage and performance.
- Do not use system calls to best possible extent.

3. **Code Review and Integration**
- Conduct peer reviews to ensure code quality and adherence to design.
- Integrate modules incrementally and perform integration testing.

4. **Documentation**
- Update code comments and API documentation.
- Document build and deployment procedures.
- Provide examples and usage guidelines.
- Maintain a changelog for implementation updates.

5. **Testing**
- Develop unit tests for individual modules.
- Perform system testing on target hardware or simulators.
- Validate against original script functionality and performance criteria.
52 changes: 52 additions & 0 deletions .github/instructions/migrationHLD.instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
## HLD Generation Guidelines

- **Project Goal:** Migrate existing scripts to C code.
- **Target Platforms:** Multiple embedded platforms with low memory and low CPU resources.
- **Constraints:** Code must be efficient, lightweight, and platform-neutral to ensure portability across different embedded systems.

## Migration Strategy
1. **Requirements Gathering**
- For scripts selected in context, create a Markdown (`.md`) file documenting:
- Functional requirements
- Inputs/outputs
- Dependencies
- Constraints (timing, memory, etc.)
- Edge cases and error handling

2. **High Level Design (HLD)**
- For each script, create a separate HLD `.md` file including:
- Architecture overview
- Module/component breakdown
- Data flow diagrams or descriptions
- Key algorithms and data structures
- Interfaces and integration points

3. **Flowchart Creation**
- Develop flowcharts to visually represent the script's logic and workflow.
- Use `mermaid` syntax for creating flowcharts.
- For environments that may have issues with complex Mermaid diagrams, include a simplified text-based flowchart alternative.
- For scripts having related functionality, create combined or linked flowcharts to show interactions.
- Use standard flowchart symbols for processes, decisions, inputs/outputs, and connectors.
- Ensure flowcharts are clear, concise, and accurately reflect the script's functionality.
- Include annotations or notes for complex logic or important details.
- Store flowcharts in a dedicated directory within the project for easy reference.

4. **Sequence Diagrams**
- Create sequence diagrams to illustrate interactions between components or modules.
- Use `mermaid` syntax for creating sequence diagrams.
- For environments that may have issues with complex Mermaid diagrams, include a simplified text-based sequence diagram alternative.
- Ensure diagrams clearly show the order of operations and interactions.
- Include annotations for clarity where necessary.

5. **LLD Preparation**
- Prepare a Low-Level Design (LLD) document outlining:
- Detailed design specifications
- Data structures and algorithms
- Pseudocode or code snippets
- Interface definitions
- Error handling and edge cases

5. **Fine tuning**
- Do not create implementation roadmap markdown files.
- Do not suggest timelines or planning details for execution.

8 changes: 8 additions & 0 deletions cov_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,15 @@ fi
if [ ! -d tr69hostif ]; then
git clone https://github.com/rdkcentral/tr69hostif.git
fi
git clone https://github.com/rdkcentral/dcm-agent.git -b feature/logupload_copilot_lib
Copy link
Contributor

Choose a reason for hiding this comment

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

Merging now. Please change it to develop branch once dcm-agent release version with logupload lib support is released.


cd dcm-agent
sh cov_build.sh
autoreconf -i
./configure
make && make install
cp uploadstblogs/include/*.h /usr/local/include
cd -
cd rfc
autoreconf -i
./configure --enable-rfctool=yes --enable-tr181set=yes
Expand Down
1 change: 1 addition & 0 deletions run_l2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,4 @@ pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rrd_st
pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rrd_background_cmd_static_profile_report.json test/functional-tests/tests/test_rrd_background_cmd_static_profile_report.py
pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rrd_debug_report_upload.json test/functional-tests/tests/test_rrd_debug_report_upload.py
pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rrd_deepsleep_static.json test/functional-tests/tests/test_rrd_deepsleep_static_report.py
pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rrd_c_api_upload.json test/functional-tests/tests/test_rrd_c_api_upload.py
24 changes: 8 additions & 16 deletions src/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
##########################################################################
# If not stated otherwise in this file or this component's LICENSE
# file the following copyright and licenses apply:
#
# Copyright 2018 RDK Management
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand All @@ -20,14 +9,17 @@
bin_PROGRAMS = remotedebugger

remotedebuggerincludedir = $(includedir)/rrd
remotedebuggerinclude_HEADERS = rrdCommon.h rrdInterface.h
remotedebuggerinclude_HEADERS = rrdCommon.h rrdInterface.h \
rrd_archive.h rrd_config.h rrd_logproc.h rrd_sysinfo.h rrd_upload.h

remotedebugger_SOURCES = rrdMain.c rrdEventProcess.c rrdJsonParser.c rrdRunCmdThread.c rrdCommandSanity.c rrdDynamic.c rrdExecuteScript.c rrdMsgPackDecoder.c rrdInterface.c uploadRRDLogs.c rrd_config.c rrd_sysinfo.c rrd_logproc.c rrd_archive.c rrd_upload.c

remotedebugger_SOURCES = rrdMain.c rrdEventProcess.c rrdJsonParser.c rrdRunCmdThread.c rrdCommandSanity.c rrdDynamic.c rrdExecuteScript.c rrdMsgPackDecoder.c rrdInterface.c
remotedebugger_CFLAGS = -I$(top_srcdir)/include/rrd -I$(PKG_CONFIG_SYSROOT_DIR)${includedir}/trower-base64/ -I$(PKG_CONFIG_SYSROOT_DIR)${includedir}/rbus/ $(CJSON_CFLAGS)
AM_LDFLAGS="-lpthread -lrdkloggers -lmsgpackc -ltrower-base64 -lwebconfig_framework -lrbus -lsecure_wrapper"
remotedebugger_CFLAGS = -I$(top_srcdir)/include/rrd -I$(PKG_CONFIG_SYSROOT_DIR)${includedir}/trower-base64/ -I$(PKG_CONFIG_SYSROOT_DIR)${includedir}/rbus/ -I$(PKG_CONFIG_SYSROOT_DIR)${includedir} $(CJSON_CFLAGS)
AM_LDFLAGS="-lpthread -lrdkloggers -lmsgpackc -ltrower-base64 -lwebconfig_framework -lrbus -lsecure_wrapper "
remotedebugger_LDADD = -lfwutils -luploadstblogs -lz
if IARMBUS_ENABLE
remotedebugger_SOURCES += rrdIarmEvents.c
remotedebugger_CFLAGS += -I$(PKG_CONFIG_SYSROOT_DIR)${includedir}/rdk/iarmbus/ -I$(PKG_CONFIG_SYSROOT_DIR)${includedir}/rdk/iarmmgrs/rdmmgr -I$(PKG_CONFIG_SYSROOT_DIR)${includedir}/rdk/iarmmgrs-hal -DIARMBUS_SUPPORT
AM_LDFLAGS += "-lIARMBus -lrfcapi -ltr181api"
endif
remotedebugger_LDFLAGS = $(AM_LDFLAGS) $(CJSON_LDFLAGS) $(CJSON_LIBS) -fno-common
remotedebugger_LDFLAGS = $(AM_LDFLAGS) $(CJSON_LDFLAGS) $(CJSON_LIBS) -luploadstblogs -fno-common
21 changes: 11 additions & 10 deletions src/rrdExecuteScript.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,17 @@

#include "rrdExecuteScript.h"
#if !defined(GTEST_ENABLE)
#define RRD_SCRIPT "/lib/rdk/uploadRRDLogs.sh"
#else
#define RRD_SCRIPT "./mockSampleUploadScript.sh"
#endif
#if !defined(GTEST_ENABLE)
#include "secure_wrapper.h"
#endif

static void normalizeIssueName(char *str);

/*
* @function uploadDebugoutput
* @brief Executes a script to perform tar and upload operations for the collected issue logs.
* @brief Calls the upload API to perform tar and upload operations for the collected issue logs.
* @param char *outdir - Output directory string.
* @param char *issuename - Issue type from RFC.
* @return int - Returns 0 for success and 1 for failure.
* @return int - Returns 0 for success and non-zero for failure.
*/
int uploadDebugoutput(char *outdir, char *issuename)
{
Expand All @@ -43,10 +38,16 @@ int uploadDebugoutput(char *outdir, char *issuename)
if(outdir != NULL && issuename != NULL)
{
normalizeIssueName(issuename);
RDK_LOG(RDK_LOG_INFO,LOG_REMDEBUG,"[%s:%d]: Starting Upload Debug output Script: %s... \n",__FUNCTION__,__LINE__,RRD_SCRIPT);
if(v_secure_system("%s %s %s",RRD_SCRIPT,outdir,issuename) != 0)
RDK_LOG(RDK_LOG_INFO,LOG_REMDEBUG,"[%s:%d]: Starting Upload Debug output via API... \n",__FUNCTION__,__LINE__);

ret = rrd_upload_orchestrate(outdir, issuename);
if(ret != 0)
{
RDK_LOG(RDK_LOG_ERROR,LOG_REMDEBUG,"[%s:%d]: Upload orchestration failed with code: %d\n",__FUNCTION__,__LINE__, ret);
}
else
{
ret = 1;
RDK_LOG(RDK_LOG_INFO,LOG_REMDEBUG,"[%s:%d]: Upload orchestration completed successfully\n",__FUNCTION__,__LINE__);
}
}

Expand Down
1 change: 1 addition & 0 deletions src/rrdExecuteScript.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ extern "C"
#endif

#include "rrdCommon.h"
#include "rrd_upload.h"

int uploadDebugoutput(char *outdir, char *issuename);

Expand Down
Loading
Loading