Loïc Mathieu
1d1a065833
fix(tests): lower termination grace period
...
If a test mis-behave, for ex starting an execution but not terminating it, as the default termination grace period is 5mn it can take very long time to wait for post-test terminaison.
Switching to a termination grace period of 5s may help.
I also detect that the ExecutionControllerRunner test when launching the test suite, would not properly kill the `sleep-long` flow so waiting for it to complete, or the termination grace period. When a test that use this flow is launched separatly it works properly. As a safety net I reduce the sleep from 5mn to 30s.
2025-11-19 11:58:06 +01:00
Florian Hussonnois
8f29a72df7
refactor: add GenericFlow to support un-typed flow deserialization
...
Add new FlowId, FlowInterface and GenericFlow classes to support
deserialization of flow with un-typed plugins (i.e., tasks, triggers)
in order to inject defaults prior to strongly-typed deserialization.
2025-04-07 17:32:06 +02:00
Ludovic DEHON
6e58b3fe18
refactor(core): move YamlFlowParser to YamlParser
...
since it's already able to handle all types with generic
2024-11-04 08:19:23 +01:00
Ludovic DEHON
3f500704a8
chore(core): remove remaining compilation warnings
2024-06-25 11:45:41 +02:00
Ludovic DEHON
1731205dcc
refactor(core): remove lots of compilation warnings
2024-06-24 09:57:41 +02:00
Ludovic DEHON
e9f8a8f3c2
feat(core): use a standard logger for unit test
2024-06-21 15:05:57 +02:00
Ludovic DEHON
bd5d5c5758
feat(core): move test utils to a proper package
2024-06-20 22:58:40 +02:00
brian-mulier-p
b15d2cf409
feat(memory): remove memory runner and introduce @KestraTest ( #3948 )
2024-06-12 19:17:57 +02:00
Ludovic DEHON
5fd7a2b3a3
feat(cicd): publish allure report
2024-06-08 22:39:14 +02:00
brian.mulier
ba9202092e
fix(tests): null-safe findByExecutionId in MemoryLogRepository
2024-06-03 22:34:04 +02:00
Florian Hussonnois
1729b66111
chore(core): enhance collectors service
2024-05-29 16:46:55 +02:00
brian.mulier
7f4c2bbc97
fix(core): add dry run importFlow in FlowService
2024-05-22 16:26:24 +02:00
brian.mulier
f904d6b5d4
feat(core): enhance FlowService and add findByNamespacePrefix
2024-05-17 19:35:33 +02:00
Loïc Mathieu
1c491f4740
fix(repository-memory): possible NPE in MemoryLogRepository.findByExecutionIdAndTaskId
2024-05-06 17:59:23 +02:00
Loïc Mathieu
f1147cb1d8
fix(core): Fetch task must check that it can access the flow
...
Fixes https://github.com/kestra-io/kestra-ee/issues/1024
2024-04-29 11:38:54 +02:00
Loïc Mathieu
4c9edca955
feat(core): allowed namespaces
2024-04-25 14:06:58 +02:00
Florian Hussonnois
4feb91c6fb
build(gradle): use gradle configurations for micronaut deps
2024-04-24 16:15:08 +02:00
YannC
65d7e7c949
feat: allow execution of a flow without flow read permission ( #3614 )
2024-04-24 15:29:42 +02:00
YannC
7869f24774
feat(webserver): resume/restart/replay new method to retrieve flow ( #3574 )
2024-04-18 09:40:58 +02:00
Loïc Mathieu
313ab2858f
feat(core): new trigger Toggle task
...
Fixes #2717
2024-03-25 15:02:19 +01:00
Florian Hussonnois
89573d6ece
feat(core): add task restart strategy on worker failure (#3343,#3351)
...
Changes:
- add new config 'kestra.server.workerTaskRestartStrategy'
- update default value for 'kestra.server.liveness.initialDelay' to match timeout
- fix schedule initial delay to 0
- cleanup javadoc
Fix : #3343
Fix : #3351
2024-03-25 10:56:52 +01:00
Florian Hussonnois
beee3c8a17
chore: update the ServiceInstanceRepositoryInterface
...
This commit add a service-type filter to the ServiceInstanceRepositoryInterface
2024-03-22 18:42:38 +01:00
Florian Hussonnois
4e810abef9
feat(core): enchance liveness core api to support metrics
...
This commit also removes the admin/service view
2024-03-22 09:51:32 +01:00
Florian Hussonnois
a63a829a5b
fix(core): fix missing random number generator algorithm
2024-03-18 19:35:11 +01:00
Florian Hussonnois
015659ae1b
feat(core): enhance Kestra services liveness mechanism
...
part-of: #3055
2024-03-18 17:11:00 +01:00
Ludovic DEHON
866dd547d9
feat(core): add charts by level on log view
2024-03-14 18:55:19 +01:00
brian.mulier
e13cf16d07
fix(ui): grayed-out triggers when disabled (in source or through API) in topology
...
closes #3048
2024-03-11 10:09:58 +01:00
Loïc Mathieu
36b7367ac0
feat(*): update execution labels
...
Fixes #2633
2024-02-20 10:06:54 +01:00
YannC
0f2c9be5b6
feat(): new backfill implementation ( #3019 )
...
* feat(): new backfill implementation
* fix(): review changes
* fix(ui): linting
2024-02-13 09:42:39 +01:00
Loïc Mathieu
d40fa7c4ee
feat(*): remove logId and delete log by query
2024-02-12 09:46:37 +01:00
YannC
6482a4f63a
feat(): new execution date property ( #2793 )
...
Co-authored-by: Ludovic DEHON <tchiot.ludo@gmail.com >
2024-02-09 09:09:32 +01:00
Loïc Mathieu
8205200308
feat: allow to delete flow execution logs
...
Fixes #3001
2024-02-08 10:07:59 +01:00
Florian Hussonnois
00147b02fa
feat(core): transmit kill to subflows ( #2220 )
...
Fixed : #2220
2024-02-08 10:01:36 +01:00
Ludovic DEHON
f49d6eddbf
feat(core): add a filter for child executions ( #2993 )
...
close kestra-io/kestra#2559
2024-02-07 00:16:38 +01:00
brian.mulier
6a827fe4df
feat(core): fetch last revision of a flow
...
part of #2953
2024-02-02 21:02:22 +01:00
Loïc Mathieu
e000b5876d
feat(*): Migrate from RxJava2 to Reactor
2024-01-29 16:05:24 +01:00
Loïc Mathieu
407c3fcb97
feat(*): upgrade to Micronaut 4.2.2 and all other libs
2024-01-29 16:05:24 +01:00
Loïc Mathieu
337f82fef9
feat(*): move to Jakarate EE
2024-01-29 16:05:24 +01:00
brian.mulier
fa1479e3e5
feat(core): usage per tenant
...
part of #2565
2024-01-26 18:45:34 +01:00
Loïc Mathieu
5cc33c90f3
fix(core): rename test application.yml to application-test.yml ( #2225 )
2024-01-15 11:07:11 +01:00
brian.mulier
5873f27875
feat(webserver): add export namespace files endpoint + support flow imports through create file endpoint
...
part of #2594
2023-12-11 16:48:01 +01:00
Ludovic DEHON
600e3f0044
fix(core): replace parentId filter to triggerExecutionId
2023-11-13 09:36:45 +01:00
Ludovic DEHON
233b98f159
feat(core): add a filter on parent execution id
2023-11-09 15:56:49 +01:00
Antoine Balliet
77b9a2298a
feat(ui): add last execution date & status per flow in flows view ( #2384 )
...
Co-authored-by: YannC <ycoornaert@kestra.io >
2023-11-08 22:29:00 +01:00
Loïc Mathieu
0dc270d6c2
feat(core): multi tenant ( #2217 )
2023-10-12 14:40:38 +02:00
YannC
6a38e7b46b
fix(ui): readonly deleted flow ( #2152 )
...
close #2012
close #2147
2023-09-26 09:50:17 +02:00
Loïc Mathieu
8c47569ad7
feat(core,jdbc,repository-memory,ui,webserver): allow filtering taskrun on label
2023-09-12 16:15:13 +02:00
Loïc Mathieu
b2fcf42fca
fix(core): labels as map failed on json endpoint ( #2049 )
...
close #2040
close #2037
2023-09-08 23:56:04 +02:00
Ludovic DEHON
88b11ddfb3
feat(core): deprecate template
...
close kestra-io/kestra#1907
2023-08-21 14:34:00 +02:00
Loïc Mathieu
30ac813409
fix: filter on label on the memory flow repository
2023-08-08 13:19:24 +02:00