diff options
author | Tal Gitelman <tg851x@intl.att.com> | 2018-09-05 17:47:16 +0300 |
---|---|---|
committer | Michael Lando <ml636r@att.com> | 2018-09-05 19:16:34 +0300 |
commit | 503be6d4ac7cfd63d5e17a54bd990de39b201d83 (patch) | |
tree | e94882f7e5849f395dc4b1051211b92f43f1fd8c /common-app-api/src/main | |
parent | f773610d0952940db42376cbb36ba63cb2cacc35 (diff) |
add ability to disable tenant isolation.
Change-Id: I35b6db5ec0d3aa91295f57b60c04243b3f3d2208
Issue-ID: SDC-1571
Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'common-app-api/src/main')
-rw-r--r-- | common-app-api/src/main/java/org/openecomp/sdc/be/config/DmaapConsumerConfiguration.java | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/config/DmaapConsumerConfiguration.java b/common-app-api/src/main/java/org/openecomp/sdc/be/config/DmaapConsumerConfiguration.java index 1ba539b942..2493d53dd0 100644 --- a/common-app-api/src/main/java/org/openecomp/sdc/be/config/DmaapConsumerConfiguration.java +++ b/common-app-api/src/main/java/org/openecomp/sdc/be/config/DmaapConsumerConfiguration.java @@ -3,7 +3,7 @@ package org.openecomp.sdc.be.config; * Contains DMAAP Client configuration parameters */ public class DmaapConsumerConfiguration { - + private boolean active; private String hosts; private String consumerGroup; private String consumerId; @@ -216,7 +216,11 @@ public class DmaapConsumerConfiguration { public void setCredential(Credential credential) { this.credential = credential; } - + + public boolean isActive() { return active; } + + public void setActive(boolean isActive) { this.active = isActive; } + /** * Contains Dmaap Client credential parameters: username and password */ @@ -246,7 +250,7 @@ public class DmaapConsumerConfiguration { @Override public String toString() { - return "DmaapConsumerConfiguration [hosts=" + hosts + ", consumerGroup=" + consumerGroup + ", consumerId=" + return "DmaapConsumerConfiguration [active=" + active + ", hosts=" + hosts + ", consumerGroup=" + consumerGroup + ", consumerId=" + consumerId + ", timeoutMs=" + timeoutMs + ", limit=" + limit + ", pollingInterval=" + pollingInterval + ", topic=" + topic + ", latitude=" + latitude + ", longitude=" + longitude + ", version=" + version + ", serviceName=" + serviceName + ", environment=" + environment + ", partner=" + partner |