Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

Application Development Tutorial - Archetype Version

I am trying to follow the Application Development Tutorial, here:

The project was created after the opendaylight-startup-archetype, as described in the tutorial:

mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller \
-DarchetypeArtifactId=opendaylight-startup-archetype \
-DarchetypeVersion=1.2.0-SNAPSHOT \
-DarchetypeRepository= \

The HelloProvider class (at impl/src/main/java/org/opendaylight/hello/impl/, however, doesn't correspond to what is described in the tutorial.

The tutorial version, for example, has:

    public void onSessionInitiated(ProviderContext session) {"HelloProvider Session Initiated");

While mine has:

  * Method called when the blueprint container is created.
  public void init() {"HelloProvider Session Initiated");

Aside for other differences. I checked the archetype source code here and it really doesn't match what's described at the tutorial.

Am I missing anything, or did the 1.2.0-SNAPSHOT version of the archetype really changed? According to the answer for this question, it seems that it has something to do to OpenDaylight using Blueprint, and that I should use a different version of the archetype. What are the implicantions of this change?

Thanks in advance.