aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters
AgeCommit message (Collapse)AuthorFilesLines
2018-08-30fixed sonar issue in R__CloudConfigMigration.javaSandeep J1-3/+1
fixed sonar issues mentioned in Jira ticket SO-931 Issue-ID: SO-931 Change-Id: I31ec20e4958a11f25050eadd42ce0edc56e042d4 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-29fixed sonar issues in NetworkAdaptorNotify_ServiceSandeep J1-3/+5
Reorder the modifiers to comply with the Java Language Specification Issue-ID: SO-911 Change-Id: I74ebc31679f1e8169c07b2f42b9f7e86d4134621 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-27Merge "fixed sonar issue in MsoNetworkAdapterAsyncImpl"Rob Daugherty1-5/+8
2018-08-26fixed sonar issue in MsoNetworkAdapterAsyncImplSandeep J1-5/+8
fixed sonar issues Issue-ID: SO-909 Change-Id: If2a1ef898dfba15420f5deb245809cc8eeb6bdce Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-27fixed sonar issue in R_CloudConfigMigration.javaSandeep J1-2/+2
fixed sonar issue: Remove the declaration of thrown exception 'com.fasterxml.jackson.core.JsonParseException' which is a subclass of 'java.io.IOException: line 81 Issue-ID: SO-906 Change-Id: If18c2b6e0769d95dc56c9dbac5c1d5219e95955c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-23Created Ref Data tbl for controllerSelectionPrema Bhatt1-1/+2
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-23Merge "Changed RequestFactory for Catalog DB client"Rob Daugherty6-94/+12
2018-08-23Changed RequestFactory for Catalog DB clientBenjamin, Max (mb388a)6-94/+12
- 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-23fix sonar critcal issues in R_CloudConfigMigrationSandeep J1-4/+8
added specific excpetions instead of generic ones Issue-ID: SO-886 Change-Id: Ib0f2e655a6e58b8dc142233679a53c15b373f117 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-23fixed sonar issues in MsoNetworkAdapterAsyncImplSandeep J1-8/+9
removed useless assignment of local variable "sMap" at lines 646,664,684. And, also removed keyset with entryset at line 650 Issue-ID: SO-882 Change-Id: I31a1a0c2c7aa4d65466125bda6948765326994eb Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-22Merge "sonar try-with-resources"Seshu Kumar M1-6/+6
2018-08-21openstack_adapter container fails to startRob Daugherty2-9/+35
The reported problem occurs because the openstack-adapters app is attempting to do a migration on top of a migration already performed by the catalog-db app. I'm adding these options to flyway in openstack-adapters: baseline-on-migrate: true validate-on-migrate: false Another issue is that the java-based CloudConfig migration class was looking for CloudConfig data only in the application.yaml file in the classpath. It was not looking for CloudConfig data in the override file. I've changed this logic to look in the override file first and then in application.yaml. Ideally, these sources would be merged, but I don't see a reasonable way to do it. Change-Id: I7ba07c1f8f00b4c628e825393ee31502950fe592 Issue-ID: SO-868 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-08-21sonar try-with-resourcesArindam Mondal1-6/+6
Issue-ID: SO-871 Change-Id: I151ea890755c0a9dd9e7f5df1ed807a660fb0c2f Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2018-08-17Fix VfModuleCustomizationToVduMapperTestMichal Kabaj1-0/+146
- Moved VfModuleCustomizationToVduMapperTest to mso-openstack-adapters module, where the tested implementation actually is. - Fixed and reimplemented tests Change-Id: If5b4a29be22b7cbb59642eff78e471f294a512a7 Issue-ID: SO-865 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-08-15Cloud Config UpdatesSmokowski, Steve (ss835w)1-3/+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)23-71/+663
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-07Merge "Remove declaration of subclass exception"Seshu Kumar M1-1/+1
2018-08-07Upgrade CXFSmokowski, Steve (ss835w)1-3/+3
Upgrade to latest version of CXF for Security Report Issue-ID: SO-807 Change-Id: I7f61fa3fd5f8a41c0654dd03314f0b6f4835b100 Change-Id: I7f61fa3fd5f8a41c0654dd03314f0b6f4835b100 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-06Remove declaration of subclass exceptionAnisha Kumar1-1/+1
Removed declaration of exception TenantAlreadyExists since TenantAlreadyExists is a subclass of TenantException which is declared earlier. Having TenantAlreadyExists is superfluous since it is a subclass of another listed exception. Issue-ID: SO-666 Change-Id: Ic828f4f18b865767bde7d34630f31683d7d49503 Signed-off-by: Anisha Kumar <anishax.kumar@intel.com>
2018-08-06correct the issue in MsoVnfAdapterImplseshukm1-27/+29
Issue-ID: SO-729 Change-Id: I2b36cfdc706ea85e57e69dba569d026686065d3a Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-08-01Remove logging that is not neededSmokowski, Steve (ss835w)1-81/+10
Issue-ID: SO-781 Change-Id: Ia91a52692e61f1ffa3f0a4074017fa0156d4276c Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-07-31Containerization feature of SOBenjamin, Max (mb388a)205-0/+32954
Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18 Issue-ID: SO-670 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>