Skip to content

GdInfb/fuse

 
 

Repository files navigation

Open Source, Camel based iPaaS

Welcome to the Fuse open source stack which consists of:

also see

Here's a Demo

For slides and videos see this blog post on the CamelOne 2013 keynote.

<iframe src="http://player.vimeo.com/video/68126320" width="500" height="313" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>

Camel in the cloud demo from CamelOne 2013 from James Strachan on Vimeo.

Creating a Fabric

You can try a download of the Fuse Fabric code or build the project with maven via:

cd fabric/fuse-fabric/target
tar xf fuse-fabric-99-master-SNAPSHOT.tar.gz
cd fuse-fabric-99-master-SNAPSHOT

From the distro, start up the Fuse container via:

bin/fusefabric

Once the container starts up, create a Fabric:

fabric:create --new-user admin --new-user-password admin

then to enable the hawtio console:

container-add-profile root hawtio

you should be able to then open it at http://localhost:8181/hawtio/

to add kibana for ElasticSearch based search of logs, metrics & camel messages:

container-add-profile root kibana

the profile I used in the demo video is example-camel-fabric or can be created via the console via:

container-create-child  --profile example-camel-fabric root mycamel

Running the drools workbench

To demonstrate the provisioning of Tomcat from inside Fuse Fabric along with registering all Tomcat's web apps with the Fabric registry (so we can do cross-application linking easily), try the following:

container-add-profile root drools-consoles-controller

Now there should be a child Tomcat process running with the drools workbench installed inside it. You can then see it running (give it a minute or so to startup etc):

ps

If it doens't appear at first, be patient; it takes a little while to download the tomcat & drools workbench distros and get them running (they are not currently pre-cached in the Fuse Fabric distro).

If you run the hawtio application, you should see the Rules tab on the Fabric page; which links to the drools workbench web application running in the child Tomcat container.

Running Fuse Fabric on OpenShift

If you want to try out Fuse on OpenShift here's the current instructions:

1 Create a Fuse Registry (based on EA 6.1 build of Fuse).

If you use the web UI to create an application then enter the cartridge URI of https://raw.github.com/jboss-fuse/fuse-registry-openshift-cartridge/master/metadata/manifest.yml in the entry field (at the bottom left of the form).

Or if you want to use the rhc command line type:

rhc create-app registry https://raw.github.com/jboss-fuse/fuse-registry-openshift-cartridge/master/metadata/manifest.yml

This will output the generated password for fabric and also the http url for hawtio.

If you prefer to specify your own password (which can be handy in development to reuse the same password across fabrics) try this:

rhc create-app -e OPENSHIFT_FUSE_ZOOKEEPER_PASSWORD=admin registry https://raw.github.com/jboss-fuse/fuse-registry-openshift-cartridge/master/metadata/manifest.yml

You probably want to use a safer password than 'admin' though ;)

You can then login to your registry at: http://registry-$USERID.rhcloud.com/hawtio/ where $USERID is your openshift account name. Use the following login:

user:     admin
password: $password

2 Open the Fabric tab and you should be able to see the containers running (only 1 at the moment).

3 click on the + icon on the Containers tab to add a new container using the openshift creation form

Enter something like these details:

name:      someContainerName
serverUrl: openshift.redhat.com
login:     myname@foo.com
password:  *********
domain:    mydomain

About

Fuse Fabric : a provisioning, configuration and management solution for Apache Karaf, Apache ServiceMix and Fuse

Resources

License

Stars

Watchers

Forks

Packages

No packages published