Skip to content

Commit d752936

Browse files
authored
Merge branch 'develop' into feature/RDKEMW-6331
2 parents ee36157 + 0ed0803 commit d752936

File tree

8 files changed

+442
-210
lines changed

8 files changed

+442
-210
lines changed

.github/workflows/component-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Clone the project and start release
3333
run: |
3434
set -e
35-
git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} project
35+
git clone https://x-access-token:${{ secrets.RDKCM_RDKE }}@github.com/${{ github.repository }} project
3636
cd project
3737
git fetch --all
3838
git checkout main || git checkout -b main origin/main
@@ -51,7 +51,7 @@ jobs:
5151
# Extract version from PR description
5252
PR_DESC="${{ github.event.pull_request.body }}"
5353
# Get top tag from CHANGELOG.md
54-
TOP_TAG=$(grep -m 1 -oP '^#### \[\K[^\]]+' CHANGELOG.md)
54+
TOP_TAG=$(grep -m 1 -oP '^##\s+\K[0-9]+\.[0-9]+\.[0-9]+' CHANGELOG.md)
5555
if [[ -z "$TOP_TAG" ]]; then
5656
echo "No version found in CHANGELOG.md!"
5757
exit 1

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,29 @@ 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.15.4](https://github.com/rdkcentral/entservices-apis/compare/1.15.3...1.15.4)
8+
9+
- RDKEMW-4778 : Update the regex for getting the latest tag [`#489`](https://github.com/rdkcentral/entservices-apis/pull/489)
10+
- Update component-release.yml [`#488`](https://github.com/rdkcentral/entservices-apis/pull/488)
11+
- Merge tag '1.15.3' into develop [`352f37f`](https://github.com/rdkcentral/entservices-apis/commit/352f37f98ea69ffb6eee6e036cfa7788ee45c64e)
12+
13+
#### [1.15.3](https://github.com/rdkcentral/entservices-apis/compare/1.15.2...1.15.3)
14+
15+
> 29 August 2025
16+
17+
- RDKEMW-3796: IPackageManager.h Interface header not following coding [`#457`](https://github.com/rdkcentral/entservices-apis/pull/457)
18+
- RDKEMW-6924: Create documentation for StorageManager [`#470`](https://github.com/rdkcentral/entservices-apis/pull/470)
19+
- RDKEMW-6941: Update Xcast API documentation [`#473`](https://github.com/rdkcentral/entservices-apis/pull/473)
20+
- 1.15.3 release changelog updates [`e15616e`](https://github.com/rdkcentral/entservices-apis/commit/e15616e6ea81946cd97f782c38496cd08b320e9a)
21+
- Merge tag '1.15.2' into develop [`e42222a`](https://github.com/rdkcentral/entservices-apis/commit/e42222aef3cd014dbbcd63402f937bdda5a7673c)
22+
- RDKEMW-3796: IPackageManager.h Interface header not following coding guidelines [`435d65f`](https://github.com/rdkcentral/entservices-apis/commit/435d65fcf1b467ac909097d40e8928d46a2a188c)
23+
724
#### [1.15.2](https://github.com/rdkcentral/entservices-apis/compare/1.15.1...1.15.2)
825

26+
> 20 August 2025
27+
928
- RDKEMW-6451: Improve robustness in PowerManager Plugin [`#449`](https://github.com/rdkcentral/entservices-apis/pull/449)
29+
- 1.15.2 release change log updates [`7fd27bd`](https://github.com/rdkcentral/entservices-apis/commit/7fd27bda42ff6fa0b0e2448592528a4bffafed82)
1030
- Merge tag '1.15.1' into develop [`9e68cdc`](https://github.com/rdkcentral/entservices-apis/commit/9e68cdce0875b7986a65de5fe0d8e86fda324a8a)
1131

1232
#### [1.15.1](https://github.com/rdkcentral/entservices-apis/compare/1.15.0...1.15.1)

apis/PackageManager/IPackageManager.h

Lines changed: 66 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -27,38 +27,47 @@
2727
namespace WPEFramework {
2828
namespace Exchange {
2929

30-
/* @json */
30+
// @json 1.0.0 @text:keep
3131
struct EXTERNAL IPackageManager : virtual public Core::IUnknown {
3232

3333
using IStringIterator = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
3434

3535
enum { ID = ID_PACKAGEMANAGER };
3636

37-
/* @brief Download the application bundle. */
38-
virtual uint32_t Install(const string& type,
37+
/** Install an application bundle */
38+
// @text install
39+
// @brief Downloads and installs an application bundle.
40+
virtual Core::hresult Install(const string& type,
3941
const string& id,
4042
const string& version,
4143
const string& url,
4244
const string& appName,
4345
const string& category,
4446
string& handle /* @out */) = 0;
4547

46-
/* @brief Uninstall the application. */
47-
virtual uint32_t Uninstall(const string& type,
48+
/** Uninstall an application */
49+
// @text uninstall
50+
// @brief Uninstalls an application.
51+
virtual Core::hresult Uninstall(const string& type,
4852
const string& id,
4953
const string& version,
5054
const string& uninstallType,
5155
string& handle /* @out */) = 0;
52-
/* @brief Download arbitrary application's resource file. */
53-
virtual uint32_t Download(const string& type,
56+
57+
/** Download a resource for an app */
58+
// @text download
59+
// @brief Downloads a resource file for an application.
60+
virtual Core::hresult Download(const string& type,
5461
const string& id,
5562
const string& version,
5663
const string& resKey,
5764
const string& url,
5865
string& handle /* @out */) = 0;
5966

60-
/* @brief Delete persistent data stored locally. */
61-
virtual uint32_t Reset(const string& type,
67+
/** Reset application state */
68+
// @text reset
69+
// @brief Deletes all persistent local data of the application.
70+
virtual Core::hresult Reset(const string& type,
6271
const string& id,
6372
const string& version,
6473
const string& resetType) = 0;
@@ -76,8 +85,10 @@ namespace Exchange {
7685
StorageDetails persistent;
7786
};
7887

79-
/* @brief Information on the storage usage. */
80-
virtual uint32_t GetStorageDetails(const string& type,
88+
/** Get application storage usage */
89+
// @text getStorageDetails
90+
// @brief Retrieves details about app and persistent storage usage.
91+
virtual Core::hresult GetStorageDetails(const string& type,
8192
const string& id,
8293
const string& version,
8394
StorageInfo& storageinfo /* @out */) const = 0;
@@ -95,45 +106,58 @@ namespace Exchange {
95106
string url;
96107
};
97108

98-
/* @brief Set an arbitrary metadata. */
99-
virtual uint32_t SetAuxMetadata(const string& type,
109+
/** Set custom metadata */
110+
// @text setAuxMetadata
111+
// @brief Sets a key-value pair of metadata for the application.
112+
virtual Core::hresult SetAuxMetadata(const string& type,
100113
const string& id,
101114
const string& version,
102115
const string& key,
103116
const string& value) = 0;
104117

105-
/* @brief Clears an arbitrary metadata. */
106-
virtual uint32_t ClearAuxMetadata(const string& type,
118+
/** Clear custom metadata */
119+
// @text clearAuxMetadata
120+
// @brief Clears the specified metadata key.
121+
virtual Core::hresult ClearAuxMetadata(const string& type,
107122
const string& id,
108123
const string& version,
109124
const string& key) = 0;
110125

111-
/* @brief Get application metadata. */
112-
virtual uint32_t GetMetadata(const string& type,
126+
/** Get all metadata and resources */
127+
// @text getMetadata
128+
// @brief Retrieves metadata and auxiliary resource list for an application.
129+
virtual Core::hresult GetMetadata(const string& type,
113130
const string& id,
114131
const string& version,
115132
MetadataPayload& metadata /* @out */,
116133
IPackageManager::IKeyValueIterator*& resources /* @out */,
117134
IPackageManager::IKeyValueIterator*& auxMetadata /* @out */) const = 0;
118135

119-
/* @brief Cancel asynchronous request. */
120-
virtual uint32_t Cancel(const string& handle) = 0;
136+
/** Cancel an ongoing operation */
137+
// @text cancel
138+
// @brief Cancels a previously issued asynchronous request.
139+
virtual Core::hresult Cancel(const string& handle) = 0;
121140

122-
/* @brief Estimated progress of a request. */
123-
virtual uint32_t GetProgress(const string& handle, uint32_t& progress /* @out */) const = 0;
141+
/** Get progress of an operation */
142+
// @text getProgress
143+
// @brief Provides the current progress of an ongoing operation.
144+
virtual Core::hresult GetProgress(const string& handle, uint32_t& progress /* @out */) const = 0;
124145

125146
/* @event */
126147
struct EXTERNAL INotification : virtual public Core::IUnknown {
127148

128149
enum {ID = ID_PACKAGEMANAGER_NOTIFICATION};
129150

130-
/* @brief Completion of asynchronous operation. */
151+
// @text operationStatus
152+
// @brief Notifies completion of an asynchronous operation.
131153
virtual void OperationStatus(const string& handle, const string& operation, const string& type, const string& id,
132154
const string& version, const string& status, const string& details) = 0;
133155
};
134156

135-
virtual uint32_t Register(IPackageManager::INotification* notification) = 0;
136-
virtual uint32_t Unregister(IPackageManager::INotification* notification) = 0;
157+
/** Register for notifications */
158+
virtual Core::hresult Register(IPackageManager::INotification* notification) = 0;
159+
/** Unregister from notifications */
160+
virtual Core::hresult Unregister(IPackageManager::INotification* notification) = 0;
137161

138162
struct EXTERNAL PackageKey {
139163
string id;
@@ -142,34 +166,42 @@ namespace Exchange {
142166

143167
using IPackageKeyIterator = RPC::IIteratorType<PackageKey, ID_PACKAGEMANAGER_PACKAGE_KEY_ITERATOR>;
144168

145-
/* @brief List installed applications. */
146-
virtual uint32_t GetList(
169+
/** List installed apps */
170+
// @text getList
171+
// @brief Retrieves list of installed apps matching given filters.
172+
virtual Core::hresult GetList(
147173
const string& type,
148174
const string& id,
149175
const string& version,
150176
const string& appName,
151177
const string& category,
152178
IPackageKeyIterator*& installedIds /* @out */) const = 0;
153179

154-
/* @brief Lock the application. Preventing uninstallation. */
155-
virtual uint32_t Lock(const string& type,
180+
/** Lock application from uninstalling */
181+
// @text lock
182+
// @brief Locks an application to prevent uninstallation.
183+
virtual Core::hresult Lock(const string& type,
156184
const string& id,
157185
const string& version,
158186
const string& reason,
159187
const string& owner,
160188
string& handle /* @out */) = 0;
161189

162190

163-
/* @brief Unlock application. */
164-
virtual uint32_t Unlock(const string& handle) = 0;
191+
/** Unlock application */
192+
// @text unlock
193+
// @brief Unlocks a previously locked application.
194+
virtual Core::hresult Unlock(const string& handle) = 0;
165195

166196
struct LockInfo {
167197
string reason;
168198
string owner;
169199
};
170200

171-
/* @brief Get lock info. */
172-
virtual uint32_t GetLockInfo(const string& type,
201+
/** Get lock details */
202+
// @text getLockInfo
203+
// @brief Provides lock reason and owner for an app.
204+
virtual Core::hresult GetLockInfo(const string& type,
173205
const string& id,
174206
const string& version,
175207
LockInfo& result /* @out */) const = 0;
@@ -180,8 +212,8 @@ namespace Exchange {
180212

181213
enum { ID = ID_PACKAGEMANAGER_BROKER };
182214

183-
virtual uint32_t Offer(IPackageManager* packagemanager) = 0;
184-
virtual uint32_t Revoke(const IPackageManager* packagemanager) = 0;
215+
virtual Core::hresult Offer(IPackageManager* packagemanager) = 0;
216+
virtual Core::hresult Revoke(const IPackageManager* packagemanager) = 0;
185217

186218
};
187219

@@ -193,6 +225,5 @@ namespace Exchange {
193225
const string& version, const string& status, const string& details) = 0;
194226

195227
};
196-
197228
}
198229
}

0 commit comments

Comments
 (0)