*Scenario:*
We used WorkflowBB for creating a service. Now, if we try creating same service 
'with same name again', we found that generic-vnfs are being created under this 
Service-instance.
After investigation we suspect the problem is in WorkflowAction --> 
selectExecutionList() --> validateResourceIdInAAI(), that returns existing 
service instance id.
Our understanding is if the Service already exists in AAI and the 
request-action is "createInstance", it should throw an Exception without going 
forward.
Does anybody know the reason why we are allowed to 'create' a service if one 
already exists. If we really want an update, the request-action should have 
been "updateInstance"?

@MaxBenjamin: We looked at your commit here: 
https://gerrit.onap.org/r/c/so/+/92132/1/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowAction.java#206,
but looks like we are only allowing the call to fetch the details from AAI, if 
the request-action is Create.
Shouldn't it exit if there is an instance existing while you are trying to 
create another one with the same name?

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#19586): https://lists.onap.org/g/onap-discuss/message/19586
Mute This Topic: https://lists.onap.org/mt/64372322/21656
Mute #so: https://lists.onap.org/mk?hashtag=so&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to