music/mdbc.git
6 years agoDag, Ownership and Checkpoint (ignore some tests) 39/75739/5
Enrique Saurez [Sat, 1 Dec 2018 00:02:00 +0000 (19:02 -0500)]
Dag, Ownership and Checkpoint (ignore some tests)

Change-Id: Ia720ba45b4f9c8687f5eac5b0d64fd2be19fedaa
Issue-ID: MUSIC-269
Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com>
6 years agoRemove netty dependency pulled in by music library 35/75035/1
Tschaen, Brendan [Thu, 20 Dec 2018 22:27:54 +0000 (17:27 -0500)]
Remove netty dependency pulled in by music library

Issue-ID: MUSIC-265

Change-Id: I04a403653db4bb989901a565cf64f85a0ed2239b
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
6 years agoMerge "Deprecated unused method. logged CREATE statement."
Bharath Balasubramanian [Thu, 20 Dec 2018 06:37:53 +0000 (06:37 +0000)]
Merge "Deprecated unused method. logged CREATE statement."

6 years agoMerge "Docker compose scripts for two mdbc sites"
Bharath Balasubramanian [Fri, 14 Dec 2018 05:51:31 +0000 (05:51 +0000)]
Merge "Docker compose scripts for two mdbc sites"

6 years agoDeprecated unused method. logged CREATE statement. 53/74353/2
Vikram Potturi [Thu, 6 Dec 2018 20:05:22 +0000 (15:05 -0500)]
Deprecated unused method. logged CREATE statement.

Change-Id: I39155ef4e523fe4a643089eb26be388ca47aa4d2
Issue-ID: MUSIC-164
Signed-off-by: Vikram Potturi <vikramaditya.potturi@att.com>
6 years agoAllow configurable database name 51/74451/2
Tschaen, Brendan [Mon, 10 Dec 2018 15:24:27 +0000 (10:24 -0500)]
Allow configurable database name

Change-Id: I967df28f2f5281e7eee6a03087a279cbbe9f6e3e
Issue-ID: MUSIC-258
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
6 years agoDocker compose scripts for two mdbc sites 31/74631/1
Rob Daugherty [Thu, 13 Dec 2018 18:58:11 +0000 (13:58 -0500)]
Docker compose scripts for two mdbc sites

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>
6 years agoClean up ownership work 47/74347/2
Tschaen, Brendan [Thu, 6 Dec 2018 17:23:54 +0000 (12:23 -0500)]
Clean up ownership work

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>
6 years agoMerge "CreateNodeConfigurations never exits"
Brendan Tschaen [Wed, 5 Dec 2018 14:48:19 +0000 (14:48 +0000)]
Merge "CreateNodeConfigurations never exits"

6 years agoCreateNodeConfigurations never exits 49/73949/5
Rob Daugherty [Thu, 29 Nov 2018 15:02:08 +0000 (10:02 -0500)]
CreateNodeConfigurations never exits

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>
6 years agoMUSIC-224 Dockerize MdbcServer 98/74198/1
Rob Daugherty [Tue, 4 Dec 2018 17:22:49 +0000 (12:22 -0500)]
MUSIC-224 Dockerize MdbcServer

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>
6 years agoSet cause of Exceptions in MDBC 47/74147/1
Arthur Martella [Mon, 3 Dec 2018 17:25:51 +0000 (12:25 -0500)]
Set cause of Exceptions in MDBC

Change-Id: I9a692cc4763f0edecbac35f1494b74e64562ad4e
Issue-ID: MUSIC-220
Signed-off-by: Arthur Martella <arthur.martella.1@att.com>
6 years agoUpgrade to MUSIC 3.2.1 68/74068/2
Rob Daugherty [Fri, 30 Nov 2018 15:24:27 +0000 (10:24 -0500)]
Upgrade to MUSIC 3.2.1

Add license headers to new files

Change-Id: I1a557dbafbd29ce457b545dbd1ca2bc0db62a085
Issue-ID: MUSIC-219
Signed-off-by: Rob Daugherty <rd472p@att.com>
6 years agoownership and relinquish 00/74000/1
Enrique Saurez [Mon, 29 Oct 2018 14:43:15 +0000 (10:43 -0400)]
ownership and relinquish

Change-Id: I625bd61adfac11febdb25b179efbc6134a276f12
Issue-ID: MUSIC-219
Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com>
6 years agoMySQL JUnit test 16/73616/1
Tschaen, Brendan [Tue, 27 Nov 2018 03:42:22 +0000 (22:42 -0500)]
MySQL JUnit test

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>
6 years agoReplay operations into SQL DB 02/73202/2
Tschaen, Brendan [Tue, 20 Nov 2018 23:18:18 +0000 (18:18 -0500)]
Replay operations into SQL DB

Change-Id: Id90c311b701e27aebd53afbde9cab851fa17ce60
Issue-ID: MUSIC-166
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
6 years agoMusicSqlManager Removal, othe code refactors 82/73182/2
Tschaen, Brendan [Tue, 20 Nov 2018 20:29:12 +0000 (15:29 -0500)]
MusicSqlManager Removal, othe code refactors

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>
6 years agoMerge "TxDigest replay and code restructure"
Bharath Balasubramanian [Tue, 20 Nov 2018 12:53:38 +0000 (12:53 +0000)]
Merge "TxDigest replay and code restructure"

