2024-02-12 10:49:37 +01:00
|
|
|
package gr.cite.annotation.integrationevent.inbox;
|
2024-02-09 17:50:34 +01:00
|
|
|
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
@ConfigurationProperties(prefix = "queue.task.listener.options")
|
|
|
|
public class InboxProperties {
|
|
|
|
|
|
|
|
private final String exchange;
|
|
|
|
|
|
|
|
private final List<String> tenantRemovalTopic;
|
|
|
|
|
2024-03-11 14:55:52 +01:00
|
|
|
private final List<String> tenantTouchTopic;
|
2024-02-09 17:50:34 +01:00
|
|
|
|
|
|
|
private final List<String> userRemovalTopic;
|
|
|
|
|
2024-03-11 14:55:52 +01:00
|
|
|
private final List<String> userTouchTopic;
|
|
|
|
|
2024-03-29 10:47:27 +01:00
|
|
|
private final List<String> annotationEntitiesTouchTopic;
|
|
|
|
private final List<String> annotationEntitiesRemovalTopic;
|
2024-02-09 17:50:34 +01:00
|
|
|
|
|
|
|
public InboxProperties(
|
2024-03-29 10:47:27 +01:00
|
|
|
String exchange,
|
|
|
|
List<String> tenantRemovalTopic,
|
|
|
|
List<String> tenantTouchTopic,
|
|
|
|
List<String> userRemovalTopic,
|
|
|
|
List<String> userTouchTopic,
|
|
|
|
List<String> annotationEntitiesTouchTopic, List<String> annotationEntitiesRemovalTopic) {
|
2024-02-09 17:50:34 +01:00
|
|
|
this.exchange = exchange;
|
|
|
|
this.tenantRemovalTopic = tenantRemovalTopic;
|
2024-03-11 14:55:52 +01:00
|
|
|
this.tenantTouchTopic = tenantTouchTopic;
|
2024-02-09 17:50:34 +01:00
|
|
|
this.userRemovalTopic = userRemovalTopic;
|
2024-03-11 14:55:52 +01:00
|
|
|
this.userTouchTopic = userTouchTopic;
|
2024-03-29 10:47:27 +01:00
|
|
|
this.annotationEntitiesTouchTopic = annotationEntitiesTouchTopic;
|
|
|
|
this.annotationEntitiesRemovalTopic = annotationEntitiesRemovalTopic;
|
2024-02-09 17:50:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public List<String> getTenantRemovalTopic() {
|
|
|
|
return tenantRemovalTopic;
|
|
|
|
}
|
|
|
|
|
2024-03-11 14:55:52 +01:00
|
|
|
public List<String> getTenantTouchTopic() {
|
|
|
|
return tenantTouchTopic;
|
2024-02-09 17:50:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public List<String> getUserRemovalTopic() {
|
|
|
|
return userRemovalTopic;
|
|
|
|
}
|
|
|
|
|
2024-03-11 14:55:52 +01:00
|
|
|
public List<String> getUserTouchTopic() {
|
|
|
|
return userTouchTopic;
|
|
|
|
}
|
|
|
|
|
2024-03-29 10:47:27 +01:00
|
|
|
public List<String> getAnnotationEntitiesTouchTopic() {
|
|
|
|
return annotationEntitiesTouchTopic;
|
|
|
|
}
|
|
|
|
|
|
|
|
public List<String> getAnnotationEntitiesRemovalTopic() {
|
|
|
|
return annotationEntitiesRemovalTopic;
|
2024-02-09 17:50:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public String getExchange() {
|
|
|
|
return exchange;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|