Skip to content

Commit 3bf6ac3

Browse files
committed
Merge branch 'release/1.3.9' into main
2 parents 57bb62f + 81dbf73 commit 3bf6ac3

File tree

5 files changed

+49
-10
lines changed

5 files changed

+49
-10
lines changed

.github/workflows/validate_interface_headers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def validate_header(file_path, issues, ids_lines):
168168
break
169169

170170
# Find the INotification interface declaration
171-
interface_pattern = re.compile(r'struct\s+(EXTERNAL\s+)?INotification\s*:\s*virtual\s+public\s+Core::IUnknown\s*')
171+
interface_pattern = re.compile(r'struct\s+(EXTERNAL\s+)?I\w*Notification\s*:\s*virtual\s+public\s+Core::IUnknown\s*')
172172
matches = interface_pattern.finditer(content)
173173
for match in matches:
174174
start_index = match.start()
@@ -256,4 +256,4 @@ def main():
256256
print("No issues found.")
257257

258258
if __name__ == "__main__":
259-
main()
259+
main()

.github/workflows/validate_interface_headers_incremental.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def validate_header(file_path, issues, ids_lines):
169169
break
170170

171171
# Find the INotification interface declaration
172-
interface_pattern = re.compile(r'struct\s+(EXTERNAL\s+)?INotification\s*:\s*virtual\s+public\s+Core::IUnknown\s*')
172+
interface_pattern = re.compile(r'struct\s+(EXTERNAL\s+)?I\w*Notification\s*:\s*virtual\s+public\s+Core::IUnknown\s*')
173173
matches = interface_pattern.finditer(content)
174174

175175
for match in matches:

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,25 @@ All notable changes to this project will be documented in this file. Dates are d
44

55
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
66

