aboutsummaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src/main
AgeCommit message (Collapse)AuthorFilesLines
2018-09-08added generic fabric support to SOBenjamin, Max (mb388a)13-2/+958
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 Daugherty1-1/+1
2018-08-31Update LoggingSmokowski, Steve (ss835w)1-1/+1
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-10/+1
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-28Converted ServiceInstances to catalog db clientBenjamin, Max (mb388a)21-236/+380
- Fixed issues related to created Date Format, enabled required Test - Fixed issues related to queryParam names, enabled required Test - Fixed issues related to queryParam names - Improving coverage for catalogDbClient by another 10% (its 78% now) - Improving coverage for catalogDbClient by another 10%. There is a failing test which will be explored shortly - Improving coverage for catalogDbClient, adding some tests and their basic asserts - merging with dev and resolving the compilation issue arising due to it - Removing some TODO introduced in code for incremental pushes - Fixing failing unit test cases with the build - Refactoring done for code change in catalogDBClient - merged changes with development branch - Modified unit tests for Catalogdb Client related code - Modified unit tests for Catalogdb Client related code - Fixed some of the repository code for retrieving single resource - Modified unit tests for Catalogdb Client related code - Modified unit tests for Catalogdb Client related code - Modified unit tests for Catalogdb Client related code - Removed @Param from repositories and added -Parameters argument in maven compile plugin ... Change-Id: Ieeb7bcc21a573465e485fedfbbe771c8b89db3f8 Issue-ID: SO-925 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-23Created Ref Data tbl for controllerSelectionPrema Bhatt4-0/+246
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-23Changed RequestFactory for Catalog DB clientBenjamin, Max (mb388a)2-9/+7
- Missed some files, the repository isn't required now that we dont fetch the identity service directly - Fixing review comments and removing the unused import - Fixing the build :) Now that cloudSite has a 1-1 relationship with cloudidentity, there shouldn't be a need to query the identity on its own unless the site is missing Refactored some code to use site to fetch identity as a composition - Changing the catalogDb client to use HttpComponentsClientHttpRequestFactory instead of SimpleClientHttpRequestFactory, the later would lead to a IOException (FileNotFoundException specifically) whenever a 40X type of a response code is returned from the spring rest endpoint. Adding some tests for the catalogDbClient which earlier got missed in handover. Also fixing another issue with cloudSite repository which was not fetching data correctly. Fixed a repository which was added initially but later the same went missing (Not sure how) Change-Id: I72506865c4c5f7fd07a6031c146a4aba1a96c2c8 Issue-ID: SO-892 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-15Cloud Config UpdatesSmokowski, Steve (ss835w)3-218/+209
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)9-20/+882
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-08-07E2EServiceInstances to be free of catalogdbBenjamin, Max (mb388a)3-37/+77
Fixing Junits Making MSO requests free from direct repository calls Add @Param annotation so as to fix JPA methods with query parameters Fix createE2EServiceInstance Test Add Unit Tests for Sunny day scenarios revert import auto-alignment Issue-ID: SO-811 Change-Id: I9f69d817622b0807642a783311d6959817a77970 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-07-31Containerization feature of SOBenjamin, Max (mb388a)154-10218/+9396
Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18 Issue-ID: SO-670 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-07-13add junit for VfModuleCustomizationToVduMapperLukasz Muszkieta2-3/+0
Change-Id: Ia63f7ababdb7f51a89da4713ae29c1297e7bd746 Issue-ID: SO-718 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-07-06Use already-defined constant MODEL_VERSIONMariah Jacobs1-9/+9
Replace literal 'version' with already-defined constant MODEL_VERSION. Issue-ID: SO-666 Change-Id: I74d1c74d62b8beaceb1cb43e67ce3764c31ee9f0 Signed-off-by: Mariah Jacobs <mariah.jacobs@intel.com>
2018-06-11Define constant instead of literal getVnfRecipePraneta Paithankar1-9/+11
Constant GET_VNF_RECIPE is defined and used instead of duplicating literal "getVnfRecipe". Issue-ID: SO-666 Change-Id: Ia82aa03dd6381c7d70942f718c35d39a36e6ea25 Signed-off-by: Praneta Paithankar <praneta.paithankar@intel.com>
2018-06-11Define constant instead of literal "template_name"Praneta Paithankar1-3/+4
Constant TEMPLATE_NAME is defined and used instaed of literal "template_name". Issue-ID: SO-666 Change-Id: I8a8ab9fd8efc64003648601ee60eed0fef48b684 Signed-off-by: Praneta Paithankar <praneta.paithankar@intel.com>
2018-05-23NETWORK_RECIPE for CM flowsRob Daugherty6-9/+9
Increased ACTION field in all recipe tables to 40 chars. Change-Id: I4eb76ce1859f901adb07df753663f9f46372f15f Issue-ID: SO-639 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-05-17Fix resource population to DBsubhash kumar singh1-0/+16
Fix resource population to DB. Change-Id: Iae25ce2f15fa121a45a55559458fcbbd217f2c7d Issue-ID: SO-624 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-04-19Add logic for defautl network resource receipesubhash kumar singh1-4/+14
Add logic for defautl network resource receipe Change-Id: Ib0f12d9d10fc5956c7448c525fbcc3217da23b96 Issue-ID: SO-422 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-04-17Implement fetching default NS resource workflowsubhash kumar singh1-1/+26
Implement fetching default NS resource workflow Change-Id: I4f56198a0954d7564040e4c41009cbf651a04b2e Issue-ID: SO-422 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-04-10toString bug fixYulian Han1-1/+1
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064602 Issue-ID: SO-565 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-04-06Use getVersion() to get Version of VNFResourcesubhash kumar singh1-1/+1
Use getVersion() to get version of VNFResource. Change-Id: I7b507041d03130e15723c0b0ed045d43f335d085 Issue-ID: SO-422 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-04-02SO application deployment issuesRob Daugherty3-7/+10
There are a few problems here. 1) Hibernate definitions for a few tables don't match the column definitions in the MySQL schema scripts. 2) The process engine in MSOInfrastructureBPMN is defined incorrectly. 3) Several bpmn flows have errors that block deployment. Change-Id: I029238b82736a3d4977fdf56416c5feb2705b041 Issue-ID: SO-557 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-03-28improved coverage for catalog db beansBenjamin, Max (mb388a)32-929/+974
Change-Id: Ibf1fd21dc81f0a3e16447b05dfce1761efa69237 Issue-ID: SO-541 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-03-14Remove depricated and unsed methodsMunir Ahmad1-42/+0
Change-Id: Iaf6d907f0c0a86ec2bc020c87f07ffd73c5bcb80 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-14AT&T 1712 and 1802 release codeRob Daugherty8-8/+57
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-08Merge "Swap StringBuilder with string where makes sense"Seshu Kumar M3-25/+14
2018-03-08Swap StringBuilder with string where makes senseMunir Ahmad3-25/+14
Change-Id: I3faaa90d97e936b0d86282db5958e1048460ee81 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-07Swap Collection.sort with list.sortMunir Ahmad1-3/+3
Change-Id: Id56bcc3ad3696b5068b9465e9951f211ac467cb3 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-07Merge "Fix javadoc"Rob Daugherty2-16/+14
2018-03-07Merge "Support query ar recipe by ar model uuid"Chuanyu Chen1-0/+64
2018-03-07Merge "Support query vnf recipe by vnf model uuid"Chuanyu Chen1-0/+59
2018-03-07Support query ar recipe by ar model uuidc001491071-0/+64
Support query ar recipe by ar model uuid Change-Id: I846bc1f55f2c15be02ba44496e1fc1b33fdaf8e2 Issue-ID: SO-456 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-03-07Support query vnf recipe by vnf model uuidc001491071-0/+59
Support query vnf recipe by vnf model uuid Change-Id: Ie85fff28586e31bc4c5f3cc90a6360e7af3ba575 Issue-ID: SO-456 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-03-07Merge "Support query network recipe by module uuid"Chuanyu Chen1-0/+61
2018-03-06Fix javadocMunir Ahmad2-16/+14
Change-Id: Iddc39df32089e1a37c04d089522ead295a037118 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-06Merge "Replace StringBuilder with String & inline return"Seshu Kumar M13-182/+112
2018-03-06Replace explicit type with dimond typeMunir Ahmad4-7/+7
Change-Id: I1dedb9ef1ca7b734e3cfc0a3a594d733dbd298d4 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-06Merge "Swap Collection.sort with List sort"Seshu Kumar M1-46/+46
2018-03-06Replace StringBuilder with String & inline returnMunir Ahmad13-182/+112
Resolved merge conflicts Change-Id: I1a8c8b6fd801c1eb7719ea3d17f029972e2ba84f Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-06Merge "Simplify if statements where it makes sense"Seshu Kumar M1-13/+16
2018-03-06Support query network recipe by module uuidc001491071-0/+61
Support query network recipe by module uuid Change-Id: I8b49babf73f98c5e9ffe27463bd8227274440390 Issue-ID: SO-456 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-03-06Update paramXSD as recipe common fieldc0014910710-51/+25
Update paramXSD as recipe common field Change-Id: I8fe382e65957dc3983abfcb638582bf074875fdb Issue-ID: SO-456 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-03-06Add allotted resource recipec001491072-0/+124
Add allotted resource recipe java Change-Id: Ibef5e8e617dcfb1d4f9b4087f20d6058a47bd74f Issue-ID: SO-456 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-03-02Swap Collection.sort with List sortMunir Ahmad1-46/+46
Change-Id: I68ae390ba1ecc9e8f82fa686745cb2015e7efc6e Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-02-28Merge "Support csar object query"Seshu Kumar M1-0/+51
2018-02-27Support csar object queryc001491071-0/+51
Support csar object query, for model driven work flow. Change-Id: I7207ad8081244d1c38fcdc9ee161d9d1204fdb4a Issue-ID: SO-451 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-02-27Make use of append instead of string concatenationMunir Ahmad24-117/+123
Change-Id: I94ad658026f165ba8b5a74352095188a27ee50e5 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-02-26Simplify if statements where it makes senseMunir Ahmad1-13/+16
Change-Id: Id04ede6b8aa8fa3ca8c02b8c32ad5f4745ef47f4 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-02-24Swap StringBuffer with StringBuilder everywhereMunir Ahmad5-5/+5
Change-Id: Ia1f8d3ebc4026179bf08cdb0bd71c4480b8481df Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
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>