Commit 25b36d4
Fix deltas order race submission condition for remote entities (#59)
* refactor: extract NewPluginInfo
* refactor: readability
* refactor: rename pluginIDMap to pluginSource2Info
* refactor: remove unrequired code
* fix: replace MostRecentID with MostRecentIDs indexed by entity-key
* docs: NewPluginInfo docblock
* privatise newPluginInfo
* refactor: improve TestReadDeltas
* test: ReadDeltas on same plugin with multiple entities got their ID increased independently
* refactor: simplify conditional
* refactor: simplify conditional
* remove first_archive_id
obsolete dead code
* refactor: guard clause
* refactor: rename nextIDMap to plugins
it was used for more stuff than next id
* docs: platform behaviour comments
* refactor: extract reconciliateWithBackend
* refactor: use available var
* refactor: reorg arguments
* refactor: simplify conditional
* refactor: rename method receivers
* refactor: readability
* docs: comments
* refactor: readability
* docs: comments
* refactor: readability
* refactor: readability
* docs: comments
* extract entities data per plugin into own struct map
* refactor: consistent names
* docs: docblocks
* Polish root folder (#24)
* Move win_build to build folder
* Move infra_build to build
* Move Dockerfile into build
* Move external_content to assets
Co-authored-by: Juan Hernandez <[email protected]>
Co-authored-by: Carlos <[email protected]>
* feat: Added makefiles used to build Docker containers of the agent (#54)
* feat: added ability to build infra agent container locally
* ci: added build job for Linx agent container
* Missing copyrights
* Fix vendor dependency direct type (#56)
* refactor: replace map with array
Co-authored-by: Carlos <[email protected]>1 parent 2914830 commit 25b36d4
File tree
8 files changed
+578
-479
lines changed- internal/agent
- delta
- pkg/backend/inventoryapi
- test/core
8 files changed
+578
-479
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
6 | 12 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
13 | 23 | | |
14 | 24 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 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 | + | |
18 | 77 | | |
19 | 78 | | |
20 | | - | |
| 79 | + | |
| 80 | + | |
21 | 81 | | |
22 | 82 | | |
23 | | - | |
24 | | - | |
| 83 | + | |
| 84 | + | |
25 | 85 | | |
0 commit comments