summaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src/main/resources
AgeCommit message (Collapse)AuthorFilesLines
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-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-081710 Rebase - Second AttemptArthur Martella22-360/+588
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-05-02[MSO-8] Second step of the rebase for MSODeterme, Sebastien (sd378r)2-6/+0
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-11[MSO-8] Update the maven dependencyxg353y15-118/+438
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)1-75/+0
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 commitChrisC14-0/+929
Change-Id: Ia6a7574859480717402cc2f22534d9973a78fa6d Signed-off-by: ChrisC <cc697w@intl.att.com>