aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
authordglFromAtt <dgl@research.att.com>2018-07-25 16:29:35 -0400
committerdglFromAtt <dgl@research.att.com>2018-07-25 16:31:25 -0400
commit1611944a45491e2b8f00606b0aac2cdb0de8dde8 (patch)
treeaee5a87fbcc4597eb1d9b9cfd63db121ee1181ab /src/main/resources
parentf595e173fdb3921cb6c6855f5389871ee3c3ada3 (diff)
Alternative MR replication method
This introduces a new set of replication rules for topics: REPLICATION_EDGE_TO_FQDN REPLICATION_FQDN_TO_EDGE REPLICATION_EDFE_TO_FQDN_TO_GLOBAL REPLICTION_GLOBAL_TO_FQDN_TO_EDGE This will allow for some apps to design their own message replication path for resiliency because it will use the FQDN of the cluster instead of the using the CNAME. Also contains: - introduce (optional) replicationGroup field to mr_cluster - some cleanup of unused code. Change-Id: I063fb343af3f7bc17c88190563920afd84737ada Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-542
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/schema_9.sql27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/main/resources/schema_9.sql b/src/main/resources/schema_9.sql
new file mode 100644
index 0000000..ac43d78
--- /dev/null
+++ b/src/main/resources/schema_9.sql
@@ -0,0 +1,27 @@
+---
+-- ============LICENSE_START=======================================================
+-- OpenECOMP - org.onap.dbcapi
+-- ================================================================================
+-- Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+-- ================================================================================
+-- 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.
+-- ============LICENSE_END=========================================================
+---
+
+
+@alter table mr_cluster
+ add column replication_group varchar(100)
+;
+
+
+update dmaapbc_sch_ver set version = 9 where version = 8;