Re: [onap-discuss] SDC- local development - how to?
Hi, My understanding is that due to project complexity (indeed it' huge), Vagrant has been introduced because it provides portable virtual software development environments. I have seen similar situation earlier in another project I was involved into. My understanding is that simplification of project focusing on Maven modules, dependencies and Docker images may lead to such situation that Vagrant is not needed. Of course it's ideal situation and I was asking only if such option has been taken into consideration ?? Referring to pom files I was thinking of simplifying dependency management in SDC project. For example scope compile is default in Maven and does not have to be added to dependency declaration - Maven resolves it with no problem. It means that lines compile in pom files may be removed. Marcin From: Morales, Victor <victor.mora...@intel.com> Sent: Wednesday, March 7, 2018 3:13:40 PM To: Migdal, Marcin (Nokia - PL/Wroclaw); Lando,Michael Cc: onap-discuss@lists.onap.org Subject: Re: [onap-discuss] SDC- local development - how to? Can you elaborate more your approach to stop using vagrant? we used vagrant as supporting tool for ensuring that the scripts work in a base distro (or minimal dependencies) besides its capability to recreate everything automatically. Regarding the attempt to optimize Maven files, AFAIK that is done by OParent project [1] Victor Morales [1] https://git.onap.org/oparent/ From: "Migdal, Marcin (Nokia - PL/Wroclaw)" <marcin.mig...@nokia.com> Date: Wednesday, March 7, 2018 at 5:39 AM To: Victor Morales <victor.mora...@intel.com>, "Lando,Michael" <ml6...@intl.att.com> Cc: "onap-discuss@lists.onap.org" <onap-discuss@lists.onap.org> Subject: Re: [onap-discuss] SDC- local development - how to? Hello, Have you thought about stop using Vagrant and focus only on pure Docker images? I think such approach could simplify few things - no setting env variables, coping configuration files. Has there also been an attempt to optimize Maven files? I can see that optimization of content can be easily achieved with no big effort. Expected outcome would be: - thin pom files - better readability - easier dependency management Marcin From: Morales, Victor <victor.mora...@intel.com> Sent: Tuesday, March 6, 2018 5:46:56 PM To: Migdal, Marcin (Nokia - PL/Wroclaw); Lando,Michael Cc: onap-discuss@lists.onap.org; Wejs, Maciej (Nokia - PL/Wroclaw) Subject: Re: [onap-discuss] SDC- local development - how to? Hi Marcin, Just one additional think about the vagrant provider, even when VirtualBox is the default one you can use Libvirt. There is a script that installs it https://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/tools/setup.sh [https://avatars2.githubusercontent.com/u/25933741?s=400=4]<https://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/tools/setup.sh> onap/integration<https://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/tools/setup.sh> github.com Mirror of https://gerrit.onap.org/r/#/admin/projects/integration The other alternative is to use the scripts in your own environment without having to install a Virtual Machine, I tried to explain that here http://onap.readthedocs.io/en/amsterdam/submodules/integration.git/bootstrap/vagrant-onap/doc/source/features/consuming_scripts.html I don’t recommend it because the dependencies will be installed in your host machine and eventually those can be omitted or assumed, resulting in heterogonous development environments. Regards, Victor Morales From: "Migdal, Marcin (Nokia - PL/Wroclaw)" <marcin.mig...@nokia.com> Date: Tuesday, March 6, 2018 at 5:31 AM To: "Lando,Michael" <ml6...@intl.att.com> Cc: "onap-discuss@lists.onap.org" <onap-discuss@lists.onap.org>, Victor Morales <victor.mora...@intel.com>, "Wejs, Maciej (Nokia - PL/Wroclaw)" <maciej.w...@nokia.com> Subject: Re: [onap-discuss] SDC- local development - how to? Hello, Thank you for suggestions. Especially link: ttps://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/lib/sdc<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_integration_blob_master_bootstrap_vagrant-2Donap_lib_sdc=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=VAPoDqmxmOmnw1EkqbL2uctNhbGRdcJbyV9vf0nhXio=Cvh3_5oZToIdIor5o5At6iFiQSVfzGqg_eSLq1jEKpA=> is very useful. I can see that Vagrant is being used for local development with Virtual Box. Unfortunately, VirtaulBox is not a good option for running at machine hosting as OS Linux. What I am still thinking of is something simpler. I have JDK and Maven available at my machine (having Windows, Linux, Solaris, zOS, whatever) so that I am able to execute Maven's go
Re: [onap-discuss] SDC- local development - how to?
Can you elaborate more your approach to stop using vagrant? we used vagrant as supporting tool for ensuring that the scripts work in a base distro (or minimal dependencies) besides its capability to recreate everything automatically. Regarding the attempt to optimize Maven files, AFAIK that is done by OParent project [1] Victor Morales [1] https://git.onap.org/oparent/ From: "Migdal, Marcin (Nokia - PL/Wroclaw)" <marcin.mig...@nokia.com> Date: Wednesday, March 7, 2018 at 5:39 AM To: Victor Morales <victor.mora...@intel.com>, "Lando,Michael" <ml6...@intl.att.com> Cc: "onap-discuss@lists.onap.org" <onap-discuss@lists.onap.org> Subject: Re: [onap-discuss] SDC- local development - how to? Hello, Have you thought about stop using Vagrant and focus only on pure Docker images? I think such approach could simplify few things - no setting env variables, coping configuration files. Has there also been an attempt to optimize Maven files? I can see that optimization of content can be easily achieved with no big effort. Expected outcome would be: - thin pom files - better readability - easier dependency management Marcin From: Morales, Victor <victor.mora...@intel.com> Sent: Tuesday, March 6, 2018 5:46:56 PM To: Migdal, Marcin (Nokia - PL/Wroclaw); Lando,Michael Cc: onap-discuss@lists.onap.org; Wejs, Maciej (Nokia - PL/Wroclaw) Subject: Re: [onap-discuss] SDC- local development - how to? Hi Marcin, Just one additional think about the vagrant provider, even when VirtualBox is the default one you can use Libvirt. There is a script that installs it https://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/tools/setup.sh [https://avatars2.githubusercontent.com/u/25933741?s=400=4]<https://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/tools/setup.sh> onap/integration<https://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/tools/setup.sh> github.com Mirror of https://gerrit.onap.org/r/#/admin/projects/integration The other alternative is to use the scripts in your own environment without having to install a Virtual Machine, I tried to explain that here http://onap.readthedocs.io/en/amsterdam/submodules/integration.git/bootstrap/vagrant-onap/doc/source/features/consuming_scripts.html I don’t recommend it because the dependencies will be installed in your host machine and eventually those can be omitted or assumed, resulting in heterogonous development environments. Regards, Victor Morales From: "Migdal, Marcin (Nokia - PL/Wroclaw)" <marcin.mig...@nokia.com> Date: Tuesday, March 6, 2018 at 5:31 AM To: "Lando,Michael" <ml6...@intl.att.com> Cc: "onap-discuss@lists.onap.org" <onap-discuss@lists.onap.org>, Victor Morales <victor.mora...@intel.com>, "Wejs, Maciej (Nokia - PL/Wroclaw)" <maciej.w...@nokia.com> Subject: Re: [onap-discuss] SDC- local development - how to? Hello, Thank you for suggestions. Especially link: ttps://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/lib/sdc<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_integration_blob_master_bootstrap_vagrant-2Donap_lib_sdc=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=VAPoDqmxmOmnw1EkqbL2uctNhbGRdcJbyV9vf0nhXio=Cvh3_5oZToIdIor5o5At6iFiQSVfzGqg_eSLq1jEKpA=> is very useful. I can see that Vagrant is being used for local development with Virtual Box. Unfortunately, VirtaulBox is not a good option for running at machine hosting as OS Linux. What I am still thinking of is something simpler. I have JDK and Maven available at my machine (having Windows, Linux, Solaris, zOS, whatever) so that I am able to execute Maven's goals responsible for compilation, testing and packaging of SDC Maven modules. Now I would like to run SDC locally in order to define PNF of VFN within SDC locally. Lets assume I have Apache Tomcat/Jetty available. I can see that modules: a) sdc/catalog-be b) sdc/catalog-fe generate war modules that can be run on any Java web container, so I think they could be good starting points. So would it be a good idea to focus on mentioned artifacts? Also from Vagrant file I can see that elasticsearch & cassandra are also needed. Marcin From: Lando,Michael <ml6...@intl.att.com> Sent: Monday, March 5, 2018 8:59 AM To: Migdal, Marcin (Nokia - PL/Wroclaw) Cc: onap-discuss@lists.onap.org; Morales, Victor Subject: RE: [onap-discuss] SDC- local development - how to? Hi, You can find instructions here: https://wiki.onap.org/pages/viewpage.action?pageId=15999821 you can find all the info on SDC here: https://wiki.onap.org/display/DW/Service+Design+and+Creation+%28SDC%29+Portal BR, Michael Lando Opensource TL , SDC AT Network Application Develo
Re: [onap-discuss] SDC- local development - how to?
Hello, Have you thought about stop using Vagrant and focus only on pure Docker images? I think such approach could simplify few things - no setting env variables, coping configuration files. Has there also been an attempt to optimize Maven files? I can see that optimization of content can be easily achieved with no big effort. Expected outcome would be: - thin pom files - better readability - easier dependency management Marcin From: Morales, Victor <victor.mora...@intel.com> Sent: Tuesday, March 6, 2018 5:46:56 PM To: Migdal, Marcin (Nokia - PL/Wroclaw); Lando,Michael Cc: onap-discuss@lists.onap.org; Wejs, Maciej (Nokia - PL/Wroclaw) Subject: Re: [onap-discuss] SDC- local development - how to? Hi Marcin, Just one additional think about the vagrant provider, even when VirtualBox is the default one you can use Libvirt. There is a script that installs it https://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/tools/setup.sh [https://avatars2.githubusercontent.com/u/25933741?s=400=4]<https://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/tools/setup.sh> onap/integration<https://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/tools/setup.sh> github.com Mirror of https://gerrit.onap.org/r/#/admin/projects/integration The other alternative is to use the scripts in your own environment without having to install a Virtual Machine, I tried to explain that here http://onap.readthedocs.io/en/amsterdam/submodules/integration.git/bootstrap/vagrant-onap/doc/source/features/consuming_scripts.html I don’t recommend it because the dependencies will be installed in your host machine and eventually those can be omitted or assumed, resulting in heterogonous development environments. Regards, Victor Morales From: "Migdal, Marcin (Nokia - PL/Wroclaw)" <marcin.mig...@nokia.com> Date: Tuesday, March 6, 2018 at 5:31 AM To: "Lando,Michael" <ml6...@intl.att.com> Cc: "onap-discuss@lists.onap.org" <onap-discuss@lists.onap.org>, Victor Morales <victor.mora...@intel.com>, "Wejs, Maciej (Nokia - PL/Wroclaw)" <maciej.w...@nokia.com> Subject: Re: [onap-discuss] SDC- local development - how to? Hello, Thank you for suggestions. Especially link: ttps://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/lib/sdc<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_integration_blob_master_bootstrap_vagrant-2Donap_lib_sdc=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=VAPoDqmxmOmnw1EkqbL2uctNhbGRdcJbyV9vf0nhXio=Cvh3_5oZToIdIor5o5At6iFiQSVfzGqg_eSLq1jEKpA=> is very useful. I can see that Vagrant is being used for local development with Virtual Box. Unfortunately, VirtaulBox is not a good option for running at machine hosting as OS Linux. What I am still thinking of is something simpler. I have JDK and Maven available at my machine (having Windows, Linux, Solaris, zOS, whatever) so that I am able to execute Maven's goals responsible for compilation, testing and packaging of SDC Maven modules. Now I would like to run SDC locally in order to define PNF of VFN within SDC locally. Lets assume I have Apache Tomcat/Jetty available. I can see that modules: a) sdc/catalog-be b) sdc/catalog-fe generate war modules that can be run on any Java web container, so I think they could be good starting points. So would it be a good idea to focus on mentioned artifacts? Also from Vagrant file I can see that elasticsearch & cassandra are also needed. Marcin From: Lando,Michael <ml6...@intl.att.com> Sent: Monday, March 5, 2018 8:59 AM To: Migdal, Marcin (Nokia - PL/Wroclaw) Cc: onap-discuss@lists.onap.org; Morales, Victor Subject: RE: [onap-discuss] SDC- local development - how to? Hi, You can find instructions here: https://wiki.onap.org/pages/viewpage.action?pageId=15999821 you can find all the info on SDC here: https://wiki.onap.org/display/DW/Service+Design+and+Creation+%28SDC%29+Portal BR, Michael Lando Opensource TL , SDC AT Network Application Development · NetCom Tel Aviv | Tampa | Atlanta | New Jersey |Chicago ··· Office: +972 (3) 5451487 Mobile: +972 (54) 7833603 e-mail: ml6...@intl.att.com<mailto:ml6...@intl.att.com> From: onap-discuss-boun...@lists.onap.org [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Morales, Victor Sent: Friday, March 02, 2018 16:16 To: Migdal, Marcin (Nokia - PL/Wroclaw) <marcin.mig...@nokia.com>; onap-discuss@lists.onap.org Subject: Re: [onap-discuss] SDC- local development - how to? Hey Marcin, We tried to collect most of the instructions (clone and compile, install dependencies, build docker images, etc.) into the vagrant-onap script [1]. This is its docum
Re: [onap-discuss] SDC- local development - how to?
Hi Marcin, Just one additional think about the vagrant provider, even when VirtualBox is the default one you can use Libvirt. There is a script that installs it https://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/tools/setup.sh The other alternative is to use the scripts in your own environment without having to install a Virtual Machine, I tried to explain that here http://onap.readthedocs.io/en/amsterdam/submodules/integration.git/bootstrap/vagrant-onap/doc/source/features/consuming_scripts.html I don’t recommend it because the dependencies will be installed in your host machine and eventually those can be omitted or assumed, resulting in heterogonous development environments. Regards, Victor Morales From: "Migdal, Marcin (Nokia - PL/Wroclaw)" <marcin.mig...@nokia.com> Date: Tuesday, March 6, 2018 at 5:31 AM To: "Lando,Michael" <ml6...@intl.att.com> Cc: "onap-discuss@lists.onap.org" <onap-discuss@lists.onap.org>, Victor Morales <victor.mora...@intel.com>, "Wejs, Maciej (Nokia - PL/Wroclaw)" <maciej.w...@nokia.com> Subject: Re: [onap-discuss] SDC- local development - how to? Hello, Thank you for suggestions. Especially link: ttps://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/lib/sdc<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_integration_blob_master_bootstrap_vagrant-2Donap_lib_sdc=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=VAPoDqmxmOmnw1EkqbL2uctNhbGRdcJbyV9vf0nhXio=Cvh3_5oZToIdIor5o5At6iFiQSVfzGqg_eSLq1jEKpA=> is very useful. I can see that Vagrant is being used for local development with Virtual Box. Unfortunately, VirtaulBox is not a good option for running at machine hosting as OS Linux. What I am still thinking of is something simpler. I have JDK and Maven available at my machine (having Windows, Linux, Solaris, zOS, whatever) so that I am able to execute Maven's goals responsible for compilation, testing and packaging of SDC Maven modules. Now I would like to run SDC locally in order to define PNF of VFN within SDC locally. Lets assume I have Apache Tomcat/Jetty available. I can see that modules: a) sdc/catalog-be b) sdc/catalog-fe generate war modules that can be run on any Java web container, so I think they could be good starting points. So would it be a good idea to focus on mentioned artifacts? Also from Vagrant file I can see that elasticsearch & cassandra are also needed. Marcin From: Lando,Michael <ml6...@intl.att.com> Sent: Monday, March 5, 2018 8:59 AM To: Migdal, Marcin (Nokia - PL/Wroclaw) Cc: onap-discuss@lists.onap.org; Morales, Victor Subject: RE: [onap-discuss] SDC- local development - how to? Hi, You can find instructions here: https://wiki.onap.org/pages/viewpage.action?pageId=15999821 you can find all the info on SDC here: https://wiki.onap.org/display/DW/Service+Design+and+Creation+%28SDC%29+Portal BR, Michael Lando Opensource TL , SDC AT Network Application Development · NetCom Tel Aviv | Tampa | Atlanta | New Jersey |Chicago ··· Office: +972 (3) 5451487 Mobile: +972 (54) 7833603 e-mail: ml6...@intl.att.com<mailto:ml6...@intl.att.com> From: onap-discuss-boun...@lists.onap.org [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Morales, Victor Sent: Friday, March 02, 2018 16:16 To: Migdal, Marcin (Nokia - PL/Wroclaw) <marcin.mig...@nokia.com>; onap-discuss@lists.onap.org Subject: Re: [onap-discuss] SDC- local development - how to? Hey Marcin, We tried to collect most of the instructions (clone and compile, install dependencies, build docker images, etc.) into the vagrant-onap script [1]. This is its documentation [2], but it’s not covering the configuration and installation of the IDE, I suggest to install it manually and use the opt folder given that it’s sharing the source code between host and guest computers. Regards/Saludos Victor Morales [1] https://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/lib/sdc<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_integration_blob_master_bootstrap_vagrant-2Donap_lib_sdc=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=VAPoDqmxmOmnw1EkqbL2uctNhbGRdcJbyV9vf0nhXio=Cvh3_5oZToIdIor5o5At6iFiQSVfzGqg_eSLq1jEKpA=> [2] http://onap.readthedocs.io/en/amsterdam/submodules/integration.git/bootstrap/vagrant-onap/doc/source/index.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__onap.readthedocs.io_en_amsterdam_submodules_integration.git_bootstrap_vagrant-2Donap_doc_source_index.html=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=VAPoDqmxmOmnw1EkqbL2uctNhbGRdcJbyV9vf0nhXio=Ku_y0G9kSLVLI7HMnxd5yxifm4OBOv_oI3aW1LKdcd4=> From: <onap-discuss-boun
Re: [onap-discuss] SDC- local development - how to?
Guys, At the moment we have to ways to deploy us that we are offering one is vagrant based which works on windows and MAC. We have an option to deploy using a Linux Machin as well. In both cases you develop on your local machine and push the images to the VirtualBox VM or the Linux machine. I am also sure that you can develop on MAC or Windows 10 directly after installing docker engine. I do not think that the approach where you are only creating wars and just changing them will work, since we have a lot of logic as part of our dockers and such an approach will create difficulties for you. In addition as we progress we will be using K8 for managing our dockers and so to deploy us you will need it on your machine for us to work. This change will also be handled by us in the vagrant env. BR, Michael Lando Opensource TL , SDC AT Network Application Development * NetCom Tel Aviv | Tampa | Atlanta | New Jersey |Chicago *** Office: +972 (3) 5451487 Mobile: +972 (54) 7833603 e-mail: ml6...@intl.att.com<mailto:ml6...@intl.att.com> From: Rajewski Łukasz - Korpo [mailto:lukasz.rajew...@orange.com] Sent: Tuesday, March 06, 2018 16:24 To: Migdal, Marcin (Nokia - PL/Wroclaw) <marcin.mig...@nokia.com> Cc: onap-discuss@lists.onap.org; Lando,Michael <ml6...@intl.att.com> Subject: RE: [onap-discuss] SDC- local development - how to? Hi Marcin, Vagrant for ONAP can be configured for VirtualBox, libvirt and OpenStack. Second provider should be relevant for Linux OS environment. You can configure this provider with ENV variable export VAGRANT_DEFAULT_PROVIDER=libvirt Regards, [Logo Orange] Łukasz Rajewski, Ekspert R Orange Labs Polska, Wydział Rozwoju Zaawansowanych Systemów Sieciowych Tel.: +48 22 508 87 35, Kom.: +48 519 310 854 Orange Polska, Obrzeżna 7, 02-691 Warszawa www.orange.pl<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.orange.pl=DwMFBA=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=ZSV_GzevVnhgsiP-cT3myjpv4IfwfqbuhdeTU1sso_0=qmXxY8asQIlILe3_ibQxYBxAUzug2Fn9F3HkyPItMCg=> From: onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org> [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Migdal, Marcin (Nokia - PL/Wroclaw) Sent: Tuesday, March 06, 2018 2:32 PM To: Lando,Michael Cc: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> Subject: Re: [onap-discuss] SDC- local development - how to? Hello, Thank you for suggestions. Especially link: ttps://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/lib/sdc<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_integration_blob_master_bootstrap_vagrant-2Donap_lib_sdc=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=VAPoDqmxmOmnw1EkqbL2uctNhbGRdcJbyV9vf0nhXio=Cvh3_5oZToIdIor5o5At6iFiQSVfzGqg_eSLq1jEKpA=> is very useful. I can see that Vagrant is being used for local development with Virtual Box. Unfortunately, VirtaulBox is not a good option for running at machine hosting as OS Linux. What I am still thinking of is something simpler. I have JDK and Maven available at my machine (having Windows, Linux, Solaris, zOS, whatever) so that I am able to execute Maven's goals responsible for compilation, testing and packaging of SDC Maven modules. Now I would like to run SDC locally in order to define PNF of VFN within SDC locally. Lets assume I have Apache Tomcat/Jetty available. I can see that modules: a) sdc/catalog-be b) sdc/catalog-fe generate war modules that can be run on any Java web container, so I think they could be good starting points. So would it be a good idea to focus on mentioned artifacts? Also from Vagrant file I can see that elasticsearch & cassandra are also needed. Marcin From: Lando,Michael <ml6...@intl.att.com<mailto:ml6...@intl.att.com>> Sent: Monday, March 5, 2018 8:59 AM To: Migdal, Marcin (Nokia - PL/Wroclaw) Cc: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; Morales, Victor Subject: RE: [onap-discuss] SDC- local development - how to? Hi, You can find instructions here: https://wiki.onap.org/pages/viewpage.action?pageId=15999821<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_pages_viewpage.action-3FpageId-3D15999821=DwMFBA=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=ZSV_GzevVnhgsiP-cT3myjpv4IfwfqbuhdeTU1sso_0=NKnUlN9twGsXBAMEKrt5Zzf_0PGckCn_rbH-MDuCN7g=> you can find all the info on SDC here: https://wiki.onap.org/display/DW/Service+Design+and+Creation+%28SDC%29+Portal<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Service-2BDesign-2Band-2BCreation-2B-2528SDC-2529-2BPortal=DwMFBA=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=ZSV_GzevVnhgsiP-cT3myjpv4IfwfqbuhdeTU1sso_0=YDT97rZZ-g
Re: [onap-discuss] SDC- local development - how to?
Hi Marcin, Vagrant for ONAP can be configured for VirtualBox, libvirt and OpenStack. Second provider should be relevant for Linux OS environment. You can configure this provider with ENV variable export VAGRANT_DEFAULT_PROVIDER=libvirt Regards, [Logo Orange] Łukasz Rajewski, Ekspert R Orange Labs Polska, Wydział Rozwoju Zaawansowanych Systemów Sieciowych Tel.: +48 22 508 87 35, Kom.: +48 519 310 854 Orange Polska, Obrzeżna 7, 02-691 Warszawa www.orange.pl<http://www.orange.pl> From: onap-discuss-boun...@lists.onap.org [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Migdal, Marcin (Nokia - PL/Wroclaw) Sent: Tuesday, March 06, 2018 2:32 PM To: Lando,Michael Cc: onap-discuss@lists.onap.org Subject: Re: [onap-discuss] SDC- local development - how to? Hello, Thank you for suggestions. Especially link: ttps://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/lib/sdc<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_integration_blob_master_bootstrap_vagrant-2Donap_lib_sdc=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=VAPoDqmxmOmnw1EkqbL2uctNhbGRdcJbyV9vf0nhXio=Cvh3_5oZToIdIor5o5At6iFiQSVfzGqg_eSLq1jEKpA=> is very useful. I can see that Vagrant is being used for local development with Virtual Box. Unfortunately, VirtaulBox is not a good option for running at machine hosting as OS Linux. What I am still thinking of is something simpler. I have JDK and Maven available at my machine (having Windows, Linux, Solaris, zOS, whatever) so that I am able to execute Maven's goals responsible for compilation, testing and packaging of SDC Maven modules. Now I would like to run SDC locally in order to define PNF of VFN within SDC locally. Lets assume I have Apache Tomcat/Jetty available. I can see that modules: a) sdc/catalog-be b) sdc/catalog-fe generate war modules that can be run on any Java web container, so I think they could be good starting points. So would it be a good idea to focus on mentioned artifacts? Also from Vagrant file I can see that elasticsearch & cassandra are also needed. Marcin From: Lando,Michael <ml6...@intl.att.com<mailto:ml6...@intl.att.com>> Sent: Monday, March 5, 2018 8:59 AM To: Migdal, Marcin (Nokia - PL/Wroclaw) Cc: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; Morales, Victor Subject: RE: [onap-discuss] SDC- local development - how to? Hi, You can find instructions here: https://wiki.onap.org/pages/viewpage.action?pageId=15999821 you can find all the info on SDC here: https://wiki.onap.org/display/DW/Service+Design+and+Creation+%28SDC%29+Portal BR, Michael Lando Opensource TL , SDC AT Network Application Development * NetCom Tel Aviv | Tampa | Atlanta | New Jersey |Chicago *** Office: +972 (3) 5451487 Mobile: +972 (54) 7833603 e-mail: ml6...@intl.att.com<mailto:ml6...@intl.att.com> From: onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org> [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Morales, Victor Sent: Friday, March 02, 2018 16:16 To: Migdal, Marcin (Nokia - PL/Wroclaw) <marcin.mig...@nokia.com<mailto:marcin.mig...@nokia.com>>; onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> Subject: Re: [onap-discuss] SDC- local development - how to? Hey Marcin, We tried to collect most of the instructions (clone and compile, install dependencies, build docker images, etc.) into the vagrant-onap script [1]. This is its documentation [2], but it's not covering the configuration and installation of the IDE, I suggest to install it manually and use the opt folder given that it's sharing the source code between host and guest computers. Regards/Saludos Victor Morales [1] https://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/lib/sdc<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_integration_blob_master_bootstrap_vagrant-2Donap_lib_sdc=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=VAPoDqmxmOmnw1EkqbL2uctNhbGRdcJbyV9vf0nhXio=Cvh3_5oZToIdIor5o5At6iFiQSVfzGqg_eSLq1jEKpA=> [2] http://onap.readthedocs.io/en/amsterdam/submodules/integration.git/bootstrap/vagrant-onap/doc/source/index.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__onap.readthedocs.io_en_amsterdam_submodules_integration.git_bootstrap_vagrant-2Donap_doc_source_index.html=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=VAPoDqmxmOmnw1EkqbL2uctNhbGRdcJbyV9vf0nhXio=Ku_y0G9kSLVLI7HMnxd5yxifm4OBOv_oI3aW1LKdcd4=> From: <onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org>> on behalf of "Migdal, Marcin (Nokia - PL/Wroclaw)" <marcin.mig...@nokia.com<mailto:marcin.mig...@nokia.com>>
Re: [onap-discuss] SDC- local development - how to?
Hello, Thank you for suggestions. Especially link: ttps://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/lib/sdc<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_integration_blob_master_bootstrap_vagrant-2Donap_lib_sdc=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=VAPoDqmxmOmnw1EkqbL2uctNhbGRdcJbyV9vf0nhXio=Cvh3_5oZToIdIor5o5At6iFiQSVfzGqg_eSLq1jEKpA=> is very useful. I can see that Vagrant is being used for local development with Virtual Box. Unfortunately, VirtaulBox is not a good option for running at machine hosting as OS Linux. What I am still thinking of is something simpler. I have JDK and Maven available at my machine (having Windows, Linux, Solaris, zOS, whatever) so that I am able to execute Maven's goals responsible for compilation, testing and packaging of SDC Maven modules. Now I would like to run SDC locally in order to define PNF of VFN within SDC locally. Lets assume I have Apache Tomcat/Jetty available. I can see that modules: a) sdc/catalog-be b) sdc/catalog-fe generate war modules that can be run on any Java web container, so I think they could be good starting points. So would it be a good idea to focus on mentioned artifacts? Also from Vagrant file I can see that elasticsearch & cassandra are also needed. Marcin From: Lando,Michael <ml6...@intl.att.com> Sent: Monday, March 5, 2018 8:59 AM To: Migdal, Marcin (Nokia - PL/Wroclaw) Cc: onap-discuss@lists.onap.org; Morales, Victor Subject: RE: [onap-discuss] SDC- local development - how to? Hi, You can find instructions here: https://wiki.onap.org/pages/viewpage.action?pageId=15999821 you can find all the info on SDC here: https://wiki.onap.org/display/DW/Service+Design+and+Creation+%28SDC%29+Portal BR, Michael Lando Opensource TL , SDC AT Network Application Development · NetCom Tel Aviv | Tampa | Atlanta | New Jersey |Chicago ··· Office: +972 (3) 5451487 Mobile: +972 (54) 7833603 e-mail: ml6...@intl.att.com<mailto:ml6...@intl.att.com> From: onap-discuss-boun...@lists.onap.org [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Morales, Victor Sent: Friday, March 02, 2018 16:16 To: Migdal, Marcin (Nokia - PL/Wroclaw) <marcin.mig...@nokia.com>; onap-discuss@lists.onap.org Subject: Re: [onap-discuss] SDC- local development - how to? Hey Marcin, We tried to collect most of the instructions (clone and compile, install dependencies, build docker images, etc.) into the vagrant-onap script [1]. This is its documentation [2], but it’s not covering the configuration and installation of the IDE, I suggest to install it manually and use the opt folder given that it’s sharing the source code between host and guest computers. Regards/Saludos Victor Morales [1] https://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/lib/sdc<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_integration_blob_master_bootstrap_vagrant-2Donap_lib_sdc=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=VAPoDqmxmOmnw1EkqbL2uctNhbGRdcJbyV9vf0nhXio=Cvh3_5oZToIdIor5o5At6iFiQSVfzGqg_eSLq1jEKpA=> [2] http://onap.readthedocs.io/en/amsterdam/submodules/integration.git/bootstrap/vagrant-onap/doc/source/index.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__onap.readthedocs.io_en_amsterdam_submodules_integration.git_bootstrap_vagrant-2Donap_doc_source_index.html=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=VAPoDqmxmOmnw1EkqbL2uctNhbGRdcJbyV9vf0nhXio=Ku_y0G9kSLVLI7HMnxd5yxifm4OBOv_oI3aW1LKdcd4=> From: <onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org>> on behalf of "Migdal, Marcin (Nokia - PL/Wroclaw)" <marcin.mig...@nokia.com<mailto:marcin.mig...@nokia.com>> Date: Thursday, March 1, 2018 at 12:37 AM To: "onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>" <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> Subject: [onap-discuss] SDC- local development - how to? Hello, Is there any instruction how to setup SDC for development in any IDE? Marcin ___ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss
Re: [onap-discuss] SDC- local development - how to?
Hi, You can find instructions here: https://wiki.onap.org/pages/viewpage.action?pageId=15999821 you can find all the info on SDC here: https://wiki.onap.org/display/DW/Service+Design+and+Creation+%28SDC%29+Portal BR, Michael Lando Opensource TL , SDC AT Network Application Development · NetCom Tel Aviv | Tampa | Atlanta | New Jersey |Chicago ··· Office: +972 (3) 5451487 Mobile: +972 (54) 7833603 e-mail: ml6...@intl.att.com<mailto:ml6...@intl.att.com> From: onap-discuss-boun...@lists.onap.org [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Morales, Victor Sent: Friday, March 02, 2018 16:16 To: Migdal, Marcin (Nokia - PL/Wroclaw) <marcin.mig...@nokia.com>; onap-discuss@lists.onap.org Subject: Re: [onap-discuss] SDC- local development - how to? Hey Marcin, We tried to collect most of the instructions (clone and compile, install dependencies, build docker images, etc.) into the vagrant-onap script [1]. This is its documentation [2], but it’s not covering the configuration and installation of the IDE, I suggest to install it manually and use the opt folder given that it’s sharing the source code between host and guest computers. Regards/Saludos Victor Morales [1] https://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/lib/sdc<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_integration_blob_master_bootstrap_vagrant-2Donap_lib_sdc=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=VAPoDqmxmOmnw1EkqbL2uctNhbGRdcJbyV9vf0nhXio=Cvh3_5oZToIdIor5o5At6iFiQSVfzGqg_eSLq1jEKpA=> [2] http://onap.readthedocs.io/en/amsterdam/submodules/integration.git/bootstrap/vagrant-onap/doc/source/index.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__onap.readthedocs.io_en_amsterdam_submodules_integration.git_bootstrap_vagrant-2Donap_doc_source_index.html=DwMGaQ=LFYZ-o9_HUMeMTSQicvjIg=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY=VAPoDqmxmOmnw1EkqbL2uctNhbGRdcJbyV9vf0nhXio=Ku_y0G9kSLVLI7HMnxd5yxifm4OBOv_oI3aW1LKdcd4=> From: <onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org>> on behalf of "Migdal, Marcin (Nokia - PL/Wroclaw)" <marcin.mig...@nokia.com<mailto:marcin.mig...@nokia.com>> Date: Thursday, March 1, 2018 at 12:37 AM To: "onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>" <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> Subject: [onap-discuss] SDC- local development - how to? Hello, Is there any instruction how to setup SDC for development in any IDE? Marcin ___ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss
Re: [onap-discuss] SDC- local development - how to?
Hey Marcin, We tried to collect most of the instructions (clone and compile, install dependencies, build docker images, etc.) into the vagrant-onap script [1]. This is its documentation [2], but it’s not covering the configuration and installation of the IDE, I suggest to install it manually and use the opt folder given that it’s sharing the source code between host and guest computers. Regards/Saludos Victor Morales [1] https://github.com/onap/integration/blob/master/bootstrap/vagrant-onap/lib/sdc [2] http://onap.readthedocs.io/en/amsterdam/submodules/integration.git/bootstrap/vagrant-onap/doc/source/index.html From:on behalf of "Migdal, Marcin (Nokia - PL/Wroclaw)" Date: Thursday, March 1, 2018 at 12:37 AM To: "onap-discuss@lists.onap.org" Subject: [onap-discuss] SDC- local development - how to? Hello, Is there any instruction how to setup SDC for development in any IDE? Marcin ___ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss