generated from quarkiverse/quarkiverse-template
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add quarkus.cxf.client."client-name".max-same-uri configuration option,
fix #1639
- Loading branch information
Showing
14 changed files
with
394 additions
and
148 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
6 changes: 5 additions & 1 deletion
6
extensions/core/runtime/src/main/java/io/quarkiverse/cxf/CXFClientInfo.java
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
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
21 changes: 21 additions & 0 deletions
21
extensions/core/runtime/src/main/java/io/quarkiverse/cxf/QuarkusCxfUtils.java
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,21 @@ | ||
package io.quarkiverse.cxf; | ||
|
||
import io.smallrye.config.NameIterator; | ||
|
||
public class QuarkusCxfUtils { | ||
private QuarkusCxfUtils() { | ||
} | ||
|
||
/** | ||
* Keys occurring in free form configuration maps may need quoting with double quotes, if they contain periods. | ||
* | ||
* @param key a key occurring in a free form configuration map, such as {@code "client-name"} in | ||
* {@code quarkus.cxf.client."client-name".logging.enabled}. | ||
* @return a possibly quoted key | ||
*/ | ||
public static String quoteCongurationKeyIfNeeded(String key) { | ||
final NameIterator keyIterator = new NameIterator(key); | ||
keyIterator.next(); | ||
return keyIterator.hasNext() ? "\"" + key + "\"" : key; | ||
} | ||
} |
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.