Re: [onap-discuss] [so] where is SO's entry point for instantiation VNF
Hi Mahesh, I have questions about the flow diagram. According to 4th-step, it says DoCreateVNF.bpmn with groovy script rest call to SDNC. But when i have instantiated demo vFirewall VNF on ONAP snapshot-1.0.0, VNF is created on OpenStack in Add VF Module stage. it mean DoCreateVfModule.bpmn rest call to SDNC to create VNF on OpenStack, not DoCreateVNF.bpmn. is this my misunderstood? And which task or subprocess does rest call to SDNC in bpmn file? it hard to find the point that rest call to SDNC for creating VNF on Openstack. Best Regards, Gwuieon. - Original Message - Sender : Mahesh Poojary Date : 2017-08-03 14:44 (GMT+9) Title : RE: [onap-discuss] [so] where is SO's entry point for instantiation VNF Hi Gwuieon, Please find the flow diagram as below, it explains VID to SO to VNF flow. Please go through the code based on source code files mentioned in the diagram, you will get to know exact flow. Regards -Mahesh From: onap-discuss-boun...@lists.onap.org [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of GwuiEon JinSent: Thursday, August 03, 2017 7:48 AMTo: Alexis de TalhouëtCc: onap-discuss@lists.onap.orgSubject: Re: [onap-discuss] [so] where is SO's entry point for instantiation VNF 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? Best Regards, Gwuieon. - Original Message - Sender : Alexis de Talhouët <adetalhoue...@gmail.com> 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, AlexisLe mardi 1 août 2017, 진귀언 <ge@samsung.com> 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 onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss
Re: [onap-discuss] [so] where is SO's entry point for instantiation VNF
Le mercredi 2 août 2017, GwuiEon Jin 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 > > > *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, 진귀언 > 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 onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss
Re: [onap-discuss] [so] where is SO's entry point for instantiation VNF
Hi Mahesh, Thanks you for kindly explaination. it's very helpful. i'm trying to go through the code based on your description. Best Regards, Gwuieon. - Original Message - Sender : Mahesh Poojary Date : 2017-08-03 14:44 (GMT+9) Title : RE: [onap-discuss] [so] where is SO's entry point for instantiation VNF Hi Gwuieon, Please find the flow diagram as below, it explains VID to SO to VNF flow. Please go through the code based on source code files mentioned in the diagram, you will get to know exact flow. Regards -Mahesh From: onap-discuss-boun...@lists.onap.org [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of GwuiEon JinSent: Thursday, August 03, 2017 7:48 AMTo: Alexis de TalhouëtCc: onap-discuss@lists.onap.orgSubject: Re: [onap-discuss] [so] where is SO's entry point for instantiation VNF 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? Best Regards, Gwuieon. - Original Message - Sender : Alexis de Talhouët <adetalhoue...@gmail.com> 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, AlexisLe mardi 1 août 2017, 진귀언 <ge@samsung.com> 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 onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss
Re: [onap-discuss] [so] where is SO's entry point for instantiation VNF
Hi Gwuieon, Please find the flow diagram as below, it explains VID to SO to VNF flow. Please go through the code based on source code files mentioned in the diagram, you will get to know exact flow. [cid:image002.png@01D30C49.867C8610] Regards -Mahesh From: onap-discuss-boun...@lists.onap.org [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of GwuiEon Jin Sent: Thursday, August 03, 2017 7:48 AM To: Alexis de Talhouët Cc: onap-discuss@lists.onap.org Subject: Re: [onap-discuss] [so] where is SO's entry point for instantiation VNF 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? Best Regards, Gwuieon. - Original Message - Sender : Alexis de Talhouët mailto:adetalhoue...@gmail.com>> 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, 진귀언 mailto:ge@samsung.com>> 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. [cid:image001.gif@01D30C48.ABF70E70] [cid:image001.gif@01D30C48.ABF70E70] ___ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss
Re: [onap-discuss] [so] where is SO's entry point for instantiation VNF
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? Best Regards, Gwuieon. - Original Message - Sender : Alexis de Talhouët 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, AlexisLe mardi 1 août 2017, 진귀언 <ge@samsung.com> 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 onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss
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, 진귀언 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 onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss