Commit Graph

466 Commits

Author SHA1 Message Date
lasantha
2cbf78d464 Fixed issues in Generic DAO Impl 2018-03-05 17:11:44 +05:30
nishadi
565087f4f2 Changed CommentManagementAPIImpl
Message of the errors were changed.
2018-02-28 12:16:20 +05:30
nishadi
b5c28943ee Changed CommentManagementAPIImpl
changed returning null into response ok.
2018-02-28 11:22:51 +05:30
nishadi
2981a1537e Changed CommentManagementAPIImpl
changed returning null into response ok.
2018-02-28 11:21:41 +05:30
nishadi
f82368990f Changed CommentManagementAPIImpl 2018-02-27 17:23:49 +05:30
nishadi
0ac0efcf2e Add new methods
Exception handling test methods for rating methods
2018-02-27 17:22:08 +05:30
nishadi
e70899a193 Add new methods
Exception handling test methods for rating methods
2018-02-27 16:47:12 +05:30
nishadi
55a005e992 Add new methods
Exception handling test methods for rating methods
2018-02-27 15:36:27 +05:30
nishadi
dab9208168 Add new methods
TestAddCommentInternalError and TestDeleteComment.
2018-02-27 13:04:38 +05:30
nishadi
dff3cf7645 Reformatted the codes 2018-02-26 23:30:11 +05:30
nishadi
9936bda78b CommentManagementAPITest class
adding copyright message.
2018-02-26 23:14:17 +05:30
nishadi
891c3410ee CommentManagementAPITest class
adding copyright message.
2018-02-26 22:56:39 +05:30
nishadi
87d48dca98 Reformat CommentManagementAPITest class 2018-02-24 19:14:10 +05:30
nishadi
37f595d382 Added CommentManagementAPITest class
Test of CommentManagementAPI class
2018-02-24 18:56:09 +05:30
nishadi
97915e29be Application mgt api Pom.xml changed 2018-02-24 18:40:18 +05:30
nishadi
20c1ba1052 CommentManager
Tenant Id variable was added to CommentManagerImpl class.
2018-02-24 18:39:25 +05:30
nishadi
471e6e3b21 CommentManagerImpl
Variable values changed.
2018-02-24 18:37:47 +05:30
nishadi
072d8b6455 CommentManagementAPIImpl 2018-02-24 18:34:27 +05:30
nishadi
7d22c45636 CommentManagementAPIImpl 2018-02-24 18:33:38 +05:30
nishadi
c26903c446 CommentManagementAPIImpl
variable redundant reduced.
2018-02-24 18:32:33 +05:30
nishadi
c3f8d15910 CommentManagementAPIImpl
newStar variable changed.
2018-02-24 18:31:10 +05:30
nishadi
ef059800e2 CommentManagementAPIImpl
CommentManagementAPIImpl class moved to store/api/services/impl directory.
2018-02-24 18:29:31 +05:30
nishadi
b60f3f0a9e CommentManagementApi
CommentManagementApi class moved to store/api/services directory.
2018-02-24 18:28:13 +05:30
nishadi
c216048b57 Test Resources
log4j.properties and testng.xml files added.
2018-02-24 18:25:48 +05:30
nishadi
09a2c484f0 CommentMgtTestHelper
Dummy data for comments Testing.
2018-02-24 18:21:32 +05:30
Madawa Soysa
b911c9e169 Adding entity application mapping to the database
When an application installation request is made other than adding an application install operation a mapping between the devices and the installed applications are kept in the database. In a case where an enterprise wide installation happens a mapping is made with the respective entity and the application.

This commit implement the mapping function.

Related to issue wso2/product-iots#1688
2018-02-20 18:51:34 +05:30
Madawa Soysa
debe93cb03 Improving application subscription API
Changing the DeviceIdentifier bean to the same as org.wso2.carbon.device.mgt.common.DeviceIdentifier and implement the install app device.

Adding an ApplicationInstallResponse as the response to respond with more information to the application install request.

related to wso2/product-iots#1688
2018-02-19 10:22:08 +05:30
Madawa Soysa
f66ff60ada Adding a method to retrieve Application by UUID
Application install request is made for a UUID which is associated with an application release. In order to get the details of the application to build the payload of the install application operation, it is required to get the application from the database related to the UUID.
2018-02-19 10:22:08 +05:30
Madawa Soysa
690eff6660 Refactoring mobile application subscription API 2018-02-19 10:22:08 +05:30
lasantha
6792c21210 Rmoved the lifecycle managemt
Removed the lifecycle management core and formatted the source
2018-02-15 10:36:28 +05:30
lasantha
9b1820dca5 Adding Lifecycle Management functionalities and fixed related bugs 2018-02-14 16:51:49 +05:30
lasantha
fb8d9dd494 refactored the source and fixed some bugs 2018-02-07 00:14:01 +05:30
lasantha
669881eae7 adding appliction release functionalites and fixed build failure 2018-02-05 19:23:57 +05:30
lasantha
f17c36d13f Added app release updating fucntionality and fixed APPM related bugs 2018-02-04 23:28:07 +05:30
lasantha
c392f0e57d merge with upstream and fixed conflicts 2018-02-04 04:13:14 +05:30
lasantha
fdac04dd3e complete app release getting flow and fixed related bugs 2018-02-04 04:05:04 +05:30
lasantha
569007514e Added app release creation method and fixed issues 2018-02-02 12:59:31 +05:30
lasantha
317386afb8 bump version of the app manager component 2018-01-28 10:29:54 +05:30
nishadi
c50de8e2de Modified CommentsDAOmpl
Removed concatenation.
2018-01-18 16:33:04 +05:30
nishadi
a321bf934b Modified CommentsManagerImpl
Reformatted.
2018-01-18 16:26:40 +05:30
nishadi
40771cbfcd Modified CommentDAOImpl
String sql change int constant.
2018-01-18 16:21:18 +05:30
nishadi
8f8ec9a86a parameter in the consumes annotation changed to application/json 2018-01-18 15:56:38 +05:30
nishadi
eced883e7f Error response message changed. 2018-01-18 15:54:34 +05:30
nishadi
7242c63e60 CommentId changed into commentId 2018-01-18 14:54:15 +05:30
nishadi
27d3862ac8 CommentId changed into commentId 2018-01-18 14:42:40 +05:30
nishadi
3b86f8a443 CommentId changed into commentId 2018-01-18 14:16:48 +05:30
nishadi
da0b147050 modified commentsManagerImpl
Reformatted.
2018-01-18 13:31:21 +05:30
nishadi
f02a0b9e6c Modified pom.xml at org.wso2.carbon.device.application.mgt.common
Extra dependency to "org.wso2.carbon.device.application.mgt.core" is removed.
2018-01-18 11:32:32 +05:30
nishadi
4ea87284f2 Modified CommentAPIImpl
Reformatted
2018-01-18 11:17:05 +05:30
nishadi
a1868939a7 Modified CommentDAOImpl
Reformatted
2018-01-18 02:44:56 +05:30
nishadi
30ae09b067 Modified CommentDAOImpl
Reformatted
2018-01-18 02:42:57 +05:30
nishadi
c35ccf9888 Modified CommentManagerImpl
Changed the messages of the Exceptions.
2018-01-18 02:06:15 +05:30
nishadi
62ac3455dd Changed license year 2018-01-18 00:11:52 +05:30
nishadi
ff3eacd0ba Removed suppressing deprecated warning. 2018-01-18 00:06:41 +05:30
nishadi
a6f2486ec6 Modified Comment ManagementAPiImpl
changed returning error response message into "return Response.status(Response.Status.INTERNAL_SERVER_ERROR).entity(msg).build();"
2018-01-18 00:03:46 +05:30
nishadi
919a7a8ddd Modified pom.xml at org.wso2.carbon.device.application.mgt.api
removed extra dependencies
2018-01-17 17:27:18 +05:30
nishadi
4c1d8dfa4d Modified APIUtil
Modified the osgi contexts and reformatted.
2018-01-17 16:28:17 +05:30
nishadi
3cc15d0df0 Reformatted the code. 2018-01-17 16:06:41 +05:30
nishadi
3bfb2addbb Reformatted the code. 2018-01-17 15:58:01 +05:30
nishadi
1bbd0b1aa5 Modified CommentManagerImpl ,CommentManagementAPIImpl,CommentManagementAPI
Modified the exceptions.
2018-01-17 15:32:59 +05:30
nishadi
c1dca737f7 Modified CommentManager
Edited the comments.
2018-01-17 15:16:29 +05:30
nishadi
3bd6d03b4c Modified CommentManagerImpl and CommentManager
wrapped & thrown the sql and db exceptions with CommentManagementException and ApplicationManagementException.
2018-01-17 15:13:22 +05:30
nishadi
caa47417bc Modified CommentManagerImpl
removed catch (SQLException e) and catch (DBConnectionException e).
2018-01-17 14:27:44 +05:30
nishadi
74ea82c926 Modified CommentManagerImpl
Renamed ApplicationManagementDAOFactory.getCommentDAO as commentDAO
2018-01-17 13:36:42 +05:30
nishadi
a45ba625fe Renamed apAppCommentId into CommentId 2018-01-17 12:26:42 +05:30
nishadi
906535eb24 Modify CommentsManagerImpl
Removed Not found Exception
2018-01-17 11:51:32 +05:30
nishadi
4fb77cbee8 Modify CommentsManagerImpl
Removed throwing NullPointerException;
2018-01-17 11:45:14 +05:30
nishadi
a1911432a6 Modify PaginationConfiguration
Removed commented codes.
2018-01-17 11:32:50 +05:30
nishadi
99b916d6ff Modify Comment
Removed commented codes.
2018-01-17 11:30:02 +05:30
nishadi
453559a07b Modify CommentManagementAPIImpl
returned Error Response.
2018-01-17 11:24:54 +05:30
nishadi
06059cacf1 Modify CommentManagementAPIImpl
Removed the comment.
2018-01-17 11:19:56 +05:30
nishadi
0f4e4ea483 Modify CommentManagementAPI
add "defaultValue" parameter here in the ApiParams
2018-01-17 11:18:24 +05:30
nishadi
7849d0938b Modify APIUtil
change the format of imports.
2018-01-17 11:09:39 +05:30
nishadi
a6434d918b Modify APIUtil
change the format of imports.
2018-01-17 11:07:11 +05:30
nishadi
5dce27e23b Adding CommentDAOImpl
Implementation of CommentDAO interface.
2018-01-16 16:40:21 +05:30
nishadi
7fb0faa2b8 Modify pom.xml at org.wso2.carbon.device.application.mgt.api 2018-01-16 16:36:01 +05:30
nishadi
f7caa02b81 Modify pom.xml at org.wso2.carbon.device.application.mgt.common
Dependancy is added to org.wso2.carbon.device.application.mgt.core
2018-01-16 16:33:52 +05:30
nishadi
819034f97d Adding Implementation of Comment Manager 2018-01-16 16:17:31 +05:30
nishadi
6b6a5bdbb1 Adding Comment Manager Interface
Included the comment management methods and stars rating methods
2018-01-16 16:15:53 +05:30
nishadi
64e8faa153 Adding CommentDAO Interface 2018-01-16 16:03:15 +05:30
nishadi
99857c9acc Modify Util
validateCommentListPageSize method is added.
2018-01-16 16:01:19 +05:30
nishadi
35e4174211 Modify Application Management DAO Factory
getCommentDAO method is added.
2018-01-16 16:00:02 +05:30
nishadi
5096654658 Adding Pagination Configuration for application-mgt 2018-01-16 15:56:34 +05:30
nishadi
87d1928f4c Modify Configuration Management 2018-01-16 15:55:51 +05:30
nishadi
9f44795682 Modify Configuration
Pagination Configuration is added.
2018-01-16 15:54:52 +05:30
nishadi
9f67e52741 Adding Pagination Result for application-mgt 2018-01-16 15:53:07 +05:30
nishadi
849474de87 Adding Pagination Request for application-mgt 2018-01-16 15:52:34 +05:30
nishadi
a0ef2dbafe Adding Comment 2018-01-16 15:51:18 +05:30
nishadi
c00345e7d7 Modify Application Release
Variables are added- noOfRatedUsers and stars.
2018-01-16 15:50:47 +05:30
nishadi
6dbdddb3d2 Adding Comment Manager Interface
Included the comment management methods and stars rating methods
2018-01-16 15:48:38 +05:30
nishadi
46f087f215 Adding Comment Management Exception
Handle the Exceptions of Comment Management.
2018-01-16 15:39:48 +05:30
nishadi
dbd9ad77ae Modified API Util
getComment method is added to the APIUtil file.
2018-01-16 15:37:03 +05:30
nishadi
b9bb6830f4 Adding Implementation of Comment Management API 2018-01-16 15:35:35 +05:30
nishadi
627aaab233 Adding Comment Management API 2018-01-16 15:35:03 +05:30
lasantha
393d11630b resolve pom issues 2018-01-14 16:44:17 +05:30
lasantha
486aac1cdc adding application release creation functioanlity (NC) 2018-01-01 00:53:43 +05:30
lasantha
f8c5ff95b9 Device API layer into two sections. named as store and publisher 2017-12-29 15:01:38 +05:30
lasantha
05b1221641 increase version 2017-12-25 07:30:05 +05:30
lasantha
11ea50e8ab Adding AP improvements(incomplete) 2017-12-24 13:58:41 +05:30
lasantha
c21ddceae1 adding application and release management implementation 2017-12-06 15:15:07 +05:30