Git Product home page Git Product logo

osgi-best-practices's Introduction

osgi-best-practices

Java CI

OSGi application with an angular UI, REST Service and OSGi service. The design follows current best practices for OSGi R7 applications.

Slides for eclipsecon 2109 talk "Testing OSGi applications"

Modules

  • parent - Defines common dependencies and the build of OSGi bundles
  • backend - Tasklist api, OSGi service impl and REST service. In a full blown application you might want several bundles here
  • halbrowser - Repackaged halbrowser for OSGi
  • ui - Static Angular UI that uses the REST backend
  • app - Defines the index and application assembly using bndrun

Build

mvn clean install

Run

cd app; java -jar target/app.jar

Alternatively run in Apache Karaf

Download and run Apache Karaf 4.2.6

feature:repo-add mvn:org.apache.aries.jax.rs/org.apache.aries.jax.rs.features/1.0.5/xml
feature:install aries-jax-rs-whiteboard aries-jax-rs-whiteboard-jackson war
install -s mvn:net.lr.osgibp/net.lr.osgibp.backend
install -s mvn:net.lr.osgibp/net.lr.osgibp.ui/1.0.0-SNAPSHOT

Test

Resources

Testing

osgi-best-practices's People

Contributors

cschneider avatar rotty3000 avatar

Stargazers

Roman 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.