Pasindu Rupasinghe
cc6bbf1435
Improvements in App registration
1 year ago
Sasini Sandamali
bb0369cde9
Update addOperation and sql files
1 year ago
Pahansith Gunathilake
0068a26b58
Merge pull request 'Fix added for loading device groups' ( #228 ) from prathabanKavin/device-mgt-core:sqldevicegroupfix into master
...
Reviewed-on: #228
1 year ago
tcdlpds
500fa0df98
Add improvements to app registering logic
1 year ago
tcdlpds
088642e7ce
Improve API app registration
1 year ago
Pramila Niroshan
fccae9b8c0
Add Devices filtering by a Custom Property feature to API and dao layer ( #208 )
...
## Purpose
* Related ticket https://roadmap.entgra.net/issues/10262
## Description
This modifed API accept any custom property key value pair as a encoded JSON String for filtering devices
/devicescustomProperty=%7B%22FIRMWARE_APP_VERSION%22%3A%22122%22%2C%22FIRMWARE_VERSION%22%3A%22123%22%7D
## Add Custom property to mdm-ui-config.xml
```
<DeviceInfoConfigurations>
<DeviceInfoItem>
<DefinedValue>FIRMWARE_VERSION</DefinedValue>
<DisplayValue>label_firmware_version</DisplayValue>
<Type>deviceDetailsMap</Type>
</DeviceInfoItem>
<DeviceInfoItem>
<DefinedValue>FIRMWARE_APP_VERSION</DefinedValue>
<DisplayValue>label_app_version</DisplayValue>
<Type>deviceDetailsMap</Type>
</DeviceInfoItem>
<DeviceInfoItem>
<DefinedValue>FIRMWARE_SYSTEM_VERSION</DefinedValue>
<DisplayValue>label_firmware_system_version</DisplayValue>
<Type>deviceDetailsMap</Type>
</DeviceInfoItem>
</DeviceInfoConfigurations>
```
DefinedValue = Key_value in DM_DEVECE_INFO table
DisplayValue = UI display text for filtering
Type = Dont change
Co-authored-by: pramilaniroshan <pramila@entgra.io>
Reviewed-on: #208
Co-authored-by: Pramila Niroshan <pramila@entgra.io>
Co-committed-by: Pramila Niroshan <pramila@entgra.io>
1 year ago
osh
8bc0fa37de
Add cost calculation for carbon super
1 year ago
osh
5371c5268b
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into billing-delete-9713
1 year ago
osh
6fd84dcbef
Comment out cost related code
1 year ago
prathabanKavin
661feadcd5
Fix added for loading device groups
1 year ago
Sasini Sandamali
4a6e0ce727
Update get Activities to increase the performance
1 year ago
Sasini Sandamali
26a049473c
Modify View Activities endpoint by including operation id
1 year ago
osh
0abf955fe0
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into billing-delete-9713
1 year ago
osh
5d06485a25
Add device deletion scenario for billing
1 year ago
Thilina Sandaruwan
44c7d324de
Fix: delete group with GeoFence references issue
1 year ago
Arshana
9c7fd9027e
Fix the API to check if a device is enrolled
1 year ago
shamalka
dc40351293
Change location publishing logic
1 year ago
builder
7c66f6b693
[maven-release-plugin] prepare for next development iteration
1 year ago
builder
b9f12e49ee
[maven-release-plugin] prepare release v5.0.30
1 year ago
Inosh Perara
28b18941aa
Merge pull request 'Add hierarchical group count API' ( #214 ) from ThilinaPremachandra/device-mgt-core:Bug#10300 into master
...
Reviewed-on: #214
1 year ago
Thilina Sandaruwan
7b1907cd90
resolve comments
1 year ago
Charitha Goonetilleke
c144507b6c
Merge branch 'master' into master
1 year ago
builder
7c0adfbc89
[maven-release-plugin] prepare for next development iteration
1 year ago
builder
f7c3e129c4
[maven-release-plugin] prepare release v5.0.29
1 year ago
Amalka Subasinghe
d4c3af5d12
Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core
1 year ago
Amalka Subasinghe
21606bc5cd
operation timeout task updated to execute only in elected node
1 year ago
Amalka Subasinghe
349fce4e63
improved push notofication task to get allocated operations when heart beat enabled
1 year ago
Amalka Subasinghe
cf3d50edf9
added new method getAllocatedOperationMappingsByStatus
1 year ago
Nishan Sangeeth
017c70fa08
Fix Certificate test case and delete and search option
1 year ago
Thilina Sandaruwan
7a7974eb36
Add: hierarchical group count API
1 year ago
osh
195bb64bea
Resolve comments
1 year ago
osh
4fbcd75a61
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into unmanaged-install-9211
1 year ago
osh
1fed47e8fd
Add app details for UNMANAGED_APP_UNINSTALL
1 year ago
Pramila Niroshan
388f34e3b8
Fix try-it meta-info getting issue
1 year ago
shamalka
f286cb2306
Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into device-info-config
1 year ago
tcdlpds
f9ae594326
Fix APPs getting issue in APPM DAO
1 year ago
shamalka
67864cb762
Add deviceinfo config beans
1 year ago
osh
81e57ce78f
Retrieve extra details
1 year ago
osh
e2a467bc45
Update activity loading
1 year ago
osh
9fa34a32af
Resolve conflicts
1 year ago
osh
e6ee539239
Add api changes for getting app details of operation
1 year ago
osh
a20c5a723c
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into vpp-v2
1 year ago
Charitha Goonetilleke
462669e3ec
Merge branch 'master' into master
1 year ago
Dharmakeerthi Lasantha
a17c5c27ab
Fix test case failure
1 year ago
Dharmakeerthi Lasantha
938190deca
Merge branch 'apim420' of https://repository.entgra.net/community/device-mgt-core into apim420
1 year ago
Dharmakeerthi Lasantha
8289db1af8
Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into sync-master
1 year ago
builder
fabd3ebae8
[maven-release-plugin] prepare for next development iteration
1 year ago
builder
02458cc4fe
[maven-release-plugin] prepare release v5.0.28
1 year ago
prathabanKavin
f091d26f9c
Fix issues with retrieving visible roles
1 year ago
prathabanKavin
20906122db
Fix for visible role issue
1 year ago
Pasindu Rupasinghe
7dfcb418f4
Fix jwt token generation
1 year ago
Dharmakeerthi Lasantha
fe58a16d17
sync with upstream apim420
1 year ago
Dharmakeerthi Lasantha
8215186061
Revert "Fixes in JWT token generation and sync with upstream apim420 branch"
...
This reverts commit d567209c11
, reversing
changes made to 437c0e642d
.
1 year ago
Pasindu Rupasinghe
8ea4932019
Fixes in JWT token generation
1 year ago
Dharmakeerthi Lasantha
ac3e144437
Fix OSGI service unbinding issue
1 year ago
Dharmakeerthi Lasantha
dc6bbdd282
Improve functionality and fix formatting issues
1 year ago
Dharmakeerthi Lasantha
ef2838414a
Fix build failure
1 year ago
Dharmakeerthi Lasantha
087a9fe728
Fix dependency importing issue
1 year ago
Thilina Sandaruwan
b765c8ded3
Grouping Improvements ( #169 )
...
Purpose
After deleting a role, delete relevant records from DM_ROLE_GROUP_MAP table
Related tickets: https://roadmap.entgra.net/issues/9528 and https://roadmap.entgra.net/issues/9529
Co-authored-by: ThilinaPremachandra <thilina@entgra.io>
Reviewed-on: #169
Co-authored-by: Thilina Sandaruwan <thilina@entgra.io>
Co-committed-by: Thilina Sandaruwan <thilina@entgra.io>
1 year ago
Rajitha Kumara
3dc567fcfe
Fix transaction initiating issue
1 year ago
Thilina Sandaruwan
b682e77d34
fix: group assigned role issue
1 year ago
Thilina Sandaruwan
0581151248
add: super-tenant admin check
1 year ago
Thilina Sandaruwan
fde6de94bb
fix: sub tenants grouping issue
1 year ago
Navod Zoysa
d90c5c459a
Remove reserved_user when fetching users
1 year ago
Nishan Sangeeth
1844db87d8
Improve app visibility restricting functionality
...
Co-authored-by: Nishan Sangeeth <nishan@entgra.io>
Co-committed-by: Nishan Sangeeth <nishan@entgra.io>
1 year ago
Nishan Sangeeth
da6f7158cf
add api for get visible roles
1 year ago
Thilina Sandaruwan
0ce7cd954c
HierarchicalGrouping ( #153 )
...
Goals
Complete hierarchical grouping task
https://roadmap.entgra.net/issues/9528 and https://roadmap.entgra.net/issues/9529
Approach
Fix the encountered issues
Co-authored-by: ThilinaPremachandra <thilina@entgra.io>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: #153
Co-authored-by: Thilina Sandaruwan <thilina@entgra.io>
Co-committed-by: Thilina Sandaruwan <thilina@entgra.io>
1 year ago
Rajitha Kumara
729f1fd85f
Update invite link
1 year ago
prathabanKavin
5a8bcf6711
Add device enrolment log for modifyenrolment
1 year ago
Pahansith Gunathilake
e979130e55
Fix missing imports
1 year ago
Rajitha Kumara
6299d0fd83
Add otp token
1 year ago
Pahansith Gunathilake
9a55a83af4
Add OTP based remote session implementation
1 year ago
Pahansith Gunathilake
84563078d3
Add tenant based storing and loading SCEP certificates
1 year ago
inoshperera
a603a69f3e
OTP for enrollment with Mutual TLS
...
Fixes https://roadmap.entgra.net/issues/10093
1 year ago
Oshani Silva
8b928a4aca
Remove unwanted check in billing logic
...
Co-authored-by: Oshani Silva <oshani@entgra.io>
Co-committed-by: Oshani Silva <oshani@entgra.io>
1 year ago
inoshperera
cfe7e520ab
iOS user enrollment support
...
Fixes https://roadmap.entgra.net/issues/10149
1 year ago
Navod Zoysa
566942694c
Remove apim_reserved_user when fetching users
1 year ago
builder
48801a3b8e
[maven-release-plugin] prepare for next development iteration
1 year ago
builder
4c1963a32b
[maven-release-plugin] prepare release v5.0.26
1 year ago
Thilina Sandaruwan
ae13169377
add rollback
1 year ago
Thilina Sandaruwan
4a239887cb
add try with resources
1 year ago
Thilina Sandaruwan
7d05446a38
add error log
1 year ago
Thilina Sandaruwan
cd9d127a5e
remove unnecessary variable, change error msg
1 year ago
Thilina Sandaruwan
13545f1c7c
remove unnecessary code lines
1 year ago
Thilina Sandaruwan
d842fc4085
remove unnecessary imports, fixes line issues
1 year ago
Thilina Sandaruwan
32e5456f21
fixes line issues
1 year ago
Thilina Sandaruwan
88356c57aa
Add hierarchical grouping feature
1 year ago
Thilina Sandaruwan
ce4276c93a
pom.xml updated by pull
1 year ago
Kavin Prathaban
7ad3a0e21b
Add custom loggers ( #136 )
...
* Fixes https://roadmap.entgra.net/issues/10117
* Added custom logs for below cases:
1. Device connectivity events
2. Policy payload change events
3. Device enrollment history events
4. App install events
**1. Device connectivity logs** - logs for newly added operations and calls for pending operations
Pattern :
{DateTime} {LogLevel} - {ActionTag} {OperationCode} {DeviceId} {DeviceType} {TenantDomain} {TenantId} {UserName} - log_message
```
[2023-06-15 00:12:09,093] INFO - [ADD_OPERATION] [DEVICE_LOCATION] [97] [android] [carbon.super] [-1234] [admin]- Operation added
[2023-06-15 00:12:10,344] INFO - [PENDING_OPERATION] [DEVICE_LOCATION] [675c60a9d31492d6] [android] [carbon.super] [-1234] [admin]- Device Connected
[2023-06-15 00:13:49,755] INFO - [ADD_OPERATION] [DEVICE_LOCK] [97] [android] [carbon.super] [-1234] [admin]- Operation added
[2023-06-15 00:13:56,513] INFO - [ADD_OPERATION] [DEVICE_MUTE] [97] [android] [carbon.super] [-1234] [admin]- Operation added
[2023-06-15 00:14:23,839] INFO - [PENDING_OPERATION] [DEVICE_MUTE]
[2023-06-15 00:15:12,549] INFO - [ADD_OPERATION] [INSTALL_APPLICATION] [97] [android] [carbon.super] [-1234] [admin]- Operation added
[2023-06-15 00:15:29,703] INFO - [PENDING_OPERATION] [INSTALL_APPLICATION] [675c60a9d31492d6] [android] [carbon.super] [-1234] [admin]- Device Connected
```
**2. Policy payload change events** - logs for creating policy, updating policy, deleting policy, change policy priorities and apply changes to device logs
Pattern :
{DateTime} {LogLevel} - {ActionTag} {PolicyName} {TenantDomain} {TenantId} {Payload} {UserName} - log_message
```
[2023-06-15 00:15:53,264] INFO - [UPDATE_POLICY] [passcodeios] [carbon.super] [-1234] [{"policyPayloadVersion":"2.0","id":33,"priorityId":1,"profile":{"profileId":33,"profileName":"passcodeios","tenantId":0,"deviceType":"ios","updatedDate":"Jun 15, 2023 12:15:53 AM","profileFeaturesList":[{"id":33,"featureCode":"PASSCODE_POLICY","profileId":0,"deviceType":"ios","content":"{\"forcePIN\":true,\"allowSimple\":true,\"requireAlphanumeric\":true,\"minLength\":7.0,\"minComplexChars\":4.0,\"pinHistory\":\"\"}","correctiveActions":[]}]},"policyName":"passcodeios","generic":false,"roles":["ANY"],"devices":[],"users":[],"active":false,"updated":false,"description":"test","compliance":"enforce","tenantId":-1234,"profileId":33,"policyType":"GENERAL"}] [admin] - Policy updated
[2023-06-15 00:34:38,980] INFO - [ADD_POLICY] [application management policy] [carbon.super] [-1234] [{"policyPayloadVersion":"2.0","id":65,"priorityId":0,"profile":{"profileId":65,"profileName":"application management policy","tenantId":0,"deviceType":"windows","createdDate":"Jun 15, 2023 12:34:38 AM","updatedDate":"Jun 15, 2023 12:34:38 AM","profileFeaturesList":[{"id":65,"featureCode":"ALLOW_ALL_TRUSTED_APPS","profileId":0,"deviceType":"windows","content":"{\"enabled\":true}","correctiveActions":[]},{"id":73,"featureCode":"RESTRICT_APP_TO_SYSTEM_VOLUME","profileId":0,"deviceType":"windows","content":"{\"enabled\":false}","correctiveActions":[]}]},"policyName":"application management policy","generic":false,"roles":["ANY"],"devices":[],"users":[],"active":false,"updated":false,"description":"test","compliance":"enforce","tenantId":-1234,"profileId":0,"policyType":"GENERAL"}] [admin] - Policy created
[2023-06-15 00:35:05,420] INFO - [DELETE_POLICY] [passcodeios] [carbon.super] [-1234] [{"policyPayloadVersion":"2.0","id":33,"priorityId":1,"profile":{"profileId":33,"profileName":"passcodeios","tenantId":-1234,"deviceType":"ios","createdDate":"Jun 13, 2023 10:24:30 PM","updatedDate":"Jun 15, 2023 12:15:53 AM","profileFeaturesList":[{"id":33,"featureCode":"PASSCODE_POLICY","profileId":33,"deviceType":"ios","content":"{\"forcePIN\":true,\"allowSimple\":true,\"requireAlphanumeric\":true,\"minLength\":7.0,\"minComplexChars\":4.0,\"pinHistory\":\"\"}","correctiveActions":[]}]},"policyName":"passcodeios","generic":false,"roles":["ANY"],"devices":[],"users":[],"active":false,"updated":true,"description":"test","compliance":"enforce","policyCriterias":[],"tenantId":-1234,"profileId":33,"deviceGroups":[],"policyType":"GENERAL"}] [admin] - Policy deleted
[2023-06-15 00:35:12,768] INFO - [UPDATE_POLICY_PRIORITIES] [] [carbon.super] [-1234] [[{"id":65,"priorityId":1,"generic":false,"active":false,"updated":false,"tenantId":0,"profileId":0},{"id":34,"priorityId":2,"generic":false,"active":false,"updated":false,"tenantId":0,"profileId":0}]] [admin] - Policy priorities updated
[2023-06-15 00:35:25,395] INFO - [PUBLISH_CHANGES] [] [carbon.super] [-1234] [] [admin] - Apply changes to device
```
**3. Device enrollment history events** - logs for device enrollment and dis-enrollment
Pattern :
{DateTime} {LogLevel} - {DeviceId} {DeviceType} {Owner} {Ownership} {TenantId} {TenantDomain} {UserName} - log_message
```
[2023-06-15 00:12:09,078] INFO - [97] [android] [admin] [BYOD] [-1234] [carbon.super] [admin] - Device enrolled successfully
[2023-06-15 00:47:36,278] INFO - [97] [android] [admin] [BYOD] [-1234] [carbon.super] [admin] - Device disenrolled successfully
```
**4. App install events** - logs for app installation and uninstallation
Pattern :
{DateTime} {LogLevel} - {AppId} {AppName} {AppType} {SubType} {Action} {Device} {TenantId} {TenantDomain} {UserName} - log_message
```
[2023-06-15 00:15:12,550] INFO - [1] [Calculator] [PUBLIC] [DEVICE] [install] [deviceId {id='675c60a9d31492d6', type='android'}] [-1234] [carbon.super] [admin] - App install triggered
[2023-06-15 00:46:24,454] INFO - [2] [Sololearn] [ENTERPRISE] [DEVICE] [install] [deviceId {id='675c60a9d31492d6', type='android'}] [-1234] [carbon.super] [admin] - App install triggered
[2023-06-15 00:46:40,498] INFO - [3] [Engineering] [WEB_CLIP] [DEVICE] [install] [deviceId {id='675c60a9d31492d6', type='android'}] [-1234] [carbon.super] [admin] - Web app install triggered
```
* proprietary/product-uem#6
Co-authored-by: prathabanKavin <kavinprathaban025@gmail.com>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: #136
Co-authored-by: Kavin Prathaban <kavin@entgra.io>
Co-committed-by: Kavin Prathaban <kavin@entgra.io>
1 year ago
Amalka Subasinghe
f63a6ee65b
fixed unit tests
1 year ago
Dharmakeerthi Lasantha
74041070f9
Fix class def not found issue
1 year ago
Dharmakeerthi Lasantha
349bb0a3dc
Fix test case failure
1 year ago
Amalka Subasinghe
615da6303f
notify cluster formation changed implementation
1 year ago
builder
f19f48d050
[maven-release-plugin] prepare for next development iteration
1 year ago
builder
ff9971ed77
[maven-release-plugin] prepare release v5.0.27
1 year ago
Rajitha Kumara
7c9d3a2108
Fixes for grouping issues ( #186 )
...
Co-authored-by: rajitha <rajitha@entgra.io>
Reviewed-on: #186
Co-authored-by: Rajitha Kumara <rajitha@entgra.io>
Co-committed-by: Rajitha Kumara <rajitha@entgra.io>
1 year ago
osh
b576f3d9bb
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into vpp-v2
1 year ago
Inosh Perara
2dd3e86f69
Merge pull request 'Grouping Issues' ( #181 ) from ThilinaPremachandra/device-mgt-core:groupingIssues into master
...
Reviewed-on: #181
1 year ago
Thilina Sandaruwan
6dbad29776
fix: role sharing issues for other users
1 year ago
osh
cd17d06158
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into vpp-v2
1 year ago
Charitha Goonetilleke
6e1e58f2ec
Merge branch 'master' into master
1 year ago
osh
2249520132
Resolve conflicts
1 year ago
Dharmakeerthi Lasantha
2cfa73206d
Fix OSGI service unbinding issue
1 year ago
Dharmakeerthi Lasantha
3bf6f7dd75
Improve functionality and fix formatting issues
1 year ago
Dharmakeerthi Lasantha
78aee58c1a
Fix build failure
1 year ago
Dharmakeerthi Lasantha
11efc83b06
Fix dependency importing issue
1 year ago
Dharmakeerthi Lasantha
816ade11e6
Sync with master
1 year ago
Sasini Sandamali
b9ecb8ce40
Rearrange getOperations by eliminating the necessity of the owner param
1 year ago
Thilina Sandaruwan
38b8c8d7b1
Grouping Improvements ( #169 )
...
Purpose
After deleting a role, delete relevant records from DM_ROLE_GROUP_MAP table
Related tickets: https://roadmap.entgra.net/issues/9528 and https://roadmap.entgra.net/issues/9529
Co-authored-by: ThilinaPremachandra <thilina@entgra.io>
Reviewed-on: #169
Co-authored-by: Thilina Sandaruwan <thilina@entgra.io>
Co-committed-by: Thilina Sandaruwan <thilina@entgra.io>
1 year ago
Thilina Sandaruwan
253dc03233
fix: deleted roles removing issue
1 year ago
Amalka Subasinghe
edcf235ff8
fixed unit tests
1 year ago
Thilina Sandaruwan
907043fd91
Merge branch 'master'
1 year ago
Thilina Sandaruwan
6c645db486
add: proper msg for group delete
1 year ago
Dharmakeerthi Lasantha
437c0e642d
Merge branch 'apim420' of https://repository.entgra.net/community/device-mgt-core into apim420
1 year ago
Rajitha Kumara
5818a5eaed
Fix transaction initiating issue
1 year ago
Thilina Sandaruwan
6d012bc614
fix: group assigned role issue
1 year ago
Thilina Sandaruwan
aecc106f95
add: super-tenant admin check
1 year ago
Thilina Sandaruwan
39f5ee8ca3
fix: sub tenants grouping issue
1 year ago
osh
1263c09079
Add DAOs for asset management
...
fixes https://roadmap.entgra.net/issues/10179
1 year ago
Amalka Subasinghe
1c3cd7cd2f
fixed webapp deploying failure
1 year ago
Dharmakeerthi Lasantha
35ee44f799
Remove Capp Deploying service
1 year ago
Navod Zoysa
8d9e3c8f51
Remove reserved_user when fetching users
1 year ago
Nishan Sangeeth
3616245ae6
Improve app visibility restricting functionality
...
Co-authored-by: Nishan Sangeeth <nishan@entgra.io>
Co-committed-by: Nishan Sangeeth <nishan@entgra.io>
1 year ago
Pahansith Gunathilake
e0a1cd3dbb
Merge pull request 'Add api for get visible roles' ( #146 ) from nishan/device-mgt-core:add-visible-role-api into master
...
Reviewed-on: #146
1 year ago
Thilina Sandaruwan
498dc7ae34
HierarchicalGrouping ( #153 )
...
Goals
Complete hierarchical grouping task
https://roadmap.entgra.net/issues/9528 and https://roadmap.entgra.net/issues/9529
Approach
Fix the encountered issues
Co-authored-by: ThilinaPremachandra <thilina@entgra.io>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: #153
Co-authored-by: Thilina Sandaruwan <thilina@entgra.io>
Co-committed-by: Thilina Sandaruwan <thilina@entgra.io>
1 year ago
Rajitha Kumara
d5270c720c
Update invite link
1 year ago
Pahansith Gunathilake
979d3b48cb
Merge branch 'master' into sync-master
1 year ago
Inosh Perara
da694c3dbe
Merge pull request 'Add device enrolment log for modifyenrolment' ( #148 ) from prathabanKavin/device-mgt-core:enrolmentlogfix into master
...
Reviewed-on: #148
1 year ago
Pahansith Gunathilake
763cd7df25
Fix missing imports
1 year ago
Pahansith Gunathilake
92d7f5b61f
Resolve Conflicts
1 year ago
Nishan Sangeeth
4a31d80660
add api for get visible roles
1 year ago
Oshani Silva
6109f58c49
Remove unwanted check in billing logic
...
Co-authored-by: Oshani Silva <oshani@entgra.io>
Co-committed-by: Oshani Silva <oshani@entgra.io>
1 year ago
prathabanKavin
389eb05084
Add device enrolment log for modifyenrolment
1 year ago
Inosh Perara
b0dfadbe68
Merge pull request 'iOS user enrollment support' ( #143 ) from inosh/device-mgt-core:ios-user-enrollment into master
...
Reviewed-on: #143
1 year ago
Pahansith Gunathilake
660fadc39d
Merge branch 'support-5.0.24' of ssh://repository.entgra.net:222/support/support-carbon-device-mgt into support-5.0.24
1 year ago
Navod Zoysa
00bd74734a
Remove apim_reserved_user when fetching users
1 year ago
builder
ab2e1297e5
[maven-release-plugin] prepare for next development iteration
1 year ago
builder
6c9d33a16a
[maven-release-plugin] prepare release v5.0.26
1 year ago
Inosh Perara
d17925cf7f
Merge pull request 'HierarchicalGrouping' ( #137 ) from ThilinaPremachandra/device-mgt-core:syncHierarchicalGrouping into master
...
Reviewed-on: #137
1 year ago
Pahansith Gunathilake
b18003a1cd
Add OTP based remote session implementation
1 year ago
inoshperera
cb99e4c285
iOS user enrollment support
...
Fixes https://roadmap.entgra.net/issues/10149
1 year ago
Rajitha Kumara
94408c7ce3
Add otp token
1 year ago
Dharmakeerthi Lasantha
342e201c4c
Add improvements to APIM application creating logic
1 year ago
Kavin Prathaban
cf2bd5e935
Add custom loggers ( #136 )
...
## Purpose
* Fixes https://roadmap.entgra.net/issues/10117
## Description
* Added custom logs for below cases:
1. Device connectivity events
2. Policy payload change events
3. Device enrollment history events
4. App install events
#### Log structure
**1. Device connectivity logs** - logs for newly added operations and calls for pending operations
Pattern :
{DateTime} {LogLevel} - {ActionTag} {OperationCode} {DeviceId} {DeviceType} {TenantDomain} {TenantId} {UserName} - log_message
```
[2023-06-15 00:12:09,093] INFO - [ADD_OPERATION] [DEVICE_LOCATION] [97] [android] [carbon.super] [-1234] [admin]- Operation added
[2023-06-15 00:12:10,344] INFO - [PENDING_OPERATION] [DEVICE_LOCATION] [675c60a9d31492d6] [android] [carbon.super] [-1234] [admin]- Device Connected
[2023-06-15 00:13:49,755] INFO - [ADD_OPERATION] [DEVICE_LOCK] [97] [android] [carbon.super] [-1234] [admin]- Operation added
[2023-06-15 00:13:56,513] INFO - [ADD_OPERATION] [DEVICE_MUTE] [97] [android] [carbon.super] [-1234] [admin]- Operation added
[2023-06-15 00:14:23,839] INFO - [PENDING_OPERATION] [DEVICE_MUTE]
[2023-06-15 00:15:12,549] INFO - [ADD_OPERATION] [INSTALL_APPLICATION] [97] [android] [carbon.super] [-1234] [admin]- Operation added
[2023-06-15 00:15:29,703] INFO - [PENDING_OPERATION] [INSTALL_APPLICATION] [675c60a9d31492d6] [android] [carbon.super] [-1234] [admin]- Device Connected
```
**2. Policy payload change events** - logs for creating policy, updating policy, deleting policy, change policy priorities and apply changes to device logs
Pattern :
{DateTime} {LogLevel} - {ActionTag} {PolicyName} {TenantDomain} {TenantId} {Payload} {UserName} - log_message
```
[2023-06-15 00:15:53,264] INFO - [UPDATE_POLICY] [passcodeios] [carbon.super] [-1234] [{"policyPayloadVersion":"2.0","id":33,"priorityId":1,"profile":{"profileId":33,"profileName":"passcodeios","tenantId":0,"deviceType":"ios","updatedDate":"Jun 15, 2023 12:15:53 AM","profileFeaturesList":[{"id":33,"featureCode":"PASSCODE_POLICY","profileId":0,"deviceType":"ios","content":"{\"forcePIN\":true,\"allowSimple\":true,\"requireAlphanumeric\":true,\"minLength\":7.0,\"minComplexChars\":4.0,\"pinHistory\":\"\"}","correctiveActions":[]}]},"policyName":"passcodeios","generic":false,"roles":["ANY"],"devices":[],"users":[],"active":false,"updated":false,"description":"test","compliance":"enforce","tenantId":-1234,"profileId":33,"policyType":"GENERAL"}] [admin] - Policy updated
[2023-06-15 00:34:38,980] INFO - [ADD_POLICY] [application management policy] [carbon.super] [-1234] [{"policyPayloadVersion":"2.0","id":65,"priorityId":0,"profile":{"profileId":65,"profileName":"application management policy","tenantId":0,"deviceType":"windows","createdDate":"Jun 15, 2023 12:34:38 AM","updatedDate":"Jun 15, 2023 12:34:38 AM","profileFeaturesList":[{"id":65,"featureCode":"ALLOW_ALL_TRUSTED_APPS","profileId":0,"deviceType":"windows","content":"{\"enabled\":true}","correctiveActions":[]},{"id":73,"featureCode":"RESTRICT_APP_TO_SYSTEM_VOLUME","profileId":0,"deviceType":"windows","content":"{\"enabled\":false}","correctiveActions":[]}]},"policyName":"application management policy","generic":false,"roles":["ANY"],"devices":[],"users":[],"active":false,"updated":false,"description":"test","compliance":"enforce","tenantId":-1234,"profileId":0,"policyType":"GENERAL"}] [admin] - Policy created
[2023-06-15 00:35:05,420] INFO - [DELETE_POLICY] [passcodeios] [carbon.super] [-1234] [{"policyPayloadVersion":"2.0","id":33,"priorityId":1,"profile":{"profileId":33,"profileName":"passcodeios","tenantId":-1234,"deviceType":"ios","createdDate":"Jun 13, 2023 10:24:30 PM","updatedDate":"Jun 15, 2023 12:15:53 AM","profileFeaturesList":[{"id":33,"featureCode":"PASSCODE_POLICY","profileId":33,"deviceType":"ios","content":"{\"forcePIN\":true,\"allowSimple\":true,\"requireAlphanumeric\":true,\"minLength\":7.0,\"minComplexChars\":4.0,\"pinHistory\":\"\"}","correctiveActions":[]}]},"policyName":"passcodeios","generic":false,"roles":["ANY"],"devices":[],"users":[],"active":false,"updated":true,"description":"test","compliance":"enforce","policyCriterias":[],"tenantId":-1234,"profileId":33,"deviceGroups":[],"policyType":"GENERAL"}] [admin] - Policy deleted
[2023-06-15 00:35:12,768] INFO - [UPDATE_POLICY_PRIORITIES] [] [carbon.super] [-1234] [[{"id":65,"priorityId":1,"generic":false,"active":false,"updated":false,"tenantId":0,"profileId":0},{"id":34,"priorityId":2,"generic":false,"active":false,"updated":false,"tenantId":0,"profileId":0}]] [admin] - Policy priorities updated
[2023-06-15 00:35:25,395] INFO - [PUBLISH_CHANGES] [] [carbon.super] [-1234] [] [admin] - Apply changes to device
```
**3. Device enrollment history events** - logs for device enrollment and dis-enrollment
Pattern :
{DateTime} {LogLevel} - {DeviceId} {DeviceType} {Owner} {Ownership} {TenantId} {TenantDomain} {UserName} - log_message
```
[2023-06-15 00:12:09,078] INFO - [97] [android] [admin] [BYOD] [-1234] [carbon.super] [admin] - Device enrolled successfully
[2023-06-15 00:47:36,278] INFO - [97] [android] [admin] [BYOD] [-1234] [carbon.super] [admin] - Device disenrolled successfully
```
**4. App install events** - logs for app installation and uninstallation
Pattern :
{DateTime} {LogLevel} - {AppId} {AppName} {AppType} {SubType} {Action} {Device} {TenantId} {TenantDomain} {UserName} - log_message
```
[2023-06-15 00:15:12,550] INFO - [1] [Calculator] [PUBLIC] [DEVICE] [install] [deviceId {id='675c60a9d31492d6', type='android'}] [-1234] [carbon.super] [admin] - App install triggered
[2023-06-15 00:46:24,454] INFO - [2] [Sololearn] [ENTERPRISE] [DEVICE] [install] [deviceId {id='675c60a9d31492d6', type='android'}] [-1234] [carbon.super] [admin] - App install triggered
[2023-06-15 00:46:40,498] INFO - [3] [Engineering] [WEB_CLIP] [DEVICE] [install] [deviceId {id='675c60a9d31492d6', type='android'}] [-1234] [carbon.super] [admin] - Web app install triggered
```
## Related PRs
* proprietary/product-uem#6
Co-authored-by: prathabanKavin <kavinprathaban025@gmail.com>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: #136
Co-authored-by: Kavin Prathaban <kavin@entgra.io>
Co-committed-by: Kavin Prathaban <kavin@entgra.io>
1 year ago
Thilina Sandaruwan
647d4fdb78
add rollback
1 year ago
Dharmakeerthi Lasantha
bfaeb1778f
Add JWT support
1 year ago
Thilina Sandaruwan
3722bfc761
add try with resources
1 year ago
Thilina Sandaruwan
e66c3dc6f6
add error log
1 year ago
Thilina Sandaruwan
00b107ee99
remove unnecessary variable, change error msg
1 year ago
Pasindu Rupasinghe
7dfcc0e33c
Get token separately for REST calls
...
Co-authored-by: Pasindu Rupasinghe <pasindu@entgra.io>
Co-committed-by: Pasindu Rupasinghe <pasindu@entgra.io>
1 year ago
Thilina Sandaruwan
bc2bccac84
remove unnecessary code lines
1 year ago
Thilina Sandaruwan
bb50717370
remove unnecessary imports, fixes line issues
1 year ago
Thilina Sandaruwan
67c529b0fa
fixes line issues
1 year ago
Thilina Sandaruwan
145740fec6
Add hierarchical grouping feature
1 year ago
Dharmakeerthi Lasantha
d40dccc240
Add improvements to token generation for devices
1 year ago
Dharmakeerthi Lasantha
253157ba1a
Merge branch 'apim420' of https://repository.entgra.net/community/device-mgt-core into apim420
1 year ago
Amalka Subasinghe
46ee81e78d
updated from master
1 year ago
Dharmakeerthi Lasantha
a09d72c33c
Add todo Comments
1 year ago
Thilina Sandaruwan
acd3039c65
pom.xml updated by pull
1 year ago
Pahansith Gunathilake
8c7412a2f9
Merge branch 'master' into search-10113
1 year ago
Gimhan Wijayawardana
a6a9e82c35
Update debug and error logs
2 years ago
Gimhan Wijayawardana
b58b8c931b
Implement DeleteDeviceLocation method for deleting location from a device
2 years ago
Amalka Subasinghe
541e517b46
updated from master branch
2 years ago
Amalka Subasinghe
3470c58705
updated apim420
2 years ago
Amalka Subasinghe
1bb571acde
fixing dependency issues when installing on apim420
2 years ago
Lasantha Dharmakeerthi
cebc3bf5d4
Fix issue with delete geofences with MSSQL db
2 years ago
osh
891e7972c8
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into search-10113
2 years ago
osh
96e3c3f0e0
Fix search by user
...
fixes https://roadmap.entgra.net/issues/10113
2 years ago
prathabanKavin
1fb777264d
Check for logged in tenant id
2 years ago
Sanjana Rajapakshe
c06fd22ecd
Add original app icons into single device app list and application restriction policy app list
...
Co-authored-by: Sanjana Rajapakshe <sanjana@entgra.io>
Co-committed-by: Sanjana Rajapakshe <sanjana@entgra.io>
2 years ago
Oshani Silva
2cf7cf8705
Add policy search functionality to API
...
Co-authored-by: Oshani Silva <oshani@entgra.io>
Co-committed-by: Oshani Silva <oshani@entgra.io>
2 years ago
prathabanKavin
bd5776947d
Fix issue with delete geofences with mssql db
2 years ago
prathabanKavin
79d49a0512
used try with resources
2 years ago
prathabanKavin
d49ab1c7f0
Fix create geofence issue with mssql db
2 years ago
Dharmakeerthi Lasantha
36f7d9ea9b
Sync with master
2 years ago
Dharmakeerthi Lasantha
713759f3f7
Update copyright
2 years ago
Amalka Subasinghe
073762c9db
updated versions for apim 420 and jdk 17
2 years ago
Pahansith Gunathilake
209f2b66c9
Add tenant based storing and loading SCEP certificates
2 years ago
inoshperera
1aafd53d3e
OTP for enrollment with Mutual TLS
...
Fixes https://roadmap.entgra.net/issues/10093
2 years ago
Lasantha Dharmakeerthi
19ce7d6fac
Add try it now feature ( #99 )
...
Co-authored-by: Dharmakeerthi Lasantha <tcdlpds@gmail.com>
Reviewed-on: #99
Co-authored-by: Lasantha Dharmakeerthi <lasantha@entgra.io>
Co-committed-by: Lasantha Dharmakeerthi <lasantha@entgra.io>
2 years ago
osh
2b72f4890b
Add by serial number in store
2 years ago
prathabanKavin
402e4e769d
Fix operation log timing incorrectness
2 years ago
osh
7d6cfaa3b1
Add fix for serial number search
...
fixes components/device-mgt/io.entgra.device.mgt.core.device.mgt.core/src/main/java/io/entgra/device/mgt/core/device/mgt/core/dao/impl/device/SQLServerDeviceDAOImpl.java
2 years ago
Kavin Prathaban
7688aa375d
Fix operation logs not loading with mssql
...
## Purpose
* Fixes https://roadmap.entgra.net/issues/10050
## Description
* Converting BIGINT to timestamp directly is not supported with MSSQL. Timestamp class is used for conversion.
Co-authored-by: prathabanKavin <kavinprathaban025@gmail.com>
Reviewed-on: #117
Co-authored-by: Kavin Prathaban <kavin@entgra.io>
Co-committed-by: Kavin Prathaban <kavin@entgra.io>
2 years ago
prathabanKavin
9bf0fa553a
Fix remote session not working with MSSQL
2 years ago
Amalka Subasinghe
0ef880eb3c
fix issues related to uem test failures
2 years ago
Amalka Subasinghe
951dde2a31
fixed build issues after restucturing
2 years ago
Amalka Subasinghe
1229f275f6
fixing issues after component refactoring
2 years ago
Amalka Subasinghe
61f8589113
refactored version variables, oauth extension component
2 years ago
Amalka Subasinghe
0bf534689f
refactiored device mgt components
2 years ago
Amalka Subasinghe
243a74da8c
refactored heart beat, notification logger, identity extensions component
2 years ago
Amalka Subasinghe
75309b8d96
refactored device-mgt extension component
2 years ago
Amalka Subasinghe
0bf6b3899e
refactored apimgt extension component
2 years ago
Amalka Subasinghe
d98abb1ddf
refactored application mgt component
2 years ago
Amalka Subasinghe
162507ac8b
refactored policy mgt component
2 years ago
Amalka Subasinghe
5d5980c720
refactored cert mgt component
2 years ago
Amalka Subasinghe
f0380076c1
refactored transport mgt component
2 years ago
Amalka Subasinghe
baf7661e9d
refactored task mgt component
2 years ago
Amalka Subasinghe
fa2056e9d6
fixed parent artifact id
2 years ago
Amalka Subasinghe
a71abaa6e9
change the group id
2 years ago
Kavin Prathaban
bd35583737
Fix device enrolment and syncing with MSSQL db
...
## Purpose
* Fixes https://roadmap.entgra.net/issues/9859
* Fixes https://roadmap.entgra.net/issues/9892
## Details
* Fix dbscripts to support events and events mapping
* Fix config operation implementation in MSSQL
Co-authored-by: prathabanKavin <kavinprathaban025@gmail.com>
Reviewed-on: #113
Co-authored-by: Kavin Prathaban <kavin@entgra.io>
Co-committed-by: Kavin Prathaban <kavin@entgra.io>
2 years ago
osh
f425a0c869
Fix cache issue when billing cache is enabled
2 years ago
Oshani Silva
d7d28b1879
Fix billing issues
...
Co-authored-by: Oshani Silva <oshani@entgra.io>
Co-committed-by: Oshani Silva <oshani@entgra.io>
2 years ago
builder
fa7ee67aed
[maven-release-plugin] prepare for next development iteration
2 years ago
builder
71007cc03c
[maven-release-plugin] prepare release v5.0.25
2 years ago
Kavin Prathaban
36bae5e3c1
Fix geofences not loading with MSSQL db ( #75 )
...
## Purpose
* Fixes https://roadmap.entgra.net/issues/9987
## Description
* Fix geofences page not loading when starting the pack with MSSQL databases.
Co-authored-by: prathabanKavin <kavinprathaban025@gmail.com>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: #75
Co-authored-by: Kavin Prathaban <kavin@entgra.io>
Co-committed-by: Kavin Prathaban <kavin@entgra.io>
2 years ago
Kavin Prathaban
27cceecd33
Fix device enrolment using MSSQL as database ( #72 )
...
## Purpose
* Fixes https://roadmap.entgra.net/issues/9859
## Description
* Fix device enrolment using MSSQL as database
* Fix test case failures of database engine getting a null value
Co-authored-by: prathabanKavin <kavinprathaban025@gmail.com>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: #72
Co-authored-by: Kavin Prathaban <kavin@entgra.io>
Co-committed-by: Kavin Prathaban <kavin@entgra.io>
2 years ago
Charitha Goonetilleke
7a2827e73a
Merge branch 'master' into master
2 years ago
Amalka Subasinghe
290dcf61ae
change format of device scope
2 years ago
Amalka Subasinghe
3b7544770d
avoid replacing _ in device types
2 years ago
Rajitha Kumara
e383f3b456
Refactor code
2 years ago
Rajitha Kumara
64d194bfea
add tenant-mgt module
2 years ago
builder
3238e78f0c
[maven-release-plugin] prepare for next development iteration
2 years ago
builder
6d43a16ab2
[maven-release-plugin] prepare release v5.0.24
2 years ago
shamalka
994f49db16
Add missing db scripts
2 years ago
builder
b75cabfce7
[maven-release-plugin] prepare for next development iteration
2 years ago
builder
c8e176c930
[maven-release-plugin] prepare release v5.0.23
2 years ago
Lasantha Dharmakeerthi
f06a27c46e
Add try it now feature ( #99 )
...
Co-authored-by: Dharmakeerthi Lasantha <tcdlpds@gmail.com>
Reviewed-on: #99
Co-authored-by: Lasantha Dharmakeerthi <lasantha@entgra.io>
Co-committed-by: Lasantha Dharmakeerthi <lasantha@entgra.io>
2 years ago
Lasantha Dharmakeerthi
63889f4e05
Fix default theme loading issue ( #98 )
...
Co-authored-by: Dharmakeerthi Lasantha <tcdlpds@gmail.com>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: #98
Co-authored-by: Lasantha Dharmakeerthi <lasantha@entgra.io>
Co-committed-by: Lasantha Dharmakeerthi <lasantha@entgra.io>
2 years ago
builder
dda5860e57
[maven-release-plugin] prepare for next development iteration
2 years ago
builder
abb66486d8
[maven-release-plugin] prepare release v5.0.22
2 years ago
Lasantha Dharmakeerthi
b53bfdf780
Add offset and limit when querying policies from DAO layer
2 years ago
Sanjana Rajapakshe
4d97a6ee14
Fix on API response messages ( #50 )
...
Co-authored-by: Thashmi-nil <nilupuleethash765@gmail.com>
Reviewed-on: #50
Co-authored-by: Sanjana Rajapakshe <sanjana@entgra.io>
Co-committed-by: Sanjana Rajapakshe <sanjana@entgra.io>
2 years ago
Shamalka Navod
fbbd07d262
Restructure Traccar integration on device management ( #81 )
...
Co-authored-by: shamalka <shamalkanavod95@gmail.com>
Reviewed-on: #81
Co-authored-by: Shamalka Navod <shamalka@entgra.io>
Co-committed-by: Shamalka Navod <shamalka@entgra.io>
2 years ago
navodzoysa
708d6be59d
Add offset and limit when querying policies from DAO layer
2 years ago
builder
f5ef8bafd6
[maven-release-plugin] prepare for next development iteration
2 years ago
builder
5720651046
[maven-release-plugin] prepare release v5.0.21
2 years ago
osh
95d4afbc3b
Fix PR comments
2 years ago
osh
ad7466ee1e
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into pr/feature/whitelabel
2 years ago
Thashmi-nil
19750486de
Add improvements
2 years ago
osh
35a09566e4
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into pr/feature/whitelabel
2 years ago
Amalka Subasinghe
766606f9f7
added analytics extension to persist event streams,receivers,publishers
2 years ago
osh
9b9defed19
Resolve conflicts
2 years ago
osh
c4e08362ff
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into self-guiding-ui-9939
2 years ago
osh
5275bb180e
Change config implementation
...
fixes https://roadmap.entgra.net/issues/9939
2 years ago
Charitha Goonetilleke
802922022b
Merge branch 'master' into master
2 years ago
osh
7747d7b425
Update status history path
2 years ago
osh
d2bc463284
Resolve comments
...
fixes http://roadmap.entgra.net/issues/9939
2 years ago
osh
0f28d318ed
Remove unwanted code
...
fixes http://roadmap.entgra.net/issues/9939
2 years ago
osh
6962e94d44
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into self-guiding-ui-9939
2 years ago
osh
f89e71d4bf
Reuse email implementation
...
fixes http://roadmap.entgra.net/issues/9939
2 years ago
Lasantha Dharmakeerthi
65c93aea81
Add improvements for chat feature
2 years ago
Thashmi-nil
3d8f704699
Add license
2 years ago
Amalka Subasinghe
4dac92b260
fixed adding operation and operation response paths with emqx integration
2 years ago
Thashmi-nil
798e851922
Add modifications
2 years ago
osh
24064b650b
Resolve conflict
2 years ago
Thashmi-nil
2d1879d1b6
Changes on reviews
2 years ago
Pramila Niroshan
7441e57d36
Refactor log context name
2 years ago
Pramila Niroshan
4005a9e8cb
User log context added
2 years ago
Pramila Niroshan
950f67da5f
Merge branch 'master' of ssh://repository.entgra.net:222/community/device-mgt-core into entgra-logger
...
# Conflicts:
# components/device-mgt/org.wso2.carbon.device.mgt.core/pom.xml
# pom.xml
2 years ago