[ 
https://issues.apache.org/jira/browse/MINIFICPP-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gábor Gyimesi updated MINIFICPP-2376:
-------------------------------------
    Description: 
Add support for inherited parameter contexts as per NiFi's implementation:
{code:json}
{
    "parameterContexts": [
        {
            "identifier": "1f1556db-035e-3083-adb5-009c9f7287ba",
            "instanceIdentifier": "80a71d11-018f-1000-8e24-059bcc16c923",
            "name": "con2",
            "parameters": [
                {
                    "name": "b1",
                    "description": "",
                    "sensitive": false,
                    "provided": false,
                    "value": "v2"
                }
            ],
            "inheritedParameterContexts": [
                "con1"
            ],
            "description": "",
            "componentType": "PARAMETER_CONTEXT"
        },
        {
            "identifier": "e1261f34-ae35-38aa-9f45-6c5bd2d9490b",
            "instanceIdentifier": "80a6c6d5-018f-1000-df87-9110bc342b99",
            "name": "con1",
            "parameters": [
                {
                    "name": "a1",
                    "description": "",
                    "sensitive": false,
                    "provided": false,
                    "value": "v1"
                }
            ],
            "inheritedParameterContexts": [],
            "description": "",
            "componentType": "PARAMETER_CONTEXT"
        }
    ]
}
{code}

  was:
Add support for inherited parameter contexts as per NiFi's implementation:
{code:java}
"parameterContexts": [        {            "identifier": 
"1f1556db-035e-3083-adb5-009c9f7287ba",            "instanceIdentifier": 
"80a71d11-018f-1000-8e24-059bcc16c923",            "name": "con2",            
"parameters": [                {                    "name": "b1",               
     "description": "",                    "sensitive": false,                  
  "provided": false,                    "value": "v2"                }          
  ],            "inheritedParameterContexts": [                "con1"           
 ],            "description": "",            "componentType": 
"PARAMETER_CONTEXT"        },        {            "identifier": 
"e1261f34-ae35-38aa-9f45-6c5bd2d9490b",            "instanceIdentifier": 
"80a6c6d5-018f-1000-df87-9110bc342b99",            "name": "con1",            
"parameters": [                {                    "name": "a1",               
     "description": "",                    "sensitive": false,                  
  "provided": false,                    "value": "v1"                }          
  ],            "inheritedParameterContexts": [],            "description": "", 
           "componentType": "PARAMETER_CONTEXT"        }    ], {code}


> Add support for parameter context inheritance
> ---------------------------------------------
>
>                 Key: MINIFICPP-2376
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2376
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: New Feature
>            Reporter: Gábor Gyimesi
>            Priority: Major
>
> Add support for inherited parameter contexts as per NiFi's implementation:
> {code:json}
> {
>     "parameterContexts": [
>         {
>             "identifier": "1f1556db-035e-3083-adb5-009c9f7287ba",
>             "instanceIdentifier": "80a71d11-018f-1000-8e24-059bcc16c923",
>             "name": "con2",
>             "parameters": [
>                 {
>                     "name": "b1",
>                     "description": "",
>                     "sensitive": false,
>                     "provided": false,
>                     "value": "v2"
>                 }
>             ],
>             "inheritedParameterContexts": [
>                 "con1"
>             ],
>             "description": "",
>             "componentType": "PARAMETER_CONTEXT"
>         },
>         {
>             "identifier": "e1261f34-ae35-38aa-9f45-6c5bd2d9490b",
>             "instanceIdentifier": "80a6c6d5-018f-1000-df87-9110bc342b99",
>             "name": "con1",
>             "parameters": [
>                 {
>                     "name": "a1",
>                     "description": "",
>                     "sensitive": false,
>                     "provided": false,
>                     "value": "v1"
>                 }
>             ],
>             "inheritedParameterContexts": [],
>             "description": "",
>             "componentType": "PARAMETER_CONTEXT"
>         }
>     ]
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to