aboutsummaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src/main
AgeCommit message (Collapse)AuthorFilesLines
2018-02-21Make use of addAll instead of loopMunir Ahmad2-9/+3
Change-Id: Ia3afb3ecfec21e81982c4838bf019cc8e3ef55c1 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-02-21Remove redundant toStringMunir Ahmad1-1/+1
Change-Id: If039248f233e3aa53733aa1a888b571836ca9406 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-01-29Merge changes Ie0f9c31f,I1fbe5516,I4beee70d,Ib9c5dad0,I80eb6d4fSeshu Kumar M1-92/+92
* 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 singh1-52/+52
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 singh1-12/+12
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 singh1-7/+7
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 singh1-9/+9
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 singh1-12/+12
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 singh1-7/+8
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 singh1-12/+12
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 singh1-9/+9
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 singh1-7/+7
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 singh1-11/+11
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 singh1-12/+12
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 singh1-14/+14
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 singh1-6/+6
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 singh1-21/+21
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 singh1-7/+7
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 singh1-3/+3
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 singh1-5/+4
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-15Add test case for CatalogDatabasesubhash kumar singh1-2/+2
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 singh1-5/+5
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 singh1-11/+11
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 M1-21/+21
2018-01-11UT for catalogDatabasesubhash kumar singh1-21/+21
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-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-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-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-M37-37/+37
IssueId: SO-120 Change-Id: I429381791a209b421349baa9a4adaa32c6e27958 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-09-081710 Rebase - Second AttemptArthur Martella55-1490/+4474
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>
2017-07-27fixed for defect SO-70 - recipe lookup mechanism doesn't allow to define ↵eyalholz1-0/+13
default recipe mapping for any 'source' at level of 'service' and 'network' resources. Change-Id: I42dafa343e2e65c6e892c21de5f3f1131890b24e Signed-off-by: eyalholz <eyalh@amdocs.com>
2017-05-02[MSO-8] Second step of the rebase for MSODeterme, Sebastien (sd378r)8-83/+276
Second rebase containing additional features for MSO + total reworking of the BPMN structure + Notification flow can now be added at the end of some BPMN flows Change-Id: I7e937c7a0ba1593ca85e164a093f79c7e38b6ce0 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-04-13Remove boxed types in MavenLikeVersioningGary Wu1-27/+17
Remove the unnecessary use of boxed types in MavenLikeVersioning. Change-Id: I8b96db9e753f80860b95b84473bb8d2b61e2328e Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-11[MSO-8] Update the maven dependencyxg353y32-302/+2934
Update the maven depenency for sdc-distribution-client to cooperate with the sdc changes. Change-Id: I2da936e5c40cb68c7181bb78307192dd5655b5dc Signed-off-by: xg353y <xg353y@intl.att.com>
2017-02-17Rework Database access classesDeterme, Sebastien (sd378r)2-90/+59
The Catalog Db and Requests DB have been reworked to be extendable by project using MSO opensource. Useless hibernate cfg.xml file have been removed too. Change-Id: I15579bde3913c9faf8eded6f92d6b5239cca512c Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-01-31Initial OpenECOMP MSO commitChrisC34-0/+4931
Change-Id: Ia6a7574859480717402cc2f22534d9973a78fa6d Signed-off-by: ChrisC <cc697w@intl.att.com>