Le mercredi 2 août 2017, GwuiEon Jin <[email protected]> a écrit :
> Dear Alexis, > > I appreciate your answer. i understood call flow from VID to SO from your > descriptions. (in the release-1.0.0 branch) > > As you mentioned, i found BPMN endponit, > /mso/async/services/CreateServiceInstanceInfra, > from MSO's mso_catalog table. > > After then, API handler make json entity using CamundaClient.java and post > call to BPMN engine's endpoint (/mso/async/services/ > CreateServiceInstanceInfra). > > How can BPMN engine determine which BPMN file to execute from json entity? > IIRC, based on the model invariant uuid, il will retrieve the service_instance entry, and then match on the name (I think both are pass in the json) Then from this raw retrieved from the service_recipe table, there is a recipe id column, that will be used to get the recipe from the recipe table where endpoints are defined. > > > Best Regards, > > Gwuieon. > > > > --------- *Original Message* --------- > > *Sender* : Alexis de Talhouët <[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>> > > *Date* : 2017-08-02 21:00 (GMT+9) > > *Title* : Re: [onap-discuss] [so] where is SO's entry point for > instantiation VNF > > > Look at the ServiceInstance java class in API-handler-infra bundle, it s > the Class definining the vf/vnf/serviceInstance endpoint CRUD operations. > So VID calls end up in there. Then there is a function that does the lookup > in mariadb using the service recipe table, matching on the name (look at > MSO API documentation) ( in the release-1.0.0 branch it's always returning > VID_DEFAULT). From there it retrieves the recipe, using the ID, and in the > receipt table, you have the bpmn endpoint. > > HTH, MSO folks might provide a more accurate answer though. > > Regards, > Alexis > > Le mardi 1 août 2017, 진귀언 <[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>> a écrit : > >> Hello All, I trying to analyze ONAP code. but it overwhelme me by the >> size and complexity. but i really want to know ONAP. I would like discuss >> only about instantiation VNF and SO at this time because ONAP have many >> functionality. How does call flow from VID to SO for Instantiation VNF? i >> want to know instantiate call flow in code level. 1. How does "API handler" >> in SO handles instantion request from VID? where is entry point in API >> handler? 2. How to execute BPMN recipe according to API handler? Best >> Regards, Gwuieon. >> >> >> >> >> > > > > > >
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
