aboutsummaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src
AgeCommit message (Collapse)AuthorFilesLines
2018-01-29Merge changes Ie0f9c31f,I1fbe5516,I4beee70d,Ib9c5dad0,I80eb6d4fSeshu Kumar M2-125/+792
* changes: Improve UT for catalog db Improve UT for catalog db Improve UT for catalog db Improve UT for catalog db Improve UT for catalog db
2018-01-25Improve UT for catalog dbsubhash kumar singh2-74/+488
Improve UT for catalog db. Change-Id: Ie0f9c31f9ec39e4cc693b8b1076702fb1fe11a25 Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-24Merge "Add Category info For Service and Resource"Seshu Kumar M6-5/+93
2018-01-22Add Category info For Service and Resourcec001491076-5/+93
Add Category info For Service and Resource,It is used for generic workflow Change-Id: I952d39388eac8b379a8ecc365e1292fdc0cf597e Issue-ID: SO-379 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-01-19Improve UT for catalog dbsubhash kumar singh2-15/+64
Improve UT for catalog db. Change-Id: I1fbe5516b29763fdaf2a2734f1aa7432a1261eae Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-19Improve UT for catalog dbsubhash kumar singh2-10/+60
Improve UT for catalog db. Change-Id: I4beee70d0e78fca0d792480477d1010d5faa086d Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-19Improve UT for catalog dbsubhash kumar singh2-12/+117
Improve UT for catalog db Change-Id: Ib9c5dad03c0107778c554c54d1586e0ddd79c297 Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-19Improve UT for catalog dbsubhash kumar singh2-15/+64
Improve UT for catalog db. Change-Id: I80eb6d4f58ea9de2d73a92a917dad8f9c98dc88a Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-18Improve UT for catalog dbsubhash kumar singh2-8/+111
Improve UT for catalog DB Change-Id: I08d5a565d409cc00f32677918f4e8645cecf6754 Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-18Improve UT for catalog DBsubhash kumar singh2-14/+63
Impprove UT for catalog DB. Change-Id: Ifd5c57bdaa39b5965641aab40495f01f16fa6510 Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-18Improve UT for catalog DBsubhash kumar singh2-12/+92
Impprove UT for catalog DB. Change-Id: I78a0525cd7775f4371efc5ccbc549ea410384491 Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-17Improve UT for catalog dbsubhash kumar singh2-9/+111
Improve UT for catalog db. Change-Id: If3c86e76b36c69bd99c1f6536fb3f2d787e6ed0d Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-17UT improvement for catalog DBsubhash kumar singh2-14/+63
Improve UT for catalog DB. Change-Id: I703e86d0bcde663b81cf46260a6f5656dae6dab3 Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-17Improve UT for catalog dbsubhash kumar singh2-14/+63
Impove UT for catalog db. Change-Id: Iacbcb9de5ec92f929bfce8cfaac298e4a9ccf8b9 Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-17UT improvement for catalog dbsubhash kumar singh2-17/+66
UT improvement for catalog db. Change-Id: Ie1a4554501ebc6e41a9a64b4613d72ae91e5ef03 Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-17UT improvement for catalog dbsubhash kumar singh2-8/+60
UT improvement for catalog db. Change-Id: I711e84a4a80877f49552ddfef1ec5893daef7b0b Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-17Unit test improvement for catalog dbsubhash kumar singh2-24/+77
unit test improvement for catalog db. Change-Id: Iff84fb58e973120d9dcaddc4ab3dba6e6ce34975 Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-17Improve unit test for catalogsubhash kumar singh2-15/+176
Improve unit test for catalog.java. Change-Id: I622fc6ae73de365b0942d3fec5867de7688057b6 Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-15Improve TC for catalog databasesubhash kumar singh2-6/+61
Improve TC for catalog database. Change-Id: I698a6e6b929586c84e43266480a4a459265951ae Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-15Improve test case for catalog databasesubhash kumar singh2-7/+88
Improve test case for catalog database. Change-Id: I9938ca12edf2927368a79bffc21b199651f77879 Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-15Improve TC for catalog databasesubhash kumar singh1-2/+81
Improve TC for catalog database class. Change-Id: I5f4044e2e4151ba0382e914287ab03381962743f Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-15Add test case for CatalogDatabasesubhash kumar singh2-52/+126
Add test case for getHeatTemplateByArtifactUuid(). Change-Id: I1ce9908cc01baeb7b5d6b58ba2b7a5f28262a5d6 Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-15Add test case for getHeatTemplatesubhash kumar singh2-6/+24
Add test case for getHeatTemplage body. Change-Id: Iabcefa9d27b6b146921b50c99413e56273a21b3b Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-15Add test case for getHeatTemplatesubhash kumar singh2-913/+966
Add test case for getHeatTemplage. Fix file ending character by removing ctrl+M character. Change-Id: Ia25b54b80bdd7e1edb8a96b58b8f3fe9ce020dc7 Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-01-11Merge "UT for catalogDatabase"Seshu Kumar M2-335/+480
2018-01-11UT for catalogDatabasesubhash kumar singh2-335/+480
Fix the UT's for catalogDatabase.java. Change-Id: Id385b5318c52e58d5de41a0a9032964de1bc63fa Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-12-22Updated Service deployment changes not reflectedAbhishek Shekhar1-1/+1
Issue-ID: SO-271 Change-Id: I7f27d1a1aa1f4b8a5f68618a3fdbb34cca477434 Signed-off-by: Abhishek Shekhar <abhishek.shekhar1@amdocs.com>
2017-10-24NetworkResource modelInvariantUUID is too shortRob Daugherty2-3/+3
It is currently 20. It should be 200. I'm also fixing HeatFiles.hbm.xml to match a recent schema fix (SO-247). Issue: SO-264 Change-Id: I2bd6fc480310abc80b1a189a83b1e3f73c90149b Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-10-12Update hibernate files to initialize timestampJim Hahn26-62/+82
Updated the hibernate hbm.xml files to correct the following issues: 1) Timestamps had generated="insert" but hibernate was not auto-populating the timestamp value thus the DB was generating an exception. Modified the definition of this field to cause hibernate to provide the default value of CURRENT_TIMESTAMP. This impacted most of the hbm.xml files. 2) While running junit tests, the following message appeared in the log underneath most of the hbm.xml files: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide! Updated most of the hbm.xml files, changing the namespace per the guide. Note: a couple of the files were already correctly configured. Change-Id: Id96775b7bd7a42da0c00e208e33aed6fa96ab996 Issue-Id: SO-215 Signed-off-by: Jim Hahn <jrh3@att.com>
2017-10-06Adding UT for MSO catalogdb POJOSeshu-Kumar-M3-0/+208
UT-Step6 IssueId: SO-172 Change-Id: I18ba0ebfd372b06e688e5a1b6d9e8b8d34cab227 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-10-05Merge "Remove foreign key which is not supported by code"Rob Daugherty1-0/+2
2017-10-05Merge "Adding UT for MSO catalogdb POJO"DeWayne Filppi3-0/+165
2017-10-05Remove foreign key which is not supported by codeRob Daugherty1-0/+2
The foreign key we fixed in the VNF_RES_CUSTOM_TO_VF_MODULE_CUSTOM table is blocking distribution of the model. The insert that's failing is: insert into VNF_RES_CUSTOM_TO_VF_MODULE_CUSTOM ( VNF_RESOURCE_CUST_MODEL_CUSTOMIZATION_UUID, VF_MODULE_CUST_MODEL_CUSTOMIZATION_UUID) values (?, ?); The error is: "foreign key constraint fails" Issue: SO-180 Change-Id: I8d98bde144eb666430632b6089d8d27d66527884 Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-10-05Adding UT for MSO catalogdb POJOSeshu-Kumar-M3-0/+165
UT-Step4 IssueId:SO-172 Change-Id: I33f1cb757f038085f649eaa836da90e32ef04814 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-10-05Adding UT for MSO catalogdb POJOSeshu-Kumar-M3-0/+177
UT-Step5 IssueId:SO-172 Change-Id: I008b3587e68350dcc1c5a14069afbf8f0153a35b Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-10-04Fix schema mismatchRob Daugherty1-3/+3
Corrected a foreign key definition in the VNF_RES_CUSTOM_TO_VF_MODULE_CUSTOM table. Issue: SO-180 Change-Id: I4dfb51ac615ca1dab19fbf3e0be728b2752e06bd Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-10-04Adding UT for MsoCatalog POJOseshukm3-0/+168
UT-Step3 IssueId: SO-172 Change-Id: Iac580a8936104078e529db9fdab178e0686eae51 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-04Adding UT for MsoCatalog POJOseshukm3-0/+193
UT-Step2 IssueId: SO-172 Change-Id: I4aa763ad9cf723f969b9fd9a9ab7eca5b303ade0 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-04Merge "Adding UT for MsoCatalog POJO"Seshu Kumar M3-0/+215
2017-10-04Adding UT for MsoCatalog POJOseshukm3-0/+215
UT-Step1 IssueId: SO-172 Change-Id: I82c9095d25da5fec5b79360e54a0326b8b86ffc0 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-04Adding UT for Mso catalog dbSeshu-Kumar-M2-0/+262
IssueId: SO-172 Change-Id: I8429cb938e786c527fad00067dc733fc02997639 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-10-03Adding UT for SO-CatalogSeshu-Kumar-M1-0/+646
IssueId: SO-172 Change-Id: I459ab18a5dccb3e773278db933f97b50f87d0e76 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-09-28Fixed Critical Sonar Issuesseshukm1-210/+122
IssueId: SO-164 Change-Id: I87915bcdab1457c766d53157305e8e2b68a7b4d8 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-09-27Removed useless assignment to variablesrama-huawei6-8/+8
Issue-Id:SO-118 Change-Id: I97cfd892ae5d13003b0b37509ac91be863dbd55e Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-27Removed the unused variablesrama-huawei4-6/+6
Issue-Id:SO-118 Change-Id: I979370f8d3ffa0382856353aa189610d24dcd20c Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-26Added "@Override" annotation method signatureshashikanth1-7/+8
https://sonar.onap.org/component_issues?id=org.openecomp.so%3Aso#resolved=false|severities=MAJOR|fileUuids=AV3Bnsck5bp_wwmIVB7V|rules=squid%3AS2293%2Csquid%3AS1161 Issue-Id:SO-118 Change-Id: Iea674f0d8f4f0b9cef346f8c5315b02767ae65f4 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-21Bad foreign key in VNF_RESOURCE_CUSTOMIZATIONRob Daugherty1-3/+3
A foreign key definition for the VNF_RESOURCE_CUSTOMIZATION table was wrong. I fixed VnfResourceCustomization.hbm.xml Change-Id: Ie52f0b495d100d28bcb053ba46cb8e680a4e95a2 Issue-id: SO-147 Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-09-12Fix for SONAR critical issuesseshukm1-20/+20
Issue-Id : SO-117 Change-Id: Icdc64605b475e20af7e871135af327f7d0e38792 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-09-11Change the header to SOSeshu-Kumar-M39-39/+39
IssueId: SO-120 Change-Id: I429381791a209b421349baa9a4adaa32c6e27958 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-09-081710 Rebase - Second AttemptArthur Martella109-12044/+4480
This commit rebases changes from openecomp-mso/internal-staging-1710 up to and including this codecloud commit: 54483fc6606ddb1591a2e9da61bff8712325f924 Wed Sep 6 18:12:56 2017 -0400 Rebasing was done on a branch on top of this commit in so/master in ONAP: 93fbdfbe46104f8859d4754040f979cb7997c157 Thu Sep 7 16:42:59 2017 +0000 Change-Id: I4ad9abf40da32bf5bdca43e868b8fa2dbcd9dc59 Issue-id: SO-107 Signed-off-by: Arthur Martella <amartell@research.att.com>