General question about DOSGi

2017-10-23 Thread Massimo Bono
something, probably for my inexperience. Can someone solves this question of mine? Thanks! -- *Ing. Massimo Bono*

Re: General question about DOSGi

2017-10-24 Thread Massimo Bono
hat the service > that has to be exposed for remote call should contain > exported.service.interface property). > > Regards > JB > > On 10/23/2017 10:13 PM, Massimo Bono wrote: > >> Hello, >> >> I'm trying to grasp my mind on DOSGi; I want to have a gene

Re: General question about DOSGi

2017-10-24 Thread Massimo Bono
; service exposed from an OSGi service. > > Regards > JB > > On 10/24/2017 09:24 AM, Massimo Bono wrote: > >> So, it's like saying: >> >> We know DOSGI implements RPC with REST-ful services, so we exploit that >> in order to create some rest webservices

Karaf maven plugin features-generate-descriptor questions

2017-11-13 Thread Massimo Bono
I've looked into a Mojo). Why can't we have a "dependentFeature" tag? 2) Related to the first question: what is the purpose of " prerequisiteFeatures" and "dependencyFeatures" parameters? Thanks for any kind reply! -- *Ing. Massimo Bono*

Re: Karaf maven plugin features-generate-descriptor questions

2017-11-26 Thread Massimo Bono
finalized XML directly. > 2. It's related to the features XML generated: if the inner feature > contains the prerequesite=true and dependency=true flags. > > Regards > JB > > On 11/13/2017 09:50 AM, Massimo Bono wrote: > >> Hello, >> >> I've several question

General question about feature cxf and http/war

2017-11-24 Thread Massimo Bono
and thanks for any kind reply [1] https://stackoverflow.com/questions/24640515/how-deploy-a-war-web-project-in-karaf-3 [2] https://karaf.apache.org/manual/latest/webcontainer -- *Ing. Massimo Bono*

Re: Conditional-Package

2017-12-11 Thread Massimo Bono
ts an isolated incident where > it > simply didn't have enough TLC, but at the same time It made be question how > useful the instruction was. > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- *Ing. Massimo Bono*

Re: General question about DOSGi

2017-10-24 Thread Massimo Bono
Ok, now my doubt has been cleared out. Thank you! 2017-10-24 12:09 GMT+02:00 Jean-Baptiste Onofré <j...@nanthrax.net>: > Correct. > > Regards > JB > > On 10/24/2017 11:19 AM, Massimo Bono wrote: > >> In that case the user wouldn't interact with the browser, but

Pax Exam + Karaf + Conditional Packages

2018-11-20 Thread Massimo Bono
Hello, I want to test an OSGi bundle built with bnd using conditional-packages via pax-exam. The conditional-package allows the bundle to use some utility classes (e.g., like from https://stackoverflow.com/a/39500621/1887602) The test is setup like the following: @Test public void exampleTest()

Re: Pax Exam + Karaf + Conditional Packages

2018-11-26 Thread Massimo Bono
, but works. Il giorno mar 20 nov 2018 alle ore 11:34 Massimo Bono < massimobo...@gmail.com> ha scritto: > Hello, > > I want to test an OSGi bundle built with bnd using conditional-packages > via pax-exam. The conditional-package allows the bundle to use some utility > classes (

Karaf Cave obr:add-url

2019-09-09 Thread Massimo Bono
Inside a configuration file? I think it would be better inside a configuration file, but I'm unsure about which one. Sorry for the newbie question and thank for any kind reply. -- *Ing. Massimo Bono*

Re: Karaf Cave obr:add-url

2019-09-16 Thread Massimo Bono
Hi all, Do you any update regarding this question? Thanks Il giorno lun 9 set 2019 alle ore 23:07 Massimo Bono ha scritto: > Hi all, > > I've successfully setup in a local Docker container an instance of karaf > cave with an OBR repository and I have populate it with some bundle

Re: Karaf Cave obr:add-url

2019-09-16 Thread Massimo Bono
> It's where you will have the repository.xml with the metadata. > > Regards > JB > > Le 9 sept. 2019 14:07, Massimo Bono a écrit : > > Hi all, > > I've successfully setup in a local Docker container an instance of > karaf cave with an OBR repos

Testing a HTTP GET from WAB

2019-11-16 Thread Massimo Bono
he browser I cannot see anything as well). Surely I'm doing something wrong. Is this the correct way to test a webapp? Thanks for any kind reply! -- *Ing. Massimo Bono*

Re: Testing a HTTP GET from WAB

2019-11-16 Thread Massimo Bono
In the test, you can check with web:list and http:list if the status is > deployed (and not deploying). > Maybe you test the connection before the endpoint is actually started. > You can see how we do it in the karaf examples itests. > > Regards > JB > > Le 16 nov. 2019 11:01, M

XML Parsing Error in Apache Cave repository.xml

2019-12-10 Thread Massimo Bono
;get", I obtain a 404 error. Am I doing something wrong? Thanks for any kind reply -- *Ing. Massimo Bono*

Re: Missing requirement of org.osgi.service.component

2019-12-17 Thread Massimo Bono
resolution:=mandatory [caused by: Unable to > resolve FOO/0.0.1: missing requirement [FOO/0.0.1] osgi.wiring.package; > filter:="(&(osgi.wiring.package=org.osgi.service.component)(version>=1.3.0)(!(version>=2.0.0)))”]] > > > This error is actually not to do with annotation inheritance

Missing requirement of org.osgi.service.component

2019-12-17 Thread Massimo Bono
2.0.0)))"]] Note that I install the artifact exposing class AbstractBundle via a karaf feature. Am I doing something which is invalid? Thanks for any kind reply -- *Ing. Massimo Bono*

