-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: #21 Add AsyncAPI support with Kafka
Signed-off-by: Laurent Broudoux <[email protected]>
- Loading branch information
Showing
5 changed files
with
271 additions
and
19 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
51 changes: 51 additions & 0 deletions
51
.../src/main/java/io/github/microcks/quarkus/deployment/MicrocksContainersEnsembleHosts.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,51 @@ | ||
/* | ||
* Copyright The Microcks Authors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.github.microcks.quarkus.deployment; | ||
|
||
/** | ||
* A simple bean for holding immutable configuration of Microcks ensemble components hosts. | ||
* @author laurent | ||
*/ | ||
public final class MicrocksContainersEnsembleHosts { | ||
|
||
private final String microcksHost; | ||
private final String postmanHost; | ||
private final String asyncMinionHost; | ||
|
||
/** | ||
* Store the host names of the Ensemble components. | ||
* @param microcksHost The hostname of the microcks container. | ||
* @param postmanHost The hostname of the postman-runtime container. | ||
* @param asyncMinionHost The hostname of the async-minion container. | ||
*/ | ||
public MicrocksContainersEnsembleHosts(String microcksHost, String postmanHost, String asyncMinionHost) { | ||
this.microcksHost = microcksHost; | ||
this.postmanHost = postmanHost; | ||
this.asyncMinionHost = asyncMinionHost; | ||
} | ||
|
||
public String getMicrocksHost() { | ||
return microcksHost; | ||
} | ||
|
||
public String getPostmanHost() { | ||
return postmanHost; | ||
} | ||
|
||
public String getAsyncMinionHost() { | ||
return asyncMinionHost; | ||
} | ||
} |
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.