generated from cuioss/cui-java-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract tomcat specific configuration to specific module
- Loading branch information
Showing
29 changed files
with
419 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...mpl/src/main/resources/META-INF/services/org.eclipse.microprofile.config.spi.ConfigSource
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...mpl/src/test/resources/META-INF/services/org.eclipse.microprofile.config.spi.ConfigSource
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 24 additions & 2 deletions
26
...onfiguration/portal-configuration-impl/src/test/resources/config/yml/application-user.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,24 @@ | ||
my.user.key: user-value | ||
key-with-value: user-value | ||
key-bool: true | ||
key-with-value: stringvalue | ||
key-with-no-value: | ||
key-master: | ||
key-sub-number: 123456 | ||
key-sub-master: | ||
key-sub-master-bool: yes | ||
key-sub-master-string: stringvalue | ||
nested.key.replacement: ${key-with-value:default-nested-key-value} | ||
|
||
#SHOULD RESULT IN THE FOLLOWING PROPERTIES: | ||
#key-bool = true | ||
#key-with-value = stringvalue | ||
#key-with-no-value = | ||
#key-master.key-sub-number = 123456 | ||
#key-master.key-sub-master.key-sub-master-bool = true | ||
#key-master.key-sub-master.key-sub-master-string = stringvalue | ||
|
||
array: | ||
list: | ||
- "a" | ||
- "b" | ||
- c | ||
string.list: "a,b,c" |
15 changes: 15 additions & 0 deletions
15
modules/configuration/portal-configuration-standalone/README.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
= portal-configuration-standalone | ||
|
||
== What is it? | ||
|
||
Provides structure for configuration that can be used in a non quarkus context. It handle application.yml an so on | ||
|
||
=== Maven Coordinates | ||
|
||
[source,xml] | ||
---- | ||
<dependency> | ||
<groupId>de.cuioss.portal.configuration</groupId> | ||
<artifactId>portal-configuration-standalone</artifactId> | ||
</dependency> | ||
---- |
37 changes: 37 additions & 0 deletions
37
modules/configuration/portal-configuration-standalone/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>de.cuioss.portal.configuration</groupId> | ||
<artifactId>configuration</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
</parent> | ||
<artifactId>portal-configuration-standalone</artifactId> | ||
<name>Portal Standalone Configuration</name> | ||
<description>Provides structure for configuration that can be used in a non | ||
quarkus context. It handle application.yml an so on</description> | ||
<properties> | ||
<maven.jar.plugin.automatic.module.name> | ||
de.cuioss.portal.configuration.standalone</maven.jar.plugin.automatic.module.name> | ||
</properties> | ||
<dependencies> | ||
<dependency> | ||
<groupId>de.cuioss.portal.configuration</groupId> | ||
<artifactId>portal-configuration-api</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>de.cuioss.portal.configuration</groupId> | ||
<artifactId>portal-configuration-impl</artifactId> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>de.cuioss.portal.configuration</groupId> | ||
<artifactId>portal-configuration-yaml</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>jakarta.inject</groupId> | ||
<artifactId>jakarta.inject-api</artifactId> | ||
</dependency> | ||
</dependencies> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...one/src/main/resources/META-INF/services/org.eclipse.microprofile.config.spi.ConfigSource
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
de.cuioss.portal.configuration.standalone.source.InstallationFileConfigSource | ||
de.cuioss.portal.configuration.standalone.source.InstallationProductionFileConfigSource |
6 changes: 6 additions & 0 deletions
6
modules/configuration/portal-configuration-standalone/src/main/resources/beans.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<beans xmlns="http://xmlns.jcp.org/xml/ns/javaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_2_0.xsd" | ||
bean-discovery-mode="annotated" version="2.0"> | ||
</beans> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.