Re: Missing requirement of org.osgi.service.component

2019-12-17 Thread Massimo Bono
f, but there > are issues in Karaf if you end up with two DS implementations running at > the same time (and there really should be one deployed by default!). > > I hope this helps. > > Tim > > Sent from my iPhone > > On 17 Dec 2019, at 17:51, Massimo Bono wrote

Re: Missing requirement of org.osgi.service.component

2019-12-17 Thread Massimo Bono
FOO/0.0.1: missing requirement [FOO/0.0.1] > >> osgi.wiring.package; > >> > > filter:="(&(osgi.wiring.package=org.osgi.service.component)(version>=1.3.0)(!(version>=2.0.0)))”]] > > > > This error is actually not to do with annotation inherita

Re: XML Parsing Error in Apache Cave repository.xml

2019-12-11 Thread Massimo Bono
ith the command first: > > cave:repository-update-bundle-descriptor foo > > ? > > By the way, the cave feature doesn't exist, it's just cave-repository. > Did you clean you Karaf instance (data folder) if you migrated from a > previous Cave version ? > > Regards > JB > > On

Re: XML Parsing Error in Apache Cave repository.xml

2019-12-11 Thread Massimo Bono
; 4.2.1 ? I fixed issues on the repository location. > > Regards > JB > > On 11/12/2019 16:07, Massimo Bono wrote: > > Hi JB, > > > > here's the steps: > > 1) I've created the repository with "cave:repository-create foo"; > > 2) I changed the location w

Re: XML Parsing Error in Apache Cave repository.xml

2019-12-11 Thread Massimo Bono
That's the way OBR works unfortunately. You can split the artifacts in > different repositories. > > Do you have a lot of artifacts in your repository ? > > Regards > JB > > Le 11 déc. 2019 09:43, Massimo Bono a écrit : > > Hi, now the http url works. However, I'm

Re: XML Parsing Error in Apache Cave repository.xml

2019-12-11 Thread Massimo Bono
Sorry, I put the wrong link. The correct one is http://karaf.922171.n3.nabble.com/Bug-on-cave-repository-update-td4056780.html Il giorno mer 11 dic 2019 alle ore 18:43 Massimo Bono < massimobo...@gmail.com> ha scritto: > Hi, now the http url works. However, I'm getting the same

Re: XML Parsing Error in Apache Cave repository.xml

2019-12-11 Thread Massimo Bono
e artifact are appended in the repository.xml file, making the file bigger and bigger. This in turn make obr:deploy fail. Is there a workaround? Il giorno mer 11 dic 2019 alle ore 17:20 Massimo Bono < massimobo...@gmail.com> ha scritto: > yes, I'm using Cave 4.2.0. Let me try 4.2.1 > >

Re: XML Parsing Error in Apache Cave repository.xml

2019-12-11 Thread Massimo Bono
Thanks, really appreciating it! Il giorno mer 11 dic 2019 alle ore 20:12 ha scritto: > It's fine. Let me check if I can improve a bit the descriptor handling. > > Regards > JB > > Le 11 déc. 2019 10:59, Massimo Bono a écrit : > > ATM no, but in the future probabl

Re: Bug on cave:repository-update?

2019-10-18 Thread Massimo Bono
ctoring: > > https://github.com/apache/karaf-cave/pull/27 > > I plan to merge the PR later today and cut Cave 4.2.0 soon (probably > during the weekend). > > Cave will be simpler, first Maven focus, and the repository.xml > generation will only use local artifacts. > > Re

Bug on cave:repository-update?

2019-10-17 Thread Massimo Bono
xml" (enphasis mine). However, cave:repository-update will fail if the file is deleted from the filesystem, hence the workaround. Finally, my setup: OBR SERVER: Operating system: Raspian buster 10 Apache karaf hosting cave: 4.2.6 Apache cave: 4.1.2 OBR CLIENT: Apache karaf where bundles will be