Repository navigation
Commit cd57aa6
authored
feat(analytics): result envelope, chart gating, param binders, manifest fields (ISSUE-138/139/140/149) (odpi#453)
* docs(issues): log ISSUE-148 (AssetMaker action queries default to IN_PROGRESS, dropping journal entries)
Reported by the egeria-workspaces-fs session.
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
* fix(asset-maker): default activity_status_list to None (no filter) (ISSUE-148)
Seven AssetMaker action/process queries (find_processes,
get_processes_by_category, get_action_targets,
get_actions_for_action_target, get_assigned_actions,
get_actions_for_sponsor, get_actions_for_requester) defaulted to
["IN_PROGRESS"], which silently dropped journal entries and every
finished action. _async_find_processes defaulted to [] while its sync
wrapper used ["IN_PROGRESS"], so the two disagreed. All 14 signatures
now default to None.
Behaviour change: callers that want only in-progress actions must pass
["IN_PROGRESS"] explicitly. No known caller relies on the old default
(checked with the egeria-workspaces-fs and trellis sessions). Noted for
the 6.2.3 release notes in BACKLOG.md.
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
* docs(issues): log ISSUE-149/150 (analytic manifest fields, Analytic Function Dr.Egeria family); 137/141 shipped in 6.2.2
Handed off by the Resource Explorer PR/CI session on the owner's
instruction, from trellis' analytic walking-skeleton brief. A1-A5 of
the handoff were already logged as ISSUE-137..141 (137 and 141 are
fixed and released in 6.2.2).
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
* docs(issues): record ISSUE-149 design answers from the RE handoff
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
* docs(issues): log ISSUE-151 (get_engine_actions calls a View Server path that doesn't exist)
Reported by the RE PR/CI session; confirmed from AutomatedCurationResource
and a read-only live check. find_engine_actions("*") is the working route.
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
* fix(automated-curation): remove get_engine_actions; no View Server endpoint (ISSUE-151)
get_engine_actions posted to automated-curation/engine-actions, which
AutomatedCurationResource does not map, so it always failed with a 404
(reported as "unable to connect"). EngineAction is an Asset in 6.2, so
find_engine_actions("*") is the list-all; print_engine_actions now uses
it. No callers outside egeria-python (checked egeria-workspaces-fs and
trellis). API removal noted for the 6.2.3 release notes.
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
* feat(analytics): result envelope, chart gating, param binders, manifest fields (ISSUE-138/139/140/149)
Requested by trellis-analytics (the Analytic Library walking skeleton):
- ISSUE-149: AnalyticFunctionSpec gains optional kind (routine|step),
source (open str; unknown values warn), version, envelope,
annotation_type, resource_types, family and tags. Existing entries
and trellis's manifest subclasses validate unchanged.
- ISSUE-139: the executor reads a result's state envelope (several
carrier shapes) and returns it on every analytic output; charts get
it as a subtitle.
- ISSUE-140: with an envelope, SERIES/BAR/PIE draw a chart only when
the state is measured; otherwise the data and the state come back.
- ISSUE-138: ActionParameter.analytic_binders builds a non-JSON
argument (e.g. a reader) from call params via a named factory, so a
routine can be named by its own dotted path.
Results without an envelope behave exactly as before.
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
* fix(analytics): chart nothing_found as well as measured (ISSUE-140)
nothing_found is an established answer (a real zero), so a chart of
zeros is honest; only not_established / not_applicable, whose numbers
are unknown, are never charted. Requested by the RE PR/CI session for
trellis-analytics, whose tile already charts nothing_found.
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
* docs(issues): rewrite ISSUE-150 with the agreed direction
Declaration as a GovernanceActionType that Resource Explorer runs as an
engine host (async, recorded by Egeria); synchronous in-process runs for
screens and reports bypass Egeria and are not recorded.
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
* docs(issues): ISSUE-150 - RE engine-host answers and the Dr.Egeria gaps they expose
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
* docs(issues): ISSUE-150 - three requirements from RE's design session
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
---------
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>1 parent 0d0d553 commit cd57aa6
13 files changed
Lines changed: 727 additions & 192 deletions
File tree
- docs
- pyegeria
- omvs
- view
- tests
- functional-tests
- micro-tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
957 | 957 | | |
958 | 958 | | |
959 | 959 | | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
960 | 978 | | |
961 | 979 | | |
962 | 980 | | |
963 | 981 | | |
964 | 982 | | |
965 | 983 | | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
966 | 994 | | |
967 | 995 | | |
968 | 996 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3781 | 3781 | | |
3782 | 3782 | | |
3783 | 3783 | | |
3784 | | - | |
| 3784 | + | |
3785 | 3785 | | |
3786 | 3786 | | |
3787 | 3787 | | |
| |||
3814 | 3814 | | |
3815 | 3815 | | |
3816 | 3816 | | |
3817 | | - | |
| 3817 | + | |
3818 | 3818 | | |
3819 | 3819 | | |
3820 | 3820 | | |
| |||
3881 | 3881 | | |
3882 | 3882 | | |
3883 | 3883 | | |
3884 | | - | |
| 3884 | + | |
3885 | 3885 | | |
3886 | 3886 | | |
3887 | 3887 | | |
| |||
3914 | 3914 | | |
3915 | 3915 | | |
3916 | 3916 | | |
3917 | | - | |
| 3917 | + | |
3918 | 3918 | | |
3919 | 3919 | | |
3920 | 3920 | | |
| |||
3988 | 3988 | | |
3989 | 3989 | | |
3990 | 3990 | | |
3991 | | - | |
| 3991 | + | |
3992 | 3992 | | |
3993 | 3993 | | |
3994 | 3994 | | |
| |||
4003 | 4003 | | |
4004 | 4004 | | |
4005 | 4005 | | |
4006 | | - | |
| 4006 | + | |
4007 | 4007 | | |
4008 | 4008 | | |
4009 | 4009 | | |
| |||
4048 | 4048 | | |
4049 | 4049 | | |
4050 | 4050 | | |
4051 | | - | |
| 4051 | + | |
4052 | 4052 | | |
4053 | 4053 | | |
4054 | 4054 | | |
| |||
4064 | 4064 | | |
4065 | 4065 | | |
4066 | 4066 | | |
4067 | | - | |
| 4067 | + | |
4068 | 4068 | | |
4069 | 4069 | | |
4070 | 4070 | | |
| |||
4526 | 4526 | | |
4527 | 4527 | | |
4528 | 4528 | | |
4529 | | - | |
| 4529 | + | |
4530 | 4530 | | |
4531 | 4531 | | |
4532 | 4532 | | |
| |||
4544 | 4544 | | |
4545 | 4545 | | |
4546 | 4546 | | |
4547 | | - | |
| 4547 | + | |
4548 | 4548 | | |
4549 | 4549 | | |
4550 | 4550 | | |
| |||
4577 | 4577 | | |
4578 | 4578 | | |
4579 | 4579 | | |
4580 | | - | |
| 4580 | + | |
4581 | 4581 | | |
4582 | 4582 | | |
4583 | 4583 | | |
| |||
4595 | 4595 | | |
4596 | 4596 | | |
4597 | 4597 | | |
4598 | | - | |
| 4598 | + | |
4599 | 4599 | | |
4600 | 4600 | | |
4601 | 4601 | | |
| |||
4641 | 4641 | | |
4642 | 4642 | | |
4643 | 4643 | | |
4644 | | - | |
| 4644 | + | |
4645 | 4645 | | |
4646 | 4646 | | |
4647 | 4647 | | |
| |||
4659 | 4659 | | |
4660 | 4660 | | |
4661 | 4661 | | |
4662 | | - | |
| 4662 | + | |
4663 | 4663 | | |
4664 | 4664 | | |
4665 | 4665 | | |
| |||
4692 | 4692 | | |
4693 | 4693 | | |
4694 | 4694 | | |
4695 | | - | |
| 4695 | + | |
4696 | 4696 | | |
4697 | 4697 | | |
4698 | 4698 | | |
| |||
4710 | 4710 | | |
4711 | 4711 | | |
4712 | 4712 | | |
4713 | | - | |
| 4713 | + | |
4714 | 4714 | | |
4715 | 4715 | | |
4716 | 4716 | | |
| |||
4925 | 4925 | | |
4926 | 4926 | | |
4927 | 4927 | | |
4928 | | - | |
| 4928 | + | |
4929 | 4929 | | |
4930 | 4930 | | |
4931 | 4931 | | |
| |||
4943 | 4943 | | |
4944 | 4944 | | |
4945 | 4945 | | |
4946 | | - | |
| 4946 | + | |
4947 | 4947 | | |
4948 | 4948 | | |
4949 | 4949 | | |
| |||
4976 | 4976 | | |
4977 | 4977 | | |
4978 | 4978 | | |
4979 | | - | |
| 4979 | + | |
4980 | 4980 | | |
4981 | 4981 | | |
4982 | 4982 | | |
| |||
4994 | 4994 | | |
4995 | 4995 | | |
4996 | 4996 | | |
4997 | | - | |
| 4997 | + | |
4998 | 4998 | | |
4999 | 4999 | | |
5000 | 5000 | | |
| |||
5040 | 5040 | | |
5041 | 5041 | | |
5042 | 5042 | | |
5043 | | - | |
| 5043 | + | |
5044 | 5044 | | |
5045 | 5045 | | |
5046 | 5046 | | |
| |||
5058 | 5058 | | |
5059 | 5059 | | |
5060 | 5060 | | |
5061 | | - | |
| 5061 | + | |
5062 | 5062 | | |
5063 | 5063 | | |
5064 | 5064 | | |
| |||
5091 | 5091 | | |
5092 | 5092 | | |
5093 | 5093 | | |
5094 | | - | |
| 5094 | + | |
5095 | 5095 | | |
5096 | 5096 | | |
5097 | 5097 | | |
| |||
5109 | 5109 | | |
5110 | 5110 | | |
5111 | 5111 | | |
5112 | | - | |
| 5112 | + | |
5113 | 5113 | | |
5114 | 5114 | | |
5115 | 5115 | | |
| |||
5155 | 5155 | | |
5156 | 5156 | | |
5157 | 5157 | | |
5158 | | - | |
| 5158 | + | |
5159 | 5159 | | |
5160 | 5160 | | |
5161 | 5161 | | |
| |||
5173 | 5173 | | |
5174 | 5174 | | |
5175 | 5175 | | |
5176 | | - | |
| 5176 | + | |
5177 | 5177 | | |
5178 | 5178 | | |
5179 | 5179 | | |
| |||
5206 | 5206 | | |
5207 | 5207 | | |
5208 | 5208 | | |
5209 | | - | |
| 5209 | + | |
5210 | 5210 | | |
5211 | 5211 | | |
5212 | 5212 | | |
| |||
5224 | 5224 | | |
5225 | 5225 | | |
5226 | 5226 | | |
5227 | | - | |
| 5227 | + | |
5228 | 5228 | | |
5229 | 5229 | | |
5230 | 5230 | | |
| |||
0 commit comments