fix name clash
This commit is contained in:
94
osgi/README.md
Normal file
94
osgi/README.md
Normal file
@@ -0,0 +1,94 @@
|
|||||||
|
OSGi
|
||||||
|
====
|
||||||
|
|
||||||
|
Info
|
||||||
|
---
|
||||||
|
|
||||||
|
com.baeldung.osgi
|
||||||
|
com.baeldung.osgi.sample.activator
|
||||||
|
|
||||||
|
Apache Felix
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
### Start
|
||||||
|
|
||||||
|
Download Apache Felix Framework Distribution
|
||||||
|
from <https://felix.apache.org/downloads.cgi>
|
||||||
|
org.apache.felix.main.distribution-5.6.8
|
||||||
|
|
||||||
|
No! The Apache Karaf container is best.
|
||||||
|
Download it from: <https://karaf.apache.org/download.html>
|
||||||
|
|
||||||
|
Download a binary distribution and unzip wherever you prefer.
|
||||||
|
|
||||||
|
Then run
|
||||||
|
|
||||||
|
bin\karaf.bat start
|
||||||
|
|
||||||
|
|
||||||
|
Unzip, pay attention to the files not being clipped(!).
|
||||||
|
|
||||||
|
system:exit
|
||||||
|
|
||||||
|
exit!
|
||||||
|
|
||||||
|
shutdown -h
|
||||||
|
|
||||||
|
or `^D`
|
||||||
|
|
||||||
|
### clean start
|
||||||
|
|
||||||
|
full clean, remove "data directory "
|
||||||
|
|
||||||
|
or...
|
||||||
|
|
||||||
|
bin\karaf.bat clean
|
||||||
|
|
||||||
|
bin\start.bat clean
|
||||||
|
|
||||||
|
### run mode
|
||||||
|
|
||||||
|
can be launched in
|
||||||
|
|
||||||
|
- the "regular" mode starts Apache Karaf in foreground, including the shell console.
|
||||||
|
- the "server" mode starts Apache Karaf in foreground, without the shell console.
|
||||||
|
- the "background" mode starts Apache Karaf in background.
|
||||||
|
|
||||||
|
### Logging
|
||||||
|
|
||||||
|
https://karaf.apache.org/manual/latest/#_log
|
||||||
|
|
||||||
|
can be logged to console
|
||||||
|
|
||||||
|
|
||||||
|
### Bundle deploy
|
||||||
|
|
||||||
|
bundle:install mvn:com.baeldung/osgi-intro-sample-activator/1.0-SNAPSHOT
|
||||||
|
|
||||||
|
install mvn:com.baeldung/osgi-intro-sample-service/1.0-SNAPSHOT
|
||||||
|
install mvn:com.baeldung/osgi-intro-sample-client/1.0-SNAPSHOT
|
||||||
|
|
||||||
|
Eclipse's Equinox
|
||||||
|
====
|
||||||
|
|
||||||
|
Eclipse's OSGi platform
|
||||||
|
http://www.eclipse.org/equinox/
|
||||||
|
|
||||||
|
http://www.eclipse.org/equinox/documents/quickstart-framework.php
|
||||||
|
|
||||||
|
click on "download"
|
||||||
|
|
||||||
|
Latest Release
|
||||||
|
Oxygen.1 Wed, 6 Sep 2017 -- 17:00 (-0400)
|
||||||
|
|
||||||
|
org.eclipse.osgi_3.12.1.v20170821-1548.jar
|
||||||
|
|
||||||
|
= = NOT GOOD = =
|
||||||
|
|
||||||
|
## Relevant articles:
|
||||||
|
- [Introduction to OSGi](http://www.baeldung.com/osgi)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
### The Course
|
|
||||||
The "REST With Spring" Classes: http://bit.ly/restwithspring
|
|
||||||
|
|
||||||
### Relevant Articles:
|
|
||||||
|
|
||||||
- [Create a Custom Auto-Configuration with Spring Boot](http://www.baeldung.com/spring-boot-custom-auto-configuration)
|
|
||||||
- [Guide to ApplicationContextRunner in Spring Boot](https://www.baeldung.com/spring-boot-context-runner)
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
### The Course
|
|
||||||
The "REST With Spring" Classes: http://bit.ly/restwithspring
|
|
||||||
|
|
||||||
### Relevant Articles:
|
|
||||||
|
|
||||||
- [Guide to ShedLock with Spring](https://www.baeldung.com/shedlock-spring)
|
|
||||||
- [A Guide to the Problem Spring Web Library](https://www.baeldung.com/problem-spring-web)
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
### The Course
|
|
||||||
The "REST With Spring" Classes: http://bit.ly/restwithspring
|
|
||||||
|
|
||||||
### Relevant Articles:
|
|
||||||
|
|
||||||
- [Testing with Spring and Spock](https://www.baeldung.com/spring-spock-testing)
|
|
||||||
- [Exclude Auto-Configuration Classes in Spring Boot Tests](https://www.baeldung.com/spring-boot-exclude-auto-configuration-test)
|
|
||||||
- [Setting the Log Level in Spring Boot when Testing](https://www.baeldung.com/spring-boot-testing-log-level)
|
|
||||||
- [Embedded Redis Server with Spring Boot Test](https://www.baeldung.com/spring-embedded-redis)
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
|
|
||||||
This is an aggregator module for Spring Cloud Data Flow modules.
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
### Relevant Articles:
|
|
||||||
- [Spring Cloud – Bootstrapping](http://www.baeldung.com/spring-cloud-bootstrapping)
|
|
||||||
- [Spring Cloud – Securing Services](http://www.baeldung.com/spring-cloud-securing-services)
|
|
||||||
- [Spring Cloud – Tracing Services with Zipkin](http://www.baeldung.com/tracing-services-with-zipkin)
|
|
||||||
- [Spring Cloud Series – The Gateway Pattern](http://www.baeldung.com/spring-cloud-gateway-pattern)
|
|
||||||
- [Spring Cloud – Adding Angular 4](http://www.baeldung.com/spring-cloud-angular)
|
|
||||||
|
|
||||||
- To run the project:
|
|
||||||
- copy the appliction-config folder to c:\Users\{username}\ on Windows or /home/{username}/ on *nix. Then open a git bash terminal in application-config and run:
|
|
||||||
- git init
|
|
||||||
- git add .
|
|
||||||
- git commit -m "First commit"
|
|
||||||
- start the config server
|
|
||||||
- start the discovery server
|
|
||||||
- start all the other servers in any order (gateway, svc-book, svc-rating, zipkin)
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
### Relevant Articles:
|
|
||||||
- [Exploring the new Spring Cloud Gateway](http://www.baeldung.com/spring-cloud-gateway)
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
### The Course
|
|
||||||
The "REST With Spring" Classes: http://github.learnspringsecurity.com
|
|
||||||
|
|
||||||
### Relevant Articles:
|
|
||||||
- [A Custom Security Expression with Spring Security](http://www.baeldung.com/spring-security-create-new-custom-security-expression)
|
|
||||||
- [Custom AccessDecisionVoters in Spring Security](http://www.baeldung.com/spring-security-custom-voter)
|
|
||||||
- [Spring Security: Authentication with a Database-backed UserDetailsService](http://www.baeldung.com/spring-security-authentication-with-a-database)
|
|
||||||
- [Two Login Pages with Spring Security](http://www.baeldung.com/spring-security-two-login-pages)
|
|
||||||
- [Multiple Entry Points in Spring Security](http://www.baeldung.com/spring-security-multiple-entry-points)
|
|
||||||
- [Multiple Authentication Providers in Spring Security](http://www.baeldung.com/spring-security-multiple-auth-providers)
|
|
||||||
- [Granted Authority Versus Role in Spring Security](http://www.baeldung.com/spring-security-granted-authority-vs-role)
|
|
||||||
- [Spring Data with Spring Security](https://www.baeldung.com/spring-data-security)
|
|
||||||
- [Spring Security – Whitelist IP Range](https://www.baeldung.com/spring-security-whitelist-ip-range)
|
|
||||||
- [Find the Registered Spring Security Filters](https://www.baeldung.com/spring-security-registered-filters)
|
|
||||||
- [HTTPS using Self-Signed Certificate in Spring Boot](https://www.baeldung.com/spring-boot-https-self-signed-certificate)
|
|
||||||
Reference in New Issue
Block a user