Commit Graph

499 Commits

Author SHA1 Message Date
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
lasantha
1c6393959d adding app manager changes - not complete 2017-11-23 12:57:28 +05:30
lasantha
460bda420b adding role restriction DAO layer implementation 2017-11-22 14:52:19 +05:30
lasantha
d196e3e0e1 Adding DAO layer changes 2017-11-22 01:14:18 +05:30
Ruwan
cac80fc270
Merge pull request #1087 from Kamidu/application-mgt
changing the sso config for store jag application
2017-11-17 10:53:40 +05:30
Ruwan
e99f6ba481
Merge pull request #1081 from menakaj/application-mgt
Fixing code formatting issues
2017-11-17 10:12:45 +05:30
lasantha
45c668ecce adding DAO methods for pplication management 2017-11-17 07:11:44 +05:30
lasantha
81be917e10 adding application registrating functionality and partial DAO modefications 2017-11-15 16:47:21 +05:30
lasantha
dc6ab1db2f resolved issues and resolved merge conflicts with master branch 2017-11-08 10:57:03 +05:30
kamidu
6f2f98545d changing the sso config for store 2017-10-26 18:58:21 +05:30
lasantha
f4c3a0b124 Remove unnecessary pages and units 2017-10-25 18:14:18 +05:30
lasantha
ede7680b40 Fixed build failure 2017-10-25 16:44:23 +05:30
Kamidu Sachith Punchihewa
17bce6fed1 Adding the store user interface. (#1084) 2017-10-25 16:27:55 +05:30
Menaka Jayawardena
5756fa1519 Fixing code formatting issues in Platform related components. 2017-10-23 12:27:03 +05:30
Menaka Jayawardena
73e820b78e Fixing code formatting issues in DataTable components. 2017-10-23 12:26:24 +05:30
amalhub
659713b593 Code formatting 2017-10-10 11:22:37 +05:30
amalhub
c0ffb02420 Code formatting 2017-10-10 11:14:51 +05:30
amalhub
90bf818fc6 Merge branch 'application-mgt' of https://github.com/wso2/carbon-device-mgt into application-mgt 2017-10-10 11:10:44 +05:30
sinthuja
470ec89fa5 Merge pull request #1030 from Megala21/migrate_application
Adding support for application category
2017-10-09 22:08:23 +05:30
megala21
300e7a710e Changes according maven check style plugin 2017-10-09 22:03:36 +05:30
megala21
b32c59b840 Refactoring 2017-10-09 21:17:59 +05:30
megala21
a1806eb87e Refactoring 2017-10-09 21:15:03 +05:30
megala21
d8ff31b628 Adding remaining changes 2017-10-09 21:09:50 +05:30
amalhub
89495d9c77 App-mgt-store Adding version name and code simplification 2017-10-09 18:53:40 +05:30
megala21
e26d859236 Adding initiail changes 2017-10-09 17:18:45 +05:30
Megala Uthayakumar
f45ba70b66 Merge pull request #1031 from sinthuja/application-mgt
Making the auth handler to be compatible with the store and publisher.
2017-10-09 16:38:53 +05:30
sinthuja
1a4fa74ea8 Removing the backslash in the path. 2017-10-09 16:35:43 +05:30
sinthuja
57c91bc2da Making the auth handler to be compatible with the store and publisher. 2017-10-09 16:33:08 +05:30
megala21
0fefa094a7 Refactoring 2017-10-09 16:00:08 +05:30
megala21
7a8f3c64dc Refactoring 2017-10-09 15:50:44 +05:30
megala21
179e34aa92 Adding support for application category 2017-10-09 14:24:04 +05:30
sinthuja
747fe5d8c2 Merge pull request #1029 from menakaj/application-mgt
Platform create steps and improvements.
2017-10-09 11:38:38 +05:30
Menaka Jayawardena
a37cdbdbdd Optimized imports 2017-10-09 11:29:14 +05:30
sinthuja
418e0afca4 Updating the license header. 2017-10-09 10:10:20 +05:30
sinthuja
241392fa2c Adding store features and adding internationalization for the User Options component. 2017-10-09 09:23:28 +05:30
sinthuja
251fba7830 Merge branch 'wso2-application-mgt' into application-mgt 2017-10-09 08:50:26 +05:30
sinthuja
4d65bb704c Adding jaggery.conf to store. 2017-10-09 08:49:15 +05:30
sinthuja
596b25a5ab Adding logout option. 2017-10-09 08:48:03 +05:30
Menaka Jayawardena
a526ec14e9 Removed console.logs 2017-10-09 01:30:26 +05:30
Menaka Jayawardena
4779521c56 Created platform create stepper and content. 2017-10-09 01:22:58 +05:30
Menaka Jayawardena
8488320340 Font change in Chip component. 2017-10-09 01:17:47 +05:30
Menaka Jayawardena
bf974f5377 Changed import 2017-10-08 15:48:01 +05:30
Menaka Jayawardena
ddfbf78e30 Minor changes in switch and step components. 2017-10-08 15:47:18 +05:30
Menaka Jayawardena
20b58330db Refactored platform listing imports. 2017-10-08 14:44:43 +05:30
Menaka Jayawardena
543dd455b0 Removed unnecessary div elements. 2017-10-08 14:43:34 +05:30
Menaka Jayawardena
4a065f40c9 Modified Switch component based on Material Guidelines. 2017-10-08 14:41:54 +05:30
Menaka Jayawardena
97afd6386c Modal footer button layout styles. 2017-10-08 14:40:55 +05:30
Menaka Jayawardena
ead3c74fe4 Added key field to data table columns and rows. 2017-10-08 10:54:26 +05:30
Menaka Jayawardena
7ec90258d5 Modified stepper based on material design specs. 2017-10-08 10:47:54 +05:30
Menaka Jayawardena
bde1f80697 Modified the Stepper footer button layout. 2017-10-08 10:46:35 +05:30
Menaka Jayawardena
71875904d3 Fixed malformed code. 2017-10-08 02:14:06 +05:30
Menaka Jayawardena
99af739f15 Stepper component created and added it to the application creation modal. 2017-10-08 02:08:05 +05:30
Menaka Jayawardena
fc44322776 Styled 'Not found' error page. 2017-10-07 01:32:53 +05:30
Menaka Jayawardena
b630410698 Changed element class names. 2017-10-07 01:31:52 +05:30
Menaka Jayawardena
0e0f6b9ff6 Fixed styling. 2017-10-06 19:18:03 +05:30
Menaka Jayawardena
bd9a54f1b7 Removed style loader for wso2 fonts from webpack.config.js 2017-10-06 19:15:30 +05:30
Menaka Jayawardena
ba5c7eb66b Added button styling in platform cards. 2017-10-06 19:14:09 +05:30
Menaka Jayawardena
672833c583 Modified application edit url pattern. 2017-10-06 19:13:33 +05:30
Menaka Jayawardena
34b35158fb Added i18n definition. 2017-10-06 19:12:48 +05:30
Menaka Jayawardena
c750aed454 Added application management apis. 2017-10-06 19:12:10 +05:30
sinthuja
362a2d1d32 Adding user login option. 2017-10-06 15:21:49 +05:30
sinthuja
f01f150a37 Merge branch 'wso2-application-mgt' into application-mgt
# Conflicts:
#	.gitignore
2017-10-06 13:51:28 +05:30
sinthuja
b66ad9ab57 Adding UserOptions drop down, and adding the store ui to the pom. 2017-10-06 13:49:48 +05:30
Menaka Jayawardena
6056a433d5 Resolved Conflicts 2017-10-06 13:17:35 +05:30
Menaka Jayawardena
87aaeca85f Restored absolute path in index.html. 2017-10-06 13:16:47 +05:30
Menaka Jayawardena
b55878d968 Added i18n definitions. 2017-10-06 13:16:47 +05:30
Menaka Jayawardena
42db66cdf7 Modified page title font and table hover background color. 2017-10-06 13:16:03 +05:30
Menaka Jayawardena
62f19e7411 Added page title. 2017-10-06 13:16:03 +05:30