Alternative MR replication method 01/57601/1
authordglFromAtt <dgl@research.att.com>
Wed, 25 Jul 2018 20:29:35 +0000 (16:29 -0400)
committerdglFromAtt <dgl@research.att.com>
Wed, 25 Jul 2018 20:31:25 +0000 (16:31 -0400)
commit1611944a45491e2b8f00606b0aac2cdb0de8dde8
treeaee5a87fbcc4597eb1d9b9cfd63db121ee1181ab
parentf595e173fdb3921cb6c6855f5389871ee3c3ada3
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
17 files changed:
pom.xml
src/main/java/org/onap/dmaap/dbcapi/database/DatabaseClass.java
src/main/java/org/onap/dmaap/dbcapi/database/TableHandler.java
src/main/java/org/onap/dmaap/dbcapi/model/MirrorMaker.java
src/main/java/org/onap/dmaap/dbcapi/model/ReplicationType.java
src/main/java/org/onap/dmaap/dbcapi/model/ReplicationVector.java [deleted file]
src/main/java/org/onap/dmaap/dbcapi/resources/BridgeResource.java
src/main/java/org/onap/dmaap/dbcapi/resources/TopicResource.java
src/main/java/org/onap/dmaap/dbcapi/service/MR_ClientService.java
src/main/java/org/onap/dmaap/dbcapi/service/MR_ClusterService.java
src/main/java/org/onap/dmaap/dbcapi/service/TopicService.java
src/main/java/org/onap/dmaap/dbcapi/util/Graph.java
src/main/resources/schema_9.sql [new file with mode: 0644]
src/test/java/org/onap/dmaap/dbcapi/model/MirrorMakerTest.java
src/test/java/org/onap/dmaap/dbcapi/model/ReplicationVectorTest.java [deleted file]
src/test/java/org/onap/dmaap/dbcapi/util/GraphTest.java
version.properties