-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23ad1cc
commit da2c157
Showing
7 changed files
with
62 additions
and
0 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
11 changes: 11 additions & 0 deletions
11
...src/main/java/com/solace/maas/ep/common/model/EventBrokerAuthenticationConfiguration.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,11 @@ | ||
package com.solace.maas.ep.common.model; | ||
|
||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class EventBrokerAuthenticationConfiguration { | ||
private String type; | ||
private String protocol; | ||
private EventBrokerCredentialConfiguration credential; | ||
} |
13 changes: 13 additions & 0 deletions
13
...ion/src/main/java/com/solace/maas/ep/common/model/EventBrokerConnectionConfiguration.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,13 @@ | ||
package com.solace.maas.ep.common.model; | ||
|
||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class EventBrokerConnectionConfiguration { | ||
private String msgVpn; | ||
private String sempPageSize; | ||
private EventBrokerAuthenticationConfiguration authentication; | ||
private String name; | ||
private String url; | ||
} |
9 changes: 9 additions & 0 deletions
9
...ion/src/main/java/com/solace/maas/ep/common/model/EventBrokerCredentialConfiguration.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,9 @@ | ||
package com.solace.maas.ep.common.model; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class EventBrokerCredentialConfiguration { | ||
private String userName; | ||
private String password; | ||
} |
14 changes: 14 additions & 0 deletions
14
...ation/src/main/java/com/solace/maas/ep/common/model/EventBrokerResourceConfiguration.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,14 @@ | ||
package com.solace.maas.ep.common.model; | ||
|
||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
public class EventBrokerResourceConfiguration extends ResourceConfiguration { | ||
private String id; | ||
private String brokerType; | ||
private String name; | ||
private List<EventBrokerConnectionConfiguration> connections; | ||
private ResourceConfigurationType resourceConfigurationType; | ||
} |
7 changes: 7 additions & 0 deletions
7
service/application/src/main/java/com/solace/maas/ep/common/model/ResourceConfiguration.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,7 @@ | ||
package com.solace.maas.ep.common.model; | ||
|
||
public abstract class ResourceConfiguration { | ||
|
||
public abstract ResourceConfigurationType getResourceConfigurationType(); | ||
|
||
} |
6 changes: 6 additions & 0 deletions
6
.../application/src/main/java/com/solace/maas/ep/common/model/ResourceConfigurationType.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,6 @@ | ||
package com.solace.maas.ep.common.model; | ||
|
||
public enum ResourceConfigurationType { | ||
SOLACE, | ||
KAFKA, | ||
} |