aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-01-24Merge "Database issues with mdbc docker env"Brendan Tschaen4-3/+5
2019-01-22Add Eventual consistency logicst782s14-153/+624
Issue-ID: MUSIC-276 Change-Id: Ie6b2508c57f0a7b677f48f87c991adcd613147cc Signed-off-by: st782s <statta@research.att.com>
2019-01-17mdbc-server throws exceptionRob Daugherty2-0/+10
This happens when the TablesConfiguration is done. It's apparently caused because music jar was compiled with netty 4.1, but the version present at runtime is 4.0. The solution I propose is to add an explicit dependency in mdbc for netty 4.1, which should override the 4.0 version pulled in by cassandra. Exception (java.lang.AbstractMethodError) encountered during startup: io.netty.util.concurrent.MultithreadEventExecutorGroup.newChild(Ljava/util/concurrent/Executor;[Ljava/lang/Object;)Lio/netty/util/conc urrent/EventExecutor; java.lang.AbstractMethodError: io.netty.util.concurrent.MultithreadEventExecutorGroup.newChild(Ljava/util/concurrent/Executor;[Ljava/lang/Object;)Lio/netty/util/concurrent/EventExecutor; Change-Id: Ie658ce4a7621eb2a0d2417d35e0fd2bd96565c8c Issue-ID: MUSIC-271 Signed-off-by: Rob Daugherty <rd472p@att.com>
2019-01-15Dag, Ownership and Checkpoint (ignore some tests)Enrique Saurez27-420/+2759
Change-Id: Ia720ba45b4f9c8687f5eac5b0d64fd2be19fedaa Issue-ID: MUSIC-269 Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com>
2019-01-02Database issues with mdbc docker envRob Daugherty4-3/+5
Two problems: The docker-compose scripts are pulling in an older version of mariadb that doesn't have the JSON functions we need. We can use 10.3.11, which is the latest stable release. The DB user needs to have the SUPER privilege so that mdbc can add database triggers. Change-Id: Ic9b2daeb0196a2134f9260b39a41a4a10be01a06 Issue-ID: MUSIC-266 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-12-20Remove netty dependency pulled in by music libraryTschaen, Brendan2-0/+12
Issue-ID: MUSIC-265 Change-Id: I04a403653db4bb989901a565cf64f85a0ed2239b Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-12-20Merge "Deprecated unused method. logged CREATE statement."Bharath Balasubramanian1-6/+24
2018-12-14Merge "Docker compose scripts for two mdbc sites"Bharath Balasubramanian12-2/+397
2018-12-13Deprecated unused method. logged CREATE statement.Vikram Potturi1-6/+24
Change-Id: I39155ef4e523fe4a643089eb26be388ca47aa4d2 Issue-ID: MUSIC-164 Signed-off-by: Vikram Potturi <vikramaditya.potturi@att.com>
2018-12-13Allow configurable database nameTschaen, Brendan2-2/+4
Change-Id: I967df28f2f5281e7eee6a03087a279cbbe9f6e3e Issue-ID: MUSIC-258 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-12-13Docker compose scripts for two mdbc sitesRob Daugherty12-2/+397
This is a two site installation, with a single cassandra container, two mariadb containers, and two mdbc-server containers. Server 1 exposes port 30001 and server 2 exposes port 30002. To build the docker images, first build mdbc software normally, then use the 'docker' maven profile: mvn -P docker clean install To bring up the environment: cd mdbc-packages/mdbc-docker/compose/two-sites docker-compose up Change-Id: I10155ebf47dec4e787d44b23886ab8453ac4315f Issue-ID: MUSIC-263 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-12-07Clean up ownership workTschaen, Brendan9-267/+224
leverage DatabasePartition class remove extra classes, improve workflow remove failing unit test ensure example runs all the way through Change-Id: If8d59d207d093d4245b9d6cb5bd59c7fe1ebfb19 Issue-ID: MUSIC-230 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-12-05Merge "CreateNodeConfigurations never exits"Brendan Tschaen1-0/+1
2018-12-04CreateNodeConfigurations never exitsRob Daugherty1-0/+1
A non-daemon background thread is keeping the process alive even when the main method is done. Change-Id: I707a30df758e847a160f55512219add37eddaab1 Issue-ID: MUSIC-217 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-12-04MUSIC-224 Dockerize MdbcServerRob Daugherty15-0/+900
This is a single site installation, with a cassandra container, a mariadb container, and an mdbc-server container. To build the docker images, first build mdbc software normally, then use the 'docker' maven profile: mvn -P docker To bring up the environment: cd mdbc-packages/mdbc-docker/compose/one-site docker-compose up Change-Id: Ie48487fc6c7853b80017dfa45aff52801da52cf0 Issue-ID: MUSIC-224 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-12-03Set cause of Exceptions in MDBCArthur Martella9-57/+58
Change-Id: I9a692cc4763f0edecbac35f1494b74e64562ad4e Issue-ID: MUSIC-220 Signed-off-by: Arthur Martella <arthur.martella.1@att.com>
2018-11-30Upgrade to MUSIC 3.2.1Rob Daugherty7-24/+61
Add license headers to new files Change-Id: I1a557dbafbd29ce457b545dbd1ca2bc0db62a085 Issue-ID: MUSIC-219 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-11-29ownership and relinquishEnrique Saurez21-2207/+3076
Change-Id: I625bd61adfac11febdb25b179efbc6134a276f12 Issue-ID: MUSIC-219 Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com>
2018-11-26MySQL JUnit testTschaen, Brendan8-41/+120
and code cleanup, renaming variable for clarity, updating stale interfaces Change-Id: I766267c442b7b037b41fe9f2f33092a1c01669ca Issue-ID: MUSIC-205 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-11-20Replay operations into SQL DBTschaen, Brendan6-175/+257
Change-Id: Id90c311b701e27aebd53afbde9cab851fa17ce60 Issue-ID: MUSIC-166 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-11-20MusicSqlManager Removal, othe code refactorsTschaen, Brendan21-2106/+1636
MusicSqlManager not required in current setup Current code condensed and absorbed into MdbcConnection and MusicMixin Modify deprecated names "CassandraMixin" to "MusicMixin" Change-Id: If68f8937a385c19d901c56e5795ddc0acf45d399 Issue-ID: MUSIC-198 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-11-20Merge "TxDigest replay and code restructure"Bharath Balasubramanian31-1147/+810
2018-11-19Query processing with CalciteVikram Potturi56-0/+288
Change-Id: Id8ebbc48159810ca782081bb4f63071071c926dd Issue-ID: MUSIC-164 Signed-off-by: Vikram Potturi <vikramaditya.potturi@att.com>
2018-11-16TxDigest replay and code restructureTschaen, Brendan31-1147/+810
Spin off replay daemon in its own object Create musictxdaemon test Fix licensing issue MusicRow Info has database partition object Change-Id: I22117f8e9309fb5d8bc99ec35d4145e655f4e5a2 Issue-ID: MUSIC-166 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-11-14Remove unwanted Trigger creationst782s8-12/+28
Issue-ID: MUSIC-186 Change-Id: I81863e57912d72360676e7d38ed414da4c9e8b17 Signed-off-by: st782s <statta@research.att.com>
2018-11-06Self contain the unit testsTschaen, Brendan9-460/+78
Change-Id: Ib160116a075a1634f9d9cb6bf2527a010fc0e573 Issue-ID: MUSIC-177 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-11-05Change MDBC version, nexus repo propertyArthur Martella2-4/+5
Change-Id: I8ea07ea04c15a8af2b4127da1775cf339d89e36e Issue-ID: MUSIC-175 Signed-off-by: Arthur Martella <arthur.martella.1@att.com>
2018-11-05Modularized mdbc buildRob Daugherty97-365/+1770
The mdbc pom should inherit from oparent. The top-level pom should not build the jar directly. It should be a parent pom for mdbc submodules. The first submodule will be called mdbc-server. Note: the "mdbc" jar will now be called "mdbc-server". Change-Id: I4456e659b7494641e5b3cefd540eb62a149b79a4 Issue-ID: MUSIC-175 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-11-02In process of matching database structureEnrique Saurez22-539/+948
Fix append,insert to match schema merge remote master branch Implemented addTxDigest fixing creation of rows (new tables) fix append and updates to match schema added base test for music opers Add test cases for db opers/fix bugs [Rob D. added some patches to fix the MdbcServer/EtdbTestClient runtime] Change-Id: Ib5df43c50921c101904695ad8ab263c6f43ac06a Issue-ID: MUSIC-173 Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com> Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-10-30Add maven-assembly-plugin to pom.xmlArthur Martella1-0/+18
This will build mdbc-0.0.1-SNAPSHOT-jar-with-dependencies.jar to run the server. Change-Id: I63ee5f7d04c9bccb7f53e2f058ed28a55d21a528 Issue-ID: MUSIC-158 Signed-off-by: Arthur Martella <arthur.martella.1@att.com>
2018-10-29Migrate MDBC code to org.onap.musicArthur Martella72-239/+239
Patch set 2 now includes moving files in src/test/java Change-Id: Ic722bed9574f75d90b5b582247fec61084772cb8 Issue-ID: MUSIC-155 Signed-off-by: Arthur Martella <arthur.martella.1@att.com>
2018-10-26Additional cleanup to match pseudocodeEnrique Saurez17-313/+194
Change-Id: I726986e126216528d6e1094087a1e916bb8f4bbc Issue-ID: MUSIC-149 Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com>
2018-10-26Change code structure to match pseudocodeEnrique Saurez15-210/+216
Issue-ID: MUSIC-149 Change-Id: Icc8967636192132133066f836614f7bee2ba6265 Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com>
2018-10-25Update Music Interface and readme instructionsTschaen, Brendan9-66/+150
Change-Id: I998845eba64d712dd489a5af8b63c4c6b5a066d8 Issue-ID: MUSIC-149 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-10-22New gitignoreEnrique Saurez24-752/+350
Change-Id: I745631461884536bd41e640ff041ba1b40daf136 Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com> New gitignore Change-Id: I745631461884536bd41e640ff041ba1b40daf136 Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com> Change functions names to match paper pseudocode Change-Id: Ia3c6aac6c8c3e66ce2ed55d15f38ceba6404f6ca Issue-ID: MUSIC-149 Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com>
2018-10-17Finish adding METRIC codeTschaen, Brendan30-369/+821
Change-Id: Ifd0307ac21f85e504d690c79080174a50af87f9e Issue-ID: MUSIC-149 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-10-16Initial commitTschaen, Brendan88-0/+14780
Change-Id: I510baf73e4d35b651fb04e5b8e038dacb6a5a130 Issue-ID: MUSIC-149 Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
2018-05-10Add INFO.yaml fileJessica Wagantall1-0/+52
Add INFO.yaml to list: - Project description - Properties - PTL information - Meeting information - Committer information Change-Id: Ida057d32e23bf0a12d79d64f5fe3610ded2ff687 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-05-10Initial empty repositoryJessica Wagantall0-0/+0