This is a karaf application that demonstrates using Jersey to provide a REST API in karaf, and demonstrates how OSGi services can be injected into Jersey resources created by the Jersey framework. https://steinar.bang.priv.no/2018/08/03/use-jersey-to-provide-rest-apis-from-karaf-applications/
dependabot[bot] 5051eb3134 Bump jackson-databind from 2.9.10.2 to 2.9.10.3 | 4 anos atrás | |
---|---|---|
jacoco-coverage-report | 4 anos atrás | |
jerseyinkaraf.servicedef | 4 anos atrás | |
jerseyinkaraf.services | 4 anos atrás | |
jerseyinkaraf.webapi | 4 anos atrás | |
jerseyinkaraf.webgui | 4 anos atrás | |
src | 6 anos atrás | |
.editorconfig | 6 anos atrás | |
.gitignore | 6 anos atrás | |
.travis.yml | 4 anos atrás | |
LICENSE | 6 anos atrás | |
README.org | 5 anos atrás | |
pom.xml | 4 anos atrás |
This is a small apache karaf demo application that demonstrates how to use Jersey in Apache Karaf, and how to inject OSGi services into Jersey resources.
file:https://travis-ci.org/steinarb/jersey-demo.svg?branch=master file:https://coveralls.io/repos/steinarb/jersey-demo/badge.svg file:https://maven-badges.herokuapp.com/maven-central/no.priv.bang.demos.jerseyinkaraf/jersey-demo/badge.svg
file:https://sonarcloud.io/api/project_badges/measure?project=no.priv.bang.demos.jerseyinkaraf%3Ajerseyinkaraf&metric=ncloc#.svg file:https://sonarcloud.io/api/project_badges/measure?project=no.priv.bang.demos.jerseyinkaraf%3Ajerseyinkaraf&metric=bugs#.svg file:https://sonarcloud.io/api/project_badges/measure?project=no.priv.bang.demos.jerseyinkaraf%3Ajerseyinkaraf&metric=vulnerabilities#.svg file:https://sonarcloud.io/api/project_badges/measure?project=no.priv.bang.demos.jerseyinkaraf%3Ajerseyinkaraf&metric=code_smells#.svg file:https://sonarcloud.io/api/project_badges/measure?project=no.priv.bang.demos.jerseyinkaraf%3Ajerseyinkaraf&metric=coverage#.svg
This will cause repeated clicks on the "Increment" button to result in 405 responses, because the webgui servlet now intercepts the requests, but that servlet doesn't support the POST requests used to increment the counter.
Reinstalling the webapi feature will cause the count to start again from 0.
This software project is licensed under Apache License v. 2.
See the LICENSE file for details.