Skip to content

Commit 00e6b5b

Browse files
authored
Added tests (#2)
1 parent 6230b1a commit 00e6b5b

File tree

434 files changed

+38564
-22155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

434 files changed

+38564
-22155
lines changed

ce/docs/AdminControllerApi.md

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
| [**autoCommitSettingsExists**](#autoCommitSettingsExists) | **GET** /api/admin/autoCommitSettings/exists | Check auto commit settings exists (autoCommitSettingsExists) |
66
| [**checkRepositoryAccess**](#checkRepositoryAccess) | **POST** /api/admin/repositorySettings/checkAccess | Check repository access (checkRepositoryAccess) |
77
| [**checkUpdates**](#checkUpdates) | **GET** /api/admin/updates | Check for new Platform Releases (checkUpdates) |
8-
| [**codeProcessingUrl**](#codeProcessingUrl) | **GET** /api/admin/mail/oauth2/code | codeProcessingUrl |
98
| [**deleteAutoCommitSettings**](#deleteAutoCommitSettings) | **DELETE** /api/admin/autoCommitSettings | Delete auto commit settings (deleteAutoCommitSettings) |
109
| [**deleteRepositorySettings**](#deleteRepositorySettings) | **DELETE** /api/admin/repositorySettings | Delete repository settings (deleteRepositorySettings) |
1110
| [**getAdminSettings**](#getAdminSettings) | **GET** /api/admin/settings/{key} | Get the Administration Settings object using key (getAdminSettings) |
12-
| [**getAuthorizationUrl**](#getAuthorizationUrl) | **GET** /api/admin/mail/oauth2/authorize | Redirect user to mail provider login page. |
1311
| [**getAutoCommitSettings**](#getAutoCommitSettings) | **GET** /api/admin/autoCommitSettings | Get auto commit settings (getAutoCommitSettings) |
1412
| [**getFeaturesInfo**](#getFeaturesInfo) | **GET** /api/admin/featuresInfo | Get features info (getFeaturesInfo) |
1513
| [**getJwtSettings**](#getJwtSettings) | **GET** /api/admin/jwtSettings | Get the JWT Settings object (getJwtSettings) |
14+
| [**getMailOAuth2AuthorizationUrl**](#getMailOAuth2AuthorizationUrl) | **GET** /api/admin/mail/oauth2/authorize | Redirect user to mail provider login page. |
1615
| [**getMailProcessingUrl**](#getMailProcessingUrl) | **GET** /api/admin/mail/oauth2/loginProcessingUrl | Get OAuth2 log in processing URL (getMailProcessingUrl) |
1716
| [**getRepositorySettings**](#getRepositorySettings) | **GET** /api/admin/repositorySettings | Get repository settings (getRepositorySettings) |
1817
| [**getRepositorySettingsInfo**](#getRepositorySettingsInfo) | **GET** /api/admin/repositorySettings/info | getRepositorySettingsInfo |
1918
| [**getSecuritySettings**](#getSecuritySettings) | **GET** /api/admin/securitySettings | Get the Security Settings object (getSecuritySettings) |
2019
| [**getSystemInfo**](#getSystemInfo) | **GET** /api/admin/systemInfo | Get system info (getSystemInfo) |
20+
| [**handleMailOAuth2Callback**](#handleMailOAuth2Callback) | **GET** /api/admin/mail/oauth2/code | handleMailOAuth2Callback |
2121
| [**repositorySettingsExists**](#repositorySettingsExists) | **GET** /api/admin/repositorySettings/exists | Check repository settings exists (repositorySettingsExists) |
2222
| [**saveAdminSettings**](#saveAdminSettings) | **POST** /api/admin/settings | Creates or Updates the Administration Settings (saveAdminSettings) |
2323
| [**saveAutoCommitSettings**](#saveAutoCommitSettings) | **POST** /api/admin/autoCommitSettings | Creates or Updates the auto commit settings (saveAutoCommitSettings) |
@@ -75,25 +75,6 @@ Check notifications about new platform releases. Available for users with 'SYS
7575
**UpdateMessage**
7676

7777

78-
## codeProcessingUrl
79-
80-
> codeProcessingUrl(code, state)
81-
82-
codeProcessingUrl
83-
84-
85-
### Parameters
86-
87-
| Name | Type | Description | Notes |
88-
|------------- | ------------- | ------------- | -------------|
89-
| **code** | **String** | | |
90-
| **state** | **String** | | |
91-
92-
### Return type
93-
94-
null (empty response body)
95-
96-
9778
## deleteAutoCommitSettings
9879

9980
> deleteAutoCommitSettings()
@@ -140,19 +121,6 @@ Get the Administration Settings object using specified string key. Referencing n
140121
**AdminSettings**
141122

142123

143-
## getAuthorizationUrl
144-
145-
> String getAuthorizationUrl()
146-
147-
Redirect user to mail provider login page.
148-
149-
After user logged in and provided accessprovider sends authorization code to specified redirect uri.)
150-
151-
### Return type
152-
153-
**String**
154-
155-
156124
## getAutoCommitSettings
157125

158126
> Map<String, AutoVersionCreateConfig> getAutoCommitSettings()
@@ -192,6 +160,19 @@ Get the JWT Settings object that contains JWT token policy, etc. Available for
192160
**JwtSettings**
193161

194162

163+
## getMailOAuth2AuthorizationUrl
164+
165+
> String getMailOAuth2AuthorizationUrl()
166+
167+
Redirect user to mail provider login page.
168+
169+
After user logged in and provided accessprovider sends authorization code to specified redirect uri.)
170+
171+
### Return type
172+
173+
**String**
174+
175+
195176
## getMailProcessingUrl
196177

197178
> String getMailProcessingUrl()
@@ -255,6 +236,25 @@ Get main information about system. Available for users with 'SYS_ADMIN' author
255236
**SystemInfo**
256237

257238

239+
## handleMailOAuth2Callback
240+
241+
> handleMailOAuth2Callback(code, state)
242+
243+
handleMailOAuth2Callback
244+
245+
246+
### Parameters
247+
248+
| Name | Type | Description | Notes |
249+
|------------- | ------------- | ------------- | -------------|
250+
| **code** | **String** | | |
251+
| **state** | **String** | | |
252+
253+
### Return type
254+
255+
null (empty response body)
256+
257+
258258
## repositorySettingsExists
259259

260260
> Boolean repositorySettingsExists()
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
# GroupEntityExportData
2+
# AiModelExportData
33

4-
`org.thingsboard.client.model.GroupEntityExportData`
4+
`org.thingsboard.client.model.AiModelExportData`
55

66
**Extends:** **EntityExportData**
77

pe/docs/DefaultNotificationRuleRecipientsConfig.md renamed to ce/docs/AlarmAssignmentRecipientsConfig.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11

2-
# DefaultNotificationRuleRecipientsConfig
2+
# AlarmAssignmentRecipientsConfig
33

4-
`org.thingsboard.client.model.DefaultNotificationRuleRecipientsConfig`
5-
6-
Default notification rule recipients configuration
4+
`org.thingsboard.client.model.AlarmAssignmentRecipientsConfig`
75

86
**Extends:** **NotificationRuleRecipientsConfig**
97

108
## Properties
119

1210
| Name | Type | Description | Notes |
1311
|------------ | ------------- | ------------- | -------------|
14-
| **triggerType** | **NotificationRuleTriggerType** | | |
1512
| **targets** | **List\<UUID\>** | | |
1613

1714

paas/docs/DefaultNotificationRuleRecipientsConfig.md renamed to ce/docs/AlarmCommentRecipientsConfig.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11

2-
# DefaultNotificationRuleRecipientsConfig
2+
# AlarmCommentRecipientsConfig
33

4-
`org.thingsboard.client.model.DefaultNotificationRuleRecipientsConfig`
5-
6-
Default notification rule recipients configuration
4+
`org.thingsboard.client.model.AlarmCommentRecipientsConfig`
75

86
**Extends:** **NotificationRuleRecipientsConfig**
97

108
## Properties
119

1210
| Name | Type | Description | Notes |
1311
|------------ | ------------- | ------------- | -------------|
14-
| **triggerType** | **NotificationRuleTriggerType** | | |
1512
| **targets** | **List\<UUID\>** | | |
1613

1714

ce/docs/AlarmControllerApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
| [**getAlarmById**](#getAlarmById) | **GET** /api/alarm/{alarmId} | Get Alarm (getAlarmById) |
1010
| [**getAlarmInfoById**](#getAlarmInfoById) | **GET** /api/alarm/info/{alarmId} | Get Alarm Info (getAlarmInfoById) |
1111
| [**getAlarmTypes**](#getAlarmTypes) | **GET** /api/alarm/types | Get Alarm Types (getAlarmTypes) |
12-
| [**getAlarms**](#getAlarms) | **GET** /api/alarm/{entityType}/{entityId} | Get Alarms (getAlarms) |
12+
| [**getAlarmsByEntity**](#getAlarmsByEntity) | **GET** /api/alarm/{entityType}/{entityId} | Get Alarms (getAlarmsByEntity) |
1313
| [**getAlarmsV2**](#getAlarmsV2) | **GET** /api/v2/alarm/{entityType}/{entityId} | Get Alarms (getAlarmsV2) |
1414
| [**getAllAlarms**](#getAllAlarms) | **GET** /api/alarms | Get All Alarms (getAllAlarms) |
1515
| [**getAllAlarmsV2**](#getAllAlarmsV2) | **GET** /api/v2/alarms | Get All Alarms (getAllAlarmsV2) |
@@ -163,11 +163,11 @@ Returns a set of unique alarm types based on alarms that are either owned by the
163163
**PageDataEntitySubtype**
164164

165165

166-
## getAlarms
166+
## getAlarmsByEntity
167167

168-
> PageDataAlarmInfo getAlarms(entityType, entityId, pageSize, page, searchStatus, status, assigneeId, textSearch, sortProperty, sortOrder, startTime, endTime, fetchOriginator)
168+
> PageDataAlarmInfo getAlarmsByEntity(entityType, entityId, pageSize, page, searchStatus, status, assigneeId, textSearch, sortProperty, sortOrder, startTime, endTime, fetchOriginator)
169169
170-
Get Alarms (getAlarms)
170+
Get Alarms (getAlarmsByEntity)
171171

172172
Returns a page of alarms for the selected entity. Specifying both parameters 'searchStatus' and 'status' at the same time will cause an error. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See response schema for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority.
173173

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
# ApiUsageLimitRecipientsConfig
3+
4+
`org.thingsboard.client.model.ApiUsageLimitRecipientsConfig`
5+
6+
**Extends:** **NotificationRuleRecipientsConfig**
7+
8+
## Properties
9+
10+
| Name | Type | Description | Notes |
11+
|------------ | ------------- | ------------- | -------------|
12+
| **targets** | **List\<UUID\>** | | |
13+
14+
15+
16+
---
17+
18+
### Conventions
19+
20+
- **Package:** `org.thingsboard.client.model`
21+
- **Getter pattern:** `get<PropertyName>()` — e.g., `getId()`, `getName()`
22+
- **Setter pattern:** `set<PropertyName>(value)` — e.g., `setId(value)`, `setName(value)`
23+
- **Null fields:** Getters return `null` for unset optional fields; they do not throw exceptions
24+

ce/docs/AssetControllerApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
| [**assignAssetToEdge**](#assignAssetToEdge) | **POST** /api/edge/{edgeId}/asset/{assetId} | Assign asset to edge (assignAssetToEdge) |
77
| [**assignAssetToPublicCustomer**](#assignAssetToPublicCustomer) | **POST** /api/customer/public/asset/{assetId} | Make asset publicly available (assignAssetToPublicCustomer) |
88
| [**deleteAsset**](#deleteAsset) | **DELETE** /api/asset/{assetId} | Delete asset (deleteAsset) |
9-
| [**findByQuery4**](#findByQuery4) | **POST** /api/assets | Find related assets (findByQuery) |
9+
| [**findAssetsByQuery**](#findAssetsByQuery) | **POST** /api/assets | Find related assets (findAssetsByQuery) |
1010
| [**getAssetById**](#getAssetById) | **GET** /api/asset/{assetId} | Get Asset (getAssetById) |
1111
| [**getAssetInfoById**](#getAssetInfoById) | **GET** /api/asset/info/{assetId} | Get Asset Info (getAssetInfoById) |
1212
| [**getAssetTypes**](#getAssetTypes) | **GET** /api/asset/types | Get Asset Types (getAssetTypes) |
@@ -106,11 +106,11 @@ Deletes the asset and all the relations (from and to the asset). Referencing non
106106
null (empty response body)
107107

108108

109-
## findByQuery4
109+
## findAssetsByQuery
110110

111-
> List<Asset> findByQuery4(assetSearchQuery)
111+
> List<Asset> findAssetsByQuery(assetSearchQuery)
112112
113-
Find related assets (findByQuery)
113+
Find related assets (findAssetsByQuery)
114114

115115
Returns all assets that are related to the specific entity. The entity id, relation type, asset types, depth of the search, and other query parameters defined using complex 'AssetSearchQuery' object. See 'Model' tab of the Parameters for more info.
116116

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
# GroupEntityExportData
2+
# AssetExportData
33

4-
`org.thingsboard.client.model.GroupEntityExportData`
4+
`org.thingsboard.client.model.AssetExportData`
55

66
**Extends:** **EntityExportData**
77

ce/docs/AssetProfileControllerApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
| [**getAssetProfileInfos**](#getAssetProfileInfos) | **GET** /api/assetProfileInfos | Get Asset Profile infos (getAssetProfileInfos) |
99
| [**getAssetProfileNames**](#getAssetProfileNames) | **GET** /api/assetProfile/names | Get Asset Profile names (getAssetProfileNames) |
1010
| [**getAssetProfiles**](#getAssetProfiles) | **GET** /api/assetProfiles | Get Asset Profiles (getAssetProfiles) |
11-
| [**getAssetProfilesByIdsV2**](#getAssetProfilesByIdsV2) | **GET** /api/assetProfileInfos/list | Get Asset Profiles By Ids (getAssetProfilesByIdsV2) |
11+
| [**getAssetProfilesByIds**](#getAssetProfilesByIds) | **GET** /api/assetProfileInfos/list | Get Asset Profiles By Ids (getAssetProfilesByIds) |
1212
| [**getDefaultAssetProfileInfo**](#getDefaultAssetProfileInfo) | **GET** /api/assetProfileInfo/default | Get Default Asset Profile (getDefaultAssetProfileInfo) |
1313
| [**saveAssetProfile**](#saveAssetProfile) | **POST** /api/assetProfile | Create Or Update Asset Profile (saveAssetProfile) |
1414
| [**setDefaultAssetProfile**](#setDefaultAssetProfile) | **POST** /api/assetProfile/{assetProfileId}/default | Make Asset Profile Default (setDefaultAssetProfile) |
@@ -144,11 +144,11 @@ Returns a page of asset profile objects owned by tenant. You can specify paramet
144144
**PageDataAssetProfile**
145145

146146

147-
## getAssetProfilesByIdsV2
147+
## getAssetProfilesByIds
148148

149-
> List<AssetProfileInfo> getAssetProfilesByIdsV2(assetProfileIds)
149+
> List<AssetProfileInfo> getAssetProfilesByIds(assetProfileIds)
150150
151-
Get Asset Profiles By Ids (getAssetProfilesByIdsV2)
151+
Get Asset Profiles By Ids (getAssetProfilesByIds)
152152

153153
Requested asset profiles must be owned by tenant which is performing the request.
154154

ce/docs/AssetProfileExportData.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
# AssetProfileExportData
3+
4+
`org.thingsboard.client.model.AssetProfileExportData`
5+
6+
**Extends:** **EntityExportData**
7+
8+
## Properties
9+
10+
| Name | Type | Description | Notes |
11+
|------------ | ------------- | ------------- | -------------|
12+
13+
14+
15+
---
16+
17+
### Conventions
18+
19+
- **Package:** `org.thingsboard.client.model`
20+
- **Getter pattern:** `get<PropertyName>()` — e.g., `getId()`, `getName()`
21+
- **Setter pattern:** `set<PropertyName>(value)` — e.g., `setId(value)`, `setName(value)`
22+
- **Null fields:** Getters return `null` for unset optional fields; they do not throw exceptions
23+

0 commit comments

Comments
 (0)