You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Joseph Butler <jo...@yahoo.com> on 2013/02/20 00:35:38 UTC

Karaf Pax Exam advice in Fuse ESB Release 7.1.0.xxx

Hello,

I am working with fuse esb release 7.1.0.fuse-047 and using the
documentation found here:
http://fusesource.com/docs/esbent/7.1/esb_deploy_osgi/PaxExam-Introduction.html

I acknowledge that is fuse documentation, but just wanted to mention one of
my sources :)  If there is a better forum for my question, I'll gladly go
elsewhere.  

It is my intent to deploy a simple OSGi service in fuse esb 7.1.0.fuse-047
and verify its existence in an integration test.  I *believe* the
recommendation is to use the Pax Exam framework for this.

It seems that org.apache.karaf.tooling.testing does not exist in the
2.3.0.xxx releases, therefore the examples I am following don't work due to
AbstractIntegrationTest being referenced and not present. (Last one I see is
in 2.2.5.fuse-70-087)

I then looked at the karaf documentation for integration tests, and it seems
there is some guidance coming that references
org.apache.karaf.tooling.exam.container artifacts, starting with 2.3.0.xxx
releases

I also looked at the source code for fuse, and noticed that there is a
"FuseTestSupport" class in the org.fusesource.tooling.testing/pax-exam-karaf
artifact.

So - the question is, which is the proper path to follow? Do I just use
"old" karaf tooling.test artifacts (< 2.2.9) for now? Or do I use the
FuseTestSupport package from fusesource?  Or do I learn about the
exam.container artifacts and the "KarafTestContainer"

Thanks for your time.
Joe




--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-Pax-Exam-advice-in-Fuse-ESB-Release-7-1-0-xxx-tp4027806.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Re: Karaf Pax Exam advice in Fuse ESB Release 7.1.0.xxx

Posted by Charles Moulliard <ch...@gmail.com>.
If you use the release 7.1 of Fuse (7.1.0.fuse-047) you should contact
RedHat support for any question or raise your question on Fuse Fabric
mailing list


On Wed, Feb 20, 2013 at 7:39 AM, Chris Geer <ch...@cxtsoftware.com> wrote:

> On Tue, Feb 19, 2013 at 4:35 PM, Joseph Butler <jo...@yahoo.com>
> wrote:
>
> > Hello,
> >
> > I am working with fuse esb release 7.1.0.fuse-047 and using the
> > documentation found here:
> >
> >
> http://fusesource.com/docs/esbent/7.1/esb_deploy_osgi/PaxExam-Introduction.html
> >
> > I acknowledge that is fuse documentation, but just wanted to mention one
> of
> > my sources :)  If there is a better forum for my question, I'll gladly go
> > elsewhere.
> >
>
> Someone here might be able to answer the question but you might also want
> to try the Fuse forums.
>
> http://fusesource.com/forums/index.jspa
>
> >
> > It is my intent to deploy a simple OSGi service in fuse esb
> 7.1.0.fuse-047
> > and verify its existence in an integration test.  I *believe* the
> > recommendation is to use the Pax Exam framework for this.
> >
> > It seems that org.apache.karaf.tooling.testing does not exist in the
> > 2.3.0.xxx releases, therefore the examples I am following don't work due
> to
> > AbstractIntegrationTest being referenced and not present. (Last one I see
> > is
> > in 2.2.5.fuse-70-087)
> >
> > I then looked at the karaf documentation for integration tests, and it
> > seems
> > there is some guidance coming that references
> > org.apache.karaf.tooling.exam.container artifacts, starting with
> 2.3.0.xxx
> > releases
> >
> > I also looked at the source code for fuse, and noticed that there is a
> > "FuseTestSupport" class in the
> > org.fusesource.tooling.testing/pax-exam-karaf
> > artifact.
> >
> > So - the question is, which is the proper path to follow? Do I just use
> > "old" karaf tooling.test artifacts (< 2.2.9) for now? Or do I use the
> > FuseTestSupport package from fusesource?  Or do I learn about the
> > exam.container artifacts and the "KarafTestContainer"
> >
> > Thanks for your time.
> > Joe
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://karaf.922171.n3.nabble.com/Karaf-Pax-Exam-advice-in-Fuse-ESB-Release-7-1-0-xxx-tp4027806.html
> > Sent from the Karaf - Dev mailing list archive at Nabble.com.
> >
>



-- 
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com

Re: Karaf Pax Exam advice in Fuse ESB Release 7.1.0.xxx

Posted by Chris Geer <ch...@cxtsoftware.com>.
On Tue, Feb 19, 2013 at 4:35 PM, Joseph Butler <jo...@yahoo.com> wrote:

> Hello,
>
> I am working with fuse esb release 7.1.0.fuse-047 and using the
> documentation found here:
>
> http://fusesource.com/docs/esbent/7.1/esb_deploy_osgi/PaxExam-Introduction.html
>
> I acknowledge that is fuse documentation, but just wanted to mention one of
> my sources :)  If there is a better forum for my question, I'll gladly go
> elsewhere.
>

Someone here might be able to answer the question but you might also want
to try the Fuse forums.

http://fusesource.com/forums/index.jspa

>
> It is my intent to deploy a simple OSGi service in fuse esb 7.1.0.fuse-047
> and verify its existence in an integration test.  I *believe* the
> recommendation is to use the Pax Exam framework for this.
>
> It seems that org.apache.karaf.tooling.testing does not exist in the
> 2.3.0.xxx releases, therefore the examples I am following don't work due to
> AbstractIntegrationTest being referenced and not present. (Last one I see
> is
> in 2.2.5.fuse-70-087)
>
> I then looked at the karaf documentation for integration tests, and it
> seems
> there is some guidance coming that references
> org.apache.karaf.tooling.exam.container artifacts, starting with 2.3.0.xxx
> releases
>
> I also looked at the source code for fuse, and noticed that there is a
> "FuseTestSupport" class in the
> org.fusesource.tooling.testing/pax-exam-karaf
> artifact.
>
> So - the question is, which is the proper path to follow? Do I just use
> "old" karaf tooling.test artifacts (< 2.2.9) for now? Or do I use the
> FuseTestSupport package from fusesource?  Or do I learn about the
> exam.container artifacts and the "KarafTestContainer"
>
> Thanks for your time.
> Joe
>
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Karaf-Pax-Exam-advice-in-Fuse-ESB-Release-7-1-0-xxx-tp4027806.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>