Unfortunately, I'm rather new to Maven (and build tools in general), so I don't really know what I'm doing. I tried to add all of the Spring dependencies to the pom.xml that is created by the onos-app tool, and it builds fine. I can even run the app if I put in a main method and add the "application.run()" call to the main method. However, when I try to activate the app through ONOS, I see this error in the logs:
"Could not start bundle mvn:local.matt/test-api/1.0-SNAPSHOT in feature(s) test-api-1.0-SNAPSHOT: Unresolved constraint in bundle test-api [182]: Unable to resolve 182.0: missing requirement [182.0] osgi.wiring.package; (osgi.wiring.package=org.springframework.boot)"
From what I've found online, it seems that org.springframework.boot cannot be run inside an OSGI container. I've found conflicting information about that though, so I'm not sure if it's true or not.
So, can someone give me some guidance as to how I can expose a REST API when an app is activated? I am not married to Spring, I just chose it because I once went through their tutorials in the past. At this point, I just need to figure out how to accomplish the end-goal; I'm not too worried about the technologies I'll have to use to get there.
Thanks!
--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/030b9e92-3719-41f8-91f4-97f1f62ec844%40onosproject.org.
Do you know off-hand what the endpoint is? I haven't found any documentation for it either.
I have created sample application using REST reference to https://wiki.onosproject.org/display/ONOS/Template+Application+Tutorial.
I am facing issue to activate dependency application like restsb. when my application is loaded and activated at ONOS, it is not automatically activating restSB. right now i am activating manually.
If I look at Ciena, Arista drivers, when the respective drivers are activated, corresponding dependency restSB also getting activated. Highly appreciated your help to resolve the issue.
Regards
Nisha
--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/02143068-9021-47bb-84f7-0c2ccd8605d7%40onosproject.org.
Hi Jeenath,the restsb and the northbound REST interfaces are two very different things.:-restsb is the southbound provider to comunicate with a REST capable device and push it into the ONOS DeviceManager and consequently in the DeviceStore. In this case ONOS is the Client of the request.- the REST northbound is to expose REST endpoints from your application in order to consume request such as GET/POST/DELETE react and reply to them. In this case ONOS is the server.The Ciena drivers are related to southbound interaction with devices.An example of application that has some REST northbound endpoints isn the DHCP one.What is the goal of your application ?
Cheers,Andrea CampanellaMember of Technical Staff at ON.Lab
On Mar 14, 2017, at 4:23 PM, Jeenath <nisha....@gmail.com> wrote:
Hi,
I have created sample application using REST reference to https://wiki.onosproject.org/display/ONOS/Template+Application+Tutorial.
I am facing issue to activate dependency application like restsb. when my application is loaded and activated at ONOS, it is not automatically activating restSB. right now i am activating manually.
If I look at Ciena, Arista drivers, when the respective drivers are activated, corresponding dependency restSB also getting activated. Highly appreciated your help to resolve the issue.
Regards
Nisha
--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.
--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAEyy4s8H7VdS-DAQF-vCfdoYsOGcFxRj1NmOR77kYtJLCnz8iA%40mail.gmail.com.
On Mar 16, 2017, at 11:30, Sonali Chandna <sonalich...@gmail.com> wrote:Hi Thomas,I m getting following error in the CLI when we trying to access GUI.
2017-03-16 12:55:32,502 | ERROR | qtp743067603-38 | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.UiExtensionManager(128)] unbind method [unbindStorageService] not found
2017-03-16 12:55:32,502 | ERROR | qtp743067603-38 | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.UiExtensionManager(128)] unbind method [unbindMastershipService] not found
2017-03-16 12:55:32,502 | ERROR | qtp743067603-38 | onos-gui | 158 - org.onosproject.onos-gui - 1.10.0.SNAPSHOT | [org.onosproject.ui.impl.UiExtensionManager(128)] Failed creating the component instance; see log for reason
On Thu, Mar 16, 2017 at 11:59 AM, Thomas Vachuska <t...@onlab.us> wrote:
No buck is set is a just a notification that the buckd has been suppressed; it’s not an error. Where exactly is it stuck? Can you post the output or a screen shot?
Thomas
On Mar 16, 2017, at 05:12, Sonali Chandna <sonalich...@gmail.com> wrote:
Hi,I have been trying to install onos from scratch from the developer guide wiki stepsI am getting following errors1. No buckd is set.. I am watching the video by Thomas even his steps says no buckd is set2. When I try to follow the step in the wiki page 'running onos locally' with commandIt strucks in between and with the force killing and moving to next step give me the error when I install GUI command saying onos GUI not rady yetCan any one pls helpRegardsSonali
--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.
Thomas
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.
<Erro_log>
--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAEyy4s8Bi9E5EnonTPPqubi%2B%2BXCyYOQE%2BU_3-W1A90Y1uuFBcA%40mail.gmail.com.
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
protected StorageService storageService;
prefsConsistentMap = storageService.<String, ObjectNode>consistentMapBuilder() <---- line 215
.withName(ONOS_USER_PREFERENCES)
.withSerializer(serializer)
.withRelaxedReadConsistency()
.build();
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
private ClusterService clusterService;
clusterService.addListener(clusterListener); <---- line 152
mastershipService.addListener(mastershipListener);
regionService.addListener(regionListener);
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
buck run onos-local -- clean debug

