aboutsummaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src/test
AgeCommit message (Collapse)AuthorFilesLines
2018-10-19bug fixes october 19thBenjamin, Max (mb388a)1-2/+2
Fixed issue with resource version being added twice. added silent success to orch validation when unassign is not found Removed SNAPSHOT from dependency Fixed failing BBInputSetup tests Updated apih tests to use networkInstanceGroup Updated ModelType enum and fixed compilation issues Change the place where the data for multistage gets set Update treatment of PENDING_ACTIVATION VF_MODULE CREATE entries to SILENT_SUCCESS to support first stage of multistage. Implement second stage of multistage design VF Module Creation Implementation of the first stage of multistage design for VF Module creation. Change-Id: I6d76282d1f37c081355cee72797d8e13da4e3cb0 Issue-ID: SO-1149 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com> Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-09-17more stability fixesBenjamin, Max (mb388a)2-0/+62
Remove conditional to not check VNF topology add empty string verification for serviceName field Add junits for CNRCR and NtwkAdptr changes. Add search in new CollNtwkResCust tbl to get NtwkResource. - Updated test data files to include 'pre-load' flag in both VfModuleOperation and NetworkOperation json test data files. - MSO to not to send <preload>boolean</from-preload> to SDNC in network-topology-opertion and vf-module-topology-operation. Updated GeneralTopologyObjectMapper to set 'from-preload' to null so that elements with Nulls are not sent to SDNC. Updated buildNetworkInformation() and buildVfModuleInformation() methods. update flow stats to not cause bpmn flow to crash Fix headers so SDNC does not return XML Add implementation of deleteVolumeGroupResponse parsing; fix JUnits that worked by accident. Change-Id: Ia96d552d731e112505fcf739029a6fd4d0134546 Issue-ID: SO-1061 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-08added generic fabric support to SOBenjamin, Max (mb388a)12-3/+829
Fix Autoincrement of ID field in table Fix accidental removal of method Update usage of requestdb client removed unused imports in common tasks and test Fix broken branch, have unit tests pass references the Epic branch Fix broken branch from compiling committing classpath for vfc adapter cause its not going away added in the fail case for when there are no profiles removed second set of adapters in application test yml removed double adapters in request db application test added jpa repo dependency to the so bpmn folder pom add creation timestamp column to the table added in null checks for Config returned from policy switched to string in requestprocess with jenerate switched to string in requestprocess with jenerate updated aai version in common pom to 605 from 591 renamed the db scripts for flyway sync to register added endpoint to application test yml for failing test ... Change-Id: I800f837ea75d7cdff740dc3a387e4d7654cfd085 Issue-ID: SO-972 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-31Merge "Update Logging"Rob Daugherty11-13/+7
2018-08-31Update LoggingSmokowski, Steve (ss835w)11-13/+7
Add CXF interceptor for SOAP based logging Clean up extra logging statements Add UT to ensure MDC properly populated Change package name on Jax-RS Filter to be more accurate Issue-ID: SO-947 Change-Id: I3a2afc58de3bf370675658ce3d19cf899b90def7 Change-Id: I3a2afc58de3bf370675658ce3d19cf899b90def7 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-30Create a Reference Table for Controller SelectionRob Daugherty2-11/+2
Also: Modify Alacarte Reference Data This commit consolidates changes from three abandoned commits: https://gerrit.onap.org/r/60959 https://gerrit.onap.org/r/60953 https://gerrit.onap.org/r/60397 Change-Id: I295a79cb05ca742ae5743892397e75c7c228bde3 Issue-ID: SO-763 Issue-ID: SO-676 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-08-23Created Ref Data tbl for controllerSelectionPrema Bhatt3-7/+92
RD: I rebased this and fixed the unit tests. Issue-ID: SO-763 Change-Id: Ie5f6a708cffbc70a9481afd35db3047fe44cb088 Signed-off-by: Prema Bhatt <pb6115@att.com> Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-08-15Cloud Config UpdatesSmokowski, Steve (ss835w)1-21/+0
Update Cloud Config to be writable over REST API. This allows easier environment setup, so sql scripts are not required Issue-ID: SO-862 Change-Id: I70931f09ff2600a15094199f46fc8d9ac36403f4 Change-Id: I70931f09ff2600a15094199f46fc8d9ac36403f4 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-13Cloud config database table supportBenjamin, Max (mb388a)8-1/+301
added cloud config database entities added cloud config repository converted existing cloud config class converted all code interacting with previous cloud config object created migration to automatically load cloud config properties from application.yaml Issue-ID: SO-854 Change-Id: Icf408e5d0fcabd1b7e97298963c555fae6964930 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-07-31Containerization feature of SOBenjamin, Max (mb388a)39-7743/+2114
Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18 Issue-ID: SO-670 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-04-03More unit tests for CatalogDatabase IIIArthur Martella1-102/+1102
Change-Id: I8b9fded809b7aef7e38ee583a91c8257247c830b Issue-ID: SO-489 Signed-off-by: Arthur Martella <amartell@research.att.com>
2018-03-30More unit tests for CatalogDatabase IIArthur Martella1-66/+498
The second in a series. Change-Id: I1b400167b4c4e409692b4dbfdbc0de42c57d4ec9 Issue-ID: SO-489 Signed-off-by: Arthur Martella <amartell@research.att.com>
2018-03-29More unit tests for CatalogDatabaseArthur Martella1-14/+609
Change-Id: I6468c53847ae8a242a8b39aecc3ed0d24354f758 Issue-ID: SO-489 Signed-off-by: Arthur Martella <amartell@research.att.com>
2018-03-28improved coverage for catalog db beansBenjamin, Max (mb388a)3-2/+82
Change-Id: Ibf1fd21dc81f0a3e16447b05dfce1761efa69237 Issue-ID: SO-541 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-03-27Adding Junits for catalog dbpradip014-89/+1311
Increase Jnits coverage for catalog db Issue-ID: SO-532 Change-Id: I7a66a38103b2cf2bdad2d066bcc72a590809be53 Signed-off-by: pradip01 <pradipkumar.thakker@amdocs.com>
2018-03-27Catalog Database Test RepairArthur Martella1-456/+814
Tear down mockups in a @After Change exception check to ExpectedException Change-Id: Id8339848fce2d11999a969192c71cfb7382eea83 Issue-ID: SO-489 Signed-off-by: Arthur Martella <amartell@research.att.com>
2018-03-14AT&T 1712 and 1802 release codeRob Daugherty2-0/+108
This is code from AT&T's 1712 and 1802 releases. Change-Id: Ie1e85851e94bc66c4d9514a0226c221939531a04 Issue-ID: SO-425 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-03-09Revert Reduce log noise/warningsRob Daugherty22-1059/+954
This reverts commit 327b17ab250b4c17cf3f91f5e4cd9bffd89f3d1e. It is seriously impeding our ability complete the promised merge of AT&T 1802 code. While I'm all for coding standards, if we are serious about using spaces instead of tabs, then I think we need to (1) agree with the community when this will happen, (2) do consistently in all files, and (3) enforce it. Change-Id: Ib9b996f6b6c7d81ac9ac95d58b0c7d8cc39675ff Issue-ID: SO-368 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-03-08Reduce log noise/warnings format to conventionsMarcus G K Williams22-954/+1059
Reduce build log warnings by formatting tests to ONAP code conventions (removing tabs etc.) Issue-ID: SO-368 Change-Id: I48c6d359b83617aebeb79db4e30c1d72d31f7eec Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-03-07Swap Collection.sort with list.sortMunir Ahmad1-1/+1
Change-Id: Id56bcc3ad3696b5068b9465e9951f211ac467cb3 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-06Replace explicit type with dimond typeMunir Ahmad2-4/+4
Change-Id: I1dedb9ef1ca7b734e3cfc0a3a594d733dbd298d4 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-06Update paramXSD as recipe common fieldc001491072-4/+4
Update paramXSD as recipe common field Change-Id: I8fe382e65957dc3983abfcb638582bf074875fdb Issue-ID: SO-456 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
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-25Improve UT for catalog dbsubhash kumar singh1-22/+436
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-19Improve UT for catalog dbsubhash kumar singh1-3/+52
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-3/+53
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-3/+108
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-3/+52
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-1/+103
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-2/+51
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-3/+83
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-2/+104
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-3/+52
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-2/+51
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-3/+52
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-2/+54
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-3/+56
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-8/+169
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/+58
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-2/+84
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 singh1-50/+124
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-1/+19
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-902/+955
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-11UT for catalogDatabasesubhash kumar singh1-314/+459
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-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 "Adding UT for MSO catalogdb POJO"DeWayne Filppi3-0/+165
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-04Adding UT for MsoCatalog POJOseshukm3-0/+168
UT-Step3 IssueId: SO-172 Change-Id: Iac580a8936104078e529db9fdab178e0686eae51 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>