Fouad,

On Fri, Nov 2, 2018 at 5:09 PM benamrane fouad <benamranefou...@gmail.com>
wrote:

> Hi again,
>
> Thanks for your instructions. I tried to use the from 1.5.4-Snapshot,
> 1.5.4, to 1.4.0 but after compile, it seems that this version misses some
> pom files for karaf, features and artifacts or compile errors. I found a
> stable release which is 1.3.4-Carbon, and everything works fine including
> the yangtool packages.
>

just in case you are still interested in this, I wanted to let you know
that we've finally resolved https://jira.opendaylight.org/browse/ARCH-3 and
the ODL Archetype works for the current Neon development on master branches
again; big thanks to Tom Pantelis!


> I have one last question related to the software architecture, now I have
> an empty template to use for my SDN application based on ODL, from where I
> can specify which basic services I will use such as snmp or Lisp. Is it in
> the main pom or just we install them from karaf as bundle then talk to them
> using rpc. Could you provide some doc for interaction between application.
>

you would add a dependency to whatever odl-xyz features you want to use in
your own project's odl-abc Karaf feature. This way when you load your
feature those projects also get loaded. You would then add a dependency to
the respective project's respective API bundle, and inject and consume
those services. You can then call those services.

Does this help and make sense?


> Thanks again for your help.
>
> Best,
> Fouad
>
> Le ven. 2 nov. 2018 à 11:04, Michael Vorburger <vorbur...@redhat.com> a
> écrit :
>
>> On Fri, Nov 2, 2018 at 11:51 AM benamrane fouad <
>> benamranefou...@gmail.com> wrote:
>>
>>> Hi again,
>>>
>>> I don't think it is possible to use the archetype
>>> org.opendaylight.controller anymore. When using this archetype with the
>>> latest version available in nexus.opendaylight.org which is
>>> 1.7.0-SNAPSHOT.
>>> mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller
>>> -DarchetypeArtifactId=opendaylight-startup-archetype
>>> -DarchetypeCatalog=remote -DarchetypeVersion=1.7.0-SNAPSHOT
>>>
>>> After build and compile, the project is not created just two files are
>>> placed inside the folder, pom.xml and README.txt. The later file showing
>>> that org.opendaylight.controller is not supported anymore and we should use
>>> the "archetypes" groupId, which turns on the initial problem. Is there any
>>> way to build an ODL project with any stable version now ?
>>>
>>
>> no don't use version 1.7.0-SNAPSHOT, that is Neon (the current bleeding
>> edge master, where we are currently working on to re-stabilize everything
>> following tis major version bump) ... just use 1.5.4-SNAPSHOT instead -
>> that is the much more stable Oxygen SR 4.
>>
>>
>> https://github.com/opendaylight/controller/blob/master/opendaylight/archetypes/opendaylight-startup/pom.xml
>>
>>
>> https://nexus.opendaylight.org/#nexus-search;gav~org.opendaylight.controller~opendaylight-startup-archetype~~~~kw,versionexpand
>>
>>
>> Best,
>>> Fouad
>>>
>>> Le ven. 2 nov. 2018 à 10:37, Michael Vorburger <vorbur...@redhat.com> a
>>> écrit :
>>>
>>>> On Fri, Nov 2, 2018 at 11:03 AM benamrane fouad <
>>>> benamranefou...@gmail.com> wrote:
>>>>
>>>>> Hi Michael,
>>>>>
>>>>> Yes, I am planning to contribute to ODL by proposing new services or
>>>>> applications. I had some commit in neutron and moasca openstack projects.
>>>>> But, I am new in ODL architecture so I am just starting to learn how to
>>>>> implement new functions based on the official doc for developers. I can
>>>>> help to resolve this issue but I have no idea how. If you can provide me
>>>>> with necessary instructions, I will propose a change for this.
>>>>>
>>>>
>>>> basically we very recently changed a couple of things with a major new
>>>> version bump, and therefore the instructions on
>>>> https://docs.opendaylight.org/en/latest/developer-guide/developing-apps-on-the-opendaylight-controller.html
>>>> are currently broken ... https://jira.opendaylight.org/browse/ARCH-3
>>>> is the issue to update the Maven archetype; someone has to apply
>>>> https://wiki.opendaylight.org/view/Neon_platform_upgrade, which all
>>>> other (as in non-Archetype) ODL projects recently did (recent as in merged
>>>> just last week), to
>>>> https://github.com/opendaylight/archetypes/tree/master/opendaylight-startup/src/main/resources/archetype-resources
>>>> and raise a Gerrit with that ...
>>>>
>>>> BTW: You could, of course, always use an older stable version of
>>>> OpenDaylight, e.g. Oxygen, see
>>>> https://docs.opendaylight.org/en/stable-oxygen/developer-guide/developing-apps-on-the-opendaylight-controller.html
>>>> (note the old archetypeGroupId previously was org.opendaylight.controller
>>>> instead of org.opendaylight.archetypes)
>>>>
>>>> Best,
>>>>> Fouad
>>>>>
>>>>> Le jeu. 1 nov. 2018 à 21:21, Michael Vorburger <vorbur...@redhat.com>
>>>>> a écrit :
>>>>>
>>>>>> archetypes-dev friends, who of you is up for doing
>>>>>> https://jira.opendaylight.org/browse/ARCH-3 now, coming days / next
>>>>>> week?
>>>>>>
>>>>>> Fouad, would you have any interest in contributing back to
>>>>>> OpenDaylight and help with this task and propose a Gerrit change 
>>>>>> addressing
>>>>>> issue ARCH-3? We could help guide you, if needed.
>>>>>>
>>>>>> Tx,
>>>>>> M.
>>>>>> --
>>>>>> Michael Vorburger, Red Hat
>>>>>> vorbur...@redhat.com | IRC: vorburger @freenode | ~ =
>>>>>> http://vorburger.ch
>>>>>>
>>>>>>
>>>>>> On Thu, Nov 1, 2018 at 7:51 PM Robert Varga <n...@hq.sk> wrote:
>>>>>>
>>>>>>> On 01/11/2018 16:29, benamrane fouad wrote:
>>>>>>> > Hi all,
>>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> > I would like to reproduce the hello world application in odl using
>>>>>>> > latest versions, but I got an error after creating the yang rpc
>>>>>>> model.
>>>>>>> >
>>>>>>> > org.apache.felix.resolver.reason.ReasonException: Unable to resolve
>>>>>>> > org.opendaylight.mdsal.yang-binding/0.14.0.SNAPSHOT: missing
>>>>>>> requirement
>>>>>>> > [org.opendaylight.mdsal.yang-binding/0.14.0.SNAPSHOT]
>>>>>>> > osgi.wiring.package;
>>>>>>> >
>>>>>>> filter:="(&(osgi.wiring.package=org.opendaylight.yangtools.util)(version>=2.0.0)(!(version>=3.0.0)))"
>>>>>>> >     at
>>>>>>> >
>>>>>>> org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
>>>>>>> >     at
>>>>>>> >
>>>>>>> org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:420)
>>>>>>> >     at
>>>>>>> org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:378)
>>>>>>> >     at
>>>>>>> org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:332)
>>>>>>> >     at
>>>>>>> >
>>>>>>> org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257)
>>>>>>> >     at
>>>>>>> >
>>>>>>> org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:388)
>>>>>>> >     at
>>>>>>> >
>>>>>>> org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1025)
>>>>>>> >     at
>>>>>>> >
>>>>>>> org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:964)
>>>>>>> >     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>>>>>> >     at
>>>>>>> >
>>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>>>>>>> >     at
>>>>>>> >
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>>>>>>> >     at java.lang.Thread.run(Thread.java:748)
>>>>>>> >
>>>>>>> > My environment and build command
>>>>>>> > java 1.8.0_181
>>>>>>> > maven 3.5.4
>>>>>>> > to create hello project I setup the maven archetype:
>>>>>>> > mvn archetype:generate
>>>>>>> -DarchetypeGroupId=org.opendaylight.archetypes
>>>>>>> > -DarchetypeArtifactId=opendaylight-startup-archetype
>>>>>>> > -DarchetypeCatalog=remote -DarchetypeVersion=1.1.0-SNAPSHOT
>>>>>>>
>>>>>>> Archetype has not been updated in the Neon MRI window:
>>>>>>> https://jira.opendaylight.org/browse/ARCH-3.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Robert
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> controller-dev mailing list
>>>>>>> controller-dev@lists.opendaylight.org
>>>>>>> https://lists.opendaylight.org/mailman/listinfo/controller-dev
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Fouad Benamrane
>>>>> Postdoc Research Assistant at University of Bradford, UK
>>>>> http://ma.linkedin.com/pub/fouad-benamrane/23/1a5/881
>>>>> http://www.researchgate.net/profile/Fouad_Benamrane2
>>>>>
>>>>>
>>>>>
>>>
>>> --
>>> Fouad Benamrane
>>> Postdoc Research Assistant at University of Bradford, UK
>>> http://ma.linkedin.com/pub/fouad-benamrane/23/1a5/881
>>> http://www.researchgate.net/profile/Fouad_Benamrane2
>>>
>>>
>>>
>
> --
> Fouad Benamrane
> Postdoc Research Assistant at University of Bradford, UK
> http://ma.linkedin.com/pub/fouad-benamrane/23/1a5/881
> http://www.researchgate.net/profile/Fouad_Benamrane2
>
>
>
_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to