| layout | page |
|---|---|
| title | Events |
| parent | Home |
| has_children | true |
| nav_order | 1.1 |
| description | Events |
| summary | Events |
| is_not_draft | false |
| last_modified_date | 2024-05-28 |
| owner | NHS Notify |
| author | Ross Buggins |
{% assign sorted_events = site.events | group_by: "service" %} {% assign serviceSorteds = sorted_events | sort: "name" %}
{% for service_sorted in serviceSorteds %} {% assign nameSortedService = service_sorted.items | sort: "nice_name" %} {% assign service = site.pages | where_exp:"service", "service.title == service_sorted.name" | first %}
{% assign microservices = site.pages | where_exp:"microservice", "microservice.parent == service.title" %}
{% for microservice in microservices %}
{% endfor %}| Consumes | Microservice | Produces |
|---|---|---|
|
{{ microservice.title }} |
|
{% endfor %}
{% for service_sorted in serviceSorteds %} {% assign nameSortedService = service_sorted.items | sort: "nice_name" %} {% assign service = site.pages | where_exp:"service", "service.title == service_sorted.name" | first %}
{% for event in nameSortedService %}
{% endfor %}| Nice Name | Title | Type | Produced By | Consumed By | Envelope | Data |
|---|---|---|---|---|---|---|
| {{ event.nice_name }} | {{ event.title }} | {{ event.type }} | {% assign producedby = site.pages | where_exp:"producer", "producer.events-raised contains event.title and producer.c4type == 'code'" | first %} {{ producedby.title }} |
{% assign consumedby = site.pages | where_exp:"consumer", "consumer.events-consumed contains event.title and consumer.c4type == 'code'" %}
|
{{ event.schema_envelope | split: "/" | last}} | {{ event.schema_data | split: "/" | last}} |