Giter Site home page Giter Site logo

karaf-poc's Introduction

Karaf-POC

This repository contains some modules around Karaf

Build

mvn clean install

Install && run :

  • wget http://www.apache.org/dyn/closer.cgi/karaf/2.2.10/apache-karaf-2.2.10.tar.gz

  • tar xvf apache-karaf-2.2.10.tar.gz

  • cd apache-karaf-2.2.10

  • ./bin/karaf

  • features:addurl mvn:org.apache.cxf.karaf/apache-cxf/2.7.3/xml/features

  • features:addurl mvn:org.novaforge.sandboxes.karaf/person-features/1.0.0-SNAPSHOT/xml

  • features:addUrl mvn:org.apache.camel.karaf/apache-camel/2.10.4/xml/features

  • features:install person-service

Test the felix command for datasource

db:select db:exec "create table person (name VARCHAR(100))" db:query "select * from test"

Test the felix command for person dao

person:add lamirand-g 'Guillaume Lamirand' [email protected]

person:list

Test the cxf service

The person service should show up in the list of currently installed services that can be found here http://localhost:8181/cxf/

List the known persons http://localhost:8181/cxf/person

Send the content of deploy/user.xml to the following url using POST: http://localhost:8181/cxf/person

Test the camel route

Copy the file deploy/user.xml to 'in' directory bellow karaf directory

Test the ipojo instance

Just use command instances to see ipojo instance

Thanks to Christian Schneider and its tutorial: https://github.com/cschneider/Karaf-Tutorial

karaf-poc's People

Contributors

guillaumelamirand avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.