Commit 0f9e783
committed
Squashed commit of the following:
commit 84dc0f8
Author: Sławomir Rosiek <[email protected]>
Date: Wed Oct 5 11:21:27 2022 +0200
Updated package-lock using npm6
commit 809fa7c
Author: Sławomir Rosiek <[email protected]>
Date: Tue Oct 4 12:42:33 2022 +0200
Added missing await
commit bcc0af5
Author: Sławomir Rosiek <[email protected]>
Date: Tue Oct 4 12:39:49 2022 +0200
Interface to store client secret
* Added interface + plain text implmentation to store client secret for fiware data target
* Removed clientSecret from response in data target controller
* Updating clientSecret only if new was provided
commit 3539b71
Author: Sławomir Rosiek <[email protected]>
Date: Tue Sep 27 13:16:33 2022 +0200
Refactored lambda to be named function
commit 07d3f0a
Author: Sławomir Rosiek <[email protected]>
Date: Tue Sep 27 10:34:23 2022 +0200
Added comment for retries
commit 8663114
Author: Sławomir Rosiek <[email protected]>
Date: Mon Sep 26 13:15:03 2022 +0200
Removing clientSecret from cache key
commit 2c4adc4
Author: Sławomir Rosiek <[email protected]>
Date: Mon Sep 26 13:06:30 2022 +0200
Renamed variable + added some note with explanation
commit c33cb6c
Author: Sławomir Rosiek <[email protected]>
Date: Mon Sep 26 13:01:27 2022 +0200
Rethrowing error
commit 891ff9e
Author: Sławomir Rosiek <[email protected]>
Date: Mon Sep 26 12:58:51 2022 +0200
Changed scope of the type + awaiting cache manager
commit c90ed06
Author: Sławomir Rosiek <[email protected]>
Date: Mon Sep 26 12:53:35 2022 +0200
Added clearing and retrying in case token is invalid
commit 1dc9c54
Author: Sławomir Rosiek <[email protected]>
Date: Thu Sep 22 11:13:32 2022 +0200
Refactored AuthenticationTokenProvider to use more common aproach for fetching access token
commit 339828d
Author: Sławomir Rosiek <[email protected]>
Date: Wed Sep 21 14:47:23 2022 +0200
Fixed import statement
commit 41f301d
Author: Sławomir Rosiek <[email protected]>
Date: Wed Sep 21 14:47:10 2022 +0200
Making optional properties nullable
commit ba62f2d
Author: Sławomir Rosiek <[email protected]>
Date: Wed Sep 21 14:14:40 2022 +0200
Fixed formatting for fiware-data-target.entity.ts
commit 9d04eda
Author: Sławomir Rosiek <[email protected]>
Date: Wed Sep 21 12:47:35 2022 +0200
Extracted AuthenticationTokenProvider to separate file
commit 5432e91
Author: Sławomir Rosiek <[email protected]>
Date: Wed Sep 21 12:35:57 2022 +0200
Simplified line
commit 58420c0
Author: Sławomir Rosiek <[email protected]>
Date: Thu Jul 21 08:18:09 2022 +0200
Improved logging
commit 2636827
Author: Sławomir Rosiek <[email protected]>
Date: Wed Jul 20 15:25:58 2022 +0200
Decresead clockSkew so it wont be same as default ttl of the token
commit 7512f34
Author: Sławomir Rosiek <[email protected]>
Date: Wed Jul 20 12:10:17 2022 +0200
Added extra logging
commit e1e00b5
Author: Sławomir Rosiek <[email protected]>
Date: Tue Jul 19 11:19:08 2022 +0200
Fixed logger name for AuthenticationTokenProvider
commit 9647cbb
Author: Sławomir Rosiek <[email protected]>
Date: Fri Jul 15 12:53:54 2022 +0200
Added more diagnostic
commit b61efae
Author: Sławomir Rosiek <[email protected]>
Date: Thu Jul 14 08:58:09 2022 +0200
Updated API to map OAuth autorization property
commit 02d4f5d
Author: Sławomir Rosiek <[email protected]>
Date: Tue Jul 5 14:53:34 2022 +0200
Extending FiWare module to support OAuth authorization.
Added new type of authentication OAuth that requires tokenUrl, clientId and clientSecret and using them to obtain a token and attaching it to request sent to FiWare1 parent 632a56c commit 0f9e783
File tree
12 files changed
+231
-37
lines changed- src
- entities
- dto
- enum
- interfaces
- helpers
- migration
- modules
- data-target
- device-management
- services/data-targets
12 files changed
+231
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
61 | 70 | | |
62 | 71 | | |
63 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
26 | 35 | | |
27 | | - | |
| 36 | + | |
28 | 37 | | |
29 | 38 | | |
30 | 39 | | |
31 | 40 | | |
32 | 41 | | |
33 | 42 | | |
34 | 43 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
39 | 49 | | |
40 | 50 | | |
41 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
42 | 56 | | |
43 | 57 | | |
44 | 58 | | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
9 | 23 | | |
10 | 24 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
0 commit comments