Move _log to markdown block;Try more random variants
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2022-02-14 13:56:37 +01:00
parent 7fa6866a1d
commit c2357484e4
2 changed files with 13 additions and 8 deletions

View File

@ -3,7 +3,7 @@ const fastify = require('fastify')({ logger: true })
// Declare a route // Declare a route
fastify.get('/', async (request, reply) => { fastify.get('/', async (request, reply) => {
return [ return { data: [
{ {
component: 'VI_IT_VIRTUALIZATION', component: 'VI_IT_VIRTUALIZATION',
version: '2.4.0', version: '2.4.0',
@ -14,7 +14,7 @@ fastify.get('/', async (request, reply) => {
version: '1.3.0', version: '1.3.0',
os: 'Ubuntu 18.04 LTS' os: 'Ubuntu 18.04 LTS'
} }
] ] }
}) })
// Run the server! // Run the server!

View File

@ -19,10 +19,7 @@ events:
type: setState type: setState
params: params:
all_components: all_components:
_request: all_components.data _request: all_components
_log:
_request: retrieve_components
layout: layout:
contentJustify: center contentJustify: center
@ -81,10 +78,18 @@ areas:
- id: rest_data - id: rest_data
type: Box type: Markdown
properties: properties:
content: content:
_state: all_components _string.concat:
- |
```yaml
- _yaml.stringify:
- _log:
_request: all_components
- |
```
- id: bottomrow - id: bottomrow
type: Box type: Box
layout: layout: