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

Service Instantiation fails when using GR APIs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Dublin Release
    • Dublin Release

      VID sends the following request to SO when using GR APIs to instantiate a new Service Instance:

      {"requestDetails":{"requestInfo":

      {"instanceName":"vLoadBalancerMS-Sevice-0520-1","source":"VID","suppressRollback":false,"requestorId":"demo"}

      ,"modelInfo":{"modelType":"service","modelInvariantId":"5461e83e-0b2a-465d-ab45-9d731894afd9","modelVersionId":"7fe7104f-e46c-45e8-90a2-53bda495e26d","modelName":"vLoadBalancerMS","modelVersion":"2.0"},"requestParameters":{"userParams":[],"testApi":"GR_API","subscriptionServiceType":"vLB","aLaCarte":true},"subscriberInfo":{"globalSubscriberId":"Demonstration"},"project":{"projectName":"Project-Demonstration"},"owningEntity":{"owningEntityId":"3b921726-7adb-4e1a-88e5-c078aabcc333","owningEntityName":"OE-Demonstration"}}}

       

      SO throws an exception because some parameters are null:

      2019-05-20T14:22:32.368Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| o.o.s.b.i.workflow.tasks.WorkflowAction - Exception in create execution list One or more of query value parameters are null.

      java.lang.IllegalArgumentException: One or more of query value parameters are null.

      at org.glassfish.jersey.uri.internal.JerseyUriBuilder.queryParam(JerseyUriBuilder.java:571)

      at org.glassfish.jersey.uri.internal.JerseyUriBuilder.queryParam(JerseyUriBuilder.java:72)

      at org.onap.so.db.catalog.client.CatalogDbClient.getNorthBoundRequestByActionAndIsALaCarteAndRequestScopeAndCloudOwner(CatalogDbClient.java:638)

      at org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowAction.queryNorthBoundRequestCatalogDb(WorkflowAction.java:1323)

      at org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowAction.selectExecutionList(WorkflowAction.java:204)

      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.camunda.bpm.engine.impl.javax.el.BeanELResolver.invoke(BeanELResolver.java:479)

      at org.camunda.bpm.engine.impl.javax.el.CompositeELResolver.invoke(CompositeELResolver.java:397)

      at org.camunda.bpm.engine.impl.juel.AstMethod.invoke(AstMethod.java:91)

      at org.camunda.bpm.engine.impl.juel.AstMethod.eval(AstMethod.java:75)

      at org.camunda.bpm.engine.impl.juel.AstEval.eval(AstEval.java:50)

      at org.camunda.bpm.engine.impl.juel.AstNode.getValue(AstNode.java:26)

      at org.camunda.bpm.engine.impl.juel.TreeValueExpression.getValue(TreeValueExpression.java:114)

      at org.camunda.bpm.engine.impl.delegate.ExpressionGetInvocation.invoke(ExpressionGetInvocation.java:39)

      at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:57)

      at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:90)

      at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:62)

      at org.camunda.bpm.engine.impl.el.JuelExpression.getValue(JuelExpression.java:59)

      at org.camunda.bpm.engine.impl.el.JuelExpression.getValue(JuelExpression.java:50)

      at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskExpressionActivityBehavior$1.call(ServiceTaskExpressionActivityBehavior.java:49)

      at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskExpressionActivityBehavior$1.call(ServiceTaskExpressionActivityBehavior.java:45)

      at org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior.executeWithErrorPropagation(AbstractBpmnActivityBehavior.java:110)

      at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskExpressionActivityBehavior.performExecution(ServiceTaskExpressionActivityBehavior.java:45)

      at org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior.execute(TaskActivityBehavior.java:68)

      at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute$2.callback(PvmAtomicOperationActivityExecute.java:60)

      at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute$2.callback(PvmAtomicOperationActivityExecute.java:49)

      at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.continueIfExecutionDoesNotAffectNextOperation(PvmExecutionImpl.java:1988)

      at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute.execute(PvmAtomicOperationActivityExecute.java:41)

      at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute.execute(PvmAtomicOperationActivityExecute.java:30)

      at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:95)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:127)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:107)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:82)

      at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:640)

      at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:614)

      at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl$6.callback(PvmExecutionImpl.java:1927)

      at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl$6.callback(PvmExecutionImpl.java:1924)

      at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.continueExecutionIfNotCanceled(PvmExecutionImpl.java:1994)

      at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.dispatchDelayedEventsAndPerformOperation(PvmExecutionImpl.java:1943)

      at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.dispatchDelayedEventsAndPerformOperation(PvmExecutionImpl.java:1924)

      at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(PvmAtomicOperationTransitionNotifyListenerStart.java:60)

      at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(PvmAtomicOperationTransitionNotifyListenerStart.java:30)

      at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:67)

      at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:95)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:127)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:107)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:82)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:72)

      at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:649)

      at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:624)

      at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:60)

      at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:95)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:127)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:107)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:82)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:72)

      at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:649)

      at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:624)

      at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:60)

      at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:95)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:127)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:107)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:82)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:72)

      at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:649)

      at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:624)

      at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:60)

      at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:95)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:127)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:107)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:82)

      at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:640)

      at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:614)

      at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionCreateScope.scopeCreated(PvmAtomicOperationTransitionCreateScope.java:37)

      at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationCreateScope.execute(PvmAtomicOperationCreateScope.java:53)

      at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationCreateScope.execute(PvmAtomicOperationCreateScope.java:27)

      at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:95)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:127)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:114)

      at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:82)

      at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:640)

      at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:614)

      at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.start(PvmExecutionImpl.java:246)

      at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.start(ExecutionEntity.java:449)

      at org.camunda.bpm.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:62)

      at org.camunda.bpm.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:34)

      at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:27)

      at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:106)

      at org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:45)

      at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)

      at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:43)

      at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:69)

      at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:32)

      at org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.executeWithVariablesInReturn(ProcessInstantiationBuilderImpl.java:165)

      at org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.execute(ProcessInstantiationBuilderImpl.java:131)

      at org.camunda.bpm.engine.impl.ProcessInstantiationBuilderImpl.execute(ProcessInstantiationBuilderImpl.java:127)

      at org.camunda.bpm.engine.impl.RuntimeServiceImpl.startProcessInstanceByKey(RuntimeServiceImpl.java:114)

      at org.onap.so.bpmn.common.workflow.service.WorkflowProcessor.startProcess(WorkflowProcessor.java:64)

      at org.onap.so.bpmn.common.workflow.service.WorkflowProcessor$$FastClassBySpringCGLIB$$6d25d9ab.invoke(<generated>)

      at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)

      at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)

      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)

      at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)

      at java.util.concurrent.FutureTask.run(FutureTask.java:266)

      at org.onap.so.logging.jaxrs.filter.MDCTaskDecorator.lambda$decorate$0(MDCTaskDecorator.java:36)

      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)

      2019-05-20T14:22:32.369Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| org.onap.so.client.exception.ExceptionBuilder - Building a WorkflowException for Subflow

      2019-05-20T14:22:32.369Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| org.onap.so.client.exception.ExceptionBuilder - Outgoing WorkflowException is WorkflowException[processKey=WorkflowActionBB,errorCode=7000,errorMessage=Exception in create execution list One or more of query value parameters are null.,workStep=*]

      2019-05-20T14:22:32.369Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| org.onap.so.client.exception.ExceptionBuilder - Throwing MSOWorkflowException

      2019-05-20T14:22:32.372Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| o.o.s.b.c.workflow.context.WorkflowContextHolder - [WORKFLOW-CONTEXT-HOLDER] Adding context to the queue: b3672c0b-ab2c-43a1-89b2-683759e8b351

      2019-05-20T14:22:32.373Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| o.o.s.b.i.workflow.tasks.WorkflowActionBBTasks - Successfully sent sync ack.

      2019-05-20T14:22:32.373Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-request-db-adapter.onap:8083/infraActiveRequests/b3672c0b-ab2c-43a1-89b2-683759e8b351

      2019-05-20T14:22:32.374Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================

      2019-05-20T14:22:32.374Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI         : http://so-request-db-adapter.onap:8083/infraActiveRequests/b3672c0b-ab2c-43a1-89b2-683759e8b351

      2019-05-20T14:22:32.375Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method      : GET

      2019-05-20T14:22:32.375Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers     : {Accept=[application/json], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], Content-Type=[application/json], Content-Length=[0], X-ONAP-RequestID=[b3672c0b-ab2c-43a1-89b2-683759e8b351], X-ONAP-InvocationID=[83bda22c-87ec-4a4e-bfe6-49318b585f65], X-ONAP-PartnerName=[SO]}

      2019-05-20T14:22:32.375Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body:

      2019-05-20T14:22:32.375Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================

      2019-05-20T14:22:32.387Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin==========================================

      2019-05-20T14:22:32.387Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code  : 200

      2019-05-20T14:22:32.388Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text  :

      2019-05-20T14:22:32.388Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| o.onap.so.logging.jaxrs.filter.SpringClientFilter - 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=[Mon, 20 May 2019 14:22:31 GMT]}

      2019-05-20T14:22:32.388Z|b3672c0b-ab2c-43a1-89b2-683759e8b351| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: {

        "clientRequestId" : null,

        "action" : "createInstance",

        "requestStatus" : "IN_PROGRESS",

        "statusMessage" : null,

        "rollbackStatusMessage" : null,

        "flowStatus" : null,

        "retryStatusMessage" : null,

        "progress" : null,

        "startTime" : "2019-05-20T14:22:31.000+0000",

        "endTime" : null,

        "source" : "VID",

        "vnfId" : null,

        "vnfName" : null,

        "vnfType" : null,

        "serviceType" : null,

        "aicNodeClli" : null,

        "tenantId" : null,

        "provStatus" : null,

        "vnfParams" : null,

        "vnfOutputs" : null,

        "requestBody" : "{\"requestDetails\":{\"requestInfo\":

      {\"instanceName\":\"vLoadBalancerMS-Sevice-0520-1\",\"source\":\"VID\",\"suppressRollback\":false,\"requestorId\":\"demo\"}

      ,\"modelInfo\":{\"modelType\":\"service\",\"modelInvariantId\":\"5461e83e-0b2a-465d-ab45-9d731894afd9\",\"modelVersionId\":\"7fe7104f-e46c-45e8-90a2-53bda495e26d\",\"modelName\":\"vLoadBalancerMS\",\"modelVersion\":\"2.0\"},\"requestParameters\":{\"userParams\":[],\"testApi\":\"GR_API\",\"subscriptionServiceType\":\"vLB\",\"aLaCarte\":true},\"subscriberInfo\":{\"globalSubscriberId\":\"Demonstration\"},\"project\":{\"projectName\":\"Project-Demonstration\"},\"owningEntity\":{\"owningEntityId\":\"3b921726-7adb-4e1a-88e5-c078aabcc333\",\"owningEntityName\":\"OE-Demonstration\"}}}",

        "responseBody" : null,

        "lastModifiedBy" : "APIH",

        "modifyTime" : "2019-05-20T14:22:31.000+0000",

        "requestType" : null,

        "volumeGroupId" : null,

        "volumeGroupName" : null,

        "vfModuleId" : null,

        "vfModuleName" : null,

        "vfModuleModelName" : null,

        "aaiServiceId" : null,

        "aicCloudRegion" : null,

        "callBackUrl" : null,

        "correlator" : null,

        "serviceInstanceId" : null,

        "serviceInstanceName" : "vLoadBalancerMS-Sevice-0520-1",

        "requestScope" : "service",

        "requestAction" : "createInstance",

        "networkId" : null,

        "networkName" : null,

        "networkType" : null,

        "requestorId" : "demo",

        "configurationId" : null,

        "configurationName" : null,

        "operationalEnvId" : null,

        "operationalEnvName" : null,

        "instanceGroupId" : null,

        "instanceGroupName" : null,

        "requestUrl" : "http://so.onap:8080/onap/so/infra/serviceInstantiation/v7/serviceInstances",

        "requestURI" : "b3672c0b-ab2c-43a1-89b2-683759e8b351",

        "_links" : {

          "self" :

      {       "href" : "http://so-request-db-adapter.onap:8083/infraActiveRequests/b3672c0b-ab2c-43a1-89b2-683759e8b351"     }

      ,

          "infraActiveRequests" :

      {       "href" : "http://so-request-db-adapter.onap:8083/infraActiveRequests/b3672c0b-ab2c-43a1-89b2-683759e8b351"     }

        }

      }

            platania platania
            platania platania
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: