Report deeper graphs?

10 views
Skip to first unread message

Gerd Aschemann

unread,
Mar 2, 2021, 2:44:05 AM3/2/21
to jQAssistant
Assume I have a tree with depth 3-4 in my graph, e.g., a number of (DNS) domains, each with a number of hosts, each host with a number of servces, each service with a number of clients etc.
Background: I am about to extend the jQA YAML2-Plugin to scan Ansible roles and playbooks to gain this information.

Now I would like to generate a number of reports about my graph, e.g., 
  • The list of domians,
  • for each domain the list of hosts,
  • for each host the list of services
The reports should be linked, e.g., from the list of domains I would like to have a hyperlink to the respective detailed report for the domain.

Is it possible with jQA currently? If not (what I assume from my looks into the source code), what would be a good approach to address this? To be honest, in the end I would like to make use of a template engine to have maximum freedom to design my reports. So it might end up, creating PoJos from the graph and then feed them into FreeMarker or Groovy templates. 

This might allow to generate AsciiDoc or other file formats which could be more flexible to integrate with overall project reports than the current usage of `index.adoc` files in jQA and direct rendering to HTML.

What do you think?

Dirk Mahler

unread,
Mar 2, 2021, 7:35:33 AM3/2/21
to jqass...@googlegroups.com
Hi Gerd,

as far as I understand the request this is not (yet) possible with jQA.
But it sounds like a report plugin being able to fill templates (which
would be very tempting!). Can you provide a (synthetic) example on the
source structure (YAML files) and the desired report?

Cheers

Dirk

Am 2021-03-02 08:44, schrieb 'Gerd Aschemann' via jQAssistant:
> Assume I have a tree with depth 3-4 in my graph, e.g., a number of
> (DNS) domains, each with a number of hosts, each host with a number of
> servces, each service with a number of clients etc.
> Background: I am about to extend the jQA YAML2-Plugin to scan Ansible
> roles and playbooks to gain this information.
>
> Now I would like to generate a number of reports about my graph, e.g.,
>
>
> * The list of domians,
> * for each domain the list of hosts,
> * for each host the list of services
>
> The reports should be linked, e.g., from the list of domains I would
> like to have a hyperlink to the respective detailed report for the
> domain.
>
> Is it possible with jQA currently? If not (what I assume from my looks
> into the source code), what would be a good approach to address this?
> To be honest, in the end I would like to make use of a template engine
> to have maximum freedom to design my reports. So it might end up,
> creating PoJos from the graph and then feed them into FreeMarker or
> Groovy templates.
>
> This might allow to generate AsciiDoc or other file formats which
> could be more flexible to integrate with overall project reports than
> the current usage of `index.adoc` files in jQA and direct rendering to
> HTML.
>
> What do you think?
>
> --
> You received this message because you are subscribed to the Google
> Groups "jQAssistant" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jqassistant...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jqassistant/f421eaa2-0343-469d-b841-7ff4eb9a92b9n%40googlegroups.com
> [1].
>
>
> Links:
> ------
> [1]
> https://groups.google.com/d/msgid/jqassistant/f421eaa2-0343-469d-b841-7ff4eb9a92b9n%40googlegroups.com?utm_medium=email&utm_source=footer

--
Dirk Mahler
Senior Consultant IT
-----------------------------------------------------------------
BUSCHMAIS GbR
Inhaber  Torsten Busch, Frank Schwarz, Dirk Mahler, Tobias Israel
Adresse  Leipziger Straße 93, 01127 Dresden
Telefon  +49 351 320923-0
Mobil    +49 177 3137411
Fax      +49 351 320923-29
E-Mail   dirk....@buschmais.com
Internet www.buschmais.de
-----------------------------------------------------------------

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie diese E-Mail irrtümlich erhalten haben, bitten
wir Sie diese E-Mail umgehend zu löschen. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail may contain confidential or privileged information. If you
are not the intended recipient we kindly request you to delete this
e-mail immediately. Any unauthorized copying, disclosure or distribution
of the material in this e-mail is strictly forbidden.
Reply all
Reply to author
Forward
0 new messages