Uploaded image for project: 'Service Orchestrator'
  1. Service Orchestrator
  2. SO-2923

SO-APIH: Unable to locate Attribute with the the given name [action] on this ManagedType [org.onap.so.db.request.beans.InfraRequests]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Frankfurt Release
    • Frankfurt Release
    • SO images: 1.6.1
      VID: 6.0.5

      Testing Maunal Scale-out use-case, usnig VID as an SO front-end.
      SO-APIH: 1.6.1, VID: 6.0.5, SO-BPMN-INFRA: 1.6.1

      When accessing the VID Change Management menu, there is a call executed to SO, in order to provide the API paths relevant for scaleOut use-case. This call fails with HTTP/500 from SO, looks like "scaleOut" filter is not supported properly.

      We`re blocked with integration.

      Logs (VID outgoingRequests):

      2020-05-13T09:33:50.559Z|cf164e54-dad4-4344-94d1-8763ca1b9760|Sending  GET http://so.onap:8080/onap/so/infra/orchestrationRequests/v7?filter=action:EQUALS:scaleOut Body: {} |^
      2020-05-13T09:33:50.588Z|cf164e54-dad4-4344-94d1-8763ca1b9760|Received GET http://so.onap:8080/onap/so/infra/orchestrationRequests/v7?filter=action:EQUALS:scaleOut Status: 500 . Body: {"message":"Unexpected Internal Exception"} |^
      

      Associated SO-APIH logs:

      2020-05-13T09:17:59.799Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - URI         : http://so-request-db-adapter.onap:8083/infraActiveRequests/getOrchestrationFiltersFromInfraActive/
      2020-05-13T09:17:59.800Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - Method      : POST
      2020-05-13T09:17:59.800Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - Headers     : [Accept:"application/json", Authorization:"Basic YnBlbDpwYXNzd29yZDEk", Content-Type:"application/json", Content-Length:"32", X-ONAP-RequestID:"e2be86c5-789c-4f0f-ad32-8731c77fe013", X-RequestID:"e2be86c5-789c-4f0f-ad32-8731c77fe013", X-TransactionID:"e2be86c5-789c-4f0f-ad32-8731c77fe013", X-ECOMP-RequestID:"e2be86c5-789c-4f0f-ad32-8731c77fe013", X-ONAP-PartnerName:"SO.APIH", X-InvocationID:"324671e6-6531-4ce5-92f0-e37d6c93151b"]
      2020-05-13T09:17:59.800Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - Request body: {"action":["EQUALS","scaleOut"]}
      2020-05-13T09:17:59.801Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - ==========================request end================================================
      2020-05-13T09:17:59.810Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - ============================response begin==========================================
      2020-05-13T09:17:59.811Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - Status code  : 500 INTERNAL_SERVER_ERROR
      2020-05-13T09:17:59.811Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - Status text  : 
      2020-05-13T09:17:59.811Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - Headers      : [X-Content-Type-Options:"nosniff", X-XSS-Protection:"1; mode=block", Cache-Control:"no-cache, no-store, max-age=0, must-revalidate", Pragma:"no-cache", Expires:"0", X-Frame-Options:"DENY", Content-Type:"application/json;charset=UTF-8", Transfer-Encoding:"chunked", Date:"Wed, 13 May 2020 09:17:59 GMT", Connection:"close"]
      2020-05-13T09:17:59.812Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - Response body: {"timestamp":"2020-05-13T09:17:59.810+0000","status":500,"error":"Internal Server Error","message":"Unable to locate Attribute  with the the given name [action] on this ManagedType [org.onap.so.db.request.beans.InfraRequests]; nested exception is java.lang.IllegalArgumentException: Unable to locate Attribute  with the the given name [action] on this ManagedType [org.onap.so.db.request.beans.InfraRequests]","path":"/infraActiveRequests/getOrchestrationFiltersFromInfraActive/"}
      

      There is previously a similar call executed for VNFs (successful):

      2020-05-13T09:17:58.786Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - ===========================request begin================================================
      2020-05-13T09:17:58.787Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - URI         : http://so-request-db-adapter.onap:8083/infraActiveRequests/getOrchestrationFiltersFromInfraActive/
      2020-05-13T09:17:58.787Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - Method      : POST
      2020-05-13T09:17:58.787Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - Headers     : [Accept:"application/json", Authorization:"Basic YnBlbDpwYXNzd29yZDEk", Content-Type:"application/json", Content-Length:"30", X-ONAP-RequestID:"e2be86c5-789c-4f0f-ad32-8731c77fe013", X-RequestID:"e2be86c5-789c-4f0f-ad32-8731c77fe013", X-TransactionID:"e2be86c5-789c-4f0f-ad32-8731c77fe013", X-ECOMP-RequestID:"e2be86c5-789c-4f0f-ad32-8731c77fe013", X-ONAP-PartnerName:"SO.APIH", X-InvocationID:"87c50861-0b89-434d-80fa-971982a24525"]
      2020-05-13T09:17:58.788Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - Request body: {"modelType":["EQUALS","vnf"]}
      2020-05-13T09:17:58.788Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - ==========================request end================================================
      2020-05-13T09:17:58.803Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - ============================response begin==========================================
      2020-05-13T09:17:58.803Z|e2be86c5-789c-4f0f-ad32-8731c77fe013|o.o.l.filter.spring.SpringClientPayloadFilter - Status code  : 200 OK
      

            deen1985 deen1985
            deen1985 deen1985
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: