Commit Graph

58 Commits

Author SHA1 Message Date
sblausten 307ade7499 Fix test and make fields optional
Signed-off-by: sblausten <sam@roadie.io>
2022-07-06 17:17:52 +02:00
sblausten 4f17e4eb55 Revert "Refactor"
This reverts commit 54f4eba561.

Signed-off-by: sblausten <sam@roadie.io>
2022-07-06 17:14:23 +02:00
sblausten 54f4eba561 Refactor
Signed-off-by: sblausten <sam@roadie.io>
2022-07-06 16:09:27 +02:00
sblausten bcc122c46d Api report and changelog
Signed-off-by: sblausten <sam@roadie.io>
2022-07-06 13:59:42 +02:00
github-actions[bot] c92deffe39 Version Packages (next) 2022-06-28 09:27:36 +00:00
github-actions[bot] 2231987c10 Version Packages (next) 2022-06-21 09:04:17 +00:00
github-actions[bot] 2e2a82c9d7 Version Packages 2022-06-14 09:12:05 +00:00
Jussi Hallila 989761315a Update API report.
Signed-off-by: Jussi Hallila <jussi@hallila.com>
2022-06-10 09:04:46 +02:00
Jussi Hallila aa15229ec3 Introduce additional JsonValue types to be storable as facts. This enables the possibility to store more complex objects for fact checking purposes. The rules engine supports walking keyed object values directly to create rules and checks
Modify facts database table to have a more restricted timestamp precision for cases where the postgres server isn't configured to contain such value. This fixes the issue where in some cases `maxItems` lifecycle condition didn't work as expected.

resolves #11595

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2022-06-10 08:36:53 +02:00
github-actions[bot] b844443164 Version Packages (next) 2022-06-03 15:01:16 +00:00
github-actions[bot] bcc563abe9 Version Packages (next) 2022-05-24 11:05:52 +00:00
github-actions[bot] 64a03bd946 Version Packages 2022-05-17 09:26:29 +00:00
github-actions[bot] c02ce52da1 Version Packages (next) 2022-05-10 08:00:04 +00:00
github-actions[bot] 55da880bf9 Version Packages (next) 2022-05-03 09:38:51 +00:00
Johan Haals a1da76d38e Merge pull request #11080 from ctrombley/feat/fact-retriever-token-managers
[TechInsights] Provide FactRetrievers with a TokenManager instance
2022-04-27 16:14:44 +02:00
Chris Trombley 58e2c46151 chore(tech-insights): update changelog
Signed-off-by: Chris Trombley <ctrombley@gmail.com>
2022-04-26 10:56:00 -07:00
Chris Trombley a50b6474a7 feat(tech-insights): make tokenManager available on FactRetrieverContext
Signed-off-by: Chris Trombley <ctrombley@gmail.com>
2022-04-26 10:56:00 -07:00
github-actions[bot] 1bff70d602 Version Packages (next) 2022-04-26 12:22:43 +00:00
github-actions[bot] 3f7acfb96e Version Packages 2022-04-19 14:28:08 +00:00
github-actions[bot] e6f3fb8575 Version Packages (next) 2022-03-29 08:42:22 +00:00
Phil Gore 231fee736b updating tasks and tech-insights to work together
Signed-off-by: Phil Gore <pgore@ea.com>
2022-03-22 14:48:17 +01:00
github-actions[bot] ad955c1b1b Version Packages (next) 2022-03-22 12:28:03 +00:00
github-actions[bot] 0bc1611d6e Version Packages 2022-03-17 09:02:30 +00:00
github-actions[bot] b6d947b67f Version Packages 2022-03-10 11:30:23 +00:00
github-actions[bot] 1693f2dc74 Version Packages (next) 2022-03-09 16:09:04 +00:00
Patrik Oldsberg 1f87e8a376 Merge pull request #10037 from backstage/rugvip/role-lint
cli: introduce role-based lint configuration setup
2022-03-08 09:27:19 +01:00
Patrik Oldsberg 09b37063f2 packages,plugins: migrate to new lint config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-07 14:53:43 +01:00
blam bf231ecc7f chore: updating api-report
Signed-off-by: blam <ben@blam.sh>
2022-03-07 10:15:54 +00:00
Fredrik Adelöw ed027b8b28 just fix some random ugly comments
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-04 16:59:57 +01:00
github-actions[bot] 3c8bb2854d Version Packages 2022-03-03 15:23:53 +00:00
github-actions[bot] c9da151d84 Version Packages 2022-02-24 13:54:37 +00:00
Patrik Oldsberg ba68ea4450 apply 0.68.1 fixes to master
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-18 11:30:15 +01:00
github-actions[bot] 408b0300cb Version Packages 2022-02-17 10:38:59 +00:00
Patrik Oldsberg 9892d74326 cli: renamed script commands to package
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-15 21:27:12 +01:00
Patrik Oldsberg 8f82d80adf migrate all package scripts
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:07 +01:00
Patrik Oldsberg bb5fcc3209 update all plugin package roles
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:05 +01:00
Patrik Oldsberg b521c1b83b detect all package roles
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:03 +01:00
github-actions[bot] e4791789d1 Version Packages 2022-02-10 11:06:33 +00:00
github-actions[bot] e74f416a00 Version Packages (next) 2022-02-08 19:38:17 +00:00
github-actions[bot] a12bb7b065 Version Packages 2022-02-03 09:42:25 +00:00
github-actions[bot] 51eecb3f03 Version Packages (next) 2022-02-02 14:28:47 +00:00
github-actions[bot] e1580cf73a Version Packages (next) 2022-02-01 08:53:29 +00:00
github-actions[bot] 406848efee Version Packages 2022-01-27 11:07:27 +00:00
github-actions[bot] 8b18d054f3 Version Packages 2022-01-20 10:33:31 +00:00
github-actions[bot] a94a2b8b3f Version Packages (next) 2022-01-18 13:49:07 +00:00
Fredrik Adelöw a1f9b4153e Merge pull request #8845 from RoadieHQ/fact-garbage-truck
[TechInsights] Add expiration configurations to fact retrievers
2022-01-17 16:22:46 +01:00
Jussi Hallila cd8bf7a4ab Add more breaking changes.
Update API reports.

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2022-01-13 16:34:22 +01:00
Jussi Hallila 28fd9bc603 Modify based on review comments.
Make it breaking change.

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2022-01-13 16:04:30 +01:00
github-actions[bot] b04011602b Version Packages 2022-01-13 14:23:13 +00:00
Jussi Hallila dfd5e81721 Adds a configuration option to fact retrievers to define lifecycle for facts the retriever persists. Possible values are either 'items-to-live' or 'time-to-live'. The former will only n number of items in to the database for each fact per entity. The latter will remove all facts that are older than the TTL value.
Possible values:
* { itl: 5 } // Deletes all facts for the retriever/entity pair, apart from the last five
* { ttl: 1209600000 } // (2 weeks) Deletes all facts older than 2 weeks for the retriever/entity pair
* { ttl: { weeks: 2 } } // Deletes all facts older than 2 weeks for the retriever/entity pair

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2022-01-13 13:52:28 +01:00