6 years agoQuery processing with Calcite 99/73099/1
Vikram Potturi [Mon, 19 Nov 2018 22:01:19 +0000 (17:01 -0500)]
Query processing with Calcite

Change-Id: Id8ebbc48159810ca782081bb4f63071071c926dd
Issue-ID: MUSIC-164
Signed-off-by: Vikram Potturi <vikramaditya.potturi@att.com>
6 years agoTxDigest replay and code restructure 16/72916/3
Tschaen, Brendan [Fri, 16 Nov 2018 15:05:50 +0000 (10:05 -0500)]
TxDigest replay and code restructure

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>
6 years agoRemove unwanted Trigger creation 97/72697/1
st782s [Wed, 14 Nov 2018 17:45:55 +0000 (12:45 -0500)]
Remove unwanted Trigger creation

Issue-ID: MUSIC-186

Change-Id: I81863e57912d72360676e7d38ed414da4c9e8b17
Signed-off-by: st782s <statta@research.att.com>
6 years agoSelf contain the unit tests 22/72022/2
Tschaen, Brendan [Tue, 6 Nov 2018 23:23:25 +0000 (18:23 -0500)]
Self contain the unit tests

Change-Id: Ib160116a075a1634f9d9cb6bf2527a010fc0e573
Issue-ID: MUSIC-177
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
6 years agoChange MDBC version, nexus repo property 98/71898/1
Arthur Martella [Mon, 5 Nov 2018 21:58:23 +0000 (16:58 -0500)]
Change MDBC version, nexus repo property

Change-Id: I8ea07ea04c15a8af2b4127da1775cf339d89e36e
Issue-ID: MUSIC-175
Signed-off-by: Arthur Martella <arthur.martella.1@att.com>
6 years agoModularized mdbc build 53/71853/3
Rob Daugherty [Mon, 5 Nov 2018 15:23:04 +0000 (10:23 -0500)]
Modularized mdbc build

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>
6 years agoIn process of matching database structure 00/71700/2
Enrique Saurez [Mon, 29 Oct 2018 14:43:15 +0000 (10:43 -0400)]
In process of matching database structure

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>
6 years agoAdd maven-assembly-plugin to pom.xml 69/71469/1
Arthur Martella [Tue, 30 Oct 2018 14:35:33 +0000 (10:35 -0400)]
Add maven-assembly-plugin to pom.xml

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>
6 years agoMigrate MDBC code to org.onap.music 96/71396/2
Arthur Martella [Mon, 29 Oct 2018 14:35:33 +0000 (10:35 -0400)]
Migrate MDBC code to org.onap.music

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>
6 years agoAdditional cleanup to match pseudocode 47/71347/1
Enrique Saurez [Fri, 26 Oct 2018 21:31:30 +0000 (17:31 -0400)]
Additional cleanup to match pseudocode

Change-Id: I726986e126216528d6e1094087a1e916bb8f4bbc
Issue-ID: MUSIC-149
Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com>
6 years agoChange code structure to match pseudocode 30/71330/1
Enrique Saurez [Fri, 26 Oct 2018 16:34:16 +0000 (12:34 -0400)]
Change code structure to match pseudocode

Issue-ID: MUSIC-149
Change-Id: Icc8967636192132133066f836614f7bee2ba6265
Signed-off-by: Enrique Saurez <enrique.saurez@gmail.com>
6 years agoUpdate Music Interface and readme instructions 63/71263/2
Tschaen, Brendan [Thu, 25 Oct 2018 17:50:35 +0000 (13:50 -0400)]
Update Music Interface and readme instructions

Change-Id: I998845eba64d712dd489a5af8b63c4c6b5a066d8
Issue-ID: MUSIC-149
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
6 years agoNew gitignore 64/70964/1
Enrique Saurez [Mon, 22 Oct 2018 15:50:27 +0000 (11:50 -0400)]
New gitignore

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>
6 years agoFinish adding METRIC code 89/70689/1
Tschaen, Brendan [Wed, 17 Oct 2018 21:26:32 +0000 (17:26 -0400)]
Finish adding METRIC code

Change-Id: Ifd0307ac21f85e504d690c79080174a50af87f9e
Issue-ID: MUSIC-149
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
6 years agoInitial commit 91/70591/1
Tschaen, Brendan [Tue, 16 Oct 2018 19:13:32 +0000 (15:13 -0400)]
Initial commit

Change-Id: I510baf73e4d35b651fb04e5b8e038dacb6a5a130
Issue-ID: MUSIC-149
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
7 years agoAdd INFO.yaml file 93/47093/1
Jessica Wagantall [Thu, 10 May 2018 17:41:16 +0000 (10:41 -0700)]
Add INFO.yaml file

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>
7 years agoInitial empty repository
Jessica Wagantall [Thu, 10 May 2018 17:19:34 +0000 (17:19 +0000)]
Initial empty repository