Commit Graph

415 Commits

Author SHA1 Message Date
lasanthaDLPDS
a05c412d77 Copy publisher and store web apps into IoTS webapp folder
Added p2.inf configuration to copy store and publisher web apps into IoTS webapp folder
2018-03-20 18:10:49 +05:30
lasanthaDLPDS
0b78df50a7 Add application deleting functionality
Modified DAO layer. When delete an application it is moved to REMOVED status.
2018-03-20 17:43:37 +05:30
lasanthaDLPDS
c95733a781 Add iOS applications and Web Clip publishing functionality
This commit contains followings
Added dependencies for URL validation and plist parsing.
Added version retrieval functionality for iOS application
Added WEB clip publishing functionality.
In order to compatible with above functionalities modified the source
2018-03-20 17:14:15 +05:30
lasanthaDLPDS
b45d11bfdc Fix issues in swagger definition 2018-03-20 09:54:24 +05:30
lasanthaDLPDS
976d0ad60d Modify application retrieval API
As per the API designing best practices, added offset and limit query parameters for application getting API.
2018-03-19 20:37:30 +05:30
lasanthaDLPDS
71aa6762ac Refactor APPM DAO Layer
Refactored the APPM DAO layer. Further verified and added required functionality to compatible with other DBMS, such as Oracle, PostgreSQL, MSSQL
2018-03-19 18:41:23 +05:30
lasantha
f9559a510b Remove tenant id from the Application Release bean 2018-03-12 11:14:15 +05:30
lasantha
e00aa1be09 Fix build failure
Removed application release management service refernce from the ApplicationManagementUtil.java
2018-03-12 11:13:07 +05:30
lasantha
6f18a70d4b Add application release updating logic into the service layer
Adding application release updating logic and application release creating logic into the service layer.
2018-03-12 11:07:47 +05:30
lasantha
f83b466955 Format the application management API source 2018-03-12 11:00:29 +05:30
lasantha
8b505a7741 Reformat the DAO layer and add application release updating SQL logic
In order to fix DAO issues and improve the logic, modified the DAO layer. Further added generic application release SQL to update application release.
2018-03-12 10:57:23 +05:30
lasantha
1b7451327e Remove application release management service source.
The application release management service source is moved to application management service. Therefore removed the application release management service source from the application management component.
2018-03-12 10:45:45 +05:30
lasantha
fc30d00ecd Fix minor DAO layer issues 2018-03-05 17:57:04 +05:30
lasantha
b0eafe7180 Fixed application management issues and improve functionalities 2018-03-05 17:15:40 +05:30
lasantha
7278408b44 Refactored the source code 2018-03-05 17:15:40 +05:30
lasantha
c3f04eeed0 refactored the Application management DAO layer 2018-03-05 17:15:39 +05:30
lasantha
6e3cc085ff Fixed application getting issues and improved the application getting functionality
Improved application functionalities. Modified service layer, DAO layer and API layer
2018-03-05 17:14:48 +05:30
lasantha
ef0e7ee738 adding sorting orders 2018-03-05 17:11:44 +05:30
lasantha
9f609964b7 adding application types 2018-03-05 17:11:44 +05:30
lasantha
6b0e281112 Adding APK file validation functionalty
To implement apk file validation we are using external library. APK parser: https://github.com/hsiafan/apk-parser
2018-03-05 17:11:44 +05:30
lasantha
460a356bee Adding Application management functionalities and API
Adding application, application lifecycle and application release management business logic and also API implementation
2018-03-05 17:11:44 +05:30
lasantha
5ee9983305 modified application management store API
This is WIP API and in order to avoid build failure commented few lines and those need to be fixed when the development continues
2018-03-05 17:11:44 +05:30
lasantha
c3d0b375a5 Adding App storing functionalities
Adding App deleting, editing and storing fucntionalities and fixed related bugs. To delete application artifacts, used recursive method and validation application is removed from the storage management. Since application validation is doing at application management and it is guaranteed that storage management is called after the application management removed the application validation from storage management
2018-03-05 17:11:44 +05:30
lasantha
2cbf78d464 Fixed issues in Generic DAO Impl 2018-03-05 17:11:44 +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