Commit Graph

1465 Commits

Author SHA1 Message Date
Dharmakeerthi Lasantha
342e201c4c Add improvements to APIM application creating logic 2023-06-20 09:39:49 +05:30
Pasindu Rupasinghe
cb2fb990e7 Get ApiApplicationInfo and access token into single object
Co-authored-by: Pasindu Rupasinghe <pasindu@entgra.io>
Co-committed-by: Pasindu Rupasinghe <pasindu@entgra.io>
2023-06-19 12:00:20 +00:00
pasindu
da1485d04f Fix getApplication method with Rest api calls 2023-06-19 08:02:41 +05:30
Dharmakeerthi Lasantha
bfaeb1778f Add JWT support 2023-06-16 08:03:11 +05:30
pasindu
43ef801ac3 Improvements in consumer rest apis 2023-06-15 10:28:22 +05:30
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>
2023-06-15 02:50:59 +00:00
Dharmakeerthi Lasantha
d40dccc240 Add improvements to token generation for devices 2023-06-14 12:37:10 +05:30
Dharmakeerthi Lasantha
1edaa8a2a5 Improve API key generating method 2023-06-13 08:48:22 +05:30
pasindu
7826e5c285 Fix key generation method 2023-06-13 07:32:32 +05:30
Dharmakeerthi Lasantha
730f3aaa07 Improve API publishing functionality 2023-06-13 04:06:04 +05:30
Dharmakeerthi Lasantha
840ba3755a Merge branch 'apim420' of https://repository.entgra.net/tcdlpds/device-mgt-core into apim420 2023-06-12 16:29:12 +05:30
Dharmakeerthi Lasantha
af17e4fa8e Improve APIM application key generate method 2023-06-12 16:27:38 +05:30
pasindu
3b8405e72e Fix version issues in REST APIs 2023-06-12 14:37:00 +05:30
Dharmakeerthi Lasantha
a09d72c33c Add todo Comments 2023-06-10 11:43:27 +05:30
Dharmakeerthi Lasantha
0927dfc835 sync with upstream 2023-06-09 14:44:08 +05:30
Dharmakeerthi Lasantha
f741df7c4b Add ToDos 2023-06-09 14:12:30 +05:30
Dharmakeerthi Lasantha
c227969a61 Improve the functionality 2023-06-09 05:06:01 +05:30
Dharmakeerthi Lasantha
189a572d31 Improve functionality 2023-06-09 04:51:05 +05:30
pasindu
94e1df617a Get apiApplication registration to single method and fix generateApplicationKeys 2023-06-09 03:07:42 +05:30
Dharmakeerthi Lasantha
d251253948 Improve application key generating functionality 2023-06-08 06:02:23 +05:30
pasindu
0e62245064 modify generateAndRetrieveApplicationKeys method 2023-06-07 23:24:13 +05:30
Dharmakeerthi Lasantha
6bf6adf2b5 Add API integration 2023-06-07 20:58:48 +05:30
pasindu
c53c8f3d63 minor fix 2023-06-07 10:43:34 +05:30
pasindu
45d98d5e49 Improve get all api method to accept header params 2023-06-07 07:57:18 +05:30
pasindu
a8d45ee41a Create methods for consumer api app creation and get details of app 2023-06-07 07:57:18 +05:30
pasindu
a513c13037 Improvements in consumer rest apis 2023-06-07 07:57:18 +05:30
Dharmakeerthi Lasantha
c46a459e6d Add Application key generating logic 2023-06-06 17:03:33 +05:30
Amalka Subasinghe
541e517b46 updated from master branch 2023-06-06 14:00:08 +05:30
Amalka Subasinghe
3470c58705 updated apim420 2023-06-06 12:44:48 +05:30
Amalka Subasinghe
1bb571acde fixing dependency issues when installing on apim420 2023-06-06 12:42:33 +05:30
Dharmakeerthi Lasantha
2d37dcb340 Add API app registering refactored code 2023-06-06 11:17:29 +05:30
Dharmakeerthi Lasantha
22f4da908f Add Consumer REST API integration 2023-06-01 17:13:51 +05:30
Pasindu Rupasinghe
c98237dc6f Implement service for consumer rest APIs
Co-authored-by: Pasindu Rupasinghe <pasindu@entgra.io>
Co-committed-by: Pasindu Rupasinghe <pasindu@entgra.io>
2023-06-01 09:50:58 +00:00
Dharmakeerthi Lasantha
c3d23c3cfa Merge branch 'master' of https://repository.entgra.net/community/device-mgt-core into apim420 2023-06-01 15:01:51 +05:30
Dharmakeerthi Lasantha
6e0fe2e26e Integrate with APIM dev-portal APIs 2023-06-01 08:52:26 +05:30
pasindu
1404f573e2 Make separate feature for apim rest api component 2023-05-30 16:27:41 +05:30
Dharmakeerthi Lasantha
36f7d9ea9b Sync with master 2023-05-28 23:54:31 +05:30
Dharmakeerthi Lasantha
713759f3f7 Update copyright 2023-05-26 23:58:39 +05:30
Amalka Subasinghe
073762c9db updated versions for apim 420 and jdk 17 2023-05-26 11:46:35 +05:30
pasindu
c5a7902386 Fix error message and minor fixes in loop and if condition 2023-05-25 16:50:43 +05:30
pasindu
014f95bd10 Rename API dto file and refactor 2023-05-25 14:04:24 +05:30
pasindu
b133f56965 Cleanup code base and fix getApiRevision method 2023-05-25 13:17:07 +05:30
pasindu
7246209bd8 Added licence header for newly added files 2023-05-25 12:55:25 +05:30
pasindu
a683bd7110 Fix API response 2023-05-25 12:49:14 +05:30
pasindu
cbb03d4d1f Minor fixes in api requests 2023-05-24 09:06:51 +05:30
pasindu
7e94f152ea Remove wild card imports 2023-05-24 09:06:51 +05:30
pasindu
65da984f66 Remove comented code lines 2023-05-24 09:06:51 +05:30
pasindu
a8cc35ef3d Fix apis 2023-05-24 09:06:51 +05:30
pasindu
c6b43cc794 Implment API layer for API publisher 2023-05-24 09:06:51 +05:30
pasindu
fa3c112a68 Implement on progress publisher api layer 2023-05-24 09:06:51 +05:30
pasindu
9ceb6cc0cf mend 2023-05-15 21:58:39 +05:30
pasindu
401c549f13 Fix SSL timeout issue in Rest client 2023-05-15 21:54:31 +05:30
Amalka Subasinghe
951dde2a31 fixed build issues after restucturing 2023-05-12 21:51:36 +05:30
Amalka Subasinghe
61f8589113 refactored version variables, oauth extension component 2023-05-11 14:38:47 +05:30
Amalka Subasinghe
0bf534689f refactiored device mgt components 2023-05-11 13:29:16 +05:30
Amalka Subasinghe
243a74da8c refactored heart beat, notification logger, identity extensions component 2023-05-11 12:30:03 +05:30
Amalka Subasinghe
0bf6b3899e refactored apimgt extension component 2023-05-11 11:33:09 +05:30
Amalka Subasinghe
5d5980c720 refactored cert mgt component 2023-05-11 09:51:57 +05:30
Amalka Subasinghe
fa2056e9d6 fixed parent artifact id 2023-05-10 11:56:29 +05:30
Amalka Subasinghe
a71abaa6e9 change the group id 2023-05-10 11:53:11 +05:30
pasindu
bb325f7c46 Remove wild card imports 2023-04-27 09:32:04 +05:30
pasindu
6b6b303d87 Create interface for Publlisher rest api services 2023-04-26 23:38:32 +05:30
pasindu
455917f21e Implement method for Https ssl trustmanager and improve exception 2023-04-26 20:43:16 +05:30
pasindu
eb11036b6c Change version snd remove unwanted dependencies 2023-04-26 11:52:36 +05:30
pasindu
2ca425819e Get hardcoded values as constats and fix exception error handling 2023-04-26 09:28:54 +05:30
pasindu
ba5effbf65 Remove unwanted dependencies and minor fixes 2023-04-26 09:28:53 +05:30
pasindu
9ced84a2df Fix scope id issue 2023-04-26 09:28:53 +05:30
pasindu
50fbb5120a Minor fixes 2023-04-26 09:28:53 +05:30
pasindu
07c157e9d6 Fix URL Generation, Make feature, Refactor the module 2023-04-26 09:28:53 +05:30
pasindu
34ae40e233 Code format fixes 2023-04-26 09:28:53 +05:30
pasindu
aab94d8fdd Implement get scopesID API call and rename the module 2023-04-26 09:28:53 +05:30
pasindu
e920df6da3 Minor changes 2023-04-26 09:28:53 +05:30
pasindu
0d70576401 change http client to okhttp 2023-04-26 09:28:53 +05:30
pasindu
f1120baec3 Implement exception handling 2023-04-26 09:28:53 +05:30
pasindu
8e4998ede8 Test okhttp 2023-04-26 09:28:53 +05:30
pasindu
a9bb2fcb93 Use apache http client 2023-04-26 09:28:53 +05:30
pasindu
ac834d0359 Automated api calls with http client 2023-04-26 09:28:53 +05:30
builder
fa7ee67aed [maven-release-plugin] prepare for next development iteration 2023-04-26 09:20:38 +05:30
builder
71007cc03c [maven-release-plugin] prepare release v5.0.25 2023-04-26 09:20:33 +05:30
Sasini Sandamali
7324acb8d3 Add API doc while publishing APIs (#79)
Co-authored-by: Sasini_Sandamali <sasini@entgra.io>
Co-authored-by: Pahansith Gunathilake <pahansith@entgra.io>
Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/79
Co-authored-by: Sasini Sandamali <sasini@entgra.io>
Co-committed-by: Sasini Sandamali <sasini@entgra.io>
2023-04-25 08:15:47 +00:00
builder
3238e78f0c [maven-release-plugin] prepare for next development iteration 2023-04-11 21:09:57 +05:30
builder
6d43a16ab2 [maven-release-plugin] prepare release v5.0.24 2023-04-11 21:09:47 +05:30
builder
b75cabfce7 [maven-release-plugin] prepare for next development iteration 2023-04-10 21:20:03 +05:30
builder
c8e176c930 [maven-release-plugin] prepare release v5.0.23 2023-04-10 21:19:54 +05:30
builder
dda5860e57 [maven-release-plugin] prepare for next development iteration 2023-04-07 15:33:50 +05:30
builder
abb66486d8 [maven-release-plugin] prepare release v5.0.22 2023-04-07 15:33:43 +05:30
ebc0f532f6 Merge branch 'master' into fix/qr-gen 2023-04-07 09:45:58 +00:00
builder
f5ef8bafd6 [maven-release-plugin] prepare for next development iteration 2023-04-04 11:40:46 +05:30
builder
5720651046 [maven-release-plugin] prepare release v5.0.21 2023-04-04 11:40:39 +05:30
Amalka Subasinghe
5da3df3984 fixed template location 2023-03-29 22:56:22 +05:30
Amalka Subasinghe
766606f9f7 added analytics extension to persist event streams,receivers,publishers 2023-03-29 22:50:08 +05:30
Amalka Subasinghe
6c1b224b89 fixing formatting and licence headers 2023-03-18 12:32:34 +05:30
Amalka Subasinghe
bf8efa35a7 updated keymgt extensions to support validity period 2023-03-18 01:45:17 +05:30
builder
4d8d4bdcf7 [maven-release-plugin] prepare for next development iteration 2023-03-17 17:23:59 +05:30
builder
1b363c0978 [maven-release-plugin] prepare release v5.0.20 2023-03-17 17:23:51 +05:30
builder
2d56b0ea9a [maven-release-plugin] prepare for next development iteration 2023-02-16 21:01:29 +05:30
builder
73d17e61a8 [maven-release-plugin] prepare release v5.0.19 2023-02-16 21:01:22 +05:30
builder
d715609b53 [maven-release-plugin] prepare for next development iteration 2023-02-11 23:48:28 +05:30
builder
0beeedef43 [maven-release-plugin] prepare release v5.0.18 2023-02-11 23:48:21 +05:30
builder
9f724eeffb [maven-release-plugin] prepare for next development iteration 2023-02-09 22:41:22 +05:30
builder
50bc5560f8 [maven-release-plugin] prepare release v5.0.17 2023-02-09 22:41:16 +05:30
builder
071b9486bb [maven-release-plugin] prepare for next development iteration 2023-01-27 19:20:14 +05:30
builder
cf305362b4 [maven-release-plugin] prepare release v5.0.16 2023-01-27 19:20:08 +05:30
Vigneshan
338e15f563 Handle null values while fetching default savings goal of users 2022-12-21 10:11:34 +00:00
builder
1b2bddb167 [maven-release-plugin] prepare for next development iteration 2022-12-17 11:54:16 +05:30
builder
fb4e20490a [maven-release-plugin] prepare release v5.0.15 2022-12-17 11:54:10 +05:30
builder
9d3e5fbc3a [maven-release-plugin] prepare for next development iteration 2022-11-25 18:02:39 +05:30
builder
744881d21e [maven-release-plugin] prepare release v5.0.14 2022-11-25 18:02:07 +05:30
Vigneshan
1ac460a4fe Fix signature validation issue for jwt token requests 2022-11-23 15:14:24 +00:00
Vigneshan
65d18fd037 Fix invalid admin credentials issue in token endpoint 2022-11-23 09:01:25 +00:00
navodzoysa
a78da4a4a9 Fix build failure 2022-11-23 12:12:10 +05:30
Vigneshan
d28edf1b88 Modify password and client_credentials grant handling 2022-11-22 16:32:49 +00:00
Vigneshan
5693977b01 Update token api success response status code 2022-11-21 15:12:30 +00:00
Vigneshan
dd553a2326 Improve error handling for token endpoint 2022-11-17 20:47:42 +00:00
builder
b18ddfedce [maven-release-plugin] prepare for next development iteration 2022-11-15 09:29:05 +05:30
builder
ec8d08ca63 [maven-release-plugin] prepare release v5.0.13 2022-11-15 09:29:00 +05:30
Vigneshan
0d43e7d6aa Fix dcr and token endpoint related issues 2022-11-14 14:12:58 +00:00
builder
b9f2bf9246 [maven-release-plugin] prepare for next development iteration 2022-11-11 01:43:26 +05:30
builder
8f610eea63 [maven-release-plugin] prepare release v5.0.12 2022-11-11 01:42:41 +05:30
builder
223637c887 [maven-release-plugin] prepare for next development iteration 2022-09-14 20:25:10 +05:30
builder
b7311af447 [maven-release-plugin] prepare release v5.0.11 2022-09-14 20:25:02 +05:30
Amalka Subasinghe
5f1271db93 Fixes related to publishing ws api and routing requests 2022-09-12 06:03:21 +00:00
Vigneshan
638c6b12c9 Fix cross-tenant api subscription issue 2022-07-23 17:13:11 +05:30
builder
3c9fc68619 [maven-release-plugin] prepare for next development iteration 2022-07-18 23:07:51 +05:30
builder
0b4fe08847 [maven-release-plugin] prepare release v5.0.10 2022-07-18 23:07:47 +05:30
Vigneshan
ebc5f5de31 Implement multi-tenant api publishing 2022-07-15 11:10:47 +05:30
builder
0290758c25 [maven-release-plugin] prepare for next development iteration 2022-07-12 01:22:56 +05:30
builder
790ab62b34 [maven-release-plugin] prepare release v5.0.9 2022-07-12 01:22:51 +05:30
builder
7f96ce3c33 [maven-release-plugin] prepare for next development iteration 2022-06-27 19:20:21 +05:30
builder
e851e21bcd [maven-release-plugin] prepare release v5.0.8 2022-06-27 19:19:48 +05:30
Pahansith Gunathilake
7a250b9d11 Fix issue in parsing pom.xml in APIM keymgt module 2022-05-09 23:45:42 +05:30
Vigneshan
2e8d1fabf0 Implement api keymgt extension 2022-05-02 11:34:45 +05:30
builder
817dc57862 [maven-release-plugin] prepare for next development iteration 2022-04-26 06:12:00 +00:00
builder
7196d2daea [maven-release-plugin] prepare release v5.0.6 2022-04-26 06:11:55 +00:00
inoshperera
f233f3d916 Fix API access issues under child tenant
fixes https://gitlab.com/entgra/product-iots/-/issues/1290
2022-04-14 13:24:04 +05:30
builder
946a12b84d [maven-release-plugin] prepare for next development iteration 2022-03-22 12:54:48 +00:00
builder
f55ffbb19a [maven-release-plugin] prepare release v5.0.5 2022-03-22 12:54:43 +00:00
builder
39216aa651 [maven-release-plugin] prepare for next development iteration 2022-03-18 03:48:22 +00:00
builder
8deff13edd [maven-release-plugin] prepare release v5.0.4 2022-03-18 03:48:17 +00:00
inoshperera
51cd59f436 Generate QR with access token for given user
fixes https://gitlab.com/entgra/product-iots/-/issues/1277
2022-03-10 16:33:09 +05:30
builder
96e4aa8436 [maven-release-plugin] prepare for next development iteration 2022-03-05 04:37:48 +00:00
builder
739266feca [maven-release-plugin] prepare release v5.0.3 2022-03-05 04:37:42 +00:00
builder
06560d24d4 [maven-release-plugin] prepare for next development iteration 2022-01-24 08:29:39 +00:00
builder
2784633dd6 [maven-release-plugin] prepare release v5.0.2 2022-01-24 08:29:35 +00:00
builder
1896199698 [maven-release-plugin] prepare for next development iteration 2022-01-24 04:04:22 +00:00
builder
a765f780f0 [maven-release-plugin] prepare release v5.0.1 2022-01-24 04:04:17 +00:00
builder
ef558458a0 [maven-release-plugin] prepare for next development iteration 2022-01-18 03:25:27 +00:00
builder
8e191e75a6 [maven-release-plugin] prepare release v5.0.0 2022-01-18 03:25:22 +00:00
builder
d7ccaa559b [maven-release-plugin] prepare for next development iteration 2021-12-04 17:57:16 +00:00
builder
907fb825ea [maven-release-plugin] prepare release v5.0.0 2021-12-04 17:57:11 +00:00
Pahansith Gunathilake
ee0a1007eb Merge branch 'french-translation' into 'master'
Add access_token grant type

See merge request entgra/carbon-device-mgt!830
2021-12-04 17:09:12 +00:00
inoshperera
0bdd314cb8 Add access_token grant type
fixes https://gitlab.com/entgra/product-iots/-/issues/1178
2021-12-04 15:14:15 +05:30
Amalka Subasinghe
fbc255b7a8 removed unwanted todos 2021-11-30 11:58:42 +05:30
builder
216e47b429 [maven-release-plugin] prepare for next development iteration 2021-10-05 15:14:34 +00:00
builder
5c2dc99b09 [maven-release-plugin] prepare release v5.0.0 2021-10-05 15:14:29 +00:00
Pahansith Gunathilake
26fb28efd9 Merge branch 'k-46x-test-fix-2' into 'kernel-4.6.x'
Fix test cases kernel-4.6.x

See merge request entgra/carbon-device-mgt!800
2021-10-03 15:49:38 +00:00
Pahansith Gunathilake
f22fc7e460 Fix test cases kernel-4.6.x 2021-10-03 15:49:37 +00:00
Amalka Subasinghe
7bb616075a fixed issue in updating apis 2021-10-01 11:03:40 +05:30
Amalka Subasinghe
de963fa01b updating existing shared scope not required 2021-09-24 15:38:07 +05:30
Amalka Subasinghe
a031579b80 fixed gw, km, iot, apim urls 2021-09-15 15:12:10 +05:30
Amalka Subasinghe
4203226aa5 fixed tenant enrol issue 2021-08-24 15:08:38 +05:30
Amalka Subasinghe
94dd33ffa5 scope-role-permission refactoring and webapp authorization 2021-06-26 13:45:27 +05:30
Amalka Subasinghe
293b5f5a7b updated pom versions to 5.0.0-SNAPSHOT 2021-06-08 12:15:48 +05:30
Amalka Subasinghe
0162753d6a Fixed SSO 2021-05-19 11:16:22 +05:30
Amalka Subasinghe
a12be72a13 updated to kernel 4.6.2 2021-05-14 10:34:41 +05:30
Amalka Subasinghe
3ea79ecf77 cleaned up components/apimgt-extensions 2021-05-10 10:51:19 +05:30
Amalka Subasinghe
c33e13b04c updating to kernel 4.6.1 2021-05-10 09:41:45 +05:30
inoshperera
4116b7776b Add enterprise API tag to allowed tags 2021-03-27 16:21:06 +05:30
inoshperera
24fad779de Add token expiry time to QR payload 2021-03-16 08:26:05 +05:30
Entgra Builder
feacd5029d [maven-release-plugin] prepare for next development iteration 2021-03-03 13:54:32 +00:00
Entgra Builder
09907233fc [maven-release-plugin] prepare release v4.1.15 2021-03-03 13:54:27 +00:00
Entgra Builder
ddab435548 [maven-release-plugin] prepare for next development iteration 2021-02-23 16:02:44 +00:00
Entgra Builder
5b2c085a3e [maven-release-plugin] prepare release v4.1.14 2021-02-23 16:02:39 +00:00
Entgra Builder
ca7ded79cb [maven-release-plugin] prepare for next development iteration 2021-02-23 02:24:25 +00:00
Entgra Builder
368bb74436 [maven-release-plugin] prepare release v4.1.13 2021-02-23 02:24:20 +00:00
Entgra Builder
7463aa6e5a [maven-release-plugin] prepare for next development iteration 2021-02-22 02:16:58 +00:00
Entgra Builder
531672de8e [maven-release-plugin] prepare release v4.1.12 2021-02-22 02:16:53 +00:00
Saad Sahibjan
0ad203e720 Add transport_management tag 2021-02-16 19:00:00 +05:30
Saad Sahibjan
b3919ae4e9 Add sms_management tag to allowed tag list for application register 2021-02-15 22:12:34 +05:30
Entgra Builder
62919fa787 [maven-release-plugin] prepare for next development iteration 2021-02-11 08:09:07 +00:00
Entgra Builder
b98d787367 [maven-release-plugin] prepare release v4.1.11 2021-02-11 08:09:02 +00:00
tcdlpds@gmail.com
7333329e78 Add access token retrieving service 2021-01-19 11:25:42 +05:30
Ace
f40f8d02e0 Adding operation partitioning functionality 2020-11-15 22:56:10 +05:30
tcdlpds@gmail.com
0d48f9d38c Improve One Time Token Authenticator 2020-07-30 03:06:57 +05:30
inoshperera
160c463672 Add token validation with one time token
This is to validate one time tokens in the APIM handlers and in the valve
2020-07-26 23:05:01 +05:30
Entgra Builder
a9a39a5055 [maven-release-plugin] prepare for next development iteration 2020-06-22 10:06:05 +00:00
Entgra Builder
f34bddff2f [maven-release-plugin] prepare release v4.1.10 2020-06-22 10:05:57 +00:00
Entgra Builder
5660ff5876 [maven-release-plugin] prepare for next development iteration 2020-06-04 09:58:55 +00:00
Entgra Builder
688de9214d [maven-release-plugin] prepare release v4.1.9 2020-06-04 09:58:49 +00:00
Entgra Builder
df2256ac44 [maven-release-plugin] prepare for next development iteration 2020-05-24 03:05:29 +00:00
Entgra Builder
2788259974 [maven-release-plugin] prepare release v4.1.8 2020-05-24 03:05:24 +00:00
Entgra Builder
186e9cb216 [maven-release-plugin] prepare for next development iteration 2020-05-22 13:35:45 +00:00
Entgra Builder
5347dd9211 [maven-release-plugin] prepare release v4.1.7 2020-05-22 13:35:39 +00:00
Charitha Goonetilleke
be705ce81b Performance improvements 2020-05-06 06:19:45 +00:00
tcdlpds@gmail.com
f4ace5027f Improve dependency usage and source code 2020-04-22 20:32:25 +05:30
charitha
4454ef26de Performance improvements 2020-03-29 21:44:15 +05:30
charitha
82370f0570 Performance improvements 2020-02-28 14:15:29 +05:30
charitha
e5a1c734e6 Revert "Fix login issue with user other than super admin just after starting the pack"
This reverts commit b699cae1
2020-01-22 13:16:33 +05:30
charitha
b699cae11e Fix login issue with user other than super admin just after starting the pack 2020-01-22 10:48:23 +05:30
milanperera
a7b00c7a08 Fix ios-agent authentication issue 2019-12-20 19:54:44 +05:30