7+
#### [1.3.9](https://github.com/rdkcentral/entservices-apis/compare/1.3.8...1.3.9)
8+
9+
- pass additionalMetadata in IPackageImpl.Install [`#188`](https://github.com/rdkcentral/entservices-apis/pull/188)
10+
- RDKEMW-4039: Validate_Interface_headers workflow reporting wrong errors for IPowerManager.h interface header [`#178`](https://github.com/rdkcentral/entservices-apis/pull/178)
11+
- Update generate_md_from_header.py (#183) [`#186`](https://github.com/rdkcentral/entservices-apis/pull/186)
12+
- Update generate_md_from_header.py [`#183`](https://github.com/rdkcentral/entservices-apis/pull/183)
13+
- RDKEMW-2674: RuntimeConfig object for PackageManager (#149) [`#181`](https://github.com/rdkcentral/entservices-apis/pull/181)
14+
- RDKEMW-2674: RuntimeConfig object for PackageManager [`#149`](https://github.com/rdkcentral/entservices-apis/pull/149)
15+
- RDKEMW-4039 : workflow reporting wrong errors for IPowerManager.h interface header [`8ba29ae`](https://github.com/rdkcentral/entservices-apis/commit/8ba29aef5bacd708d4303a42a003805c9d91ebc4)
16+
- Update validate_interface_headers.py [`ff34944`](https://github.com/rdkcentral/entservices-apis/commit/ff34944eacffd2c76b58855ddca8465661fab668)
17+
- RDKEMW-4039: Update validate_interface_headers.py [`893971b`](https://github.com/rdkcentral/entservices-apis/commit/893971b0912c1d942a0e75fac539ba9b687ae0fb)
18+
719
#### [1.3.8](https://github.com/rdkcentral/entservices-apis/compare/1.3.7...1.3.8)
820

21+
> 1 May 2025
22+
923
- RDKEMW-1014 : Add COM-RPC support to HdcpProfile plugin [`#173`](https://github.com/rdkcentral/entservices-apis/pull/173)
1024
- RDKEMW-2374: Create md_from_h_generator tool [`#142`](https://github.com/rdkcentral/entservices-apis/pull/142)
25+
- RDKEMW-1014 - Changelog updates for 1.3.8 [`4b4caa4`](https://github.com/rdkcentral/entservices-apis/commit/4b4caa43d2e6c0be01e57f05c8d2f4ec510066ad)
1126
- Merge tag '1.3.7' into develop [`d80db1c`](https://github.com/rdkcentral/entservices-apis/commit/d80db1cf09906bcaf28b2d5f42a5f4e83f5fa558)
1227

1328
#### [1.3.7](https://github.com/rdkcentral/entservices-apis/compare/1.3.6...1.3.7)

apis/PackageManager/IAppPackageManager.h

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,30 @@
66

77
namespace WPEFramework {
88
namespace Exchange {
9+
#ifndef RUNTIME_CONFIG
10+
struct RuntimeConfig {
11+
bool dial;
12+
bool wanLanAccess;
13+
bool thunder;
14+
int32_t systemMemoryLimit;
15+
int32_t gpuMemoryLimit;
16+
std::string envVars;
17+
uint32_t userId;
18+
uint32_t groupId;
19+
uint32_t dataImageSize;
20+
21+
bool resourceManagerClientEnabled;
22+
std::string dialId;
23+
std::string command;
24+
uint32_t appType;
25+
std::string appPath;
26+
std::string runtimePath;
27+
28+
std::string fireboltVersion;
29+
bool enableDebugger;
30+
};
31+
#define RUNTIME_CONFIG
32+
#endif
933

1034
// @json 1.0.0 @text:keep
1135
struct EXTERNAL IPackageDownloader : virtual public Core::IUnknown {
@@ -48,7 +72,7 @@ namespace Exchange {
4872
virtual Core::hresult Initialize(PluginHost::IShell* service) = 0;
4973

5074
// @json:omit
51-
virtual void Deinitialize(PluginHost::IShell* service) = 0;
75+
virtual Core::hresult Deinitialize(PluginHost::IShell* service) = 0;
5276

5377

5478
// @brief Download
@@ -152,8 +176,8 @@ namespace Exchange {
152176
virtual Core::hresult Unregister(IPackageInstaller::INotification *sink) = 0;
153177

154178
struct EXTERNAL KeyValue {
155-
// @brief Key
156-
string key;
179+
// @brief Name
180+
string name;
157181
// @brief Value
158182
string value;
159183
};
@@ -191,7 +215,7 @@ namespace Exchange {
191215
virtual Core::hresult Config(
192216
const string &packageId,
193217
const string &version,
194-
string &config /* @out */ // XXX: JsonObject ?!
218+
RuntimeConfig &configMetadata /* @out */
195219
) = 0;
196220

197221
// @brief PackageState
@@ -232,7 +256,7 @@ namespace Exchange {
232256
const LockReason &lockReason,
233257
uint32_t &lockId /* @out */,
234258
string &unpackedPath /* @out */,
235-
string &configMetadata /* @out */,
259+
RuntimeConfig &configMetadata /* @out */,
236260
string &appMetadata /* @out */
237261
// XXX: appContextPath ?!
238262
) = 0;
@@ -253,7 +277,7 @@ namespace Exchange {
253277
const string &packageId,
254278
const string &version,
255279
string &unpackedPath /* @out */,
256-
string &configMetadata /* @out */,
280+
RuntimeConfig &configMetadata /* @out */,
257281
string &gatewayMetadataPath /* @out */,
258282
bool &locked /* @out */
259283
) = 0;

tools/md_from_h_generator/generate_md_from_header.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def generate_md_from_header(header_file):
3636
classname, _ = os.path.splitext(filename)
3737

3838
# Remove the leading 'I' from the api's class name
39-
output_file_path = './tools/md_from_h_generator/generated_docs/' + classname[1:] + '.md'
39+
output_file_path = './tools/md_from_h_generator/generated_docs/' + classname[1:] + 'Plugin.md'
4040

4141
log_file_path = './tools/md_from_h_generator/logs/' + classname + '.txt'
4242
logger = Logger(log_file_path)

0 commit comments

Comments
 (0)