Hi Lukasz, Seshu - Do we have any UI (e.g., SO Admin Cockpit) for the Camunda WAR deployment? If so, could you please send me link for the UI information or any UI screen shot? Thanks.
BR, Byung From: Byung-Woo Jun <[email protected]> Date: Monday, March 29, 2021 at 1:49 PM To: Rajewski Łukasz - Hurt <[email protected]>, Seshu m <[email protected]>, "lukasz.grech" <[email protected]>, onap-discuss <[email protected]> Subject: Re: Custom workflow Versioning Support Re: About ONAP SO custom workflow orchestration feature in Istanbul... Hi Lukasz, You are right, the link included the versioning information (I did not scroll it up all the way to see the solution section) 😊 So, the Camunda solution is we need to package multiple Java process versions within one single WAR file. The Camunda way is not a very scalable solution, to me. I was hoping they support Java modularization, which allowing multiple process versions. For now, I understand the mechanism. Thanks. BR, Byung From: Rajewski Łukasz - Hurt <[email protected]> Date: Monday, March 29, 2021 at 1:34 PM To: Byung-Woo Jun <[email protected]>, Seshu m <[email protected]>, "lukasz.grech" <[email protected]>, onap-discuss <[email protected]> Subject: RE: Custom workflow Versioning Support Re: About ONAP SO custom workflow orchestration feature in Istanbul... Well, I guess you asked about the tests Lukasz Grech, not myself. In the link included below the important info is that in order to use many versions of the same class you need to put them all together into ONE war file. It means that they have to be in different packages or they must have different name, so all in all the end different version of BPMN will use different class – distinguished by different full class name. Regards, [Image removed by sender. Logo Orange] Łukasz Rajewski, R&D Expert Orange Labs Polska, Virtual Programmable Infrastructure Skill center Mob.: +48 604307879 Orange Polska, Obrzeżna 7, 02-691 Warszawa www.orange.pl<http://www.orange.pl/> From: Byung-Woo Jun <[email protected]> Sent: Monday, March 29, 2021 7:26 PM To: Rajewski Łukasz - Hurt <[email protected]>; Seshu m <[email protected]>; lukasz.grech <[email protected]>; onap-discuss <[email protected]> Subject: Re: Custom workflow Versioning Support Re: About ONAP SO custom workflow orchestration feature in Istanbul... Hi Lukasz, Thank you. I looked into the forum discussion. It seems that the Enterprise version cockpit provides the process migration. However, it does not address Java class instance migration. Camunda process engine generates versioning for the workflows, but I don’t know if Camunda process engine controls Java delegate class instance versioning (i.e., multiple Java instances are available). So, the old workflow points to the older Java instance, the new workflow instance points to the new Java instance. This has been a typical Java classload issue. Java Jigsaw tried to resolve it. I am not sure if Camunda supports it. Packaging workflow and Java business logic together into a WAR does not mean they are going together. When you tested the custom workflow, did you find if a proper Java instance is used by the workflow? Thanks. BR, Byung From: Rajewski Łukasz - Hurt <[email protected]<mailto:[email protected]>> Date: Monday, March 29, 2021 at 1:17 PM To: Seshu m <[email protected]<mailto:[email protected]>>, Byung-Woo Jun <[email protected]<mailto:[email protected]>>, "lukasz.grech" <[email protected]<mailto:[email protected]>>, onap-discuss <[email protected]<mailto:[email protected]>> Subject: RE: Custom workflow Versioning Support Re: About ONAP SO custom workflow orchestration feature in Istanbul... Hi, hopefully it answers the question of Byung. https://forum.camunda.org/t/versioning-java-delegates/2464/6 Regards, [Image removed by sender. Logo Orange] Łukasz Rajewski, R&D Expert Orange Labs Polska, Virtual Programmable Infrastructure Skill center Mob.: +48 604307879 Orange Polska, Obrzeżna 7, 02-691 Warszawa www.orange.pl<http://www.orange.pl/> From: Seshu m <[email protected]<mailto:[email protected]>> Sent: Monday, March 29, 2021 6:34 PM To: Byung-Woo Jun <[email protected]<mailto:[email protected]>>; lukasz.grech <[email protected]<mailto:[email protected]>>; onap-discuss <[email protected]<mailto:[email protected]>>; Rajewski Łukasz - Hurt <[email protected]<mailto:[email protected]>> Subject: RE: Custom workflow Versioning Support Re: About ONAP SO custom workflow orchestration feature in Istanbul... Adding in lukasz from orange. We got an initial code from our friends of Nokia and we dev on top of that. The way it works is camunda is deployed directly on top of the tomcat as a war. There have been changes in the bpmn infra to convert it from the springboot application to a tomcat based application. I can explain you that code. If you are interested to know more. -------------------------------------------------- Thanks and Regards, M Seshu Kumar Lead Architect, P&S, Cloud Network OSDT, Huawei Technologies India Pvt. Ltd. Survey No. 37, Next to EPIP Area, Kundalahalli, Whitefield Bengaluru-560066, Karnataka. Tel: + 91-80-49160700 , Mob: 9845355488 ___________________________________________________________________________________________________ This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! ------------------------------------------------------------------------------------------------------------------------------------------------------------------- From:Byung-Woo Jun <[email protected]<mailto:[email protected]>> To:Seshu m <[email protected]<mailto:[email protected]>>;lukasz.grech <[email protected]<mailto:[email protected]>> Date:2021-03-29 20:26:05 Subject:Custom workflow Versioning Support Re: About ONAP SO custom workflow orchestration feature in Istanbul... Hi Seshu, I’d like to discuss this further with you and Lukasz from Orange for SO custom workflow. For the versioning, when we deploy the WAR file (workflow + Java business logic) to TomCat/Camunda, they used to have issues as follows: * For workflows, Camunda create new version of the workflows instances (e.g., x.bpmn with version 1, x.bpmn with version 2). The version number is generated by Camunda, and Camunda can handle multiple workflow instances this way. * However, for the Java classes, how did you resolve? For example, x.bpmn V1 uses a1.java and x.bpmn V2 uses a2.java fro their service tasks. In this case, a1.java instance and a2.java instance need to be coexist. Did Lukasz test this scenario? * There have been Java class loading issues unless we use jigsaw or something… .I don’t know how Camunda handle this??? Thanks. BR, Byung -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#23091): https://lists.onap.org/g/onap-discuss/message/23091 Mute This Topic: https://lists.onap.org/mt/81700973/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