To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
On Mar 17, 2017, at 12:25 AM, Sonali Chandna <sonalich...@gmail.com> wrote:
Ok thanks
On Thu, Mar 16, 2017 at 7:24 PM Simon Hunt <si...@onlab.us> wrote:
Hi Sonali,Hmmm, I didn't do anything special - just "Update Project" from IntelliJ.I'm not sure what the CLI command is (git pull ?) -- someone more used to using git/gerrit from the command line may be able to help.Cheers,~Simon
On Thu, Mar 16, 2017 at 4:05 PM, Sonali Chandna <sonalich...@gmail.com> wrote:
Hi simonThat's awesome .. does not work for me though .. is there any particaular command or instructions for pulling latest from master
On Thu, Mar 16, 2017 at 6:56 PM Simon Hunt <si...@onlab.us> wrote:
Not sure that this is a particularly helpful comment, but I've just pulled latest from master (8c05c9b3e681c958c7686fb8fe2d9f431c028418) and rebuilt and run..buck run onos-local -- clean debug
No such issues seen.<image.png>
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAEyy4s8M4c8XPBXs-jfe6VB3B2e0yVMyoxpaZCyZ5xO4cDGgmw%40mail.gmail.com.
i think it picks up from master branch
Also the error for GUI is as below 

Ok thanks
~Simon
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/CAEyy4s8Bi9E5EnonTPPqubi%2B%2BXCyYOQE%2BU_3-W1A90Y1uuFBcA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+unsubscribe@onosproject.org.
To post to this group, send email to onos...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-dev/.
On Mar 17, 2017, at 12:14 PM, Sonali Chandna <sonalich...@gmail.com> wrote:
Hi Andrea,I have the git code from gerrit command asi think it picks up from master branchAlso the error for GUI is as below
<image.png>
Here is the java file with the line number 215.
<image.png>
$ git clone https://gerrit.onosproject.org/onos
Is there something I am missing here or that's the only command to pull onos from onos masters branch in github?
Hi Thomas,I have run the$ONOS_ROOT/tools/build/onos-buckrun onos-local-- clean debugIt shows me some errors in attached file.On Thu, Mar 16, 2017 at 5:25 PM Sonali Chandna <sonalich...@gmail.com> wrote:
Hi Andrea,Just a quick question should i install onos from git clone https://github.com/opennetworkinglab/onos.git Or $ git clone https://gerrit.onosproject.org/onos
Thanks, for your help. Now the error has been resolved.But we are facing a new error message.
$ONOS_ROOT/tools/test/bin/onos localhost
Unable to negotiate with 127.0.0.1 port 8101: no matching cipher found. Their offer:
can you please help
Regards
Harpreet
--
You received this message because you are subscribed to the Google Groups "ONOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-dev+u...@onosproject.org.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-dev/63b3dcf5-29ce-45ba-b156-1937ff245925n%40onosproject.org.