Skip to content

Clarification on datatype for function p1DocumentFunction #307

Description

@latta-siae

I'm writing to you in order to get a clarification on this point

https://github.com/openBackhaul/DevicePerformanceManagementDataProcessor/blob/develop/spec/Functions/p1DocumentFunction/1.0.0/README.md

function "p1DocumentFunction" will provide a text that describe functions properties, parameters and sub function.

as input it should be a json that contains information.

by the way in the interface.yaml file it is reported like a string
https://github.com/openBackhaul/DevicePerformanceManagementDataProcessor/blob/develop/spec/Functions/p1DocumentFunction/1.0.0/interface.yaml

properties:
parameters-of-to-be-documented-function:
type: string
description: >
'Parameters of the function for which the documentation shall be generated'

expecting input like this:

{
"parameters": {
"function-name": "p2ProcessDevice",
"description": "Orchestrates the device-wise processing, formatting, sending and storing of PM data",
"is-active": true,
"parameter": [],
"sub-function": [
{
"function-name": "p1LoadOffsetsAndStatusData",
"description": "Reads offset and status data from dataStore",
"is-active": true,
"parameter": [],
"sub-function": []
},
{
"function-name": "p2LoadRawCc",
"description": "Reads ControlConstruct of a device from MWDI ES Replica and filters non-relevant or already processed data",
"is-active": true,
"parameter": [
Image

Metadata

Metadata

Labels

lot-8Services - SIAE MicroelettronicaquestionFurther information is requested

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions