-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor for having the service config under the service's name
- Loading branch information
1 parent
046a0de
commit 8e41b5c
Showing
4 changed files
with
30 additions
and
24 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
extensions/smallrye-stork/runtime/src/main/java/io/quarkus/stork/ServiceConfiguration.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,19 @@ | ||
package io.quarkus.stork; | ||
|
||
import io.quarkus.runtime.annotations.ConfigGroup; | ||
import io.quarkus.runtime.annotations.ConfigItem; | ||
|
||
@ConfigGroup | ||
public class ServiceConfiguration { | ||
/** | ||
* ServiceDiscovery configuration for the service | ||
*/ | ||
@ConfigItem | ||
public StorkServiceDiscoveryConfiguration serviceDiscovery; | ||
|
||
/** | ||
* LoadBalancer configuration for the service | ||
*/ | ||
@ConfigItem | ||
public StorkLoadBalancerConfiguration loadBalancer; | ||
} |
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