Uploaded image for project: 'Application Controller'
  1. Application Controller
  2. APPC-1806

Wrong key name for parameter value assigment

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Done
    • Frankfurt Release
    • Frankfurt Release
    • APPC
    • None

    Description

      CDT writes wrong criteria for field resolution when parameter should be taken from VM or VNFC. Field filter-by-key does not exist and should have value filter-by-field what shows the exception shown below

      Below is the definition of property which generates the problem

      kind: "Property Definition"
      version: V1
      vnf-parameter-list:

      • name: book_name
        type: null
        description: null
        required: null
        default: null
        source: Manual
        rule-type: null
        request-keys: null
        response-keys: null
      • name: ne_id
        type: null
        description: null
        required: null
        default: null
        source: "A&AI"
        rule-type: vnfc-name-list
        request-keys: null
        response-keys:
      • unique-key-name: parent-name
        unique-key-value: vnfc
        field-key-name: vnfc-name
        filter-by-key: vm-number
        filter-by-value: "0"
      • name: fixed_ip_address
        type: null
        description: null
        required: null
        default: null
        source: "A&AI"
        rule-type: vnfc-oam-ipv4-address-list
        request-keys: null
        response-keys:
      • unique-key-name: parent-name
        unique-key-value: vnfc
        field-key-name: ipaddress-v4-oam-vip
        filter-by-key: vm-number
        filter-by-value: "0"
      • name: vnfc_type
        type: null
        description: null
        required: null
        default: null
        source: Manual
        rule-type: null
        request-keys: null
        response-keys: null
      • name: vnf_name
        type: null
        description: null
        required: null
        default: null
        source: "A&AI"
        rule-type: vnf-name
        request-keys: null
        response-keys:
      • unique-key-name: parent-name
        unique-key-value: vnf
        field-key-name: vnf-name

      2019-11-22T13:02:52,401 | ERROR | appc-dispatcher-10 | ExecuteNodeExecutor | 239 - org.onap.ccsdk.sli.core.sli-provider-base - 0.0.0 | Could not execute plugin. SvcLogic status will be set to failure.
      org.onap.ccsdk.sli.core.sli.SvcLogicException: Unrecognized field "filter-by-key" (class org.onap.sdnc.config.params.data.ResponseKey), not marked as ignorable (5 known properties: "filter-by-value", "filter-by-field", "field-key-name", "unique-key-name", "unique-key-val
      at [Source: (StringReader); line: 26, column: 29] (through reference chain: org.onap.sdnc.config.params.data.PropertyDefinition["vnf-parameter-list"]>java.util.ArrayList[1]>org.onap.sdnc.config.params.data.Parameter["response-keys"]>java.util.ArrayList[0]>org.onap.s
      at org.onap.sdnc.config.params.parser.PropertyDefinitionNode.processExternalSystemParamKeys(PropertyDefinitionNode.java:130) ~[?:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
      at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.ExecuteNodeExecutor.execute(ExecuteNodeExecutor.java:84) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.SvcLogicServiceImplBase.executeNode(SvcLogicServiceImplBase.java:131) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.BlockNodeExecutor.execute(BlockNodeExecutor.java:60) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.SvcLogicServiceImplBase.executeNode(SvcLogicServiceImplBase.java:131) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.BlockNodeExecutor.execute(BlockNodeExecutor.java:60) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.SvcLogicServiceImplBase.executeNode(SvcLogicServiceImplBase.java:131) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.SvcLogicServiceImplBase.execute(SvcLogicServiceImplBase.java:108) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.CallNodeExecutor.execute(CallNodeExecutor.java:123) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.SvcLogicServiceImplBase.executeNode(SvcLogicServiceImplBase.java:131) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.BlockNodeExecutor.execute(BlockNodeExecutor.java:60) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.SvcLogicServiceImplBase.executeNode(SvcLogicServiceImplBase.java:131) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.SvcLogicServiceImplBase.execute(SvcLogicServiceImplBase.java:108) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.CallNodeExecutor.execute(CallNodeExecutor.java:123) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.SvcLogicServiceImplBase.executeNode(SvcLogicServiceImplBase.java:131) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.BlockNodeExecutor.execute(BlockNodeExecutor.java:60) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.SvcLogicServiceImplBase.executeNode(SvcLogicServiceImplBase.java:131) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.BlockNodeExecutor.execute(BlockNodeExecutor.java:60) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.SvcLogicServiceImplBase.executeNode(SvcLogicServiceImplBase.java:131) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.SvcLogicServiceImplBase.execute(SvcLogicServiceImplBase.java:108) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.CallNodeExecutor.execute(CallNodeExecutor.java:123) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.SvcLogicServiceImplBase.executeNode(SvcLogicServiceImplBase.java:131) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.BlockNodeExecutor.execute(BlockNodeExecutor.java:60) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.SvcLogicServiceImplBase.executeNode(SvcLogicServiceImplBase.java:131) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.base.SvcLogicServiceImplBase.execute(SvcLogicServiceImplBase.java:108) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.SvcLogicServiceImpl.execute(SvcLogicServiceImpl.java:111) ~[?:?]
      at org.onap.ccsdk.sli.core.sli.provider.SvcLogicServiceImpl.execute(SvcLogicServiceImpl.java:91) ~[?:?]
      at Proxy9a0f4ddd_3345_40b7_8e8c_480d7bcdb6d7.execute(Unknown Source) ~[?:?]
      at Proxy983ce380_c4d3_44f4_a42c_2bd414cd3ad6.execute(Unknown Source) ~[?:?]
      at org.onap.appc.workflow.impl.WorkFlowManagerImpl.SVCLogicServiceExecute(WorkFlowManagerImpl.java:243) ~[?:?]
      at org.onap.appc.workflow.impl.WorkFlowManagerImpl.executeWorkflow(WorkFlowManagerImpl.java:148) ~[?:?]
      at Proxyd26c5be4_39ed_48be_a931_8d2be73cf7ca.executeWorkflow(Unknown Source) ~[?:?]
      at Proxy5decb70f_448c_4a6a_a272_0ab24bdb63b5.executeWorkflow(Unknown Source) ~[?:?]
      at org.onap.appc.executor.impl.CommandTask.run(CommandTask.java:116) ~[?:?]
      at org.onap.appc.executionqueue.impl.QueueManager.lambda$enqueueTask$0(QueueManager.java:103) ~[?:?]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
      at java.lang.Thread.run(Thread.java:748) [?:?]

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rajewluk Lukasz Rajewski
            rajewluk Lukasz Rajewski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: