Re: [onap-discuss][SO]Build Casablanca SO code locally and test it.
Hi Steven, Thanks for the information. Followed the steps you mentioned, now I am able to create the docker image. On Tue 20 Nov, 2018, 7:17 PM SMOKOWSKI, STEVEN Maven will output the images if you simply set the docker flags properly. > When testing locally on my machine and pushing to my local repo I use the > following maven command. > > > > mvn clean install -DskipTests -Ddocker.skip=false > -Ddocker.skip.build=false -Ddocker.skip.push=true > > > > > > Also if you pull the heat config from so-config, there is a docker-compose > that will spin all the services needed to interact with SO locally. > > > > Thanks > > > > -Steve > > > > > > *From: * on behalf of Sunil Kumar < > sunilbirada...@gmail.com> > *Reply-To: *"onap-discuss@lists.onap.org" , " > sunilbirada...@gmail.com" > *Date: *Tuesday, November 20, 2018 at 6:48 AM > *To: *"seshu.kuma...@huawei.com" > *Cc: *"onap-discuss@lists.onap.org" > *Subject: *Re: [onap-discuss][SO]Build Casablanca SO code locally and > test it. > > > > my local code and use the same for creating the docker image. > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13936): https://lists.onap.org/g/onap-discuss/message/13936 Mute This Topic: https://lists.onap.org/mt/28265096/21656 Group Owner: onap-discuss+ow...@lists.onap.org Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [onap-discuss][SO]Build Casablanca SO code locally and test it.
Maven will output the images if you simply set the docker flags properly. When testing locally on my machine and pushing to my local repo I use the following maven command. mvn clean install -DskipTests -Ddocker.skip=false -Ddocker.skip.build=false -Ddocker.skip.push=true Also if you pull the heat config from so-config, there is a docker-compose that will spin all the services needed to interact with SO locally. Thanks -Steve From: on behalf of Sunil Kumar Reply-To: "onap-discuss@lists.onap.org" , "sunilbirada...@gmail.com" Date: Tuesday, November 20, 2018 at 6:48 AM To: "seshu.kuma...@huawei.com" Cc: "onap-discuss@lists.onap.org" Subject: Re: [onap-discuss][SO]Build Casablanca SO code locally and test it. my local code and use the same for creating the docker image. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13890): https://lists.onap.org/g/onap-discuss/message/13890 Mute This Topic: https://lists.onap.org/mt/28265096/21656 Group Owner: onap-discuss+ow...@lists.onap.org Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [onap-discuss][SO]Build Casablanca SO code locally and test it.
Hi Seshu, Thanks for the information. I am able to build Casablanca SO code properly. *app.jar needed for docker image creation: * Example, I modified the code in "mso-infrastructure-bpmn" and built it. It generated "mso-infrastructure-bpmn-1.3.0-SNAPSHOT.jar" so do I need to rename this jar as "app.jar" and use it for creation of docker image? If not how to generate the "app.jar"? When I opened the app.jar from the deployed system, found that there were 274 jars in lib folder of that jar. Where as "mso-infrastructure-bpmn-1.3.0-SNAPSHOT.jar" was having only 270 jars in lib folder. So what I wanted to do is create the app.jar from my local code and use the same for creating the docker image. On Tue, Nov 20, 2018 at 2:47 PM Seshu m wrote: > Hi Sunil > > > > You could build jars locally and replace them in the docker. > > > > Did you mean to ask you are not even able to build the code ? > > > > Thanks and Regards, > > M Seshu Kumar > > Senior System Architect > > Single OSS India Branch Department. S/W BU. > > Huawei Technologies India Pvt. Ltd. > > Survey No. 37, Next to EPIP Area, Kundalahalli, Whitefield > > Bengaluru-560066, Karnataka. > > Tel: + 91-80-49160700 , Mob: 9845355488 > > [image: Company_logo] > > > ___ > > 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:* onap-discuss@lists.onap.org [mailto:onap-discuss@lists.onap.org] *On > Behalf Of *Sunil Kumar > *Sent:* Tuesday, November 20, 2018 2:06 PM > *To:* onap-discuss@lists.onap.org > *Subject:* [onap-discuss][SO]Build Casablanca SO code locally and test it. > > > > Hi SO Team, > > > > I was trying to understand how to build the Casablanca SO code locally and > test it. > > While doing so I found that docker image is getting built using the nexus3 > image and not from what I had changed locally. > > > > So wanted to know how to build docker image using my locally changed code > and not what is there in nexus3 repository. > > > > Thanks in advance. > > > > -- > > Thanks & Regards > > Sunil Biradar > > Bangalore | India | +918861180624 | sunilbirada...@gmail.com > > > -- Thanks & Regards Sunil Biradar Bangalore | India | +918861180624 | sunilbirada...@gmail.com -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13888): https://lists.onap.org/g/onap-discuss/message/13888 Mute This Topic: https://lists.onap.org/mt/28265096/21656 Group Owner: onap-discuss+ow...@lists.onap.org Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [onap-discuss][SO]Build Casablanca SO code locally and test it.
Hi Sunil You could build jars locally and replace them in the docker. Did you mean to ask you are not even able to build the code ? Thanks and Regards, M Seshu Kumar Senior System Architect Single OSS India Branch Department. S/W BU. Huawei Technologies India Pvt. Ltd. Survey No. 37, Next to EPIP Area, Kundalahalli, Whitefield Bengaluru-560066, Karnataka. Tel: + 91-80-49160700 , Mob: 9845355488 [Company_logo] ___ 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: onap-discuss@lists.onap.org [mailto:onap-discuss@lists.onap.org] On Behalf Of Sunil Kumar Sent: Tuesday, November 20, 2018 2:06 PM To: onap-discuss@lists.onap.org Subject: [onap-discuss][SO]Build Casablanca SO code locally and test it. Hi SO Team, I was trying to understand how to build the Casablanca SO code locally and test it. While doing so I found that docker image is getting built using the nexus3 image and not from what I had changed locally. So wanted to know how to build docker image using my locally changed code and not what is there in nexus3 repository. Thanks in advance. -- Thanks & Regards Sunil Biradar Bangalore | India | +918861180624 | sunilbirada...@gmail.com<mailto:sunilbirada...@gmail.com> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13884): https://lists.onap.org/g/onap-discuss/message/13884 Mute This Topic: https://lists.onap.org/mt/28265096/21656 Group Owner: onap-discuss+ow...@lists.onap.org Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[onap-discuss][SO]Build Casablanca SO code locally and test it.
Hi SO Team, I was trying to understand how to build the Casablanca SO code locally and test it. While doing so I found that docker image is getting built using the nexus3 image and not from what I had changed locally. So wanted to know how to build docker image using my locally changed code and not what is there in nexus3 repository. Thanks in advance. -- Thanks & Regards Sunil Biradar Bangalore | India | +918861180624 | sunilbirada...@gmail.com -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13877): https://lists.onap.org/g/onap-discuss/message/13877 Mute This Topic: https://lists.onap.org/mt/28265096/21656 Group Owner: onap-discuss+ow...@lists.onap.org Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-