Showing
3 changed files
with
5 additions
and
3 deletions
... | ... | @@ -18,7 +18,7 @@ package org.thingsboard.server.controller; |
18 | 18 | public class ControllerConstants { |
19 | 19 | |
20 | 20 | protected static final String NEW_LINE = "\n\n"; |
21 | - protected static final String UUID_WIKI_LINK = "[time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address%29) "; | |
21 | + protected static final String UUID_WIKI_LINK = "[time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). "; | |
22 | 22 | protected static final int DEFAULT_PAGE_SIZE = 1000; |
23 | 23 | protected static final String ENTITY_TYPE = "entityType"; |
24 | 24 | protected static final String CUSTOMER_ID = "customerId"; | ... | ... |
... | ... | @@ -60,6 +60,7 @@ import static org.thingsboard.server.controller.ControllerConstants.SORT_ORDER_D |
60 | 60 | import static org.thingsboard.server.controller.ControllerConstants.SORT_PROPERTY_DESCRIPTION; |
61 | 61 | import static org.thingsboard.server.controller.ControllerConstants.TENANT_AUTHORITY_PARAGRAPH; |
62 | 62 | import static org.thingsboard.server.controller.ControllerConstants.TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH; |
63 | +import static org.thingsboard.server.controller.ControllerConstants.UUID_WIKI_LINK; | |
63 | 64 | |
64 | 65 | @RestController |
65 | 66 | @TbCoreComponent |
... | ... | @@ -136,7 +137,7 @@ public class CustomerController extends BaseController { |
136 | 137 | } |
137 | 138 | |
138 | 139 | @ApiOperation(value = "Create or update Customer (saveCustomer)", |
139 | - notes = "Creates or Updates the Customer. When creating customer, platform generates Customer Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address) " + | |
140 | + notes = "Creates or Updates the Customer. When creating customer, platform generates Customer Id as " + UUID_WIKI_LINK + | |
140 | 141 | "The newly created Customer Id will be present in the response. " + |
141 | 142 | "Specify existing Customer Id to update the Customer. " + |
142 | 143 | "Referencing non-existing Customer Id will cause 'Not Found' error." + TENANT_AUTHORITY_PARAGRAPH) | ... | ... |
... | ... | @@ -86,6 +86,7 @@ import static org.thingsboard.server.controller.ControllerConstants.TENANT_AUTHO |
86 | 86 | import static org.thingsboard.server.controller.ControllerConstants.TENANT_ID; |
87 | 87 | import static org.thingsboard.server.controller.ControllerConstants.TENANT_ID_PARAM_DESCRIPTION; |
88 | 88 | import static org.thingsboard.server.controller.ControllerConstants.TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH; |
89 | +import static org.thingsboard.server.controller.ControllerConstants.UUID_WIKI_LINK; | |
89 | 90 | |
90 | 91 | @RestController |
91 | 92 | @TbCoreComponent |
... | ... | @@ -166,7 +167,7 @@ public class DashboardController extends BaseController { |
166 | 167 | } |
167 | 168 | |
168 | 169 | @ApiOperation(value = "Create Or Update Dashboard (saveDashboard)", |
169 | - notes = "Create or update the Dashboard. When creating dashboard, platform generates Dashboard Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)." + | |
170 | + notes = "Create or update the Dashboard. When creating dashboard, platform generates Dashboard Id as " + UUID_WIKI_LINK + | |
170 | 171 | "The newly created Dashboard id will be present in the response. " + |
171 | 172 | "Specify existing Dashboard id to update the dashboard. " + |
172 | 173 | "Referencing non-existing dashboard Id will cause 'Not Found' error. " + | ... | ... |