summaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters
AgeCommit message (Collapse)AuthorFilesLines
2018-09-05Merge "fixed sonar issue in TenantAdapterRest.java"Byung-Woo Jun1-12/+3
2018-09-05fixed sonar issue in ValetClient.javaSandeep J1-4/+4
fixed sonar issue as detailed in SO-980 Issue-ID: SO-980 Change-Id: If428c98c11d30b562313b97200650954fd733d82 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-05fixed sonar issue in TenantAdapterRest.javaSandeep J1-12/+3
removed commented lines of code Issue-ID: SO-977 Change-Id: I0c917b90dcbc1317f49474e037b60d3d3c59f419 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-04Merge "fixed sonar issue in TenantAdapterRest.java"Byung-Woo Jun1-10/+12
2018-09-04Merge "fixed sonar issue in MsoTenantAdapter.java"Byung-Woo Jun1-1/+2
2018-09-04Merge "fixed sonar issue in NetworkRollback.java"Byung-Woo Jun1-1/+3
2018-09-04Merge "fixed sonar isue in UpdateNetworkNotification.java"Byung-Woo Jun1-1/+3
2018-09-04Merge "fixed sonar major isue in QueryNetworkNotification"Byung-Woo Jun1-2/+4
2018-09-04Merge "fixed major sonar isue in CreatNetworkNotification"Byung-Woo Jun1-1/+3
2018-09-04Merge "fixed sonar issue in VnfAdapterRest.java"Byung-Woo Jun1-4/+7
2018-09-04Merge "fixed sonar issue in CXFConfiguration.java"Byung-Woo Jun1-2/+2
2018-09-04Merge "fixed sonar issue in V4_2__DummyMigration.java"Byung-Woo Jun1-1/+1
2018-09-04fixed sonar major isue in QueryNetworkNotificationSandeep J1-2/+4
fixed sonar major issue as detailed in SO-969 Issue-ID: SO-969 Change-Id: Ifdd59b780db24fa1e06181495dbc10e4bb1c6b6c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-04fixed major sonar isue in CreatNetworkNotificationSandeep J1-1/+3
fixed major sonar issue as detailed in SO-968 Issue-ID: SO-968 Change-Id: Ib1b846a262e0426db3a0c16b28881befb22d7a52 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-04fixed sonar major issue in MsoNetworkAdapterImplSandeep J1-3/+8
fixed sonar issue as detailed in SO-967 Issue-ID: SO-967 Change-Id: I4310dc3ad46d302a2d014a708c2f14c02ad3a5f2 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-04fixed sonar issue in V4_2__DummyMigration.javaSandeep J1-1/+1
fixed sonar issue detailed in SO-966 Issue-ID: SO-966 Change-Id: Ib9b4cd7815d63b380c90b4c1dece444c735d5757 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-03fixed sonar issue in CXFConfiguration.javaSandeep J1-2/+2
fixed sonar issue as detailed in SO-961 Issue-ID: SO-961 Change-Id: I9faf2c63af0e6567b0ba613dd24160183e5558f8 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-03fixed sonar isue in UpdateNetworkNotification.javaSandeep J1-1/+3
fixed sonar issue as detailed in SO-956 Issue-ID: SO-956 Change-Id: Ibd7ea95c996bf6119abf2aca9990d2c42bb01ecd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-03fixed sonar issue in NetworkRollback.javaSandeep J1-1/+3
fixed sonar issue as detailed in SO-954 Issue-ID: SO-954 Change-Id: I89d1e082820f76bcbe282bba35fd9144283afe74 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-03fixed sonar issue in VnfAdapterRest.javaSandeep J1-4/+7
fixed sonar issue as detailed in SO-953 Issue-ID: SO-953 Change-Id: I77534c2ba4e266e644ca6f554358221c4e50dbf3 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-31Merge "Update Logging"Rob Daugherty1-0/+25
2018-08-31Update LoggingSmokowski, Steve (ss835w)1-0/+25
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-30Prepare SO to pass OOF data opaquely to multicloudSrivahni Chivukula1-26/+0
Removed Flavor modification code from mso-openstack-adapter and bpmn workflows contributed for Beijing, to prepare SO to pass OOF specific data opaquely to multicloud. Issue-ID: SO-761 Change-Id: I581ccd14b52e7e3db5bc13ff43386c49196561b4 Signed-off-by: Srivahni Chivukula <srivahni.chivukula@intel.com>
2018-08-30Merge "fixed sonar issue in MsoTenantAdapterImpl.java"Rob Daugherty1-12/+15
2018-08-30Merge "fixed sonar issues in ValetClient.java"Byung-Woo Jun1-9/+13
2018-08-30fixed sonar issues in ValetClient.javaSandeep J1-9/+13
fix sonar issue as detailed in SO-945 Issue-ID: SO-945 Change-Id: Ief854282d983ade215846ea070e7985deb949bb5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-30fixed sonar issue in HeatRequest.javaSandeep J1-1/+2
fixed sonar issue detailed in SO-944 Issue-ID: SO-944 Change-Id: Ibaf0d050f0131b8b91fbe9698e440d3db9e0141c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-30fixed sonar issue in TenantAdapterRest.javaSandeep J1-10/+12
fixed sonar issue detailed in SO-942 Issue-ID: SO-942 Change-Id: I8d450845ffd0a5ec900c00c5393eb94305b7bdfe Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-30fixed sonar issue in MsoTenantAdapterImpl.javaSandeep J1-12/+15
fixed sonar issue detailed in SO-939 Issue-ID: SO-939 Change-Id: I60e9737d34cbbc172d9c6c387862fe5468351a58 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-30fixed sonar issue in MsoTenantAdapter.javaSandeep J1-1/+2
fixed sonar issue detailed in SO-937 Issue-ID: SO-937 Change-Id: I815ab79707e25801813d4514480f6917e23951ff Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
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>