Use _request data directly as rowData
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
51a4f68ce1
commit
dcdb6d5fb9
@ -3,7 +3,18 @@ const fastify = require('fastify')({ logger: true })
|
|||||||
|
|
||||||
// Declare a route
|
// Declare a route
|
||||||
fastify.get('/', async (request, reply) => {
|
fastify.get('/', async (request, reply) => {
|
||||||
return { hello: 'world' }
|
return { data: [
|
||||||
|
{
|
||||||
|
component: 'VI_IT_VIRTUALIZATION',
|
||||||
|
version: '2.4.0',
|
||||||
|
os: 'vSphere 7.0U3a'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
component: 'VI_IT_SRV_LIN_UBUNTU',
|
||||||
|
version: '1.3.0',
|
||||||
|
os: 'Ubuntu 18.04 LTS'
|
||||||
|
}
|
||||||
|
] }
|
||||||
})
|
})
|
||||||
|
|
||||||
// Run the server!
|
// Run the server!
|
||||||
|
@ -45,18 +45,19 @@ areas:
|
|||||||
height: 500
|
height: 500
|
||||||
properties:
|
properties:
|
||||||
rowData:
|
rowData:
|
||||||
- component: VI_IT_VIRTUALIZATION
|
_request: all_components.data
|
||||||
version: 2.4.0
|
# - component: VI_IT_VIRTUALIZATION
|
||||||
os: vSphere 7.0U3a
|
# version: 2.4.0
|
||||||
- component: VI_IT_SRV_LIN_UBUNTU
|
# os: vSphere 7.0U3a
|
||||||
version: 1.3.0
|
# - component: VI_IT_SRV_LIN_UBUNTU
|
||||||
os: Ubuntu 18.04 LTS
|
# version: 1.3.0
|
||||||
- component: VI_IT_SRV_WIN
|
# os: Ubuntu 18.04 LTS
|
||||||
version: 3.9.1
|
# - component: VI_IT_SRV_WIN
|
||||||
os: Windows Server 2019 Enterprise
|
# version: 3.9.1
|
||||||
- component: VI_IT_CLT_WIN
|
# os: Windows Server 2019 Enterprise
|
||||||
version: 3.6.0
|
# - component: VI_IT_CLT_WIN
|
||||||
os: Windows 10 IoT Enterprise
|
# version: 3.6.0
|
||||||
|
# os: Windows 10 IoT Enterprise
|
||||||
defaultColDef:
|
defaultColDef:
|
||||||
sortable: false
|
sortable: false
|
||||||
resizable: false
|
resizable: false
|
||||||
|
Reference in New Issue
Block a user